/*
 * Landing page styles, lifted from the legacy index.php inline <style> blocks.
 * Served as a file so browsers can cache it instead of re-downloading ~40 KB
 * of CSS with every render of the page.
 */

:root {
            --bg: #FFFFFF;
            --surface: #F5F5F5;
            --text: #1A1A1A;
            --text-secondary: #555555;
            --text-muted: #888888;
            --border: #E0E0E0;
            --primary: #F05A28;
            --primary-hover: #FF7A4D;
            --secondary: #000000;
            --radius: 12px;
            --transition: 0.25s cubic-bezier(.4,0,.2,1);
        }

        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
        }
        img { display: block; max-width: 100%; }
        a { text-decoration: none; color: inherit; }
        button { cursor: pointer; border: none; background: transparent; font-family: inherit; }
        .container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

        /* ── Buttons ── */
        .btn {
            display: inline-flex; align-items: center; gap: 0.5rem;
            padding: 0.75rem 1.75rem; border-radius: 8px;
            font-weight: 600; font-size: 0.95rem;
            transition: all var(--transition); white-space: nowrap;
        }
        .btn-primary { background: var(--primary); color: #fff; }
        .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(240,90,40,0.3); }
        .btn-outline { border: 1.5px solid rgba(255,255,255,0.25); color: #fff; background: transparent; }
        .btn-outline:hover { border-color: var(--primary); background: rgba(240,90,40,0.08); }
        .btn-outline-dark { border: 1.5px solid var(--border); color: var(--text); background: transparent; }
        .btn-outline-dark:hover { border-color: var(--text); background: var(--surface); }
        .btn-ghost { color: rgba(255,255,255,0.7); font-weight: 500; }
        .btn-ghost:hover { color: #fff; }
        .btn-lg { padding: 0.9rem 2.25rem; font-size: 1rem; border-radius: 10px; }

        /* ── Navbar ── */
        .navbar {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            background: transparent;
            transition: background var(--transition), border-color var(--transition);
        }
        .navbar.scrolled {
            background: rgba(0,0,0,0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .nav-inner {
            display: flex; align-items: center; justify-content: space-between; height: 68px;
        }
        .logo { display: flex; align-items: center; gap: 0.6rem; }
        .logo img { width: 32px; height: 32px; border-radius: 8px; }
        .logo span { font-size: 1.2rem; font-weight: 700; color: #fff; }
        .nav-links { display: flex; gap: 2rem; }
        .nav-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
        .nav-links a:hover { color: #fff; }
        .nav-actions { display: flex; align-items: center; gap: 0.75rem; }
        .mobile-toggle {
            display: none; width: 40px; height: 40px;
            align-items: center; justify-content: center; border-radius: 8px;
        }
        .mobile-toggle:hover { background: rgba(255,255,255,0.1); }
        .hamburger { width: 20px; height: 14px; position: relative; }
        .hamburger span {
            display: block; position: absolute; height: 2px; width: 100%;
            background: #fff; border-radius: 2px; transition: all var(--transition);
        }
        .hamburger span:nth-child(1) { top: 0; }
        .hamburger span:nth-child(2) { top: 6px; }
        .hamburger span:nth-child(3) { top: 12px; }
        .mobile-menu {
            display: none; position: fixed; inset: 0;
            background: #000; z-index: 99; flex-direction: column;
            align-items: center; justify-content: center; gap: 1.5rem;
        }
        .mobile-menu.open { display: flex; }
        .mobile-menu a { font-size: 1.1rem; font-weight: 600; color: #fff; }
        .mobile-menu .close-btn { position: absolute; top: 1.25rem; right: 1.5rem; font-size: 1.6rem; color: rgba(255,255,255,0.5); }

        /* ══════════════════════════════
           HERO — dark split layout
        ══════════════════════════════ */
        .hero {
            background: var(--secondary);
            min-height: 100vh;
            display: flex; align-items: center;
            position: relative; overflow: hidden;
            padding: 120px 0 80px;
        }
        /* Grid texture overlay */
        .hero-grid-texture {
            position: absolute; inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
        }

        .hero-inner {
            position: relative; z-index: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        .hero-left {}
        .hero-tag {
            display: inline-flex; align-items: center; gap: 0.5rem;
            padding: 0.35rem 0.75rem;
            border: 1px solid rgba(255,255,255,0.16);
            border-radius: 999px;
            font-size: 0.78rem; font-weight: 800;
            color: rgba(255,255,255,0.82);
            background: rgba(255,255,255,0.06);
            margin-bottom: 1rem;
            letter-spacing: 0;
        }
        .hero-tag img { width: 18px; height: 18px; border-radius: 4px; }
        .hero-tag span.dot {
            width: 6px; height: 6px; border-radius: 50%;
            background: var(--primary);
            animation: pulse 2s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(0.8); }
        }
        .hero h1 {
            font-size: clamp(2.4rem, 5vw, 3.8rem);
            font-weight: 900;
            line-height: 1.05;
            letter-spacing: -0.03em;
            color: #fff;
            margin-bottom: 1.25rem;
        }
        .hero h1 .accent { color: var(--primary); }
        .hero-desc {
            font-size: 1.05rem;
            color: rgba(255,255,255,0.55);
            max-width: 480px;
            line-height: 1.75;
            margin-bottom: 1.1rem;
        }
        .hero-purpose {
            max-width: 620px; margin: 0 0 1.85rem;
            padding-left: 1rem; border-left: 3px solid var(--primary);
            color: rgba(255,255,255,0.72); font-size: 0.92rem; line-height: 1.65;
        }
        .hero-purpose strong { color: #fff; font-weight: 800; }
        .hero-purpose a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
        .hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

        .hero-stats {
            display: flex; gap: 2rem;
            margin-top: 2.5rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.08);
        }
        .hero-stat {}
        .hero-stat-num {
            font-size: 1.6rem; font-weight: 800; color: #fff;
            line-height: 1;
        }
        .hero-stat-num span { color: var(--primary); }
        .hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }

        /* Right side - structured capability grid */
        .hero-right {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.75rem;
            align-content: center;
            min-width: 0;
        }
        .hero-card {
            min-width: 0;
            min-height: 170px;
            background: rgba(255,255,255,0.045);
            border: 1px solid rgba(255,255,255,0.11);
            border-radius: 8px;
            padding: 0.7rem;
            display: flex;
            flex-direction: column;
            transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }
        .hero-card:hover {
            transform: translateY(-2px);
            border-color: rgba(240,90,40,0.45);
            background: rgba(255,255,255,0.065);
        }
        .hero-card-img {
            width: 56px;
            height: 56px;
            aspect-ratio: 1;
            object-fit: contain;
            border-radius: 6px;
            margin-bottom: 0.85rem;
            border: 1px solid rgba(255,255,255,0.12);
            background: #fff;
            display: block;
        }
        .hero-card-title { font-size: 0.78rem; font-weight: 700; color: #fff; line-height: 1.35; }
        .hero-card-sub {
            min-height: 2.6em;
            font-size: 0.65rem;
            line-height: 1.3;
            color: rgba(255,255,255,0.48);
            margin-top: 0.2rem;
            overflow-wrap: anywhere;
        }
        .hero-card-badge {
            display: inline-block;
            align-self: flex-start;
            margin-top: auto;
            padding: 0.15rem 0.5rem;
            background: rgba(240,90,40,0.15);
            border: 1px solid rgba(240,90,40,0.22);
            border-radius: 4px;
            font-size: 0.6rem; font-weight: 700;
            color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em;
        }

        /* ══════════════════════════════
           MODEL MARQUEE
        ══════════════════════════════ */
        .model-marquee-section {
            background: #fff;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            padding: 1.35rem 0 1.2rem;
            overflow: hidden;
        }
        .model-marquee-viewport {
            overflow: hidden;
            -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
        }
        .model-marquee-track {
            display: flex;
            width: max-content;
            will-change: transform;
            animation: modelMarqueeScroll 32s linear infinite;
        }
        .model-marquee-track:hover { animation-play-state: paused; }
        .model-marquee-group {
            display: flex;
            align-items: flex-start;
            justify-content: space-around;
            gap: 2.25rem;
            flex: none;
            min-width: 100vw;
            padding: 0 2.25rem;
        }
        @keyframes modelMarqueeScroll {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }
        .model-marquee-item {
            width: 116px;
            flex: 0 0 116px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.65rem;
            text-align: center;
        }
        .model-marquee-logo {
            width: 90px;
            height: 90px;
            aspect-ratio: 1;
            object-fit: contain;
            flex-shrink: 0;
        }
        .model-marquee-name {
            width: 100%;
            min-height: 2.6em;
            color: var(--text-secondary);
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.3;
            overflow-wrap: anywhere;
        }

        /* ══════════════════════════════
           SECTION SHARED
        ══════════════════════════════ */
        .section { padding: 100px 0; }
        .section-alt { background: var(--surface); }
        .section-dark { background: var(--secondary); }

        .section-label {
            display: inline-block;
            font-size: 0.72rem; font-weight: 700;
            color: var(--primary);
            text-transform: uppercase; letter-spacing: 0.1em;
            margin-bottom: 0.75rem;
        }
        .section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
        .section-header h2 {
            font-size: clamp(1.7rem, 3.5vw, 2.5rem);
            font-weight: 800; letter-spacing: -0.025em;
            margin-bottom: 0.75rem; color: var(--text);
        }
        .section-header p { font-size: 1.05rem; color: var(--text-secondary); }
        .section-dark .section-header h2 { color: #fff; }
        .section-dark .section-header p { color: rgba(255,255,255,0.5); }

        /* ══════════════════════════════
           CATEGORIES — Horizontal scroll cards
        ══════════════════════════════ */
        .cat-scroll-wrapper {
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding-bottom: 0.5rem;
            margin-bottom: 2rem;
        }
        .cat-scroll-wrapper::-webkit-scrollbar { display: none; }
        .cat-pills {
            display: flex; gap: 0.5rem;
            white-space: nowrap;
        }
        .cat-pill {
            display: inline-flex; align-items: center; gap: 0.5rem;
            padding: 0.55rem 1.1rem;
            border-radius: 50px;
            border: 1.5px solid var(--border);
            font-size: 0.82rem; font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all var(--transition);
            background: var(--bg);
            flex-shrink: 0;
        }
        .cat-pill svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
        .cat-pill:hover, .cat-pill.active {
            background: var(--secondary);
            border-color: var(--secondary);
            color: #fff;
        }
        .cat-pill.active svg { stroke: #fff; }

        .cat-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }
        .cat-panel-new {
            display: none;
            animation: fadeSlideIn 0.25s ease;
        }
        .cat-panel-new.active { display: grid; }
        @keyframes fadeSlideIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .tool-card {
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.25rem;
            background: var(--bg);
            transition: all var(--transition);
            cursor: default;
        }
        .tool-card:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 20px rgba(240,90,40,0.08);
            transform: translateY(-2px);
        }
        .tool-card-header {
            display: flex; align-items: center; gap: 0.75rem;
            margin-bottom: 0.6rem;
        }
        .tool-card-ico {
            width: 40px; height: 40px; flex-shrink: 0;
            border-radius: 9px;
            overflow: hidden;
            border: 1px solid var(--border);
            display: grid;
            place-items: center;
            background: var(--surface);
        }
        .tool-card-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .tool-card-ico i { color: var(--primary); font-size: 1rem; }
        .tool-card-name { font-size: 0.88rem; font-weight: 700; color: var(--text); }
        .tool-card-desc { font-size: 0.76rem; color: var(--text-muted); line-height: 1.5; }

        .cat-footer {
            text-align: center;
            margin-top: 2rem;
        }

        /* ══════════════════════════════
           BENTO FEATURES GRID
        ══════════════════════════════ */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-template-rows: auto;
            gap: 1rem;
        }
        .bento-cell {
            border-radius: 16px;
            padding: 2rem;
            position: relative; overflow: hidden;
        }
        .bento-a {
            grid-column: span 5;
            background: var(--secondary);
            color: #fff;
        }
        .bento-b {
            grid-column: span 7;
            background: var(--primary);
            color: #fff;
        }
        .bento-c {
            grid-column: span 4;
            background: var(--bg);
            border: 1px solid var(--border);
        }
        .bento-d {
            grid-column: span 4;
            background: var(--surface);
            border: 1px solid var(--border);
        }
        .bento-e {
            grid-column: span 4;
            background: var(--secondary);
            color: #fff;
        }

        .bento-cell h3 {
            font-size: 1.2rem; font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 0.6rem;
        }
        .bento-cell p {
            font-size: 0.88rem;
            line-height: 1.65;
        }
        .bento-a h3, .bento-b h3, .bento-e h3 { color: #fff; }
        .bento-a p { color: rgba(255,255,255,0.55); }
        .bento-b p { color: rgba(255,255,255,0.75); }
        .bento-e p { color: rgba(255,255,255,0.5); }
        .bento-c h3, .bento-d h3 { color: var(--text); }
        .bento-c p, .bento-d p { color: var(--text-secondary); }

        .bento-big-num {
            font-size: 4rem; font-weight: 900;
            line-height: 1; letter-spacing: -0.04em;
            color: rgba(255,255,255,0.15);
            position: absolute; bottom: 1.5rem; right: 1.5rem;
        }
        .bento-b .bento-big-num { color: rgba(255,255,255,0.2); }
        .bento-icon {
            width: 48px; height: 48px;
            border-radius: 12px;
            background: rgba(255,255,255,0.1);
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 1.25rem;
        }
        .bento-icon svg { width: 24px; height: 24px; stroke: #fff; stroke-width: 1.5; fill: none; }
        .bento-icon-dark {
            width: 48px; height: 48px;
            border-radius: 12px;
            background: rgba(240,90,40,0.1);
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 1.25rem;
        }
        .bento-icon-dark svg { width: 24px; height: 24px; stroke: var(--primary); stroke-width: 1.5; fill: none; }

        /* ══════════════════════════════
           HOW IT WORKS — Zigzag
        ══════════════════════════════ */
        .zigzag-list { display: flex; flex-direction: column; gap: 0; }
        .zigzag-item {
            display: grid;
            grid-template-columns: 1fr 80px 1fr;
            align-items: center;
            gap: 0;
            padding: 3rem 0;
            border-bottom: 1px solid var(--border);
        }
        .zigzag-item:last-child { border-bottom: none; }
        .zigzag-item:nth-child(even) .zi-content { order: 3; text-align: right; }
        .zigzag-item:nth-child(even) .zi-visual { order: 1; }
        .zigzag-item:nth-child(even) .zi-line { order: 2; }
        .zi-content {}
        .zi-step-num {
            font-size: 0.68rem; font-weight: 800;
            text-transform: uppercase; letter-spacing: 0.12em;
            color: var(--primary); margin-bottom: 0.6rem;
        }
        .zi-content h3 {
            font-size: 1.4rem; font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text); margin-bottom: 0.6rem;
        }
        .zi-content p {
            font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7;
            max-width: 380px;
        }
        .zigzag-item:nth-child(even) .zi-content p { margin-left: auto; }
        .zi-line {
            display: flex; justify-content: center; align-items: center;
        }
        .zi-node {
            width: 56px; height: 56px;
            border-radius: 50%;
            background: var(--secondary);
            border: 3px solid var(--primary);
            display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem; font-weight: 900; color: var(--primary);
            position: relative; z-index: 1;
        }
        .zi-visual {
            display: flex; justify-content: flex-end;
        }
        .zigzag-item:nth-child(even) .zi-visual { justify-content: flex-start; }
        .zi-visual-box {
            width: 260px; height: 140px;
            border-radius: 14px;
            background: var(--surface);
            border: 1px solid var(--border);
            display: flex; align-items: center; justify-content: center;
            position: relative; overflow: hidden;
        }
        .zi-visual-box svg { width: 48px; height: 48px; stroke: var(--border); stroke-width: 1; fill: none; opacity: 0.5; }
        .zi-visual-box::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(240,90,40,0.05) 0%, transparent 60%);
        }

        /* ══════════════════════════════
           PRICING
        ══════════════════════════════ */
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            max-width: 780px;
            margin: 0 auto;
        }
        .price-card {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            position: relative;
            transition: transform var(--transition), box-shadow var(--transition);
        }
        .price-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
        .price-card.featured {
            border: 2px solid var(--primary);
            background: var(--secondary);
        }
        .price-card.featured .price-name,
        .price-card.featured .price-amount,
        .price-card.featured .price-features li { color: #fff; }
        .price-card.featured .price-features li { border-bottom-color: rgba(255,255,255,0.1); }
        .price-card.featured .price-amount span,
        .price-card.featured .price-credits { color: rgba(255,255,255,0.5); }
        .price-badge {
            position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
            padding: 0.2rem 1rem;
            background: var(--primary); color: #fff;
            font-size: 0.68rem; font-weight: 700;
            border-radius: 50px; letter-spacing: 0.05em; text-transform: uppercase;
        }
        .price-name { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
        .price-amount { font-size: 2.5rem; font-weight: 900; color: var(--text); margin: 0.5rem 0; letter-spacing: -0.03em; }
        .price-amount span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
        .price-amount .price-num { font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; }
        /* Currency switcher */
        .currency-switch {
            display: inline-flex; gap: 4px; padding: 4px;
            background: var(--secondary); border: 1px solid var(--border);
            border-radius: 50px; margin: 0 auto 2rem;
        }
        .currency-switch { display: flex; width: fit-content; }
        .currency-btn {
            border: none; background: transparent; cursor: pointer;
            padding: 0.45rem 1.1rem; border-radius: 50px;
            font-size: 0.82rem; font-weight: 700; color: var(--text-muted);
            transition: background var(--transition), color var(--transition);
            font-family: inherit;
        }
        .currency-btn:not(.active):hover { color: var(--primary); }
        .currency-btn.active { background: var(--primary); color: #fff; }
        .price-credits { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem; }
        .price-features { list-style: none; margin: 1.5rem 0; }
        .price-features li {
            padding: 0.5rem 0; border-bottom: 1px solid var(--border);
            color: var(--text-secondary); font-size: 0.88rem;
            display: flex; align-items: center; gap: 0.5rem;
        }
        .price-features li:last-child { border-bottom: none; }
        .price-features svg { width: 15px; height: 15px; stroke: var(--primary); stroke-width: 2.5; fill: none; flex-shrink: 0; }
        .price-card .btn { width: 100%; justify-content: center; }
        .price-card.featured .btn-outline { border-color: rgba(255,255,255,0.2); }
        .price-card.featured .btn-primary { background: var(--primary); }

        /* ══════════════════════════════
           FAQ — Inline accordion
        ══════════════════════════════ */
        .faq-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1px;
            background: var(--border);
            border: 1px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
            max-width: 900px;
            margin: 0 auto;
        }
        .faq-item {
            background: var(--bg);
            padding: 0;
        }
        .faq-q {
            width: 100%; padding: 1.5rem 1.75rem;
            display: flex; justify-content: space-between; align-items: center;
            font-size: 0.95rem; font-weight: 600; color: var(--text);
            text-align: left; cursor: pointer;
            background: none; border: none; font-family: inherit;
            gap: 1rem;
        }
        .faq-q:hover { color: var(--primary); }
        .faq-chevron { width: 18px; height: 18px; stroke: var(--text-muted); stroke-width: 2; fill: none; transition: transform var(--transition); flex-shrink: 0; }
        .faq-item.open .faq-chevron { transform: rotate(180deg); stroke: var(--primary); }
        .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
        .faq-item.open .faq-a { max-height: 300px; }
        .faq-a p { padding: 0 1.75rem 1.5rem; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; }

        /* ══════════════════════════════
           CTA — Split design
        ══════════════════════════════ */
        .cta-split {
            background: var(--primary);
            padding: 80px 0;
            position: relative; overflow: hidden;
        }
        .cta-split::before {
            content: '';
            position: absolute;
            width: 600px; height: 600px;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            top: -300px; right: -100px;
            pointer-events: none;
        }
        .cta-split::after {
            content: '';
            position: absolute;
            width: 300px; height: 300px;
            border-radius: 50%;
            background: rgba(0,0,0,0.08);
            bottom: -150px; left: 10%;
            pointer-events: none;
        }
        .cta-inner {
            position: relative; z-index: 1;
            display: flex; align-items: center; justify-content: space-between;
            gap: 3rem;
        }
        .cta-text h2 {
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            font-weight: 900; color: #fff;
            letter-spacing: -0.025em;
            line-height: 1.2;
            margin-bottom: 0.5rem;
        }
        .cta-text p { color: rgba(255,255,255,0.7); font-size: 1rem; }
        .cta-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
        .btn-white { background: #fff; color: var(--primary); font-weight: 700; }
        .btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
        .btn-outline-white { border: 2px solid rgba(255,255,255,0.4); color: #fff; }
        .btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

        /* ══════════════════════════════
           FOOTER
        ══════════════════════════════ */
        .footer {
            background: var(--secondary);
            padding: 64px 0 32px;
        }
        .footer-top {
            display: grid;
            grid-template-columns: 1.8fr repeat(3, 1fr);
            gap: 3rem;
            padding-bottom: 3rem;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            margin-bottom: 2rem;
        }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p {
            color: rgba(255,255,255,0.4);
            font-size: 0.85rem;
            margin-top: 0.75rem;
            line-height: 1.65;
            max-width: 260px;
        }
        .footer-col h4 {
            font-size: 0.72rem; font-weight: 700;
            color: rgba(255,255,255,0.4);
            text-transform: uppercase; letter-spacing: 0.1em;
            margin-bottom: 1rem;
        }
        .footer-col ul { list-style: none; }
        .footer-col li { margin-bottom: 0.6rem; }
        .footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
        .footer-col a:hover { color: #fff; }
        .footer-bottom {
            display: flex; justify-content: space-between; align-items: center;
            flex-wrap: wrap; gap: 1rem;
        }
        .footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
        .footer-social { display: flex; gap: 0.6rem; }
        .footer-social a {
            width: 32px; height: 32px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.4);
            transition: all var(--transition);
        }
        .footer-social a:hover { border-color: var(--primary); color: var(--primary); }

        /* ══════════════════════════════
           COMPARISON TABLE
        ══════════════════════════════ */
        .compare-wrap {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 0;
            align-items: stretch;
            max-width: 960px;
            margin: 0 auto;
        }
        .compare-side {
            border-radius: 20px;
            overflow: hidden;
        }
        .compare-without {
            border: 1.5px solid var(--border);
            background: var(--bg);
        }
        .compare-with {
            border: 2px solid var(--primary);
            background: var(--secondary);
            box-shadow: 0 0 0 4px rgba(240,90,40,0.08);
        }
        .compare-with-badge {
            display: block;
            width: 100%;
            text-align: center;
            background: var(--primary); color: #fff;
            font-size: 0.7rem; font-weight: 800;
            padding: 0.5rem 1rem;
            text-transform: uppercase; letter-spacing: 0.08em;
        }
        .compare-head {
            padding: 1.75rem 1.75rem 1.25rem;
            display: flex; align-items: center; gap: 0.9rem;
            border-bottom: 1px solid rgba(0,0,0,0.07);
        }
        .compare-with .compare-head { border-bottom-color: rgba(255,255,255,0.07); }
        .compare-head-icon {
            width: 44px; height: 44px; flex-shrink: 0;
            border-radius: 11px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem;
        }
        .compare-without .compare-head-icon { background: #FEE2E2; }
        .compare-with .compare-head-icon { background: rgba(240,90,40,0.15); }
        .compare-head-title { font-size: 1rem; font-weight: 800; color: var(--text); }
        .compare-with .compare-head-title { color: #fff; }
        .compare-head-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }
        .compare-with .compare-head-sub { color: rgba(255,255,255,0.4); }

        .compare-tool-list {
            padding: 1rem 1.75rem;
            border-bottom: 1px solid rgba(0,0,0,0.06);
        }
        .compare-with .compare-tool-list { border-bottom-color: rgba(255,255,255,0.06); }
        .compare-row {
            display: flex; align-items: center; justify-content: space-between;
            padding: 0.6rem 0;
            border-bottom: 1px solid rgba(0,0,0,0.04);
            gap: 0.75rem;
        }
        .compare-with .compare-row { border-bottom-color: rgba(255,255,255,0.04); }
        .compare-row:last-child { border-bottom: none; }
        .compare-row-left { display: flex; align-items: center; gap: 0.6rem; }
        .compare-row-ico {
            width: 26px; height: 26px; flex-shrink: 0;
            border-radius: 6px; background: var(--surface);
            display: flex; align-items: center; justify-content: center;
            font-size: 0.7rem;
        }
        .compare-with .compare-row-ico { background: rgba(255,255,255,0.07); }
        .compare-row-name { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); }
        .compare-with .compare-row-name { color: rgba(255,255,255,0.7); }
        .compare-row-val {
            font-size: 0.78rem; font-weight: 700;
            color: #EF4444; flex-shrink: 0;
        }
        .compare-check {
            width: 20px; height: 20px; flex-shrink: 0;
            border-radius: 50%;
            background: rgba(240,90,40,0.15);
            display: flex; align-items: center; justify-content: center;
        }
        .compare-check svg { width: 11px; height: 11px; stroke: var(--primary); stroke-width: 2.5; fill: none; }

        .compare-total {
            padding: 1.1rem 1.75rem;
            display: flex; align-items: center; justify-content: space-between;
            background: #FEF2F2;
        }
        .compare-total-label { font-size: 0.82rem; font-weight: 700; color: #DC2626; }
        .compare-total-val { font-size: 1.2rem; font-weight: 900; color: #DC2626; }

        .compare-with-total {
            padding: 1.1rem 1.75rem;
            display: flex; align-items: center; justify-content: space-between;
            background: rgba(240,90,40,0.12);
        }
        .compare-with-total-label { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.7); }
        .compare-with-total-val { font-size: 1.2rem; font-weight: 900; color: var(--primary); }

        .compare-pain {
            padding: 1rem 1.75rem 1.5rem;
        }
        .compare-pain-item {
            display: flex; align-items: flex-start; gap: 0.6rem;
            padding: 0.45rem 0;
            font-size: 0.8rem; color: var(--text-muted);
        }
        .pain-x {
            width: 18px; height: 18px; flex-shrink: 0;
            border-radius: 50%; background: #FEE2E2;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.65rem; color: #EF4444; font-weight: 900; line-height: 1;
            margin-top: 1px;
        }
        .gain-check {
            width: 18px; height: 18px; flex-shrink: 0;
            border-radius: 50%; background: rgba(240,90,40,0.15);
            display: flex; align-items: center; justify-content: center;
            margin-top: 1px;
        }
        .gain-check svg { width: 10px; height: 10px; stroke: var(--primary); stroke-width: 2.5; fill: none; }
        .compare-pain-item span { line-height: 1.45; }
        .compare-with .compare-pain-item { color: rgba(255,255,255,0.55); }

        .compare-vs-col {
            display: flex; align-items: center; justify-content: center;
            padding: 0 1.25rem;
        }
        .compare-vs-badge {
            width: 44px; height: 44px;
            border-radius: 50%;
            background: var(--surface);
            border: 2px solid var(--border);
            display: flex; align-items: center; justify-content: center;
            font-size: 0.72rem; font-weight: 900;
            color: var(--text-muted);
            letter-spacing: 0.02em;
        }

        /* ══════════════════════════════
           STATS COUNTER
        ══════════════════════════════ */
        .stats-section {
            padding: 72px 0;
            background: var(--bg);
            border-bottom: 1px solid var(--border);
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 0;
        }
        .stat-item {
            text-align: center;
            padding: 2rem 1.5rem;
            position: relative;
        }
        .stat-item:not(:last-child)::after {
            content: '';
            position: absolute;
            right: 0; top: 25%; bottom: 25%;
            width: 1px;
            background: var(--border);
        }
        .stat-num {
            font-size: 3.15rem;
            font-weight: 900;
            letter-spacing: 0;
            color: var(--text);
            line-height: 1;
            margin-bottom: 0.5rem;
        }
        .stat-num .stat-suffix { color: var(--primary); }
        .stat-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* ══════════════════════════════
           VIDEO DEMO
        ══════════════════════════════ */
        .video-section { padding: 100px 0; background: var(--secondary); }
        .video-wrap {
            max-width: 820px;
            margin: 0 auto;
            border-radius: 16px;
            overflow: hidden;
            background: #111;
            aspect-ratio: 16/9;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            cursor: pointer;
            border: 1px solid rgba(255,255,255,0.08);
        }
        .video-wrap::before {
            content: '';
            position: absolute; inset: 0;
            background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(240,90,40,0.12) 0%, transparent 70%);
            pointer-events: none;
        }
        .video-wrap iframe { width: 100%; height: 100%; border: none; position: absolute; inset: 0; }
        .play-placeholder {
            position: relative; z-index: 1;
            text-align: center;
        }
        .play-btn {
            width: 80px; height: 80px;
            border-radius: 50%;
            background: var(--primary);
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 1.25rem;
            transition: transform var(--transition), box-shadow var(--transition);
        }
        .video-wrap:hover .play-btn {
            transform: scale(1.1);
            box-shadow: 0 0 40px rgba(240,90,40,0.5);
        }
        .play-btn svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
        .play-label { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.6); }
        .play-sub { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 0.25rem; }

        /* ══════════════════════════════
           SCROLL REVEAL
        ══════════════════════════════ */
        .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
        .reveal.visible { opacity: 1; transform: translateY(0); }

        /* ══════════════════════════════
           RESPONSIVE
        ══════════════════════════════ */
        @media (max-width: 1024px) {
            .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
            .hero-right {
                grid-template-columns: none;
                grid-auto-flow: column;
                grid-auto-columns: 160px;
                align-content: initial;
                width: 100%;
                overflow-x: auto;
                padding-bottom: 0.65rem;
                scroll-snap-type: x proximity;
                scrollbar-width: thin;
                scrollbar-color: rgba(255,255,255,0.2) transparent;
            }
            .hero-card { min-height: 170px; scroll-snap-align: start; text-align: left; }
            .hero { min-height: auto; text-align: center; }
            .hero-desc { margin: 0 auto 2.25rem; }
            .hero-actions { justify-content: center; }
            .hero-stats { justify-content: center; }
            .bento-grid { grid-template-columns: 1fr 1fr; }
            .bento-a, .bento-b { grid-column: span 1; }
            .bento-c, .bento-d, .bento-e { grid-column: span 1; }
            .footer-top { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .compare-wrap { grid-template-columns: 1fr; }
            .compare-vs-col { padding: 0.75rem 0; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .stat-item { padding: 1.35rem 0.75rem; }
            .stat-item::after { display: none; }
            .stat-num { font-size: 2.25rem; }
            .stat-label { font-size: 0.78rem; }
            .nav-links, .nav-actions .btn-ghost, .desktop-only { display: none; }
            .mobile-toggle { display: flex; }
            .hero { padding: 120px 0 60px; }
            .hero-inner { gap: 2.25rem; }
            .hero-right { grid-auto-columns: 148px; gap: 0.6rem; }
            .hero-card { min-height: 166px; }
            .section { padding: 70px 0; }
            .cat-grid { grid-template-columns: repeat(2, 1fr); }
            .bento-grid { grid-template-columns: 1fr; }
            .bento-a, .bento-b, .bento-c, .bento-d, .bento-e { grid-column: span 1; }
            .zigzag-item { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
            .zigzag-item:nth-child(even) .zi-content { order: 1; text-align: center; }
            .zigzag-item:nth-child(even) .zi-visual { order: 3; }
            .zi-line { order: 2; }
            .zigzag-item:nth-child(even) .zi-content p { margin-left: 0; }
            .zi-content p { max-width: 100%; }
            .zi-visual, .zigzag-item:nth-child(even) .zi-visual { justify-content: center; }
            .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
            .faq-grid { grid-template-columns: 1fr; }
            .cta-inner { flex-direction: column; text-align: center; }
            .cta-actions { justify-content: center; }
            .footer-top { grid-template-columns: 1fr; gap: 2rem; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .hero-stats { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
            .model-marquee-section { padding: 1.1rem 0 0.95rem; }
            .model-marquee-group { gap: 1.25rem; padding: 0 1.25rem; }
            .model-marquee-item { width: 100px; flex-basis: 100px; }
            .model-marquee-logo { width: 76px; height: 76px; }
        }

        @media (prefers-reduced-motion: reduce) {
            .model-marquee-viewport { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
            .model-marquee-track { animation: none; }
            .model-marquee-group[aria-hidden="true"] { display: none; }
        }

        @media (max-width: 480px) {
            .cat-grid { grid-template-columns: 1fr; }
            .stats-section { padding: 46px 0; }
            .stat-item { padding: 1.1rem 0.45rem; }
            .stat-num { font-size: 1.95rem; }
            .stat-label { font-size: 0.74rem; }
        }

        @media (min-width: 601px) and (max-width: 960px) {
            .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 680px; }
        }

.rv-marquee-wrap{overflow:hidden;width:100%;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%);}
.rv-marquee{display:flex;gap:1.1rem;width:max-content;animation:rv-scroll <?php echo max(18, count($_reviewPhotos) * 4); ?>s linear infinite;}
.rv-marquee:hover{animation-play-state:paused;}
.rv-item{flex-shrink:0;border-radius:14px;overflow:hidden;background:var(--card-bg);box-shadow:0 3px 16px rgba(0,0,0,.1);transition:transform .25s,box-shadow .25s;cursor:zoom-in;}
.rv-item:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 10px 32px rgba(0,0,0,.15);}
.rv-item img{display:block;max-height:320px;width:auto;height:auto;}
@keyframes rv-scroll{0%{transform:translateX(0);}100%{transform:translateX(calc(-50% - .55rem));}}
@media(max-width:600px){.rv-item img{max-height:220px;}.rv-marquee{gap:.7rem;}}
