:root {
            --bg: #070b16;
            --accent: #0ea5e9;
            --accent-soft: #22d3ee;
            --accent-strong: #fb7185;
            --text: #e5e7eb;
            --muted: #9ca3af;
            --card: #111827;
            --border: #1f2937;
            --cube-edge: #4b5563;
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            min-height: 100vh;
            background: var(--color-bg);
            color: var(--color-text);
            overflow-x: hidden;
        }

        .page {
            margin: 0 auto;
            padding: 32px 20px 60px;
            border-radius: 16px;
            border: 1px solid var(--color-border);
            background: linear-gradient(135deg, var(--color-bg), var(--color-bg-alt));
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
            overflow-x: hidden;
        }

        header.hero {
            display: grid;
            grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
            gap: 32px;
            align-items: center;
        }

        @media (max-width: 900px) {
            header.hero {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .hero-title {
            font-size: clamp(2.4rem, 3vw, 3rem);
            font-weight: 800;
            letter-spacing: 0.03em;
        }

        .hero-subtitle {
            margin-top: 8px;
            font-size: 1.05rem;
            color: var(--muted);
        }

        .hero-badges {
            margin-top: 18px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .badge {
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 0.8rem;
            border: 1px solid rgba(148, 163, 184, 0.4);
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(15, 23, 42, 0.9));
            backdrop-filter: blur(6px);
        }

        .badge-alt {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(15, 23, 42, 0.9));
        }

        .hero-cta {
            margin-top: 24px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .btn {
            padding: 10px 18px;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            font-size: 0.95rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }

        .btn-mark {
            width: 1.35rem;
            height: 1.35rem;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(148, 163, 184, 0.16);
            color: currentColor;
            font-weight: 800;
            font-size: 0.85rem;
            line-height: 1;
            flex: 0 0 auto;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-soft), var(--accent));
            color: white;
            box-shadow: 0 12px 30px rgba(79, 70, 229, 0.45);
        }

        .btn-ghost {
            background: transparent;
            color: var(--muted);
            border: 1px solid rgba(148, 163, 184, 0.5);
        }

        .hero-note {
            margin-top: 14px;
            font-size: 0.85rem;
            color: var(--muted);
        }

        /* VISUEL */
        .visual-wrapper {
            background: radial-gradient(circle at top, #1f2937 0, #020617 60%, #000 100%);
            border-radius: 24px;
            padding: 20px;
            border: 1px solid rgba(148, 163, 184, 0.35);
            box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
            position: relative;
            overflow: hidden;
        }

        .visual-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .visual-header h2 {
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            color: var(--muted);
        }

        .toggle-group {
            display: inline-flex;
            border-radius: 999px;
            border: 1px solid rgba(148, 163, 184, 0.4);
            overflow: hidden;
        }

        .toggle-btn {
            padding: 6px 12px;
            font-size: 0.8rem;
            cursor: pointer;
            border: none;
            background: transparent;
            color: var(--muted);
        }

        .toggle-btn.active {
            background: rgba(79, 70, 229, 0.25);
            color: var(--text);
        }

        .visual-content {
            display: grid;
            grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
            gap: 18px;
            align-items: center;
        }

        @media (max-width: 900px) {
            .visual-content {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        /* CUBE 3D */
        .cube-scene {
            width: 260px;
            height: 260px;
            margin: 0 auto;
            perspective: 900px;
        }

        .cube {
            width: 160px;
            height: 160px;
            position: relative;
            margin: 50px auto;
            transform-style: preserve-3d;
            animation: spin 12s infinite linear;
        }

        .cube-face {
            position: absolute;
            width: 160px;
            height: 160px;
            background: radial-gradient(circle at top left, #4f46e5 0, #111827 40%, #020617 100%);
            border: 1px solid var(--cube-edge);
            box-shadow: 0 0 25px rgba(79, 70, 229, 0.6);
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(4, 1fr);
        }

        .cube-cell {
            border: 1px solid rgba(148, 163, 184, 0.35);
            background: rgba(15, 23, 42, 0.9);
        }

        .cube-cell.highlight {
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(79, 70, 229, 0.9));
        }

        .cube-face.front  { transform: translateZ(80px); }
        .cube-face.back   { transform: rotateY(180deg) translateZ(80px); }
        .cube-face.right  { transform: rotateY(90deg) translateZ(80px); }
        .cube-face.left   { transform: rotateY(-90deg) translateZ(80px); }
        .cube-face.top    { transform: rotateX(90deg) translateZ(80px); }
        .cube-face.bottom { transform: rotateX(-90deg) translateZ(80px); }

        @keyframes spin {
            0%   { transform: rotateX(-20deg) rotateY(0deg); }
            50%  { transform: rotateX(25deg) rotateY(180deg); }
            100% { transform: rotateX(-20deg) rotateY(360deg); }
        }

        /* 2D CROSS */
        .cross-layout {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            max-width: 100%;
            overflow: hidden;
        }

        .cross-row {
            display: flex;
            gap: 6px;
        }

        .face-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(4, 1fr);
            gap: 2px;
        }

        .cross-cell {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            border: 1px solid rgba(148, 163, 184, 0.4);
            background: rgba(15, 23, 42, 0.95);
        }

        .cross-cell.center {
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.85), rgba(15, 23, 42, 0.95));
        }

        .visual-text {
            font-size: 0.9rem;
            color: var(--muted);
        }

        .visual-text strong {
            color: var(--text);
        }


        @media (max-width: 900px) {
            .section-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        @media (max-width: 480px) {
            .cross-row {
                gap: 4px;
            }

            .face-grid {
                gap: 1px;
            }

            .cross-cell {
                width: 24px;
                height: 24px;
                border-radius: 4px;
            }
        }

        .card {
            background: var(--card);
            border-radius: 18px;
            padding: 18px 18px 16px;
            border: 1px solid var(--border);
        }

        .card h3 {
            margin-top: 0;
            font-size: 1.05rem;
        }

        .card p {
            font-size: 0.9rem;
            color: var(--muted);
        }

        .feature-list {
            list-style: none;
            padding: 0;
            margin: 10px 0 0;
        }

        .feature-list li {
            margin-bottom: 6px;
            font-size: 0.9rem;
        }

        .feature-list li::before {
            content: "◆";
            color: var(--accent-strong);
            margin-right: 6px;
            font-size: 0.7rem;
        }

        .pill-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

        .pill {
            padding: 5px 10px;
            border-radius: 999px;
            font-size: 0.8rem;
            background: rgba(31, 41, 55, 0.9);
            border: 1px solid rgba(148, 163, 184, 0.4);
        }

        /* SECTION GRID (base manquante) */
        .section-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        @media (max-width: 900px) {
            .section-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        /* DOWNLOAD */
        .download-intro {
            font-size: 0.95rem;
            color: var(--muted);
            margin: 4px 0 20px;
        }

        .download-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
        }

        @media (max-width: 900px) {
            .download-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 600px) {
            .download-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .download-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 14px;
            padding: 28px 24px;
        }

        .store-icon {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
        }

        .store-icon-android {
            background: linear-gradient(135deg, rgba(61, 220, 132, 0.25), rgba(15, 23, 42, 0.9));
            border: 1px solid rgba(61, 220, 132, 0.4);
        }

        .store-icon-apple {
            background: linear-gradient(135deg, rgba(148, 163, 184, 0.25), rgba(15, 23, 42, 0.9));
            border: 1px solid rgba(148, 163, 184, 0.4);
        }

        .store-icon-microsoft {
            background: linear-gradient(135deg, rgba(0, 120, 212, 0.25), rgba(15, 23, 42, 0.9));
            border: 1px solid rgba(0, 120, 212, 0.4);
        }

        .download-card h3 {
            margin: 0;
            font-size: 1.1rem;
        }

        .qr-wrapper {
            background: #ffffff;
            border-radius: 14px;
            padding: 10px;
            box-shadow: 0 0 30px rgba(14, 165, 233, 0.25);
            line-height: 0;
        }

        .qr-wrapper img {
            width: 160px;
            height: 160px;
            display: block;
            border-radius: 6px;
        }

        .store-badge-link {
            display: block;
            border-radius: 10px;
            overflow: hidden;
            opacity: 0.9;
            transition: opacity 0.2s, transform 0.2s;
        }

        .store-badge-link:hover {
            opacity: 1;
            transform: scale(1.03);
        }

        .store-badge-link img {
            height: 52px;
            display: block;
        }

        .store-soon {
            font-size: 0.78rem;
            color: var(--accent-soft);
            border: 1px solid rgba(34, 211, 238, 0.4);
            border-radius: 999px;
            padding: 4px 12px;
            background: rgba(34, 211, 238, 0.08);
        }

        .app-cta {
            margin-top: 40px;
            font-size: 0.85rem;
            color: var(--muted);
            text-align: center;
        }

        .app-cta .cta-footer {
            margin-top: 10px;
        }

        .app-cta .cta-footer .btn-primary {
            font-size: 0.9rem;
        }
