/* Prism by DPOM - CRO Analytics */
:root {
    --primary: #6E3FE4;
    --primary-light: #8761F0;
    --primary-dark: #5929C9;
    --primary-bg: #EFE8FD;
    --accent-yellow: #FFBA00;
    --accent-green: #5DB055;
    --accent-blue: #3086CB;
    --accent-pink: #EC4899;
    --success: #5DB055;
    --success-bg: #E8F5E6;
    --warning: #FFBA00;
    --warning-bg: #FFF6D9;
    --danger: #C22232;
    --danger-bg: #FDE8EA;
    --gray-50: #F9FAFB;
    --gray-100: #F4F4F4;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #7A7A7A;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1C1D21;
    --gray-900: #1a1a2e;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Raleway', -apple-system, sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .card-title, .stat-label, .sidebar-logo, .btn {
    font-family: 'Montserrat', -apple-system, sans-serif;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ========== LAYOUT ========== */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 240px;
    background: var(--gray-900);
    color: white;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}
.sidebar-logo {
    padding: 0 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6E3FE4 0%, #EC4899 50%, #FFBA00 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    font-weight: 800;
}
.sidebar-logo .logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.sidebar-logo .logo-sub {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-top: 2px;
}
.sidebar-nav a, .sidebar-nav button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}
.sidebar-nav a:hover, .sidebar-nav a.active,
.sidebar-nav button:hover, .sidebar-nav button.active {
    background: rgba(255,255,255,0.08);
    color: white;
    text-decoration: none;
}
.sidebar-nav a.active { border-right: 3px solid var(--primary); }
.sidebar-section {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    padding: 15px 20px 5px;
    font-weight: 600;
}

.site-switcher {
    margin: 0 16px 15px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
}
.site-switcher select {
    width: 100%;
    background: var(--gray-800);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
}

.main-content {
    margin-left: 240px;
    flex: 1;
    min-height: 100vh;
}

.top-bar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}
.top-bar h1 { font-size: 18px; font-weight: 700; }
.top-bar-right { display: flex; align-items: center; gap: 15px; }

.page-content { padding: 25px 30px; }

/* ========== CARDS ========== */
.card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 20px;
    margin-bottom: 20px;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.card-title { font-size: 14px; font-weight: 600; color: var(--gray-700); }

/* ========== STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 25px;
}
.stat-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 18px 20px;
}
.stat-label { font-size: 13px; color: var(--gray-500); font-weight: 500; margin-bottom: 4px; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--gray-900); font-family: 'Montserrat', sans-serif; }
.stat-value.green { color: var(--success); }
.stat-value.red { color: var(--danger); }
.stat-value.blue { color: var(--accent-blue); }
.stat-value.purple { color: var(--primary); }
.stat-change { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ========== TABLES ========== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 10px 12px;
    border-bottom: 2px solid var(--gray-200);
    background: var(--gray-50);
}
td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}
tr { cursor: default; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--gray-50); }

/* ========== BADGES ========== */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.badge.green { background: var(--success-bg); color: var(--success); }
.badge.red { background: var(--danger-bg); color: var(--danger); }
.badge.yellow { background: var(--warning-bg); color: #8b6500; }
.badge.purple { background: var(--primary-bg); color: var(--primary-dark); }
.badge.gray { background: var(--gray-100); color: var(--gray-600); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    background: white;
    color: var(--gray-700);
    border-color: var(--gray-300);
}
.btn:hover { background: var(--gray-50); text-decoration: none; }
.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-danger { background: var(--danger); color: white; border-color: var(--danger); }
.btn-danger:hover { background: #A31D2B; color: white; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-100); }

/* ========== FORM ========== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    background: white;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(110, 63, 228, 0.1);
}
.form-error { color: var(--danger); font-size: 13px; margin-top: 4px; }

/* ========== LOGIN ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6E3FE4 0%, #EC4899 50%, #FFBA00 100%);
    padding: 20px;
}
.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
}
.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.auth-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6E3FE4 0%, #EC4899 50%, #FFBA00 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    font-weight: 800;
}
.auth-logo-text h2 { font-size: 22px; font-weight: 800; }
.auth-logo-text p { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; }

/* ========== MODAL ========== */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}
.modal.wide { max-width: 1100px; }
.modal-body { overflow-x: hidden; }
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { font-size: 16px; font-weight: 700; }
.modal-body { padding: 24px; }
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-400);
    line-height: 1;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}
.empty-state .emoji { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 18px; color: var(--gray-700); margin-bottom: 8px; }

/* ========== HEATMAP ========== */
.heatmap-viewer {
    position: relative;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 400px;
}
.heatmap-iframe-wrap {
    position: relative;
    width: 100%;
    background: white;
}
.heatmap-iframe-wrap iframe {
    width: 100%;
    border: none;
    display: block;
}
.heatmap-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
}

.heatmap-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    border-radius: var(--radius) var(--radius) 0 0;
    flex-wrap: wrap;
}
.tab-group { display: inline-flex; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.tab-group button {
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--gray-600);
    font-family: inherit;
}
.tab-group button.active { background: var(--primary); color: white; }
.tab-group button:hover:not(.active) { background: var(--gray-50); }

/* ========== SOURCE BADGES (traffic source colour coding) ========== */
.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.4;
    border: 1px solid transparent;
}
.source-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.src-google-ads { background: #FEF3C7; color: #B45309; border-color: #FDE68A; }
.src-bing-ads   { background: #DBEAFE; color: #1D4ED8; border-color: #BFDBFE; }
.src-facebook   { background: #E0E7FF; color: #3730A3; border-color: #C7D2FE; }
.src-linkedin   { background: #CFFAFE; color: #0E7490; border-color: #A5F3FC; }
.src-twitter    { background: #E5E7EB; color: #111827; border-color: #D1D5DB; }
.src-youtube    { background: #FEE2E2; color: #B91C1C; border-color: #FECACA; }
.src-tiktok     { background: #FCE7F3; color: #9D174D; border-color: #FBCFE8; }
.src-email      { background: #EDE9FE; color: #6D28D9; border-color: #DDD6FE; }
.src-organic    { background: #DCFCE7; color: #166534; border-color: #BBF7D0; }
.src-referral   { background: #FFEDD5; color: #9A3412; border-color: #FED7AA; }
.src-direct     { background: #F3F4F6; color: #4B5563; border-color: #E5E7EB; }
.src-other      { background: #F5F3FF; color: #5B21B6; border-color: #EDE9FE; }

/* Source filter tab row */
.source-tab-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.source-tab {
    background: white;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: filter 0.1s;
}
.source-tab:hover { filter: brightness(0.96); }
.source-tab.active { background: var(--gray-800); color: white; border-color: var(--gray-800); }

/* Top-of-app billing / trial banner */
.billing-banner {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.billing-banner:hover { text-decoration: underline; }
.billing-banner--warn   { background: #FFF6D9; color: #7A5A00; border-color: #FDE68A; }
.billing-banner--danger { background: #FDE8EA; color: #8B1220; border-color: #FECACA; }

/* Pricing card "Most popular" badge */
.pricing-card.featured { position: relative; }
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(110,63,228,0.35);
}
.source-tab.src-google-ads { color: #B45309; border-color: #FDE68A; }
.source-tab.src-google-ads.active { background: #B45309; color: white; border-color: #B45309; }
.source-tab.src-bing-ads { color: #1D4ED8; border-color: #BFDBFE; }
.source-tab.src-bing-ads.active { background: #1D4ED8; color: white; border-color: #1D4ED8; }
.source-tab.src-facebook { color: #3730A3; border-color: #C7D2FE; }
.source-tab.src-facebook.active { background: #3730A3; color: white; border-color: #3730A3; }
.source-tab.src-linkedin { color: #0E7490; border-color: #A5F3FC; }
.source-tab.src-linkedin.active { background: #0E7490; color: white; border-color: #0E7490; }
.source-tab.src-organic { color: #166534; border-color: #BBF7D0; }
.source-tab.src-organic.active { background: #166534; color: white; border-color: #166534; }
.source-tab.src-referral { color: #9A3412; border-color: #FED7AA; }
.source-tab.src-referral.active { background: #9A3412; color: white; border-color: #9A3412; }
.source-tab.src-email { color: #6D28D9; border-color: #DDD6FE; }
.source-tab.src-email.active { background: #6D28D9; color: white; border-color: #6D28D9; }

/* ========== SESSION DETAIL (expanded row) ========== */
tr.session-detail > td { border-top: none !important; }
.session-detail-body { animation: fadeIn 0.15s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-col { min-width: 0; }
.detail-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 10px;
}
.detail-kv {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--gray-200);
    font-size: 13px;
    align-items: baseline;
    min-width: 0;
}
.detail-k { color: var(--gray-600); font-weight: 600; }
.detail-v { color: var(--gray-800); word-break: break-all; min-width: 0; }

.journey-list {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.journey-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-100);
    min-width: 0;
}
.journey-row:last-child { border-bottom: none; }
.journey-step {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.journey-main { flex: 1; min-width: 0; }
.journey-meta { flex-shrink: 0; }

.clickable-badge { cursor: pointer; }
.clickable-badge:hover { filter: brightness(0.92); }

/* ========== PLAYER ========== */
.replay-modal .modal-header { padding: 16px 20px; }
.replay-stage {
    background: #1a1a2e;
    padding: 10px;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.replay-stage #rrwebPlayerMount {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.rr-player { background: white; border-radius: var(--radius); overflow: hidden; }

/* ========== LOADING ========== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--gray-400);
}
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== UTIL ========== */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-gray { color: var(--gray-500); }
.mono { font-family: inherit; font-size: 13px; letter-spacing: -0.1px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-block {
    background: var(--gray-900);
    color: #e5e5e5;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-family: 'Menlo', monospace;
    font-size: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ========== PUBLIC LANDING ========== */
.public-page { min-height: 100vh; background: white; }

/* Navbar */
.public-nav {
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}
.public-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--gray-900);
}
.public-nav-logo:hover { text-decoration: none; }
.public-nav-logo img { height: 38px; }
.public-nav-logo .brand-stack { display: flex; flex-direction: column; line-height: 1.1; }
.public-nav-logo .brand-name { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 20px; color: var(--gray-900); letter-spacing: 1px; }
.public-nav-logo .brand-sub { font-family: Raleway, sans-serif; font-size: 10px; color: var(--gray-500); letter-spacing: 0.5px; }

.public-nav-links { display: flex; gap: 24px; align-items: center; }
.public-nav-links a:not(.btn) { color: var(--gray-700); font-weight: 500; font-size: 14px; text-decoration: none; }
.public-nav-links a:not(.btn):hover { color: var(--primary); }

/* Hero */
.hero {
    padding: 80px 40px 100px;
    background:
        radial-gradient(ellipse at top left, rgba(110, 63, 228, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.12), transparent 50%),
        linear-gradient(180deg, #fff 0%, #faf8ff 100%);
    position: relative;
    overflow: hidden;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-bg);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero h1 {
    font-family: Montserrat, sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--gray-900);
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #6E3FE4 0%, #EC4899 50%, #FFBA00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.hero p {
    font-size: 19px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; }
.btn-xl { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--gray-700); border-color: transparent; }
.btn-ghost:hover { background: var(--gray-100); }

/* Hero visual */
.hero-visual {
    background: #0f0f1e;
    border-radius: 16px;
    padding: 24px;
    color: white;
    box-shadow: 0 30px 80px rgba(110, 63, 228, 0.25);
    position: relative;
    overflow: hidden;
}
.hero-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(110, 63, 228, 0.4), transparent 60%);
    pointer-events: none;
}
.hero-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; position: relative; }
.hero-dash-header h3 { font-size: 14px; font-weight: 700; color: #fff; }
.live-badge { background: rgba(110, 63, 228, 0.3); color: #c9b4ff; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.hero-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; position: relative; }
.hero-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 12px; }
.hero-stat .label { font-size: 10px; color: #9ca3af; text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.05em; }
.hero-stat .value { font-family: Montserrat, sans-serif; font-size: 22px; font-weight: 800; color: white; }
.hero-stat .value.red { color: #ff6b7a; }
.hero-stat .value.green { color: #7dd87a; }
.hero-stat .value.purple { color: #c9b4ff; }

.hero-activity { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; overflow: hidden; position: relative; }
.hero-activity-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 12px; }
.hero-activity-row:last-child { border-bottom: none; }
.hero-activity-row .dot { width: 6px; height: 6px; border-radius: 50%; background: #ff6b7a; flex: 0 0 6px; }
.hero-activity-row .dot.blue { background: #8761F0; }
.hero-activity-row .dot.green { background: #7dd87a; }
.hero-activity-row .label { flex: 1; color: #e5e5e5; }
.hero-activity-row .time { color: #6b6b7a; font-size: 11px; }

/* Sections */
.section { padding: 80px 40px; max-width: 1200px; margin: 0 auto; }
.section h2 {
    font-family: Montserrat, sans-serif;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--gray-900);
}
.section .subtitle { text-align: center; font-size: 17px; color: var(--gray-500); max-width: 640px; margin: 0 auto 48px; line-height: 1.6; }

.social-proof { background: var(--gray-50); padding: 40px 30px; }
.social-proof p { text-align: center; color: var(--gray-500); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 28px; }
.social-proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.social-proof-stat { text-align: center; }
.social-proof-stat .number { font-family: Montserrat, sans-serif; font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.social-proof-stat .label { font-size: 13px; color: var(--gray-500); }

.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.problem-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.problem-icon { font-size: 28px; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 10px; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; }
.problem-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.problem-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.how-step { text-align: center; padding: 24px; }
.how-step-number {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #6E3FE4, #EC4899);
    color: white; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.how-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); transition: all 0.2s; }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.feature-icon.red { background: var(--danger-bg); }
.feature-icon.blue { background: #E0F2FE; }
.feature-icon.purple { background: var(--primary-bg); }
.feature-icon.pink { background: #FCE7F3; }
.feature-icon.green { background: var(--success-bg); }
.feature-icon.yellow { background: var(--warning-bg); }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

.results-section { background: var(--gray-900); color: white; padding: 80px 40px; }
.results-section h2 { color: white; }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.result-card { text-align: center; padding: 20px; }
.result-card .number { font-family: Montserrat, sans-serif; font-size: 44px; font-weight: 800;
    background: linear-gradient(135deg, #8761F0, #EC4899, #FFBA00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1; margin-bottom: 10px;
}
.result-card p { font-size: 14px; color: #c9c9d9; line-height: 1.6; }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.pricing-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card.featured { border-color: var(--primary); border-width: 2px; transform: scale(1.03); box-shadow: var(--shadow-lg); }
.pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-card h3 { font-family: Montserrat, sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.plan-desc { font-size: 13px; color: var(--gray-500); margin-bottom: 20px; }
.price { font-family: Montserrat, sans-serif; font-size: 42px; font-weight: 800; color: var(--gray-900); margin-bottom: 24px; }
.price span { font-size: 16px; color: var(--gray-400); font-weight: 500; }
.price .price-vat { display: block; font-size: 11px; color: var(--gray-500); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-top: 2px; }
.pricing-card ul { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing-card ul li { padding: 7px 0; font-size: 14px; color: var(--gray-700); display: flex; align-items: center; gap: 8px; }
.pricing-card ul li::before { content: '✓'; color: var(--primary); font-weight: 800; }

.faq-section { max-width: 800px; margin: 0 auto; padding: 80px 40px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: white; }
.faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    user-select: none;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question .arrow { transition: transform 0.2s; font-size: 12px; color: var(--gray-400); }
.faq-question.open .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; font-size: 14px; color: var(--gray-600); line-height: 1.7; display: none; }
.faq-answer.open { display: block; }

.cta-banner {
    padding: 80px 40px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(236, 72, 153, 0.5), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 186, 0, 0.3), transparent 60%),
        linear-gradient(135deg, #2d1b69 0%, #1a1a2e 100%);
    text-align: center;
    color: white;
}
.cta-banner h2 { font-family: Montserrat, sans-serif; font-size: 40px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { background: white; color: var(--primary-dark); font-weight: 700; font-size: 17px; padding: 16px 36px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }

.public-footer { padding: 40px; text-align: center; color: var(--gray-400); font-size: 14px; border-top: 1px solid var(--gray-200); background: white; }

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .problem-grid, .how-steps, .features-grid, .pricing-cards { grid-template-columns: 1fr; }
    .social-proof-stats, .results-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 38px; }
    .public-nav-links { display: none; }
}
