﻿:root {
    --gold-deep: #b7ac64;
    --gold: #bda764;
    --gold-bright: #C7A458;
    --gold-light: #DCC58A;
    --gold-text: #bda764;
    --gold-tint: rgba(176, 141, 63, 0.12);
    --gold-tint-line: rgba(176, 141, 63, 0.3);
    --champagne: #F3E9D2;
    --amber: #BE9440;
    --violet: #B08D3F;
    --indigo: #96762F;
    --pink: #C7A458;
    --cyan: #DCC58A;
    --primary: #B08D3F;
    --primary-light: #DCC58A;
    --primary-dark: #8A6B27;
    --accent: #B08D3F;
    --accent-cyan: #C7A458;
    --accent-glow: rgba(176, 141, 63, 0.32);
    --gradient-primary: linear-gradient(115deg, #A07E33 0%, #C7A458 50%, #A07E33 100%);
    --gradient-ink: linear-gradient(115deg, #96762F 0%, #B08D3F 100%);
    --gradient-accent: linear-gradient(115deg, #C7A458 0%, #F3E9D2 50%, #C7A458 100%);
    --ink: #bda764;
    --bone: #FFFFFF;
    --bg-primary: #FBFAF7;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F3F1EA;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-glass: rgba(251, 250, 247, 0.8);
    --text-primary: #171512;
    --text-secondary: #5F5A50;
    --text-muted: #969084;
    --border: rgba(23, 21, 18, 0.10);
    --border-hover: rgba(176, 141, 63, 0.5);
    --rule: rgba(23, 21, 18, 0.09);
    --shadow-sm: 0 2px 10px rgba(23, 21, 18, 0.05);
    --shadow-md: 0 24px 56px -32px rgba(23, 21, 18, 0.34);
    --shadow-lg: 0 46px 100px -48px rgba(23, 21, 18, 0.44);
    --shadow-glow: 0 36px 84px -42px rgba(176, 141, 63, 0.45);
    --phone-frame: #2A2721;
    --phone-screen: #0B0A08;
    --input-bg: #FFFFFF;
    --input-border: rgba(23, 21, 18, 0.14);
    --input-focus-border: #B08D3F;
    --input-focus-glow: rgba(176, 141, 63, 0.16);
    --success: #4E8A5B;
    --error: #C0442F;
    --warning: #B0872C;
    --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 14px;
    --radius-lg: 26px;
    --track: 0.02em;
}

[data-theme="dark"] {
    --gold: #D2B268;
    --gold-bright: #E0C храм;
    --gold-bright: #E0C486;
    --gold-light: #EAD5A4;
    --gold-text: #E0C486;
    --gold-tint: rgba(210, 178, 104, 0.14);
    --gold-tint-line: rgba(210, 178, 104, 0.34);
    --champagne: #F6EDD8;
    --amber: #C9A55E;
    --violet: #D2B268;
    --indigo: #B99648;
    --pink: #E0C486;
    --cyan: #EAD5A4;
    --primary: #D2B268;
    --primary-light: #EAD5A4;
    --primary-dark: #9C7C36;
    --accent: #D2B268;
    --accent-cyan: #E0C486;
    --accent-glow: rgba(210, 178, 104, 0.34);
    --gradient-primary: linear-gradient(115deg, #B99648 0%, #E0C486 50%, #B99648 100%);
    --gradient-ink: linear-gradient(115deg, #B99648 0%, #E0C486 100%);
    --gradient-accent: linear-gradient(115deg, #E0C486 0%, #F6EDD8 50%, #B99648 100%);
    --bg-primary: #100E0C;
    --bg-secondary: #191712;
    --bg-tertiary: #241F19;
    --bg-card: rgba(30, 27, 22, 0.7);
    --bg-glass: rgba(16, 14, 12, 0.76);
    --text-primary: #F7F3EA;
    --text-secondary: #B4AE9F;
    --text-muted: #837D70;
    --border: rgba(247, 243, 234, 0.12);
    --border-hover: rgba(210, 178, 104, 0.5);
    --rule: rgba(247, 243, 234, 0.10);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 24px 56px -32px rgba(0, 0, 0, 0.85);
    --shadow-lg: 0 46px 100px -48px rgba(0, 0, 0, 0.95);
    --shadow-glow: 0 36px 84px -42px rgba(210, 178, 104, 0.45);
    --phone-frame: #2B2720;
    --phone-screen: #0A0907;
    --input-bg: #1B1813;
    --input-border: rgba(247, 243, 234, 0.16);
    --input-focus-border: #D2B268;
    --input-focus-glow: rgba(210, 178, 104, 0.18);
    --ink: #17150F;
    --bone: #F7F3EA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* REMOVED overflow-x: hidden from here to prevent double scrollbars */
    height: 100%;
}



    /* WebKit (Chrome, Edge, Safari) */
    *::-webkit-scrollbar,
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }

    *::-webkit-scrollbar-track,
    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar-track {
        background: var(--bg-primary);
        border-radius: 100px;
    }

    *::-webkit-scrollbar-thumb,
    html::-webkit-scrollbar-thumb,
    body::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #3D8BFF 0%, #00F0C0 100%);
        border-radius: 100px;
        border: 3px solid var(--bg-primary);
    }

        *::-webkit-scrollbar-thumb:hover,
        html::-webkit-scrollbar-thumb:hover,
        body::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #5BA0FF 0%, #33FFD4 100%);
        }

    *::-webkit-scrollbar-corner,
    html::-webkit-scrollbar-corner,
    body::-webkit-scrollbar-corner {
        background: var(--bg-primary);
    }









@media (max-width: 768px) {
    html {
        overflow-x: clip; /* only on mobile so there is no overflow on tables etc. */
    }
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    /* FIXES START HERE */
    width: 100%;
    min-height: 100%;
    position: relative;
    overflow-x: hidden; /* Handle horizontal overflow here only */
    overflow-y: visible; /* Force the body to use the main window scrollbar */
    transition: background 0.5s ease, color 0.5s ease;
}





/* Ambient Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

[data-theme="dark"] .ambient-orb {
    opacity: 0.15;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s ease;
}



/* Bootstrap GRID */
.container, .container-fluid {
    width: 100%;
    padding-right: calc(var(--gutter-x) * 0.5);
    padding-left: calc(var(--gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

/* Responsive Container Widths */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* 3. ROW */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--gutter-y) * -1);
    margin-right: calc(var(--gutter-x) * -0.5);
    margin-left: calc(var(--gutter-x) * -0.5);
}

    .row > * {
        box-sizing: border-box;
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        padding-right: calc(var(--gutter-x) * 0.5);
        padding-left: calc(var(--gutter-x) * 0.5);
        margin-top: var(--gutter-y);
    }

/* 4. COLUMNS (Mobile First / Extra Small) */
.col {
    flex: 1 0 0%;
}

.col-auto {
    flex: 0 0 auto;
    width: auto;
}

.col-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
}

.col-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
}

.col-3 {
    flex: 0 0 auto;
    width: 25%;
}

.col-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
}

.col-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
}

.col-6 {
    flex: 0 0 auto;
    width: 50%;
}

.col-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
}

.col-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
}

.col-9 {
    flex: 0 0 auto;
    width: 75%;
}

.col-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
}

.col-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

/* 5. BREAKPOINTS */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .col-sm {
        flex: 1 0 0%;
    }

    .col-sm-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .col-sm-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .col-sm-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .col-sm-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-sm-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-sm-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .col-sm-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .col-sm-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .col-sm-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .col-sm-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .col-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .col-md {
        flex: 1 0 0%;
    }

    .col-md-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .col-md-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .col-md-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-md-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-md-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .col-md-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .col-md-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .col-lg {
        flex: 1 0 0%;
    }

    .col-lg-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .col-lg-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .col-lg-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .col-lg-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .col-lg-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .col-lg-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .col-lg-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .col-xl {
        flex: 1 0 0%;
    }

    .col-xl-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .col-xl-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .col-xl-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .col-xl-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-xl-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-xl-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .col-xl-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-xl-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .col-xl-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .col-xl-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .col-xl-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .col-xl-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .col-xl-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}
/* END Bootstrap GRID */





.logo {
    align-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: flex; /* Added for text alignment */
    color: var(--text-primary); /* Fallback */
}

.logo-text-styled {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

    .nav-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        transition: color 0.3s ease;
        position: relative;
        cursor: pointer;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--text-primary);
        }

            .nav-links a:hover::after {
                width: 100%;
            }

        /* Active state for Nav Links */
        .nav-links a.active {
            color: var(--text-primary);
            font-weight: 700;
        }

            .nav-links a.active::after {
                width: 100%;
            }

        .nav-links a .header-icon {
            font-size: 1.4rem;
            vertical-align: middle;
            margin-right: 6px;
        }


.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Start Camera Button */
.btn-start-camera {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box, var(--gradient-primary) border-box;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

    .btn-start-camera:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 102, 255, 0.25);
    }

.camera-icon {
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.camera-label {
    font-weight: 800;
    font-size: 0.9rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

/* Theme Toggle */
.theme-toggle {
    width: 48px;
    height: 28px;
    background: var(--bg-tertiary);
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
    border: 1px solid var(--border);
}

/* Mobile specific class */
.mobile-theme-wrapper {
    display: none;
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--bg-secondary);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

[data-theme="dark"] .theme-toggle {
    background: var(--primary);
}

    [data-theme="dark"] .theme-toggle::before {
        transform: translateX(20px);
    }

.theme-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
    font-size: 12px;
    pointer-events: none;
}

.sun-icon {
    opacity: 0.6;
    font-size: 12px; /* Ensure FA icon fits */
}

.moon-icon {
    opacity: 0.3;
    font-size: 12px; /* Ensure FA icon fits */
}

[data-theme="dark"] .sun-icon {
    opacity: 0.3;
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
}

/* Page Container */
#app {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    height: auto !important; /* Ensure the div grows with content */
    overflow: visible !important; /* Strictly forbid internal scrolling */
}

.page {
    display: none;
    opacity: 0;
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
}

    .page.active {
        display: block;
        opacity: 1;
    }

    .page.entering {
        display: block;
        animation: pageEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .page.leaving {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        animation: pageLeave 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

/* No filter: blur() here on purpose. A filter on .page changes what the backdrop-filter used by every
   card inside it is allowed to sample, which flashes those panels dark mid-transition on some GPUs.
   Opacity and transform only — same feel, composites on the GPU, no blink. */
@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: translate3d(0, 40px, 0) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes pageLeave {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate3d(0, -30px, 0) scale(0.98);
    }
}

/* Add staggered animation for cards within pages */
.page.entering .dashboard-card,
.page.entering .form-card,
.page.entering .stat-card,
.page.entering .support-info,
.page.entering .support-form {
    opacity: 0;
    animation: cardEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

    .page.entering .dashboard-card:nth-child(1),
    .page.entering .stat-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .page.entering .dashboard-card:nth-child(2),
    .page.entering .stat-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .page.entering .dashboard-card:nth-child(3),
    .page.entering .stat-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .page.entering .stat-card:nth-child(4) {
        animation-delay: 0.4s;
    }

.page.entering .support-info {
    animation-delay: 0.1s;
}

.page.entering .support-form {
    animation-delay: 0.2s;
}

@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}





/* FORM Styles */


/* 
   1. ANIMATION DEFINITIONS 
   Imported from Button CSS for gradient rotation 
*/
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotation {
    0% {
        --gradient-angle: 0deg;
    }

    100% {
        --gradient-angle: 360deg;
    }
}

/* 
   2. FORM CSS 
*/
.form-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 40px;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

/* 
   Updated Input Styles 
*/
.form-input {
    width: 100%;
    padding: 16px 20px;
    height: 56px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    /* Default Background & Border */
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 14px;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    appearance: none;
}

/* Handle Textarea specifically */
textarea.form-input {
    height: auto;
    min-height: 120px;
    padding: 20px;
}

/* Placeholder Logic */
.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-input:focus::placeholder {
    opacity: 1;
}

.form-input:hover {
    border-color: var(--text-muted);
}

/* 
   UPDATED FOCUS STATE: Gradient Border Logic 
   Since inputs are void elements and can't use ::before, 
   we use background-clip to achieve the same effect.
*/
.form-input:focus {
    /* Make the physical border transparent so the gradient shows through */
    border-color: transparent;
    /* Layer 1: Inner background (padding-box) 
       Layer 2: Conic gradient (border-box) */
    background-image: linear-gradient(var(--input-bg), var(--input-bg)), conic-gradient(from var(--gradient-angle), #0066FF, #00D4AA, #0066FF, #55eed0, #0066FF);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    /* Apply the rotation animation */
    animation: rotation 3s linear infinite;
    /* Keep original shadow and transform */
    box-shadow: 0 0 0 4px var(--input-focus-glow), var(--shadow-md);
    transform: translateY(-2px);
}

    .form-input:focus ~ .input-glow {
        opacity: 1;
    }

/* 
   Floating Label Styles 
*/
.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    transform-origin: left top;
    background: transparent;
    padding: 0 2px;
    border-radius: 4px;
}

/* Fix for textarea label starting position */
textarea ~ .form-label {
    top: 26px;
    transform: translateY(-50%);
}

/* 
   Active State (Focused or Has Value)
*/
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    color: var(--text-muted);
    font-weight: 600;
    background: var(--input-bg);
    padding: 0 6px;
    margin-left: 0px;
}

/* Specific fix for textarea active state */
textarea:focus ~ .form-label,
textarea:not(:placeholder-shown) ~ .form-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
}

.form-input:focus ~ .form-label {
    color: var(--primary);
}

[data-theme="dark"] .form-input:focus ~ .form-label {
    color: var(--accent);
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: var(--gradient-primary);
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.form-input.error {
    border-color: var(--error);
}

.form-input.success {
    border-color: var(--success);
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-group:focus-within .input-icon {
    color: var(--gradient-primary);
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 6px;
    display: none;
}

    .form-error.visible {
        display: block;
        animation: shake 0.4s ease;
    }

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

    .form-checkbox input {
        width: 20px;
        height: 20px;
        accent-color: var(--primary);
        cursor: pointer;
    }

    .form-checkbox span {
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

    .form-checkbox a {
        color: var(--primary);
        text-decoration: none;
    }

        .form-checkbox a:hover {
            text-decoration: underline;
        }

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

    .form-divider::before,
    .form-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

/* END FORMS */






.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        border-color: var(--border-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .social-btn i {
        font-size: 1.2rem;
    }

.form-footer {
    text-align: center;
    margin-top: 28px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

    .form-footer a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        cursor: pointer;
    }

        .form-footer a:hover {
            text-decoration: underline;
        }


/* 1. Define the animation */
@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* buttons */
/* buttons */
.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    height: 56px;
    padding: 0 34px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 20px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    animation: none;
    transform: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

    /* Nothing may resize or displace the button, in any state, ever. */
    .btn:hover,
    .btn:focus,
    .btn:active {
        transform: none;
        padding: 0 34px;
        height: 56px;
        letter-spacing: 0.14em;
        font-size: 0.72rem;
        box-shadow: none;
    }

    .btn:focus-visible {
        outline: 1px solid var(--gold);
        outline-offset: 4px;
    }

/* =========================================================
   PRIMARY — an ink slab. A brass panel wipes up from the
   floor on hover and the lettering turns dark against it.
   ========================================================= */

.btn-primary {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--champagne);
}

    /* the brass panel */
    .btn-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: #FFFFFF;
        transform: translateY(101%);
        transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* a single hairline of light that rides the leading edge */
    .btn-primary::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4px;
        z-index: -1;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-primary:hover {
        color: #222222;
        border-color: var(--gold);
    }

        .btn-primary:hover::before {
            transform: translateY(0);
        }

        .btn-primary:hover::after {
            transform: scaleX(1);
        }

    .btn-primary:active::before {
        transform: translateY(0) scale(1.04);
        transition-duration: 0.15s;
    }

[data-theme="dark"] .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: #17140C;
}

    [data-theme="dark"] .btn-primary::before {
        background: var(--bone);
    }

    [data-theme="dark"] .btn-primary::after {
        background: var(--gold);
    }

    [data-theme="dark"] .btn-primary:hover {
        color: #17140C;
        border-color: var(--bone);
    }

/* =========================================================
   SECONDARY / OUTLINE — hairline that fills with ink
   ========================================================= */

.btn-secondary,
.btn-outline {
    background: transparent;
    border-color: var(--rule);
    color: var(--text-primary);
    backdrop-filter: none;
}

    .btn-secondary::before,
    .btn-outline::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: #444444;
        transform: translateY(101%);
        transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-secondary:hover,
    .btn-outline:hover {
        color: #FFFFFF;
        border-color: var(--ink);
    }

        .btn-secondary:hover::before,
        .btn-outline:hover::before {
            transform: translateY(0);
        }

[data-theme="dark"] .btn-secondary::before,
[data-theme="dark"] .btn-outline::before {
    background: #444444;
}

[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-outline:hover {
    color: #FFFFFF;
    border-color: var(--gold);
}

/* =========================================================
   QUIET — text with an arrow that steps out
   ========================================================= */

.btn-quiet {
    height: 56px;
    padding: 0 4px;
    border: none;
    overflow: visible;
    color: var(--text-secondary);
    letter-spacing: 0.16em;
}

    .btn-quiet:hover,
    .btn-quiet:focus,
    .btn-quiet:active {
        height: 56px;
        padding: 0 4px;
        letter-spacing: 0.16em;
    }

    .btn-quiet::after {
        content: '→';
        display: inline-block;
        font-size: 0.95rem;
        letter-spacing: 0;
        color: var(--gold);
        transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-quiet:hover {
        color: var(--gold);
    }

        .btn-quiet:hover::after {
            transform: translateX(7px);
        }

/* =========================================================
   VARIANTS
   ========================================================= */

.btn-danger {
    background: var(--error);
    border-color: var(--error);
    color: #F7F5F0;
}

    .btn-danger::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: var(--ink);
        transform: translateY(101%);
        transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-danger:hover::before {
        transform: translateY(0);
    }

.btn-nav {
    height: 42px;
    padding: 0 24px;
    font-size: 0.64rem;
}

    .btn-nav:hover,
    .btn-nav:focus,
    .btn-nav:active {
        height: 42px;
        padding: 0 24px;
        font-size: 0.64rem;
    }

.btn-huge {
    width: auto;
    height: 64px;
    padding: 0 42px;
    font-size: 0.74rem;
}

    .btn-huge:hover,
    .btn-huge:focus,
    .btn-huge:active {
        height: 64px;
        padding: 0 42px;
        font-size: 0.74rem;
    }

.btn-small {
    height: 42px;
    padding: 0 22px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
}

    .btn-small:hover,
    .btn-small:focus,
    .btn-small:active {
        height: 42px;
        padding: 0 22px;
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

/* Page Header */
.page-header {
    text-align: center;
    padding: 60px 40px 40px;
}

.page-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Helper styles for the new View system */
.dashboard-view {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

    .dashboard-view.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Layout */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.dashboard-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(20px);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-nav {
    list-style: none;
}

    .sidebar-nav li {
        margin-bottom: 8px;
    }

    .sidebar-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 18px;
        border-radius: 12px;
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, background 0.3s ease;
        cursor: pointer;
        position: relative;
    }

        .sidebar-nav a:hover {
            background: var(--bg-tertiary);
            color: var(--text-primary);
            box-shadow: inset 3px 0 0 0 var(--accent-primary, #999999);
        }

        .sidebar-nav a.active {
            background: var(--gradient-primary);
            background-size: 500% auto;
            animation: gradient-move 9s ease infinite;
            color: white;
            box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
            overflow: hidden;
        }

            .sidebar-nav a.active::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
                transition: left 0.5s ease;
            }

            .sidebar-nav a.active:hover::before {
                left: 100%;
            }

            .sidebar-nav a.active:hover {
                transform: translateY(0px) scale(1.02);
                box-shadow: 0 15px 40px rgba(0, 102, 255, 0.45);
            }

    .sidebar-nav .nav-icon {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .sidebar-nav a:hover .nav-icon {
        transform: scale(1.15);
    }

.dashboard-main {
    min-width: 0;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
    margin-bottom: 24px;
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dashboard-card-title {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: var(--border-hover);
    }

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Usage Table */
.usage-table {
    width: 100%;
    border-collapse: collapse;
}

    .usage-table th,
    .usage-table td {
        padding: 16px 20px;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    .usage-table th {
        font-weight: 600;
        color: var(--text-secondary);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .usage-table td {
        font-size: 0.95rem;
    }

    .usage-table tr:last-child td {
        border-bottom: none;
    }

    .usage-table tr:hover td {
        background: var(--bg-tertiary);
    }

.status-badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.status-error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

/* Billing Cards */
.billing-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 170, 0.1));
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 16px;
    margin-bottom: 24px;
}

.billing-plan-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.billing-plan-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.billing-plan-price {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

    .payment-method:hover {
        border-color: var(--border-hover);
    }

.payment-icon {
    font-size: 2rem;
}

.payment-details {
    flex: 1;
}

    .payment-details strong {
        display: block;
        margin-bottom: 2px;
    }

    .payment-details span {
        font-size: 0.85rem;
        color: var(--text-muted);
    }

/* Profile Avatar */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    background-image: url(/images/profiles/100000_551e3cf06a92496bbe7e6ad678a33f19.jpg);
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-secondary);
    margin: 0 auto 24px;
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.3);
    position: relative;
}

.profile-avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px; /* Adjust for FA icon */
}

    .profile-avatar-edit:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
}

.support-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

    .support-info h3 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 24px;
    }

.support-item {
    display: flex;
    align-items: center; /* Adjusted alignment for icons */
    gap: 16px;
    margin-bottom: 24px;
}

.support-item-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.support-item-text strong {
    display: block;
    margin-bottom: 4px;
}

.support-item-text span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.support-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

    .support-form h3 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 24px;
    }

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 40px;
}

    .back-button:hover {
        border-color: var(--border-hover);
        color: var(--text-primary);
        transform: translateX(-4px);
    }

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 60px 40px 30px;
    text-align: center;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

    .footer-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.9rem;
        cursor: pointer;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--text-primary);
        }

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Alert / Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 12px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    .toast.show {
        transform: translateY(0);
        opacity: 1;
    }

    .toast.success {
        border-color: var(--success);
    }

        .toast.success .toast-icon {
            color: var(--success);
        }

    .toast.error {
        border-color: var(--error);
    }

        .toast.error .toast-icon {
            color: var(--error);
        }

.toast-icon {
    font-size: 1.3rem;
    display: flex;
}


/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    font-size: 48px;
    color: var(--primary, #00d4ff);
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a2e;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
}

    .toast-notification.toast-show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    .toast-notification.toast-success {
        border-left: 4px solid #00d4ff;
    }

    .toast-notification.toast-error {
        border-left: 4px solid #ff4757;
    }

    .toast-notification.toast-warning {
        border-left: 4px solid #ffa502;
    }

    .toast-notification.toast-info {
        border-left: 4px solid #3498db;
    }

    .toast-notification i {
        margin-right: 8px;
    }

/* Input Error State */
.form-input.input-error,
.form-group.has-error .form-input {
    border-color: #ff4757 !important;
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}


/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .tab:hover {
        color: var(--text-primary);
        background: var(--bg-tertiary);
    }

    .tab.active {
        background: var(--gradient-primary);
        color: white;
    }

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

    .mobile-menu-toggle:hover {
        background: var(--bg-secondary);
        border-color: var(--border-hover);
    }

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 14px;
}

    .hamburger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

        .hamburger span:nth-child(1) {
            top: 0;
        }

        .hamburger span:nth-child(2) {
            top: 50%;
            transform: translateY(-50%);
        }

        .hamburger span:nth-child(3) {
            bottom: 0;
        }

/* Hamburger to X animation */
.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* ADD THIS */
}

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: auto; /* ADD THIS - only allow clicks when active */
    }

/* Mobile Menu Panel */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 80px 24px 40px;
    pointer-events: none; /* ADD THIS */
}

    .mobile-menu.active {
        transform: translateX(0);
        pointer-events: auto; /* ADD THIS */
    }

.mobile-menu-links {
    list-style: none;
    margin-bottom: 32px;
}

    .mobile-menu-links li {
        margin-bottom: 8px;
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .mobile-menu-links a:hover,
        .mobile-menu-links a.active {
            background: var(--bg-tertiary);
            color: var(--text-primary);
        }

        .mobile-menu-links a .menu-icon {
            font-size: 1.2rem;
        }

.mobile-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.mobile-menu-footer {
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    text-align: center;
}

    .mobile-menu-footer p {
        color: var(--text);
        font-size: 1rem;
        margin-bottom: 0px;
    }

    .mobile-menu-footer .btn {
        width: 100%;
    }

@media (max-width: 768px) {
    .nav {
        padding: 12px 10px;
    }

    .nav-links {
        display: none;
    }

    .logo {
        font-size: 1.1rem;
    }

    /* Hide desktop theme toggle on mobile */
    #theme-toggle-desktop {
        display: none;
    }

    /* Show mobile theme toggle */
    .mobile-theme-wrapper {
        display: flex;
    }

    /* Hide Dashboard sidebar completely on mobile */
    .dashboard-sidebar {
        display: none !important;
    }

    /* Ensure dashboard main content takes full width */
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu,
    .mobile-menu-overlay {
        display: block;
    }

    .form-container {
        padding: 40px 20px;
    }

    .form-card {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }

    .dashboard-container {
        padding: 20px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .back-button {
        margin: 20px;
    }
}

/* --- New Homepage Sections Styles --- */

.home-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.section-spacer {
    margin-top: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

    .benefit-card:hover {
        transform: translateY(-8px);
        border-color: var(--primary-light);
        box-shadow: var(--shadow-lg);
    }

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
    /* MODIFIED: Smoother, slightly slower transition for a "calm" feel */
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, border-color 0.3s ease;
    will-change: transform, box-shadow; /* Optimizes performance */
}

    /* HOVER EFFECT: Regular Cards */
    .pricing-card:hover {
        /* Lifts the card up gently */
        transform: translateY(-12px) scale(1.02);
        /* Soft, diffuse shadow for depth */
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
        /* Optional: Highlights border slightly */
        border-color: var(--accent);
        z-index: 3; /* Ensures hovered card sits on top of others */
    }

    /* POPULAR CARD DEFAULT STATE */
    .pricing-card.popular {
        border: 2px solid var(--primary);
        transform: scale(1.05);
        box-shadow: var(--shadow-lg);
        z-index: 2;
    }

        /* HOVER EFFECT: Popular Card */
        /* We must explicitly handle this to prevent the scale(1.05) from resetting */
        .pricing-card.popular:hover {
            /* Maintain the scale, but add the lift */
            transform: scale(1.05) translateY(-12px);
            /* A slightly stronger shadow for the featured card */
            box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
            border-color: var(--accent);
        }

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 24px 0 8px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.price-currency {
    font-size: 1.2rem;
    margin-top: 8px;
    margin-right: 4px;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin: 32px 0;
    text-align: left;
}

    .pricing-features li {
        padding: 12px 0;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 12px;
        border-bottom: 1px solid var(--border);
    }

        .pricing-features li:last-child {
            border-bottom: none;
        }

    .pricing-features i {
        color: var(--success);
        font-size: 1rem;
    }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        border-color: var(--border-hover);
    }

.testimonial-stars {
    color: var(--warning);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    background-size: cover;
    background-position: center;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Mobile Tweaks for new section */
@media (max-width: 768px) {
    .pricing-card.popular {
        transform: scale(1);
        border-width: 1px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .home-container {
        padding: 0 20px 60px;
    }
}

/* ============================================
   FAQ SECTION — Smooth Accordion with Plus/Minus Morph
   ============================================ */

.faq-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

    .faq-section h3 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 28px;
    }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual FAQ Item */
.faq-item {
    border-bottom: 1px solid var(--border);
}

    .faq-item:last-child {
        border-bottom: none;
    }

/* Trigger Button */
.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: opacity 0.2s ease;
}

    .faq-trigger:hover {
        opacity: 0.8;
    }

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-item.faq-open .faq-question {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Plus / Minus Icon with CSS Morph ---- */
.faq-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-tertiary);
    transition: background 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.faq-open .faq-icon {
    background: var(--gradient-primary);
    transform: rotate(180deg);
}

/* The two bars that form the + and morph into - */
.faq-icon-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-icon-horizontal {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon-vertical {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

/* When open: vertical bar collapses to 0 height (plus morphs to minus) */
.faq-item.faq-open .faq-icon-bar {
    background: white;
}

.faq-item.faq-open .faq-icon-vertical {
    height: 0;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

/* ---- Answer Area ---- */
.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-answer {
    padding: 0 4px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .faq-section {
        padding: 28px 20px;
    }

    .faq-trigger {
        padding: 18px 0;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
    }

    .faq-icon-horizontal {
        width: 10px;
    }

    .faq-icon-vertical {
        height: 10px;
    }
}

/* =====================================================================================================================
   =====================================================================================================================
   CREDITS SHOP
   Cart, checkout, credits and store front. Built on the same tokens, radii and easing as everything above.
   =====================================================================================================================
   ===================================================================================================================== */


/* ---------------------------------------------------------------------------------------------------------------------
   NAV CART BUTTON
   --------------------------------------------------------------------------------------------------------------------- */

.btn-cart {
    position: relative;
    padding: 11px 14px !important;
}

.cart-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.cart-badge-empty {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.cart-badge-inline {
    margin-left: 8px;
    vertical-align: middle;
}

.cart-badge-bump {
    animation: cartBump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartBump {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.45);
    }

    100% {
        transform: scale(1);
    }
}


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  —  hero and store front
   --------------------------------------------------------------------------------------------------------------------- */

.hero {
    text-align: center;
    padding: 60px 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
}

    .hero-badge i {
        color: var(--accent-cyan);
    }

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    max-width: 620px;
    margin: 0 auto 36px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

    .hero-note i {
        color: var(--primary);
        margin-right: 4px;
    }

.trust-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

    .trust-row i {
        color: var(--success);
        margin-right: 6px;
    }

.cta-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    backdrop-filter: blur(20px);
}

    .cta-panel h2 {
        font-size: 1.9rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        margin-bottom: 12px;
    }

    .cta-panel p {
        color: var(--text-secondary);
        margin-bottom: 28px;
    }


/* ---------------------------------------------------------------------------------------------------------------------
   PACK CARDS  —  extends .pricing-card
   --------------------------------------------------------------------------------------------------------------------- */

.pack-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pack-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    min-height: 22px;
}

.pack-credits {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

    .pack-credits strong {
        font-size: 1.35rem;
        font-weight: 800;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.pack-per-credit {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.pack-add {
    margin-top: 10px;
}


/* ---------------------------------------------------------------------------------------------------------------------
   CART
   --------------------------------------------------------------------------------------------------------------------- */

.cart-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto auto 36px;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px 24px;
    backdrop-filter: blur(20px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .cart-item:hover {
        border-color: var(--border-hover);
        box-shadow: var(--shadow-sm);
    }

.cart-item-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.cart-item-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-info p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.cart-item-total {
    text-align: right;
}

    .cart-item-total strong {
        display: block;
        font-size: 1.1rem;
        font-weight: 800;
    }

    .cart-item-total span {
        color: var(--text-muted);
        font-size: 0.82rem;
    }

.cart-item-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .cart-item-remove:hover {
        background: var(--error);
        border-color: var(--error);
        color: #FFFFFF;
    }

/* Quantity stepper */
.qty-stepper {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    padding: 4px;
}

    .qty-stepper button {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: none;
        background: transparent;
        color: var(--text-secondary);
        cursor: pointer;
        font-size: 0.8rem;
        transition: all 0.2s ease;
    }

        .qty-stepper button:hover {
            background: var(--bg-secondary);
            color: var(--primary);
        }

    .qty-stepper span {
        min-width: 28px;
        text-align: center;
        font-weight: 700;
        font-size: 0.95rem;
    }

/* Summary panel */
.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 100px;
}

.cart-summary-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

    .cart-summary-row strong {
        color: var(--text-primary);
        font-weight: 700;
    }

.cart-summary-total {
    border-bottom: none;
    padding-top: 18px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

    .cart-summary-total strong {
        font-size: 1.6rem;
        font-weight: 800;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.cart-summary-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 16px;
}

/* Empty cart */
.cart-empty {
    text-align: center;
    padding: 80px 24px;
}

.cart-empty-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.cart-empty h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cart-empty p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}


/* ---------------------------------------------------------------------------------------------------------------------
   CHECKOUT
   --------------------------------------------------------------------------------------------------------------------- */

.checkout-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.checkout-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
}

.checkout-panel-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.checkout-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.checkout-line-info strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.checkout-line-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.checkout-line-price {
    font-weight: 700;
    white-space: nowrap;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 12px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

    .checkout-total-row strong {
        font-size: 1.7rem;
        font-weight: 800;
        color: var(--text-primary);
    }

.checkout-credits-row {
    background: var(--bg-tertiary);
    border-radius: 14px;
    padding: 14px 18px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

    .checkout-credits-row i {
        color: var(--accent-cyan);
        margin-right: 6px;
    }

    .checkout-credits-row strong {
        color: var(--text-primary);
    }

.checkout-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: -8px 0 24px;
}

.paypal-buttons-holder {
    min-height: 52px;
}

.checkout-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

    .checkout-notice i {
        color: var(--warning);
        margin-top: 2px;
    }

    .checkout-notice code {
        font-family: 'Space Mono', monospace;
        font-size: 0.85em;
        color: var(--text-primary);
    }

.checkout-secure {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 20px;
    line-height: 1.5;
}

    .checkout-secure i {
        color: var(--success);
        margin-right: 4px;
    }

/* Success state */
.checkout-success {
    max-width: 620px;
    margin: 0 auto;
    padding: 20px 24px 80px;
    text-align: center;
}

.checkout-success-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 14px 44px rgba(0, 102, 255, 0.35);
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 32px 32px;
    backdrop-filter: blur(20px);
    margin: 36px 0 24px;
}

.success-credits {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-credits-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 6px;
}

.success-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

    .success-meta span {
        display: block;
        color: var(--text-muted);
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .success-meta strong {
        font-weight: 700;
        font-size: 0.98rem;
        word-break: break-word;
    }

.success-account {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--success);
    border-radius: 18px;
    padding: 24px;
    text-align: left;
    margin-bottom: 28px;
}

    .success-account h3 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

        .success-account h3 i {
            color: var(--success);
            margin-right: 6px;
        }

    .success-account p {
        color: var(--text-secondary);
        font-size: 0.93rem;
        line-height: 1.6;
    }

.success-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ---------------------------------------------------------------------------------------------------------------------
   CREDITS PAGE
   --------------------------------------------------------------------------------------------------------------------- */

.credits-hero {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    backdrop-filter: blur(20px);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

    .credits-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
    }

.credits-hero-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.credits-hero-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 8px 0 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.credit-change {
    font-weight: 700;
}

.credit-up {
    color: var(--success);
}

.credit-down {
    color: var(--text-secondary);
}

/* Sidebar credit chip */
.sidebar-credits {
    background: var(--bg-tertiary);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-credits-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sidebar-credits-value {
    font-weight: 800;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ---------------------------------------------------------------------------------------------------------------------
   ORDERS
   --------------------------------------------------------------------------------------------------------------------- */

.order-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

    .order-meta span {
        display: block;
        color: var(--text-muted);
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .order-meta strong {
        font-weight: 700;
        font-size: 0.95rem;
        word-break: break-all;
    }

.table-actions {
    text-align: right;
    white-space: nowrap;
}

.table-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 32px 16px !important;
}

/* Keeps wide tables inside their card instead of stretching the page */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
}

    .empty-state i {
        font-size: 2.4rem;
        color: var(--text-muted);
        margin-bottom: 16px;
        display: block;
    }

    .empty-state p {
        color: var(--text-secondary);
        margin-bottom: 20px;
    }


/* ---------------------------------------------------------------------------------------------------------------------
   FORMS  —  additions
   --------------------------------------------------------------------------------------------------------------------- */

/* Applied by validation() when a field fails */
.form-input.input-error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-sent {
    text-align: center;
    padding: 24px 8px 8px;
}

    .form-sent i {
        font-size: 2.2rem;
        color: var(--success);
        margin-bottom: 16px;
        display: block;
    }

    .form-sent p {
        color: var(--text-secondary);
        line-height: 1.6;
    }

/* The avatar only carries a photo once one has been uploaded */
.profile-avatar {
    background-image: none;
}

    .profile-avatar.has-photo {
        background-color: transparent;
    }

#ProfileInitials {
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.profile-avatar.has-photo #ProfileInitials {
    display: none;
}


/* ---------------------------------------------------------------------------------------------------------------------
   LEGAL PAGES
   --------------------------------------------------------------------------------------------------------------------- */

.legal-copy {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
}

    .legal-copy h3 {
        font-size: 1.15rem;
        font-weight: 700;
        margin: 32px 0 10px;
    }

        .legal-copy h3:first-child {
            margin-top: 0;
        }

    .legal-copy p {
        color: var(--text-secondary);
        line-height: 1.75;
    }

    .legal-copy a {
        color: var(--primary);
    }


/* ---------------------------------------------------------------------------------------------------------------------
   DASHBOARD  —  full width when no sidebar is injected (signed out visitors on Support)
   --------------------------------------------------------------------------------------------------------------------- */

.dashboard-main:only-child {
    grid-column: 1 / -1;
}


/* ---------------------------------------------------------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .cart-layout,
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 32px 0 8px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-panel {
        padding: 40px 24px;
    }

    .legal-copy {
        padding: 32px 24px;
    }

    /* Stack the cart row: icon + name on top, then stepper, total and remove */
    .cart-item {
        grid-template-columns: 48px 1fr 36px;
        grid-template-areas: "icon info remove" "qty qty total";
        gap: 14px 16px;
        padding: 18px;
    }

    .cart-item-icon {
        grid-area: icon;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .cart-item-info {
        grid-area: info;
    }

    .cart-item-remove {
        grid-area: remove;
    }

    .qty-stepper {
        grid-area: qty;
        justify-self: start;
    }

    .cart-item-total {
        grid-area: total;
    }

    .success-credits {
        font-size: 2.8rem;
    }

    .credits-hero-value {
        font-size: 3rem;
    }

    .checkout-panel {
        padding: 24px;
    }
}


/* ---------------------------------------------------------------------------------------------------------------------
   AUTH VISIBILITY
   The <html> element carries signed-in or signed-out from the very first paint (set by the inline head script from the
   server rendered user id), so the menu never flashes the wrong links while the session check is in flight.
   --------------------------------------------------------------------------------------------------------------------- */

html.signed-out .auth-only,
html.signed-in .guest-only {
    display: none;
}


/* =====================================================================================================================
   =====================================================================================================================
   PROPCAST  —  SALES FUNNEL
   ===================================================================================================================== */

/* base */
body {
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: -0.004em;
    line-height: 1.65;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.012em;
    line-height: 1.1;
}

::selection {
    background: var(--gold);
    color: #17140C;
}

*::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: var(--gold);
}

    *::-webkit-scrollbar-thumb:hover,
    html::-webkit-scrollbar-thumb:hover,
    body::-webkit-scrollbar-thumb:hover {
        background: var(--gold-light);
    }

.ambient-orb {
    display: none;
}

.ambient-bg {
    background: radial-gradient(120% 78% at 50% -14%, rgba(176, 141, 63, 0.12), transparent 62%), radial-gradient(90% 62% at 104% 104%, rgba(176, 141, 63, 0.07), transparent 62%);
}

    .ambient-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
        opacity: 0.16;
        mix-blend-mode: multiply;
    }

[data-theme="dark"] .ambient-bg::after {
    mix-blend-mode: screen;
    opacity: 0.07;
}

.page {
    padding-top: 78px;
}

.lx-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.home-container,
.cart-container,
.checkout-container,
.dashboard-container {
    max-width: 1240px;
}

.section-spacer {
    margin-top: clamp(64px, 9vw, 118px);
}

.gradient-text {
    background: none;
    -webkit-text-fill-color: var(--gold);
    color: var(--gold);
    font-style: italic;
}

/* nav */
.nav {
    height: 78px;
    padding: 0 clamp(18px, 4vw, 48px);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--rule);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.logo {
    gap: 13px;
    align-items: center;
}

.logo-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text-styled {
    background: none;
    -webkit-text-fill-color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.42rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.52rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--text-muted);
    margin-top: 3px;
}

.nav-links {
    gap: clamp(18px, 2.2vw, 32px);
}

    .nav-links a {
        font-size: 0.7rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        color: var(--text-secondary);
    }

        .nav-links a::after {
            height: 1px;
            bottom: -7px;
            background: var(--gold);
        }

        .nav-links a.active {
            font-weight: 600;
            color: var(--gold);
        }

    .nav-links .header-icon {
        display: none;
    }

.nav-actions {
    gap: 14px;
}

.btn-nav {
    padding: 12px 24px;
    font-size: 0.64rem;
}

.btn-start-camera {
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: transparent;
    box-shadow: none;
    padding: 8px 13px;
}

    .btn-start-camera:hover {
        border-color: var(--gold);
        transform: none;
        box-shadow: none;
    }

.camera-icon {
    background: none;
    -webkit-text-fill-color: var(--text-primary);
    font-size: 1rem;
}

.cart-badge {
    background: var(--ink);
    color: var(--gold-light);
    border-radius: 0;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
}

[data-theme="dark"] .cart-badge {
    background: var(--gold);
    color: #17140C;
}

.theme-toggle {
    border-radius: 0;
    width: 46px;
    height: 26px;
    background: transparent;
    border: 1px solid var(--rule);
}

    .theme-toggle::before {
        border-radius: 0;
        background: var(--gold);
        width: 18px;
        height: 18px;
        top: 3px;
        left: 3px;
        box-shadow: none;
    }

[data-theme="dark"] .theme-toggle {
    background: transparent;
}

    [data-theme="dark"] .theme-toggle::before {
        transform: translateX(20px);
    }

.mobile-menu-toggle {
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--rule);
}

.mobile-menu {
    background: var(--bg-secondary);
    border-left: 1px solid var(--rule);
}

.mobile-menu-links a {
    border-radius: 0;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 15px 4px;
    border-bottom: 1px solid var(--rule);
}

    .mobile-menu-links a:hover,
    .mobile-menu-links a.active {
        background: transparent;
        color: var(--gold);
    }

.mobile-menu-footer {
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--rule);
    text-align: left;
}

/* forms */
.form-input,
textarea.form-input,
select.form-input {
    font-family: var(--font-sans);
    border-radius: var(--radius);
    border-width: 1px;
    font-size: 0.95rem;
}

    .form-input:focus {
        background-image: none;
        animation: none;
        transform: none;
        border-color: var(--gold);
        box-shadow: 0 0 0 3px var(--input-focus-glow);
    }

.form-label {
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.form-card,
.legal-copy,
.support-info,
.support-form,
.dashboard-card,
.dashboard-sidebar,
.cart-item,
.cart-summary,
.checkout-panel,
.success-card,
.credits-hero,
.stat-card,
.pricing-card,
.faq-item,
.back-button {
    border-radius: var(--radius-lg);
}

.form-icon {
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--gold-light);
    box-shadow: none;
}

.form-title,
.dashboard-card-title,
.cart-summary-title,
.checkout-panel-title,
.cart-empty h3,
.support-info h3,
.support-form h3,
.success-account h3,
.success-next h3,
.legal-copy h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.form-footer a,
.legal-copy a,
.form-checkbox a {
    color: var(--gold);
}

/* page headers */
.page-header {
    text-align: left;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(44px, 6vw, 78px) clamp(20px, 4vw, 48px) 34px;
}

.page-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    letter-spacing: -0.02em;
    line-height: 1;
}

.page-subtitle {
    margin: 14px 0 0;
    max-width: 56ch;
    font-size: 0.98rem;
    color: var(--text-secondary);
}

.section-header {
    text-align: left;
    max-width: none;
    margin-bottom: clamp(34px, 4vw, 52px);
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rule);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.1rem, 4.2vw, 3.3rem);
    letter-spacing: -0.02em;
    margin: 12px 0 12px;
}

.section-subtitle {
    font-size: 0.97rem;
    max-width: 58ch;
}

.lx-sectionmark {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--gold);
}

/* hero */
/* hero */
.lx-hero {
    position: relative;
    padding: clamp(28px, 5vw, 70px) 0 0;
}

.lx-hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}

.lx-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    font-size: 0.63rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--gold);
}

.lx-kicker-rule {
    display: block;
    width: 44px;
    height: 1px;
    background: var(--gold);
}

.lx-display {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.9rem, 6.2vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.028em;
    margin-bottom: 26px;
}

    .lx-display em {
        font-style: italic;
        color: var(--gold);
    }

.lx-lede {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.78;
    max-width: 52ch;
    margin-bottom: 32px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.lx-assurances {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0;
}

.lx-assurances-center {
    justify-content: center;
    margin-top: 28px;
}

.lx-assurances li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.63rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

    .lx-assurances li::before {
        content: '';
        width: 5px;
        height: 5px;
        background: var(--gold);
        transform: rotate(45deg);
    }

/* ---------------------------------------------------------------------------
   THE DUEL  —  the listing as it is, beside the listing as a film
   --------------------------------------------------------------------------- */

.hero-stage.duel {
    position: relative;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(12px, 2.2vw, 26px);
    align-items: end;
    padding: 30px 0 46px;
}

.duel-glow {
    position: absolute;
    right: -8%;
    top: 4%;
    width: 76%;
    height: 84%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 141, 63, 0.55) 0%, transparent 68%);
    filter: blur(70px);
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
    animation: duelGlow 9s ease-in-out infinite;
}

[data-theme="dark"] .duel-glow {
    opacity: 0.5;
}

@keyframes duelGlow {
    0%, 100% {
        opacity: 0.55;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.07);
    }
}

.duel-side {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.duel-label {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(0.53rem, 1.2vw, 0.62rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.duel-label-dull {
    color: var(--text-muted);
}

.duel-label-hot {
    color: var(--gold);
}

/* ---- shared frame ---- */
.duel-phone {
    position: relative;
    padding: clamp(7px, 1.1vw, 12px);
    background: var(--bg-secondary);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.duel-screen {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--phone-screen);
}

/* ---- left: the flat listing ---- */
.duel-dead {
    animation: duelInLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

@keyframes duelInLeft {
    0% {
        opacity: 0;
        transform: translateX(-28px) rotate(-7deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(-2.6deg);
    }
}

.duel-dead .duel-phone {
    filter: saturate(0.1);
    opacity: 0.8;
    box-shadow: var(--shadow-sm);
}

.duel-dead .duel-screen {
    background: #DCD8D0;
}

.duel-static {
    position: absolute;
    inset: 0;
    padding: 11% 8% 0;
    animation: duelScrollAway 8s ease-in-out infinite;
}

@keyframes duelScrollAway {
    0%, 44% {
        transform: translateY(0);
    }

    64%, 90% {
        transform: translateY(-56%);
    }

    100% {
        transform: translateY(0);
    }
}

.duel-static-photo {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #B6B0A4 0%, #8B857A 100%);
    margin-bottom: 9px;
}

    .duel-static-photo.sm {
        aspect-ratio: 16 / 10;
        margin-top: 12px;
    }

.duel-static-price {
    height: 10px;
    width: 52%;
    background: #6E6960;
    margin-bottom: 9px;
}

.duel-static-line {
    height: 5px;
    background: #9C968B;
    margin-bottom: 7px;
}

    .duel-static-line.w90 {
        width: 90%;
    }

    .duel-static-line.w80 {
        width: 80%;
    }

    .duel-static-line.w75 {
        width: 75%;
    }

    .duel-static-line.w60 {
        width: 60%;
    }

    .duel-static-line.w45 {
        width: 45%;
    }

.duel-static-pills {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

    .duel-static-pills i {
        flex: 1;
        height: 12px;
        background: #B2ACA1;
    }

.duel-swipe {
    position: absolute;
    left: 50%;
    bottom: 15%;
    z-index: 4;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border-radius: 50%;
    background: rgba(20, 19, 15, 0.55);
    color: #FFFFFF;
    display: grid;
    place-items: center;
    font-size: 0.66rem;
    opacity: 0;
    animation: duelSwipe 8s ease-in-out infinite;
}

@keyframes duelSwipe {
    0%, 40% {
        opacity: 0;
        transform: translateY(20px);
    }

    48% {
        opacity: 1;
        transform: translateY(0);
    }

    62% {
        opacity: 1;
        transform: translateY(-66px);
    }

    70%, 100% {
        opacity: 0;
        transform: translateY(-88px);
    }
}

.duel-verdict {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 10px 6px;
    text-align: center;
    font-size: clamp(0.5rem, 1.15vw, 0.6rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #F7F5F0;
    background: rgba(162, 64, 47, 0.92);
    backdrop-filter: blur(6px);
}

.duel-verdict-hot {
    color: #17140C;
    background: var(--gradient-primary);
    background-size: 220% auto;
    animation: gradient-move 11s ease infinite;
}

/* ---- right: the film ---- */
.duel-live {
    animation: duelInRight 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@keyframes duelInRight {
    0% {
        opacity: 0;
        transform: translateX(32px) rotate(7deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(1.8deg);
    }
}

.duel-live .duel-phone {
    box-shadow: var(--shadow-lg), 0 0 90px -30px rgba(176, 141, 63, 0.9);
    animation: lxFloat 8s ease-in-out infinite 1s;
}

    .duel-live .duel-phone::before {
        content: '';
        position: absolute;
        inset: 4px;
        border: 1px solid rgba(176, 141, 63, 0.5);
        pointer-events: none;
        z-index: 6;
    }

@keyframes lxFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.duel-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0E0D0B;
}

.duel-scrim {
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    pointer-events: none;
}

.lx-sound {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(14, 13, 11, 0.42);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: clamp(0.48rem, 1.05vw, 0.55rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    cursor: pointer;
    transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, color 0.4s ease;
}

    .lx-sound:hover {
        border-color: var(--gold-light);
        background: rgba(14, 13, 11, 0.72);
    }

    .lx-sound .on {
        display: none;
    }

    .lx-sound.is-on .on {
        display: inline;
    }

    .lx-sound.is-on .off {
        display: none;
    }

    .lx-sound.is-on {
        background: var(--gold);
        border-color: var(--gold);
        color: #17140C;
    }

        .lx-sound.is-on span {
            display: none;
        }

.lx-wave {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 46px;
    height: 17px;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    pointer-events: none;
}

    .lx-wave i {
        flex: 1;
        height: 30%;
        background: var(--gold-light);
        opacity: 0.9;
        animation: lxWave 1.2s ease-in-out infinite;
    }

        .lx-wave i:nth-child(1) {
            animation-delay: 0.00s;
        }

        .lx-wave i:nth-child(2) {
            animation-delay: 0.09s;
        }

        .lx-wave i:nth-child(3) {
            animation-delay: 0.18s;
        }

        .lx-wave i:nth-child(4) {
            animation-delay: 0.27s;
        }

        .lx-wave i:nth-child(5) {
            animation-delay: 0.36s;
        }

        .lx-wave i:nth-child(6) {
            animation-delay: 0.45s;
        }

        .lx-wave i:nth-child(7) {
            animation-delay: 0.54s;
        }

        .lx-wave i:nth-child(8) {
            animation-delay: 0.63s;
        }

        .lx-wave i:nth-child(9) {
            animation-delay: 0.72s;
        }

        .lx-wave i:nth-child(10) {
            animation-delay: 0.81s;
        }

@keyframes lxWave {
    0%, 100% {
        height: 20%;
    }

    50% {
        height: 100%;
    }
}

/* ---- attention meters ---- */
.duel-meter {
    margin-top: 16px;
    padding: 0px 20px 0px 20px;
}

.duel-meter-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 7px;
    font-size: clamp(0.5rem, 1.1vw, 0.58rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.duel-meter.is-hot .duel-meter-head span:last-child {
    font-family: var(--font-display);
    font-size: 2.9em;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--gold);
}

.duel-meter-track {
    display: block;
    height: 2px;
    background: var(--rule);
    overflow: hidden;
}

.duel-meter-fill {
    display: block;
    height: 100%;
    width: 9%;
    background: var(--text-primary);
    opacity: 0.6;
}

.duel-meter.is-hot .duel-meter-fill {
    opacity: 1;
    background: var(--gradient-primary);
    background-size: 220% auto;
    animation: duelFill 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

@keyframes duelFill {
    0% {
        width: 9%;
    }

    100% {
        width: 100%;
    }
}

.duel-sharepill {
    position: absolute;
    right: 0;
    bottom: -6px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 9px 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--rule);
    box-shadow: var(--shadow-md);
    font-size: clamp(0.53rem, 1.15vw, 0.62rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: lxFloat 8s ease-in-out infinite 1.6s;
}

    .duel-sharepill i {
        color: var(--gold);
    }

/* ---- the 10x seal, now anchored to the film ---- */
.lx-seal {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 7;
    width: clamp(64px, 12vw, 92px);
    height: clamp(64px, 12vw, 92px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--gradient-primary);
    background-size: 220% auto;
    color: #17140C;
    box-shadow: 0 24px 50px -22px rgba(138, 107, 31, 0.95);
    animation: gradient-move 9s ease infinite, lxSealIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

    .lx-seal::before {
        content: '';
        position: absolute;
        inset: 6px;
        border: 1px solid rgba(23, 20, 12, 0.32);
        border-radius: 50%;
    }

    .lx-seal b {
        display: block;
        font-family: var(--font-display);
        font-size: clamp(1.3rem, 2.8vw, 1.8rem);
        font-weight: 500;
        line-height: 1;
    }

    .lx-seal small {
        display: block;
        margin-top: 3px;
        font-size: 0.42rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.2em;
    }

@keyframes lxSealIn {
    0% {
        opacity: 0;
        transform: scale(0.35) rotate(-30deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(-8deg);
    }
}

/* marquee */
.lx-marquee {
    margin-top: clamp(34px, 5vw, 68px);
    padding: 16px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    overflow: hidden;
}

.lx-marquee-track {
    display: flex;
    width: max-content;
    animation: lxMarquee 42s linear infinite;
}

.lx-marquee-group {
    display: flex;
    align-items: center;
    gap: clamp(30px, 5vw, 62px);
    padding-right: clamp(30px, 5vw, 62px);
}

    .lx-marquee-group span {
        display: inline-flex;
        align-items: center;
        gap: clamp(30px, 5vw, 62px);
        white-space: nowrap;
        font-size: 0.62rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.28em;
        color: var(--text-muted);
    }

        .lx-marquee-group span::after {
            content: '';
            width: 5px;
            height: 5px;
            background: var(--gold);
            transform: rotate(45deg);
        }

@keyframes lxMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ledger */
.lx-ledger {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(56px, 8vw, 100px);
    border-top: 1px solid var(--rule);
}

.lx-ledger-cell {
    padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 36px);
    border-bottom: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    transition: background 0.5s ease;
}

    .lx-ledger-cell:first-child {
        border-left: 1px solid var(--rule);
    }

    .lx-ledger-cell:hover {
        background: var(--bg-secondary);
    }

.lx-ledger-index {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold);
}

.lx-ledger-value {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.8rem, 5vw, 4.1rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 14px 0 16px;
}

.lx-ledger-cell p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

    .lx-ledger-cell p strong {
        color: var(--text-primary);
        font-weight: 600;
    }

.claim-note {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

/* pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
    gap: clamp(16px, 2vw, 26px);
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--rule);
    padding: clamp(30px, 3.4vw, 46px) clamp(22px, 2.6vw, 34px);
    box-shadow: none;
    transform: none;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        border-color: var(--gold);
        box-shadow: var(--shadow-lg);
    }

    .pricing-card.popular {
        border: 1px solid var(--gold);
        transform: none;
        box-shadow: var(--shadow-md);
    }

        .pricing-card.popular:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
        }

.popular-badge {
    top: -12px;
    background: var(--ink);
    color: var(--gold-light);
    border-radius: 0;
    padding: 7px 15px;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.22em;
}

[data-theme="dark"] .popular-badge {
    background: var(--gold);
    color: #17140C;
}

.pack-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
}

.pack-tagline {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.price-amount {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.8rem, 4.4vw, 3.6rem);
    letter-spacing: -0.03em;
    margin: 22px 0 6px;
}

.price-currency {
    font-size: 1rem;
    margin-top: 10px;
}

.pack-credits strong,
.cart-summary-total strong,
.credits-hero-value,
.success-credits,
.stat-value,
.sidebar-credits-value {
    background: none;
    -webkit-text-fill-color: var(--gold);
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 500;
}

.pack-listings {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 14px;
    border: 1px solid var(--rule);
    border-radius: 0;
    background: transparent;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
}

    .pack-listings b {
        color: var(--text-primary);
        font-weight: 700;
    }

.pack-each {
    margin-top: 10px;
    color: var(--gold);
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.pricing-features li {
    font-size: 0.9rem;
    border-bottom: 1px solid var(--rule);
}

.pricing-features i {
    color: var(--gold);
}

.trust-row {
    justify-content: flex-start;
    gap: 12px 34px;
    margin-top: 34px;
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

    .trust-row i {
        color: var(--gold);
    }

/* process */
.lx-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule);
}

.lx-step {
    padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 34px);
    border-bottom: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    transition: background 0.5s ease;
}

    .lx-step:first-child {
        border-left: 1px solid var(--rule);
    }

    .lx-step:hover {
        background: var(--bg-secondary);
    }

.lx-step-no {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--gold);
}

.lx-step h4 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    margin: 16px 0 10px;
}

.lx-step p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

.mid-cta {
    margin-top: 44px;
}

/* index */
.lx-index {
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(28px, 4vw, 64px);
}

    .lx-index li {
        display: flex;
        align-items: baseline;
        gap: 12px;
        padding: 18px 0;
        border-bottom: 1px solid var(--rule);
    }

.lx-index-name {
    font-family: var(--font-display);
    font-size: 1.16rem;
    font-weight: 500;
    white-space: nowrap;
}

.lx-index-lead {
    flex: 1;
    height: 1px;
    border-bottom: 1px dotted var(--rule);
    transform: translateY(-4px);
}

.lx-index-note {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    white-space: nowrap;
}

.lx-channels {
    display: flex;
    align-items: center;
    gap: 14px 34px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.lx-channels-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--gold);
}

.lx-channels-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

    .lx-channels-row span {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        font-size: 0.63rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        color: var(--text-secondary);
    }

    .lx-channels-row i {
        color: var(--gold);
        font-size: 0.95rem;
    }

/* shop deliverables */
.deliver-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border-top: 1px solid var(--rule);
}

.deliver-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    backdrop-filter: none;
    padding: 30px 26px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

    .deliver-card:hover {
        background: var(--bg-secondary);
        transform: none;
        box-shadow: none;
    }

.deliver-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 0;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
}

.deliver-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.deliver-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* faq */
.faq-section {
    background: transparent;
    border: none;
    border-top: 1px solid var(--rule);
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
}

    .faq-section h3 {
        font-family: var(--font-display);
        font-weight: 300;
        font-size: clamp(1.9rem, 3.4vw, 2.6rem);
        margin: 34px 0 12px;
    }

.faq-item {
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
}

.faq-trigger {
    font-family: var(--font-sans);
    padding: 26px 2px;
}

.faq-question {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 500;
}

.faq-item.faq-open .faq-question {
    background: none;
    -webkit-text-fill-color: var(--gold);
    color: var(--gold);
    font-style: italic;
}

.faq-icon {
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--rule);
}

.faq-item.faq-open .faq-icon {
    background: var(--gold);
    border-color: var(--gold);
    transform: rotate(90deg);
}

.faq-icon-bar {
    background: var(--text-secondary);
}

.faq-item.faq-open .faq-icon-bar {
    background: #17140C;
}

.faq-answer {
    padding: 0 2px 28px;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 68ch;
}

/* close */
.close-panel {
    background: var(--ink);
    border: 1px solid rgba(176, 141, 63, 0.28);
    border-radius: var(--radius-lg);
    padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 48px);
    backdrop-filter: none;
    color: var(--bone);
}

    .close-panel::before {
        background: radial-gradient(65% 100% at 50% 0%, rgba(176, 141, 63, 0.4), transparent 70%);
        opacity: 1;
    }

    .close-panel .lx-sectionmark {
        margin-bottom: 18px;
    }

    .close-panel h2 {
        font-family: var(--font-display);
        font-weight: 300;
        font-size: clamp(2.1rem, 4.6vw, 3.6rem);
        letter-spacing: -0.025em;
        color: var(--bone);
    }

    .close-panel p {
        color: rgba(247, 245, 240, 0.62);
        font-size: 1rem;
        max-width: 54ch;
    }

    .close-panel .lx-assurances li {
        color: rgba(247, 245, 240, 0.5);
    }

/* checkout + dashboard */
.checkout-reassure {
    list-style: none;
    margin: 0 0 24px;
    padding: 20px 22px;
    border: 1px solid var(--rule);
    border-radius: 0;
    background: transparent;
}

    .checkout-reassure li {
        display: flex;
        align-items: flex-start;
        gap: 11px;
        padding: 7px 0;
        color: var(--text-secondary);
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .checkout-reassure i {
        color: var(--gold);
        margin-top: 4px;
        flex-shrink: 0;
    }

.success-next {
    text-align: left;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 28px;
}

    .success-next h3 {
        font-family: var(--font-display);
        font-size: 1.3rem;
        font-weight: 500;
        margin-bottom: 14px;
    }

    .success-next ol {
        margin: 0;
        padding-left: 20px;
        color: var(--text-secondary);
    }

    .success-next li {
        padding: 6px 0;
        font-size: 0.92rem;
        line-height: 1.6;
    }

.credits-hero::before {
    background: var(--gold);
    height: 2px;
}

.sidebar-nav a {
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border-bottom: 1px solid var(--rule);
}

    .sidebar-nav a.active {
        background: var(--ink);
        color: var(--gold-light);
        animation: none;
        box-shadow: none;
    }

        .sidebar-nav a.active:hover {
            transform: none;
            box-shadow: none;
        }

.usage-table th {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.usage-table tr:hover td {
    background: rgba(176, 141, 63, 0.07);
}

.status-badge {
    border-radius: 0;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.support-item-icon {
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.profile-avatar {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--gold);
}

.profile-avatar-edit {
    border-radius: 0;
}

.back-button {
    margin: 22px auto;
    max-width: 1240px;
    border-radius: 0;
    border: 1px solid var(--rule);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    display: flex;
    width: fit-content;
}

/* footer */
.footer {
    background: var(--ink);
    border-top: 1px solid rgba(176, 141, 63, 0.3);
    padding: clamp(50px, 7vw, 86px) clamp(20px, 4vw, 48px) 34px;
    text-align: left;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 34px;
    flex-wrap: wrap;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(247, 245, 240, 0.12);
}

.footer-logo {
    justify-content: flex-start;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    color: #F7F5F0;
    margin-bottom: 12px;
}

    .footer-logo .logo-mark {
        border-color: var(--gold-light);
        color: var(--gold-light);
    }

.footer-line {
    color: rgba(247, 245, 240, 0.45);
    font-size: 0.85rem;
    max-width: 34ch;
}

.footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    justify-content: flex-start;
}

    .footer-links a {
        color: rgba(247, 245, 240, 0.6);
        font-size: 0.63rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.18em;
    }

        .footer-links a:hover {
            color: var(--gold-light);
        }

.footer-copy {
    max-width: 1240px;
    margin: 26px auto 0;
    color: rgba(247, 245, 240, 0.32);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

/* buy bar */
.buy-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--ink);
    border-top: 1px solid rgba(176, 141, 63, 0.4);
}

.buy-bar-copy strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.1;
    background: none;
    -webkit-text-fill-color: var(--gold-light);
    color: var(--gold-light);
}

.buy-bar-copy span {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(247, 245, 240, 0.45);
}

.buy-bar .btn {
    padding: 14px 26px;
    white-space: nowrap;
}

/* reveal */
@keyframes revealIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

html.reveal-ready .reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(24px);
}

html.reveal-ready .reveal.revealed {
    animation: revealIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

html.reveal-ready .reveal-stagger:not(.revealed) > * {
    opacity: 0;
    transform: translateY(20px);
}

html.reveal-ready .reveal-stagger.revealed > * {
    animation: revealIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(1) {
        animation-delay: 0.05s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(2) {
        animation-delay: 0.14s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(3) {
        animation-delay: 0.23s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(4) {
        animation-delay: 0.32s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(5) {
        animation-delay: 0.41s;
    }

    html.reveal-ready .reveal-stagger.revealed > *:nth-child(6) {
        animation-delay: 0.50s;
    }

.page.entering,
.page.leaving {
    will-change: opacity, transform;
}

.page.active {
    will-change: auto;
}

.page.leaving {
    pointer-events: none;
}

.dashboard-card,
.stat-card,
.cart-item,
.success-card,
.credits-hero,
.support-item {
    transition: border-color 0.4s ease, box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
}

    .dashboard-card:hover,
    .stat-card:hover,
    .cart-item:hover,
    .success-card:hover,
    .credits-hero:hover,
    .support-item:hover {
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
        transform: none;
    }

/* responsive */
@media (max-width: 1024px) {

    .lx-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-stage.duel {
        order: 2;
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
        padding-bottom: 54px;
    }

    .lx-seal {
        left: -10px;
    }

    .lx-ledger,
    .lx-process {
        grid-template-columns: 1fr 1fr;
    }

    .lx-ledger-cell:nth-child(odd),
    .lx-step:nth-child(odd) {
        border-left: 1px solid var(--rule);
    }
}

@media (max-width: 860px) {

    .lx-ledger,
    .lx-process,
    .lx-index {
        grid-template-columns: 1fr;
    }

    .lx-ledger-cell,
    .lx-step {
        border-left: 1px solid var(--rule);
    }

    .lx-index li {
        flex-wrap: wrap;
        gap: 6px;
    }

    .lx-index-lead {
        min-width: 24px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px 24px;
    }
}

@media (max-width: 768px) {

    .nav {
        height: 64px;
        padding: 0 16px;
    }

    .page {
        padding-top: 64px;
    }

    .btn-nav,
    .logo-sub {
        display: none;
    }

    .lx-hero {
        padding-top: 18px;
    }

    .lx-display {
        font-size: clamp(2.5rem, 11vw, 3.4rem);
    }

    .hero-cta-row {
        gap: 14px;
    }

        .hero-cta-row .btn-huge {
            width: 100%;
        }

    .hero-stage.duel {
        grid-template-columns: 0.82fr 1.18fr;
        gap: 10px;
        padding: 16px 0 60px;
    }

    .lx-seal {
        top: 14px;
        left: -8px;
        width: 58px;
        height: 58px;
    }

    .lx-sound span {
        display: none;
    }

    .lx-wave {
        bottom: 40px;
        height: 13px;
    }

    .duel-sharepill {
        right: 50%;
        transform: translateX(50%);
        bottom: -34px;
    }

    .buy-bar {
        display: flex;
    }

    .home-container {
        padding-bottom: 116px;
    }

    .page-header {
        padding: 34px 20px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lx-frame,
    .lx-seal,
    .lx-wave i,
    .lx-marquee-track {
        animation: none !important;
    }

    .lx-seal {
        transform: rotate(-7deg);
    }

    html.reveal-ready .reveal,
    html.reveal-ready .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .page.entering,
    .page.leaving {
        animation-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {

    /* Full-bleed CTA still needs the container gutter respected */
    .hero-cta-row {
        width: 100%;
    }
}





/* =====================================================================
   THE REEL  —  eight films, panned by the scroll
   ===================================================================== */

/* position:sticky cannot work inside a scroll container. `clip` hides the
   horizontal overflow the way `hidden` did, without making <body> one. */
body {
    overflow-x: clip;
}

.lx-reel {
    position: relative;
}

.lx-reel-sticky {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(16px, 2.2vw, 30px);
    padding: clamp(34px, 5vw, 64px) 0;
}

.lx-reel.is-pinned .lx-reel-sticky {
    position: sticky;
    top: 78px;
    height: calc(100vh - 78px);
    min-height: 560px;
    padding: 0;
    overflow: hidden;
}

/* ---- header ---- */
.lx-reel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
    flex-wrap: wrap;
}

.lx-reel-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.9rem, 3.8vw, 3.1rem);
    letter-spacing: -0.022em;
    line-height: 1;
    margin-top: 12px;
}

.lx-reel-hint {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-muted);
    white-space: nowrap;
}

    .lx-reel-hint i {
        color: var(--gold);
        animation: reelHint 2.6s ease-in-out infinite;
    }

@keyframes reelHint {
    0%, 100% {
        transform: translateX(-3px);
    }

    50% {
        transform: translateX(3px);
    }
}

/* ---- viewport + track ---- */
.lx-reel-viewport {
    position: relative;
    overflow: hidden;
    perspective: 1500px;
}

.lx-reel.is-pinned .lx-reel-viewport {
    cursor: grab;
    touch-action: pan-y;
}

.lx-reel.is-dragging .lx-reel-viewport {
    cursor: grabbing;
}

/* fallback: a real horizontal strip on small screens */
.lx-reel:not(.is-pinned) .lx-reel-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .lx-reel:not(.is-pinned) .lx-reel-viewport::-webkit-scrollbar {
        display: none;
    }

.lx-reel-track {
    position: relative;
    display: flex;
    align-items: center;
    width: max-content;
    gap: clamp(16px, 2.6vw, 44px);
    padding: clamp(28px, 4vw, 58px) clamp(20px, 8vw, 13vw);
    transform-style: preserve-3d;
    will-change: transform;
}

/* ---- tiles ---- */
.reel-tile {
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: center;
    transform-origin: 50% 60%;
    will-change: transform, opacity;
}

.reel-frame {
    position: relative;
    overflow: hidden;
    background: var(--phone-screen);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-v .reel-frame {
    height: min(62vh, 600px);
    aspect-ratio: 9 / 16;
}

.reel-h .reel-frame {
    height: min(41vh, 396px);
    aspect-ratio: 16 / 9;
}

.reel-tile.is-live .reel-frame {
    box-shadow: var(--shadow-lg), 0 0 90px -34px rgba(176, 141, 63, 0.95);
}

/* the gold hairline, borrowed from the hero */
.reel-frame::after {
    content: '';
    position: absolute;
    inset: 5px;
    z-index: 6;
    border: 1px solid rgba(176, 141, 63, 0);
    pointer-events: none;
    transition: border-color 0.7s ease;
}

.reel-tile.is-live .reel-frame::after {
    border-color: rgba(176, 141, 63, 0.55);
}

.reel-media,
.reel-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.35) contrast(1.02) brightness(0.92);
    transition: filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.reel-tile.is-live .reel-media,
.reel-tile.is-live .reel-video {
    filter: none;
}

.reel-video {
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease, filter 0.9s ease;
}

    .reel-video.is-ready {
        opacity: 1;
    }

.reel-scrim {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    pointer-events: none;
}

.reel-ratio {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    padding: 5px 10px;
    background: rgba(14, 13, 11, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(14, 13, 11, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-tile.is-live .reel-play {
    opacity: 1;
    transform: scale(1);
}

.reel-tile.is-live .reel-frame:hover .reel-play {
    background: var(--gold);
    border-color: var(--gold);
    color: #17140C;
}

.reel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: clamp(14px, 1.7vw, 24px);
    color: #F7F5F0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-tile.is-live .reel-caption {
    opacity: 1;
    transform: none;
}

.reel-index {
    display: block;
    margin-bottom: 8px;
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    color: var(--gold-light);
}

.reel-caption h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    line-height: 1.1;
    color: #FFFFFF;
}

.reel-caption p {
    margin-top: 7px;
    font-size: 0.58rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(247, 245, 240, 0.6);
}

/* ---- closing card ---- */
.reel-cta .reel-frame {
    height: min(62vh, 600px);
    width: min(46vh, 340px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: clamp(24px, 3vw, 38px);
    background: var(--gold);
    border-color: rgba(176, 141, 63, 0.32);
}

.reel-cta h3 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.05;
    color: var(--bone);
}

.reel-cta p {
    color: rgba(247, 245, 240, 0.55);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* ---- progress rail ---- */
.lx-reel-rail {
    width: 100%;
}

.lx-reel-bar {
    position: relative;
    display: block;
    height: 2px;
    background: var(--rule);
}

.lx-reel-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    background-size: 220% auto;
    animation: gradient-move 11s ease infinite;
}

/* ---- small screens ---- */
@media (max-width: 860px) {
    .lx-reel-track {
        padding: 26px clamp(20px, 8vw, 40px);
        gap: 16px;
    }

    .reel-v .reel-frame {
        height: min(66vh, 500px);
    }

    .reel-h .reel-frame {
        height: min(38vh, 280px);
    }

    .reel-cta .reel-frame {
        height: min(66vh, 500px);
        width: 280px;
    }

    .reel-caption,
    .reel-play {
        opacity: 1;
        transform: none;
    }

    .reel-media,
    .reel-video {
        filter: none;
    }

    .lx-reel-hint i {
        animation: none;
    }
}

@media (max-width: 768px) {
    .lx-reel.is-pinned .lx-reel-sticky {
        top: 64px;
        height: calc(100vh - 64px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lx-reel-bar-fill,
    .lx-reel-hint i {
        animation: none !important;
    }

    .reel-caption,
    .reel-play {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- REEL: mobile pinning ---------- */

.lx-reel {
    --reel-top: 78px;
}

    .lx-reel.is-pinned .lx-reel-sticky {
        top: var(--reel-top);
        height: calc(100vh - var(--reel-top));
        height: calc(100svh - var(--reel-top)); /* stable while the URL bar moves */
        min-height: 0;
    }

    /* the strip is driven by page scroll now, never by its own scrollbar */
    .lx-reel.is-pinned .lx-reel-viewport {
        overflow: hidden;
        scroll-snap-type: none;
        touch-action: pan-y;
        cursor: default;
    }

@media (max-width: 860px) {
    .lx-reel {
        --reel-top: 78px;
    }

    .lx-reel-track {
        padding: 20px 12vw;
        gap: 14px;
    }

    .reel-v .reel-frame {
        height: min(56svh, 460px);
    }

    .reel-h .reel-frame {
        height: min(32svh, 260px);
    }

    .reel-cta .reel-frame {
        height: min(56svh, 460px);
        width: 250px;
    }

    /* the centre tile still comes alive — undo the earlier flat fallback */
    .reel-caption,
    .reel-play {
        opacity: 0;
        transform: translateY(14px);
    }

    .reel-play {
        transform: scale(0.7);
        width: 44px;
        height: 44px;
        margin: -22px 0 0 -22px;
    }

    .reel-tile.is-live .reel-caption {
        opacity: 1;
        transform: none;
    }

    .reel-tile.is-live .reel-play {
        opacity: 1;
        transform: scale(1);
    }

    .reel-media,
    .reel-video {
        filter: saturate(0.35) brightness(0.92);
    }

    .reel-tile.is-live .reel-media,
    .reel-tile.is-live .reel-video {
        filter: none;
    }

    .lx-reel-viewport {
        perspective: 900px;
    }

    .lx-reel-hint i {
        animation: none;
    }
}

@media (max-width: 768px) {
    .lx-reel {
        --reel-top: 64px;
    }

    .lx-reel-head {
        display: none; /* the pinned stage owns the full screen on phones */
    }
}

/* =====================================================================
   REEL — stop the vertical films' glow being clipped
   ===================================================================== */

.lx-reel {
    --reel-bleed: 96px; /* room the halo needs above and below */
}

    /* Fallback for browsers without `overflow: clip` (Safari < 16):
   stays hidden, but the padding below now keeps the halo inside. */
    .lx-reel.is-pinned .lx-reel-sticky,
    .lx-reel.is-pinned .lx-reel-viewport {
        overflow: hidden;
    }

/* `clip` is the only value that can be set on one axis without forcing the
   other axis into a scroll container — which is what `hidden` does. */
@supports (overflow: clip) {
    .lx-reel.is-pinned .lx-reel-sticky,
    .lx-reel.is-pinned .lx-reel-viewport {
        overflow-x: clip;
        overflow-y: visible;
    }
}

/* the halo needs padding, not just permission */
.lx-reel-track {
    padding-top: var(--reel-bleed);
    padding-bottom: var(--reel-bleed);
}

/* …so the frames give that padding back, or the stage overflows */
.reel-v .reel-frame,
.reel-cta .reel-frame {
    height: min(calc(72svh - var(--reel-bleed) * 2), 600px);
}

.reel-h .reel-frame {
    height: min(calc(48svh - var(--reel-bleed) * 2), 396px);
}

/* The tile is pushed +18px down and -130px back as it leaves centre, which
   drags its shadow further still. Anchoring the origin higher keeps the
   travelling tiles' halos inside the bleed. */
.reel-tile {
    transform-origin: 50% 42%;
}

@media (max-width: 860px) {
    .lx-reel {
        --reel-bleed: 60px;
    }

    .reel-v .reel-frame,
    .reel-cta .reel-frame {
        height: min(calc(80svh - var(--reel-bleed) * 2), 460px);
    }

    .reel-h .reel-frame {
        height: min(calc(46svh - var(--reel-bleed) * 2), 260px);
    }
}

/* =====================================================================
   REEL — full-bleed on phones, faded edges on desktop
   ===================================================================== */

.lx-reel-sticky {
    position: relative; /* containing block for the edge fades */
}

/* The track's end padding is what lets the FIRST and LAST tile reach the
   centre of the stage. Tuned to roughly half a vertical tile. */
.lx-reel-track {
    padding-inline: max(24px, calc(50% - 190px));
}

/* ---- desktop: edge fades ---- */
.lx-reel-sticky::before,
.lx-reel-sticky::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: clamp(90px, 13vw, 230px);
    pointer-events: none;
}

.lx-reel-sticky::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary) 12%, transparent 100%);
}

.lx-reel-sticky::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary) 12%, transparent 100%);
}

/* the chrome stays above the fades */
.lx-reel-head,
.lx-reel-rail {
    position: relative;
    z-index: 6;
}

/* ---- mobile: edge to edge, no fades ---- */
@media (max-width: 860px) {

    /* zero gutter — the strip runs off both sides of the screen.
       Tiles are wide relative to a phone, so the first and last still
       land close enough to centre to trigger .is-live. */
    .lx-reel-track {
        padding-inline: 0;
        gap: 10px;
    }

    .lx-reel-sticky::before,
    .lx-reel-sticky::after {
        display: none;
    }

    /* rail matches the full-bleed strip instead of the shell */
    .lx-reel-rail {
        max-width: none;
        padding: 0;
    }

    /* a touch larger now that the gutter is gone */
    .reel-v .reel-frame,
    .reel-cta .reel-frame {
        height: min(calc(82svh - var(--reel-bleed) * 2), 500px);
    }

    .reel-cta .reel-frame {
        width: min(78vw, 300px);
    }
}



/* =====================================================================
   REEL — full bleed, no background, faded ends on desktop
   ===================================================================== */

.lx-reel {
    background: transparent;
    border-top: none;
    border-bottom: none;
    /* escape any centred parent, whatever its width */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* 100vw includes the scrollbar gutter; this does not */
@supports (width: 100dvw) {
    .lx-reel {
        width: 100dvw;
        max-width: 100dvw;
        margin-left: calc(50% - 50dvw);
        margin-right: calc(50% - 50dvw);
    }
}

.lx-reel.is-pinned .lx-reel-sticky {
    background: transparent;
}

/* ---- the ends fade, desktop only ------------------------------------ */
@media (min-width: 861px) {
    .lx-reel-viewport {
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
    }

    /* A mask re-establishes clipping on both axes, so the vertical halo
       needs to be re-permitted vertically inside the masked box. */
    @supports (overflow: clip) {
        .lx-reel.is-pinned .lx-reel-viewport {
            overflow-x: clip;
            overflow-y: visible;
        }
    }

    /* first and last tile should start beyond the fade, not under it */
    .lx-reel-track {
        padding-left: 16vw;
        padding-right: 16vw;
    }
}

/* ---- mobile: tiles run to the glass --------------------------------- */
@media (max-width: 860px) {
    .lx-reel-track {
        padding-left: 0;
        padding-right: 0;
        gap: 0;
    }

        /* No side padding means the centred tile must be centred by the maths
       instead — a half-viewport lead-in and lead-out on the track itself. */
        .lx-reel-track::before,
        .lx-reel-track::after {
            content: '';
            flex: 0 0 calc(50vw - 42vw);
        }

    .reel-tile {
        padding: 0 6px;
    }

    .reel-v .reel-frame,
    .reel-cta .reel-frame {
        width: 84vw;
        aspect-ratio: 9 / 16;
        height: auto;
        max-height: calc(84svh - var(--reel-bleed) * 2);
    }

    .reel-h .reel-frame {
        width: 92vw;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .reel-cta .reel-frame {
        aspect-ratio: 9 / 16;
    }

    /* full bleed means the header's shell gutter would look wrong */
    .lx-reel-head,
    .lx-reel-rail {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =====================================================================
   HERO — mobile portrait running order
   Heading first, then the comparison, then the lede, buttons and tags.
   =====================================================================*/

@media (max-width: 768px) and (orientation: portrait) {

    /* the grid becomes a single column flex track so `order` applies */
    .lx-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* dissolve the copy wrapper: its children become items of the grid */
    .lx-hero-copy {
        display: contents;
    }

    .lx-kicker {
        order: 1;
    }

    .lx-display {
        order: 2;
    }

    .hero-stage.duel {
        order: 3;
    }

    .lx-lede {
        order: 4;
    }

    .hero-cta-row {
        order: 5;
    }

    .lx-assurances {
        order: 6;
    }

    /* --- spacing, so the heading + duel land inside the first screen --- */
    .lx-hero {
        padding-top: 10px;
    }

    .lx-kicker {
        margin-bottom: 14px;
    }

    .lx-display {
        font-size: clamp(2.1rem, 9.4vw, 2.9rem);
        margin-bottom: 0;
    }

    .hero-stage.duel {
        padding: 14px 0 46px;
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
    }

    .lx-lede {
        margin: 4px 0 26px;
        max-width: none;
    }

    .hero-cta-row {
        margin-bottom: 22px;
    }

    .lx-assurances {
        margin-bottom: 4px;
    }
}








/* ---------- LOGO (image) ---------- */

.logo {
    gap: 0;
    line-height: 0; /* kills the inline-image baseline gap */
    flex: 0 0 auto;
}

.logo-img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================================
   PROPCAST 2.0  —  modern, kinetic, high-contrast
   ===================================================================== */

/* ---- type -------------------------------------------------------- */
body {
    font-family: var(--font-sans);
    letter-spacing: -0.011em;
    line-height: 1.62;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

::selection {
    background: var(--gold);
    color: #FFFFFF;
}

*::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 100px;
}

    *::-webkit-scrollbar-thumb:hover,
    html::-webkit-scrollbar-thumb:hover,
    body::-webkit-scrollbar-thumb:hover {
        background: var(--gold-light);
    }

/* flat gold reads far cleaner than a gradient at text sizes */
.gradient-text {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--gold-text);
    color: var(--gold-text);
    font-style: normal;
    animation: none;
}

.lx-sectionmark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px 7px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-secondary);
}

    .lx-sectionmark::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gold);
        box-shadow: none;
    }

/* ---- ambient canvas ---------------------------------------------- */
.ambient-bg {
    background: radial-gradient(90% 60% at 12% -10%, rgba(176, 141, 63, 0.2), transparent 62%), radial-gradient(70% 55% at 92% 8%, rgba(220, 197, 138, 0.16), transparent 64%), radial-gradient(80% 60% at 50% 110%, rgba(220, 197, 138, 0.14), transparent 66%);
}

    .ambient-bg::after {
        opacity: 0.07;
        mix-blend-mode: overlay;
    }

.ambient-orb {
    display: block;
    filter: blur(140px);
    opacity: 0.2;
}

.orb-1 {
    width: 640px;
    height: 640px;
    background: var(--gold);
}

.orb-2 {
    width: 520px;
    height: 520px;
    background: var(--gold-light);
}

.orb-3 {
    width: 460px;
    height: 460px;
    background: var(--champagne);
    top: 34%;
    left: 42%;
    animation-delay: -13s;
}

[data-theme="dark"] .ambient-orb {
    opacity: 0.15;
}

/* ---- nav ---------------------------------------------------------- */
.nav {
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(26px) saturate(1.4);
    -webkit-backdrop-filter: blur(26px) saturate(1.4);
}

    .nav::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        opacity: 0.4;
    }

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: -0.01em;
}

    .nav-links a::after {
        height: 2px;
        bottom: -6px;
        border-radius: 2px;
        background: var(--gold);
    }

    .nav-links a.active {
        color: var(--text-primary);
        font-weight: 600;
    }

.btn-start-camera {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

    .btn-start-camera:hover {
        border-color: var(--border-hover);
        background: var(--bg-secondary);
    }

.cart-badge {
    border-radius: 999px;
    background: var(--gold);
    color: #1A1710;
    font-weight: 700;
    letter-spacing: 0;
}

[data-theme="dark"] .cart-badge {
    background: var(--gold);
    color: #1A1710;
}

.theme-toggle {
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
}

    .theme-toggle::before {
        border-radius: 999px;
        background: var(--gold);
    }

.mobile-menu-toggle {
    border-radius: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.mobile-menu-links a {
    border-radius: 14px;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 0.98rem;
    border-bottom: none;
}

    .mobile-menu-links a:hover,
    .mobile-menu-links a.active {
        background: var(--gold-tint);
        color: var(--text-primary);
    }

.mobile-menu-footer {
    border-radius: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
}



/* ---- hero ---------------------------------------------------------- */
.lx-hero {
    position: relative;
    padding: clamp(24px, 5vw, 62px) 0 0;
    overflow: hidden;
}

.lx-hero-aura {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 130%;
    z-index: 0;
    pointer-events: none;
}

    .lx-hero-aura span {
        position: absolute;
        border-radius: 50%;
        filter: blur(130px);
        opacity: 0.26;
        animation: float-orb 22s ease-in-out infinite;
    }

        .lx-hero-aura span:nth-child(1) {
            width: 42vw;
            height: 42vw;
            left: 4%;
            top: 2%;
            background: var(--gold);
        }

        .lx-hero-aura span:nth-child(2) {
            width: 34vw;
            height: 34vw;
            right: 6%;
            top: 12%;
            background: var(--gold-light);
            animation-delay: -8s;
        }

        .lx-hero-aura span:nth-child(3) {
            width: 30vw;
            height: 30vw;
            right: 28%;
            bottom: 2%;
            background: var(--champagne);
            animation-delay: -14s;
            opacity: 0.22;
        }

.lx-hero-grid {
    position: relative;
    z-index: 1;
    align-items: center;
}

.lx-kicker {
    padding: 8px 18px 8px 14px;
    width: fit-content;
    border: 1px solid var(--gold-tint-line);
    border-radius: 999px;
    background: var(--gold-tint);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--gold-text);
}

.lx-kicker-rule {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: none;
    animation: kickPulse 2.8s ease-in-out infinite;
}

@keyframes kickPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.55;
    }
}

.lx-display {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 6.6vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
}

    .lx-display em {
        font-style: normal;
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        -webkit-text-fill-color: var(--gold-text);
        color: var(--gold-text);
        animation: none;
    }

.lx-lede {
    font-size: 1.08rem;
    line-height: 1.72;
}

.lx-assurances li {
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text-secondary);
}

    .lx-assurances li::before {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        transform: none;
        background: var(--gold);
        opacity: 0.9;
    }

/* ---- the duel: real phones ----------------------------------------- */
.hero-stage.duel {
    align-items: end;
    gap: clamp(14px, 2.4vw, 30px);
    padding: 44px 0 54px;
}

.duel-glow {
    background: radial-gradient(circle, rgba(176, 141, 63, 0.45) 0%, rgba(220, 197, 138, 0.2) 46%, transparent 70%);
    filter: blur(90px);
    opacity: 0.7;
}

[data-theme="dark"] .duel-glow {
    opacity: 0.5;
}

.duel-label {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: clamp(0.7rem, 1.3vw, 0.82rem);
    font-weight: 600;
    margin-bottom: 14px;
}

.duel-label-dull {
    color: var(--text-muted);
}

.duel-label-hot {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--gold-text);
    color: var(--gold-text);
}

/* the handset — brushed silver, not a black brick */
.duel-phone {
    position: relative;
    padding: clamp(6px, 0.9vw, 10px);
    border: none;
    border-radius: clamp(30px, 4.4vw, 46px);
    background: linear-gradient(155deg, #9C978A 0%, #3B382F 16%, #23211B 48%, #7E7969 76%, #2A2822 100%);
    box-shadow: 0 1px 0 rgba(255, 252, 244, 0.4) inset, 0 -1px 0 rgba(0, 0, 0, 0.7) inset, 0 34px 70px -34px rgba(23, 21, 15, 0.55);
}

    .duel-phone::after {
        content: '';
        position: absolute;
        inset: 3px;
        z-index: 9;
        border-radius: clamp(27px, 4.1vw, 43px);
        border: 1px solid rgba(255, 252, 244, 0.16);
        pointer-events: none;
    }

.duel-screen {
    aspect-ratio: 9 / 19;
    border-radius: clamp(24px, 3.6vw, 38px);
    background: var(--phone-screen);
}

.phone-island {
    position: absolute;
    top: 2.2%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8;
    width: 36%;
    height: 3.4%;
    min-height: 13px;
    border-radius: 999px;
    background: #000000;
    box-shadow: 0 0 0 1px rgba(255, 252, 244, 0.08);
    pointer-events: none;
}

    .phone-island::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 13%;
        width: 22%;
        max-width: 8px;
        aspect-ratio: 1;
        border-radius: 50%;
        transform: translateY(-50%);
        background: radial-gradient(circle at 32% 30%, #57503C 0%, #08070A 68%);
    }

.phone-bar {
    position: absolute;
    left: 50%;
    bottom: 1.1%;
    transform: translateX(-50%);
    z-index: 8;
    width: 32%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 253, 247, 0.85);
    pointer-events: none;
}

.phone-side {
    position: absolute;
    z-index: 0;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #6E6959, #22201A);
}

.phone-side-power {
    right: -2px;
    top: 27%;
    height: 12%;
}

.phone-side-vol-up {
    left: -2px;
    top: 20%;
    height: 7.5%;
}

.phone-side-vol-down {
    left: -2px;
    top: 30%;
    height: 7.5%;
}

/* left handset — the dead listing */
@keyframes duelInLeft {
    0% {
        opacity: 0;
        transform: translateX(-34px) rotate(-10deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(-4deg);
    }
}

.duel-dead .duel-phone {
    filter: none;
    opacity: 1;
    box-shadow: 0 26px 54px -34px rgba(23, 21, 15, 0.5);
}

.duel-dead .duel-screen {
    background: #F2F0EA;
    filter: saturate(0.1) contrast(0.96);
}

.duel-static {
    padding: 13% 8% 0;
}

.duel-static-photo {
    border-radius: 10px;
    background: linear-gradient(135deg, #CFCCC4 0%, #96938B 100%);
}

.duel-static-price {
    border-radius: 4px;
    background: #77746D;
}

.duel-static-line {
    border-radius: 4px;
    background: #B4B1A9;
}

.duel-static-pills i {
    border-radius: 999px;
    background: #C7C4BC;
}

.duel-swipe {
    background: rgba(23, 21, 15, 0.55);
}

.duel-verdict {
    padding: 10px 8px 22px;
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: clamp(0.62rem, 1.3vw, 0.75rem);
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(to top, rgba(23, 21, 15, 0.9), rgba(23, 21, 15, 0.5));
}

.duel-verdict-hot {
    color: #1A1710;
    background: var(--gold);
    animation: none;
}

/* right handset — the film */
@keyframes duelInRight {
    0% {
        opacity: 0;
        transform: translateX(36px) rotate(9deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(3deg);
    }
}

.duel-live .duel-phone {
    box-shadow: 0 44px 88px -40px rgba(23, 21, 15, 0.6);
}

    .duel-live .duel-phone::before {
        content: '';
        position: absolute;
        inset: -14px;
        z-index: -1;
        border: none;
        border-radius: 60px;
        background: var(--gold);
        filter: blur(46px);
        opacity: 0.34;
        animation: none;
    }

.lx-sound {
    top: 7%;
    left: 10px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: clamp(0.58rem, 1.1vw, 0.68rem);
    background: rgba(23, 21, 15, 0.45);
    border-color: rgba(255, 252, 244, 0.3);
}

    .lx-sound.is-on {
        background: var(--gold);
        border-color: var(--gold);
        color: #1A1710;
    }

.lx-wave {
    bottom: 62px;
    gap: 4px;
}

    .lx-wave i {
        border-radius: 999px;
        background: var(--gold-light);
        opacity: 0.95;
    }

.duel-meter {
    padding: 0 12px;
    margin-top: 20px;
}

.duel-meter-head {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: clamp(0.62rem, 1.2vw, 0.72rem);
}

.duel-meter-track {
    height: 4px;
    border-radius: 999px;
    background: var(--bg-tertiary);
}

.duel-meter-fill {
    border-radius: 999px;
}

.duel-meter.is-hot .duel-meter-fill {
    background: var(--gold);
    animation: duelFill 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

.duel-meter.is-hot .duel-meter-head span:last-child {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.4em;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--gold-text);
    color: var(--gold-text);
}

/* the seal — a light medallion with a gold ring */
.lx-seal {
    top: -14px;
    right: -14px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--gold);
    color: var(--gold-text);
    box-shadow: 0 20px 40px -22px var(--accent-glow);
    animation: lxSealIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

    .lx-seal::before {
        inset: 6px;
        border: 1px solid var(--gold-tint-line);
    }

    .lx-seal b {
        font-family: var(--font-display);
        font-weight: 700;
    }

    .lx-seal small {
        letter-spacing: 0.12em;
        color: var(--text-muted);
    }

/* ---- marquee ------------------------------------------------------- */
.lx-marquee {
    margin-top: clamp(30px, 4vw, 56px);
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.lx-marquee-group span {
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
}

    .lx-marquee-group span::after {
        border-radius: 50%;
        transform: none;
        background: var(--gradient-primary);
    }

/* ---- section headers ------------------------------------------------ */
.section-header {
    border-bottom: none;
    padding-bottom: 0;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    letter-spacing: -0.04em;
    margin: 16px 0 14px;
}

.page-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.04em;
}

/* ---- ledger cards --------------------------------------------------- */
.lx-ledger {
    border-top: none;
    gap: clamp(14px, 2vw, 22px);
}

.lx-ledger-cell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    padding: clamp(26px, 3vw, 40px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.4s ease;
}

    .lx-ledger-cell:first-child,
    .lx-ledger-cell:nth-child(odd) {
        border-left: 1px solid var(--border);
    }

    .lx-ledger-cell::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gold);
        opacity: 0.7;
    }

    .lx-ledger-cell:hover {
        background: var(--bg-secondary);
        transform: translateY(-6px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
    }

.lx-ledger-index {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.lx-ledger-value {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.05em;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--gold-text);
    color: var(--gold-text);
}

/* ---- process -------------------------------------------------------- */
.lx-process {
    border-top: none;
    gap: clamp(14px, 2vw, 22px);
}

.lx-step {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    padding: clamp(26px, 3vw, 40px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.4s ease;
}

    .lx-step:first-child,
    .lx-step:nth-child(odd) {
        border-left: 1px solid var(--border);
    }

    .lx-step:hover {
        background: var(--bg-secondary);
        transform: translateY(-6px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
    }

.lx-step-no {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gold-text);
    background: var(--gold-tint);
    border: 1px solid var(--gold-tint-line);
    box-shadow: none;
}

.lx-step h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.28rem;
    letter-spacing: -0.03em;
}

/* ---- index + channels ------------------------------------------------ */
.lx-index li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.lx-index-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.06rem;
    letter-spacing: -0.03em;
}

.lx-index-note {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.76rem;
}

.lx-channels {
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.lx-channels-label {
    letter-spacing: 0.16em;
    color: var(--gold-text);
}

.lx-channels-row span {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.82rem;
}

.lx-channels-row i {
    color: var(--gold);
    font-size: 1.05rem;
}

/* ---- pricing --------------------------------------------------------- */
.pricing-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

    .pricing-card:hover {
        transform: translateY(-10px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-lg);
    }

    .pricing-card.popular {
        border: 1px solid var(--gold);
        background: var(--bg-secondary);
        box-shadow: var(--shadow-md);
    }

        .pricing-card.popular:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
        }

.popular-badge {
    border-radius: 999px;
    background: var(--gold);
    color: #FFFFFF;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.72rem;
    font-weight: 600;
    box-shadow: 0 10px 22px -12px var(--accent-glow);
    padding-top: 14px;
}

[data-theme="dark"] .popular-badge {
    background: var(--gold);
    color: #1A1710;
}

.pack-name {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.pack-tagline {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.82rem;
    color: var(--gold-text);
}

.price-amount {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.05em;
}

.pack-credits strong,
.cart-summary-total strong,
.credits-hero-value,
.success-credits,
.stat-value,
.sidebar-credits-value {
    font-family: var(--font-display);
    font-weight: 700;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--gold-text);
    color: var(--gold-text);
}

.pack-listings {
    border-radius: 999px;
    border: 1px solid var(--gold-tint-line);
    background: var(--gold-tint);
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.78rem;
}

.pack-each {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.8rem;
    color: var(--gold-text);
}

.pricing-features i {
    color: var(--gold);
}

.trust-row {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.82rem;
}

    .trust-row i {
        color: var(--gold);
    }

.deliver-grid {
    border-top: none;
    gap: 16px;
}

.deliver-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

    .deliver-card:hover {
        background: var(--bg-secondary);
        border-color: var(--border-hover);
    }

.deliver-icon {
    border-radius: 16px;
    border: 1px solid var(--gold-tint-line);
    color: var(--gold-text);
    background: var(--gold-tint);
    box-shadow: none;
}

.deliver-card h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* ---- faq -------------------------------------------------------------- */
.faq-section {
    border-top: none;
}

    .faq-section h3 {
        font-family: var(--font-display);
        font-weight: 700;
        letter-spacing: -0.04em;
    }

.faq-item {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
    transition: border-color 0.4s ease, background 0.4s ease;
}

    .faq-item:last-child {
        border-bottom: 1px solid var(--border);
    }

    .faq-item.faq-open {
        border-color: var(--border-hover);
    }

.faq-trigger {
    padding: 22px 24px;
}

.faq-question {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    letter-spacing: -0.03em;
}

.faq-item.faq-open .faq-question {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--gold-text);
    color: var(--gold-text);
    font-style: normal;
}

.faq-icon {
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
}

.faq-item.faq-open .faq-icon {
    background: var(--gold);
    border-color: var(--gold);
}

.faq-item.faq-open .faq-icon-bar {
    background: #1A1710;
}

.faq-answer {
    padding: 0 24px 26px;
}

/* ---- close panel — light, warm, gold-edged ----------------------------- */
.close-panel {
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--gold-tint-line);
    border-radius: 36px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

    .close-panel::before {
        content: '';
        position: absolute;
        inset: -40% -10% auto -10%;
        height: 120%;
        background: radial-gradient(52% 62% at 50% 0%, rgba(176, 141, 63, 0.16), transparent 68%);
        opacity: 1;
        pointer-events: none;
    }

    .close-panel > * {
        position: relative;
        z-index: 1;
    }

    .close-panel .lx-sectionmark {
        background: var(--gold-tint);
        border-color: var(--gold-tint-line);
        color: var(--gold-text);
        margin: 0 auto 20px;
    }

        .close-panel .lx-sectionmark::before {
            background: var(--gold);
        }

    .close-panel h2 {
        font-family: var(--font-display);
        font-weight: 700;
        letter-spacing: -0.045em;
        color: var(--text-primary);
    }

    .close-panel p {
        color: var(--text-secondary);
        margin: 18px auto 0;
    }

    .close-panel .lx-assurances li {
        color: var(--text-muted);
    }

    .close-panel .btn-primary {
        background: var(--gold);
        border-color: var(--gold);
        color: #1A1710;
    }

        .close-panel .btn-primary:hover {
            background: var(--gold-bright);
            border-color: var(--gold-bright);
            color: #1A1710;
        }

/* ---- surfaces --------------------------------------------------------- */
.form-card,
.legal-copy,
.support-info,
.support-form,
.dashboard-card,
.dashboard-sidebar,
.cart-item,
.cart-summary,
.checkout-panel,
.success-card,
.credits-hero,
.stat-card,
.checkout-reassure,
.success-next {
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    backdrop-filter: none;
    box-shadow: var(--shadow-sm);
}

.form-input,
textarea.form-input,
select.form-input {
    border-radius: 16px;
}

.form-icon {
    border-radius: 20px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-tint-line);
    color: var(--gold-text);
    box-shadow: none;
}

.form-title,
.dashboard-card-title,
.cart-summary-title,
.checkout-panel-title,
.cart-empty h3,
.support-info h3,
.support-form h3,
.success-account h3,
.success-next h3,
.legal-copy h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.sidebar-nav a {
    border-radius: 14px;
    border-bottom: none;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 0.94rem;
}

    .sidebar-nav a.active {
        background: var(--gold);
        color: #1A1710;
        box-shadow: 0 12px 26px -14px var(--accent-glow);
    }

.status-badge {
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.76rem;
}

.support-item-icon {
    border-radius: 16px;
    border: 1px solid var(--gold-tint-line);
    background: var(--gold-tint);
    color: var(--gold-text);
}

.profile-avatar {
    border-radius: 28px;
    border: 1px solid var(--gold-tint-line);
}

.profile-avatar-edit {
    border-radius: 50%;
}

.back-button {
    border-radius: 999px;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 0.86rem;
    background: var(--bg-secondary);
    backdrop-filter: none;
    box-shadow: var(--shadow-sm);
}

.credits-hero::before {
    height: 3px;
    background: var(--gold);
    opacity: 0.85;
}

.usage-table th {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.76rem;
}

.usage-table tr:hover td {
    background: var(--gold-tint);
}

/* ---- reel ------------------------------------------------------------- */
.reel-frame {
    border-radius: 28px;
    border-color: var(--border);
}

.reel-tile.is-live .reel-frame {
    box-shadow: var(--shadow-lg), 0 0 100px -40px rgba(176, 141, 63, 0.7);
}

.reel-frame::after {
    border-radius: 24px;
    border-color: rgba(220, 197, 138, 0);
}

.reel-tile.is-live .reel-frame::after {
    border-color: rgba(220, 197, 138, 0.4);
}

.reel-ratio {
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0.08em;
}

.reel-tile.is-live .reel-frame:hover .reel-play {
    background: var(--gold);
    border-color: var(--gold);
    color: #1A1710;
}

.reel-index {
    color: var(--gold-light);
    letter-spacing: 0.2em;
}

.reel-caption h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.reel-caption p {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.76rem;
}

.reel-cta .reel-frame {
    background: var(--bg-secondary);
    border: 1px solid var(--gold);
    animation: none;
}

.reel-cta .lx-sectionmark {
    background: var(--gold-tint);
    border-color: var(--gold-tint-line);
    color: var(--gold-text);
}

    .reel-cta .lx-sectionmark::before {
        background: var(--gold);
    }

.reel-cta h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.reel-cta p {
    color: var(--text-secondary);
}

.reel-cta .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: #1A1710;
    box-shadow: none;
}

    .reel-cta .btn-primary:hover {
        background: var(--gold-bright);
        border-color: var(--gold-bright);
        color: #1A1710;
    }

.lx-reel-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.lx-reel-hint {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.8rem;
}

    .lx-reel-hint i {
        color: var(--gold);
    }

/* ---- footer + buy bar --------------------------------------------------- */
.footer {
    position: relative;
    background: var(--ink);
    border-top: none;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gradient-primary);
        opacity: 0.9;
    }

.footer-links a {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.6);
}

    .footer-links a:hover {
        color: #FFFFFF;
    }

.footer-line {
    color: rgba(255, 255, 255, 0.5);
}

.buy-bar {
    background: rgba(10, 9, 18, 0.86);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.buy-bar-copy strong {
    font-family: var(--font-display);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.buy-bar-copy span {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
    .lx-seal {
        left: auto;
        right: -10px;
    }
}

@media (max-width: 768px) {
    .lx-display {
        font-size: clamp(2.4rem, 11vw, 3.4rem);
    }

    .hero-stage.duel {
        padding: 28px 0 56px;
        gap: 9px;
    }

    .duel-phone {
        padding: 5px;
        border-radius: 26px;
    }

        .duel-phone::after {
            inset: 2px;
            border-radius: 24px;
        }

    .duel-screen {
        border-radius: 21px;
    }

    .phone-island {
        min-height: 10px;
        height: 3%;
    }

    .phone-bar {
        height: 3px;
    }

    .lx-seal {
        top: -10px;
        right: -6px;
        left: auto;
        width: 56px;
        height: 56px;
    }

    .lx-wave {
        bottom: 52px;
    }

    .lx-ledger-cell,
    .lx-step {
        padding: 24px 22px;
    }

    .close-panel {
        border-radius: 28px;
    }
}

.logo:hover .logo-img {
    opacity: 0.72;
}

/* the old mark + wordmark are retired */
.logo-mark,
.logo-stack,
.logo-text-styled,
.logo-sub {
    display: none;
}

/* footer sits on --ink */
.footer-logo {
    line-height: 0;
    margin-bottom: 16px;
}

    .footer-logo .logo-img {
        height: 52px;
    }

@media (max-width: 768px) {
    .logo-img {
        height: 34px; /* 105 × 34 inside the 64px bar */
    }

    .footer-logo .logo-img {
        height: 42px;
    }
}
