/* ===== HERO ===== */

        .hero {
            position: relative;
            padding: 180px 24px 120px;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 10%;
            left: 50%;
            transform: translateX(-50%);
            width: 1000px;
            height: 700px;
            background: radial-gradient(circle at center,
                rgba(255, 107, 107, 0.12) 0%,
                rgba(255, 107, 107, 0.04) 35%,
                transparent 55%);
            pointer-events: none;
        }
        .main-title {
                text-align: right;
                color: #fff;
            }

        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
            background-size: 80px 80px;
            mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
            -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
            pointer-events: none;
        }

        .hero-inner {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .hero-content { max-width: 560px; }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 5px 16px 5px 7px;
            background: var(--accent-soft);
            border: 1px solid rgba(255, 107, 107, 0.2);
            border-radius: var(--radius-pill);
            font-size: 12.5px;
            font-weight: 600;
            color: var(--accent-light);
            margin-bottom: 28px;
        }

        .badge-dot {
            width: 7px;
            height: 7px;
            background: var(--green);
            border-radius: 50%;
            box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
            animation: dotPulse 2s ease-in-out infinite;
        }

        @keyframes dotPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .hero h1 {
            font-size: clamp(40px, 5vw, 62px);
            font-weight: 800;
            letter-spacing: -0.04em;
            line-height: 1.05;
            margin-bottom: 20px;
        }

        .gradient-text {
            background: linear-gradient(135deg, #FFD4D4 0%, var(--accent) 60%, #FF9B9B 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-desc {
            width: 100%;
            font-size: 16.5px;
            color: var(--text-secondary);
            line-height: 1.7;
            text-align: right;
            margin-bottom: 36px;
            
        }




        .hero-cta {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 48px;
        }

        .trusted-row { display: flex; flex-direction: column; gap: 14px; }

        .trusted-label {
            font-size: 11.5px;
            font-weight: 500;
            text-align: right;
            color: #ffffff70;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .trusted-logos {
            display: flex;
            align-items: center;
            gap: 28px;
            flex-direction: row;
            flex-wrap: wrap;
        }

        .trusted-logo {
            opacity: 0.5;
            transition: opacity 0.5s;
            font-size: 14px;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: -0.02em;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .trusted-logo:hover { opacity: 0.9; }

        .trusted-logo .t-icon {
            width: 18px;
            height: 18px;
            border-radius: 4px;
        }

        /* Hero mockup */
        .hero-mockup { position: relative; }

        .mockup-window {
            background: var(--surface-1);
            border: 1px solid var(--border-subtle);
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 40px 80px rgba(0,0,0,0.5),
                        0 0 0 1px rgba(255,255,255,0.03) inset;
            transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
            transition: transform 0.5s ease;
        }

        .mockup-window:hover {
            transform: perspective(1200px) rotateY(-1deg) rotateX(1deg);
        }

        .mockup-toolbar {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 12px 16px;
            border-bottom: 1px solid var(--border-subtle);
        }

        .mockup-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .mockup-dot:nth-child(1) { background: #FF9B9B; opacity: 0.7; }
        .mockup-dot:nth-child(2) { background: orange; opacity: 0.7; }
        .mockup-dot:nth-child(3) { background: green; opacity: 0.7; }

        .mockup-body { padding: 5px; }

        .mockup-metric-row {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 12px;
            margin-bottom: 16px;
        }

        .mockup-metric {
            background: var(--surface-2);
            border-radius: 10px;
            padding: 14px;
            border: 1px solid var(--border-subtle);
        }

        .mockup-metric .mm-label {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 6px;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .mockup-metric .mm-value {
            font-size: 18px;
            letter-spacing: -0.04em;
            font-weight: 400;
        }

        .mockup-metric .mm-change {
            font-size: 15px;
            font-weight: 600;
            color: var(--green);
            margin-top: 4px;
        }

        .mockup-chart {
            background: var(--surface-2);
            border-radius: 10px;
            padding: 16px;
            border: 1px solid var(--border-subtle);
            height: 120px;
            position: relative;
            overflow: hidden;
        }

        .mockup-chart-label {
            font-size: 10px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .chart-line {
            position: absolute;
            bottom: 16px;
            left: 16px;
            right: 16px;
            height: 60px;
        }

        .chart-line svg { width: 100%; height: 100%; }

        /* ===== SECTIONS ===== */

        .section { padding: 120px 0; position: relative; }

        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 600;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 14px;
            font-family: "Tajawal", sans-serif;
        }

        .section-label::before {
            content: '';
            width: 18px;
            height: 2px;
            background: var(--accent);
            border-radius: 2px;
        }

        .section-title {
            font-size: clamp(30px, 4vw, 46px);
            font-weight: 800;
            letter-spacing: -0.04em;
            line-height: 1.1;
            margin-bottom: 14px;
        }

        .section-desc {
            font-size: 16px;
            color: var(--text-secondary);
            max-width: 480px;
            line-height: 1.7;
        }

        .section-header {
            text-align: center;
            margin-bottom: 64px;
        }

        .section-header .section-desc { margin: 0 auto; }

        /* ===== RESPONSIVE ===== */

        @media (max-width: 1024px) {
            .hero-inner {
                grid-template-columns: 1fr;
                gap: 48px;
            }

            .hero-mockup { width: 100%; margin: 0 auto; }
            .mockup-window, .mockup-window:hover { transform: none; }

            .feature-panel, .feature-panel.active {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .feature-text { max-width: none; }

            .pricing-card.featured { transform: scale(1.02); }

            .footer-row-bottom { flex-direction: column; gap: 20px; text-align: center; }
            .footer-right { justify-content: center; }
        }

        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                height: 100dvh;
                background: rgba(30, 30, 36, 0.98);
                backdrop-filter: blur(24px);
                -webkit-backdrop-filter: blur(24px);
                flex-direction: column;
                align-items: flex-start;
                padding: 80px 28px 80px;
                gap: 0;
                border-left: 1px solid var(--border-subtle);
                transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                overflow-y: auto;
                z-index: 999;
            }
            .main-title {
                text-align: center;
            }
            .hero-desc {
                text-align: center;
            }

            .nav-links.open { right: 0; }
            .nav-links li { width: 100%; }

            .nav-links a {
                display: block;
                padding: 14px 0;
                font-size: 16px;
                border-bottom: 1px solid var(--border-subtle);
            }

            .nav-toggle { display: flex; }
            .nav-actions { display: none; }

            .nav-mobile-actions {
                display: flex;
                flex-direction: column;
                gap: 10px;
                padding-top: 24px;
                margin-top: 8px;
            }

            .nav-mobile-actions .btn {
                width: 100%;
                text-align: center;
                border-radius: var(--radius-pill);
                color: var(--text-primary);
            }

            .nav-mobile-actions .btn-primary {
                color: #fff;
            }

            .nav-mobile-actions a {
                border-bottom: none !important;
                padding: 10px 22px !important;
                font-size: 14px !important;
            }
            .hero { padding: 140px 24px 80px; }

            .hero-cta { flex-direction: column; align-items: stretch; }

            .hero-mockup{
                width: 100%;
            }
            #how-it-works2{
                display: flex;
            }
            #how-it-works{
                display: none;
            }
            #dashed2 {
                rotate: 90deg !important;
                margin-top: 25px;
                margin-bottom: 25px;
            }
            #dashed{
                rotate: 90deg !important;
                margin-top: 25px;
                margin-bottom: 25px;
            }
            .feature-tabs {
                overflow-x: auto;
                justify-content: flex-start;
                width: 100%;
                border-radius: var(--radius-sm);
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }

            .feature-tabs::-webkit-scrollbar { display: none; }

            .feature-tab { padding: 10px 18px; font-size: 12.5px; }

            .dash-metrics { grid-template-columns: 1fr; }
            .privacy-grid { grid-template-columns: 1fr; }

            .stats-grid { flex-wrap: wrap; gap: 32px; }
            .stat-item { flex: 1 1 40%; min-width: 140px; }
            .stat-item + .stat-item { border-left: none; padding-left: 0; }
            .stat-number { font-size: 36px; }

            .pricing-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
                margin: 0 auto;
            }

            .pricing-card.featured { transform: scale(1); }

            .subscribe-input-group { flex-direction: column; border-radius: var(--radius-sm); }
            .subscribe-input-group .btn { width: 100%; border-radius: var(--radius-sm); }
            .subscribe-meta { flex-direction: column; gap: 8px; }

            .footer-row-links { gap: 20px; }

            .section { padding: 80px 0; }
        }

        @media (max-width: 480px) {
            .trusted-logos { gap: 18px; }
            .mockup-metric-row { grid-template-columns: 1fr; }
            .replay-events { flex-wrap: wrap; }
        }

        @media (prefers-reduced-motion: reduce) {
            .fade-up { opacity: 1; transform: none; transition: none; }
            .badge-dot { animation: none; }
            .pricing-value.changing { opacity: 1; transform: none; }
            .mockup-window { transform: none; }
            .replay-cursor { animation: none; top: 70px; left: 100px; }
            @keyframes panelIn { from { opacity: 1; transform: none; } }
        }