/* =============================================================
   InnovaLabWorks — Global Stylesheet v5.0
   Design: World-class dark premium — glassmorphism + grain + gold
   Font: Outfit (display + body)
   Built: March 2026
   ============================================================= */

/* ---------- CSS Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- Design Tokens ---------- */
:root {
    --bg:           #06080f;
    --bg-secondary: #080b14;
    --bg-card:      rgba(255,255,255,0.035);
    --bg-card-h:    rgba(255,255,255,0.065);

    --gold:         #d4af37;
    --gold-light:   #f0d060;
    --gold-dim:     rgba(212,175,55,0.10);
    --gold-glow:    rgba(212,175,55,0.25);

    --text:         #f5f5f7;
    --text-2:       rgba(245,245,247,0.65);
    --text-3:       rgba(245,245,247,0.50);

    --border:       rgba(255,255,255,0.07);
    --border-gold:  rgba(212,175,55,0.25);

    --radius:       16px;
    --radius-xl:    28px;

    --error:        #ef4444;
    --error-bright: #ff6b6b;
    --error-mark:   #ee5555;
    --text-muted:   #888888;
    --bg-deep:      #0d1020;
    --bg-deeper:    #080c18;
    --gold-dark:    #A68B3C;

    /* Spacing scale (4px base) */
    --space-1:      4px;
    --space-2:      8px;
    --space-3:      12px;
    --space-4:      16px;
    --space-5:      24px;
    --space-6:      32px;
    --space-7:      48px;
    --space-8:      64px;

    --font:         'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w:        1200px;
    --nav-h:        68px;

    /* Z-index scale */
    --z-base:       1;
    --z-content:    10;
    --z-dropdown:   100;
    --z-back-top:   800;
    --z-header:     900;
    --z-grain:      950;
    --z-skip:       960;
    --z-loader:     970;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: rgba(212,175,55,0.25);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,0.45); }

html {
    -webkit-text-size-adjust: 100%;
    scrollbar-color: rgba(212,175,55,0.25) var(--bg);
    scrollbar-width: thin;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
    font-family: var(--font);
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-x: clip; /* Stronger: iOS Safari ignores hidden but respects clip */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Noise Grain Overlay ---------- */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: var(--z-grain);
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* ---------- Screen Reader Only (A11y) ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Skip to Content (A11y) ---------- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: var(--z-skip);
    background: var(--gold);
    color: var(--bg);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: 14px;
    transition: top 0.2s;
}
.skip-to-content:focus {
    top: 0;
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

/* ---------- Page Loading Bar ---------- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: var(--z-loader);
    transition: width 0.4s ease;
    box-shadow: 0 0 12px var(--gold-glow);
}
.page-loader.done {
    width: 100%;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.4s 0.3s ease;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--gold-light); }
a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}
img { max-width: 100%; height: auto; display: block; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 7px 20px;
    border-radius: 100px;
    border: 1px solid var(--border-gold);
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 580px;
    line-height: 1.75;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Section Divider ---------- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent);
    margin: 0 auto;
    max-width: 600px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 34px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    text-decoration: none;
}

.btn-primary {
    color: var(--bg);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 4px 28px var(--gold-glow);
    animation: soft-pulse-cta 3s ease-in-out infinite;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 48px rgba(212,175,55,0.45);
    color: var(--bg);
    animation: none;
}
@keyframes soft-pulse-cta {
    0%,100% { box-shadow: 0 4px 28px var(--gold-glow); }
    50%     { box-shadow: 0 6px 40px rgba(212,175,55,0.35); }
}

.btn-secondary {
    color: var(--text);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.22);
    color: var(--text);
}

/* =============================================================
   HEADER / NAVIGATION
   ============================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background: rgba(6,8,15,0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: all 0.35s ease;
    transform: translateZ(0);
}
.header.scrolled {
    border-bottom-color: var(--border);
    background: rgba(6,8,15,0.92);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
}

/* ---- Logo ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
}
.logo:hover { color: var(--text); }
.logo-icon { width: 28px; height: 30px; flex-shrink: 0; }
.logo-text { display: flex; align-items: baseline; white-space: nowrap; overflow: hidden; }
.logo-innova { color: var(--text); font-weight: 700; }
.logo-lab { color: var(--gold); font-weight: 800; }
.logo-works { color: var(--text); font-weight: 700; }
.logo-sub {
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-left: 10px;
    display: none;
    opacity: 0.45;
}
@media (min-width: 1024px) {
    .logo-sub { display: inline-block; }
}

/* ---- Nav ---- */
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav a {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-2);
    padding: 8px 10px;
    letter-spacing: 0;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
}
.nav a.active { color: var(--text); }

.nav a.nav-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--bg);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    padding: 9px 22px;
    border-radius: 100px;
    margin-left: 8px;
    box-shadow: 0 2px 16px var(--gold-glow);
    transition: all 0.3s ease;
}
.nav a.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 32px rgba(212,175,55,0.45);
    color: var(--bg);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}
.mobile-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 4px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
    background:
        radial-gradient(ellipse at 15% 50%, rgba(212,175,55,0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(80,90,220,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 55% 85%, rgba(212,175,55,0.06) 0%, transparent 50%),
        var(--bg);
}

/* Floating animated orbs */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}
.hero::before {
    top: -15%;
    right: -8%;
    width: 700px;
    height: 700px;
    background: rgba(212,175,55,0.10);
    animation: orb 22s ease-in-out infinite;
}
.hero::after {
    bottom: -12%;
    left: -6%;
    width: 550px;
    height: 550px;
    background: rgba(70,80,200,0.07);
    animation: orb 28s ease-in-out infinite reverse;
}

@keyframes orb {
    0%,100% { transform: translate(0,0) scale(1); }
    33%     { transform: translate(50px,-40px) scale(1.08); }
    66%     { transform: translate(-30px,50px) scale(0.94); }
}

/* Grid background */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212,175,55,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, black 15%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, black 15%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content { max-width: 620px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid var(--border-gold);
    margin-bottom: 32px;
}
.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity:1; transform: scale(1); }
    50%     { opacity:0.35; transform: scale(0.75); }
}

.hero h1 {
    font-size: clamp(46px, 7.5vw, 84px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 26px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-2);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    gap: 44px;
    margin-top: 64px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}
.hero-stat-value {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ---- 3-Phone Perspective Hero ---- */
.hero-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 0;
    perspective: 1400px;
}

.phone-trio {
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.phone-left {
    transform: translateX(30px) rotateY(18deg) scale(0.82);
    z-index: 1;
    opacity: 0.75;
    filter: brightness(0.85);
    animation: float-phone-left 7s ease-in-out infinite;
}
.phone-center {
    z-index: 3;
    transform: scale(1);
    animation: float-phone-center 6s ease-in-out infinite;
}
.phone-right {
    transform: translateX(-30px) rotateY(-18deg) scale(0.82);
    z-index: 1;
    opacity: 0.75;
    filter: brightness(0.85);
    animation: float-phone-right 8s ease-in-out infinite;
}

@keyframes float-phone-center {
    0%,100% { transform: scale(1) translateY(0); }
    50%     { transform: scale(1) translateY(-10px); }
}
@keyframes float-phone-left {
    0%,100% { transform: translateX(30px) rotateY(18deg) scale(0.82) translateY(0); }
    50%     { transform: translateX(30px) rotateY(18deg) scale(0.82) translateY(-8px); }
}
@keyframes float-phone-right {
    0%,100% { transform: translateX(-30px) rotateY(-18deg) scale(0.82) translateY(0); }
    50%     { transform: translateX(-30px) rotateY(-18deg) scale(0.82) translateY(-12px); }
}

.phone-left:hover, .phone-right:hover {
    opacity: 0.92;
    filter: brightness(0.95);
}

.phone-frame {
    background: var(--bg-deep);
    border-radius: 44px;
    border: 2px solid rgba(212,175,55,0.18);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 40px 80px rgba(0,0,0,0.5),
        0 80px 160px rgba(0,0,0,0.35),
        0 0 120px rgba(212,175,55,0.08);
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
/* Glare/reflection overlay */
.phone-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.06) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255,255,255,0.02) 100%
    );
    border-radius: 42px;
}

.phone-lg { width: 280px; height: 580px; }
.phone-sm { width: 240px; height: 500px; }

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 34px;
    background: #000;
    border-radius: 0 0 24px 24px;
    z-index: 2;
}

.phone-screen {
    padding: 50px 16px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--bg-deeper) 0%, #0a0f1c 100%);
}

/* Dashboard header */
.phone-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.phone-header-left { display: flex; flex-direction: column; gap: 2px; }
.phone-header-row { display: flex; align-items: center; gap: 6px; }
.phone-logo-mark {
    width: 20px; height: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: var(--bg); line-height: 1;
}
.phone-greeting { font-size: 10px; color: var(--text-3); }
.phone-user-name {
    font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1.2;
}
.phone-header-right { display: flex; align-items: center; gap: 8px; }
.phone-lang-flag { font-size: 18px; line-height: 1; }
.phone-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(212,175,55,0.12);
    border: 1.5px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; color: var(--gold);
}

/* phone section headers */
.phone-section-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.phone-section-title { font-size: 15px; font-weight: 700; color: var(--text); }
.phone-section-badge {
    font-size: 9px; font-weight: 700; color: var(--gold);
    background: rgba(212,175,55,0.15); padding: 2px 7px; border-radius: 10px;
}

/* phone cards */
.phone-card {
    background: rgba(255,255,255,0.04); border-radius: 12px;
    padding: 11px; margin-bottom: 8px; border: 1px solid var(--border);
}
.phone-card:first-of-type { border-color: var(--border-gold); }
.phone-card-row { display: flex; align-items: center; gap: 10px; }
.phone-card-initials {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; color: var(--gold); flex-shrink: 0;
}
.phone-card-initials.fr {
    background: rgba(76,120,201,0.12); border-color: rgba(76,120,201,0.25); color: #7BA4E8;
}
.phone-card-info { flex: 1; min-width: 0; }
.phone-card-name { font-size: 12px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-card-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.phone-card-template { font-size: 9px; color: var(--gold); opacity: 0.8; }
.phone-card-flag { font-size: 10px; line-height: 1; }
.phone-card-date { font-size: 8px; color: var(--text-3); }
.phone-fab {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 300; color: var(--bg);
    margin-top: auto; align-self: flex-end;
    box-shadow: 0 4px 24px var(--gold-glow);
}

/* ---- Mock Screens (Template Browser + Resume Preview) ---- */
.mock-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 0; margin-bottom: 12px;
}
.mock-title { font-size: 14px; font-weight: 700; color: var(--text); }
.mock-count {
    font-size: 9px; font-weight: 700; color: var(--gold);
    background: rgba(212,175,55,0.15); padding: 2px 7px; border-radius: 10px;
}

/* Template grid with colored thumbnails */
.mock-template-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.mock-tmpl { text-align: center; }
.mock-tmpl-thumb {
    width: 100%; aspect-ratio: 3/4; border-radius: 8px;
    margin-bottom: 4px; border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.mock-tmpl span { font-size: 8px; color: var(--text-3); font-weight: 600; }

/* Realistic template thumbnails with header bar + body lines */
.mock-tmpl-thumb.t1 { background: linear-gradient(180deg, #1a1f35 0%, #141828 100%); }
.mock-tmpl-thumb.t2 { background: linear-gradient(180deg, #1e2a1e 0%, #0d200d 100%); }
.mock-tmpl-thumb.t3 { background: linear-gradient(180deg, #2a1a1a 0%, #3a2020 100%); }
.mock-tmpl-thumb.t4 { background: linear-gradient(180deg, #1a2a2a 0%, #0d2828 100%); }
.mock-tmpl-thumb.t5 { background: linear-gradient(180deg, #252525 0%, #1a1a1a 100%); }
.mock-tmpl-thumb.t6 { background: linear-gradient(180deg, #1a1a2f 0%, #2a1a3a 100%); }

/* Colored accent bars on template thumbs */
.mock-tmpl-thumb::before {
    content: "";
    display: block;
    width: 100%;
    height: 20%;
    position: absolute;
    top: 0;
    left: 0;
}
.mock-tmpl-thumb.t1::before { background: rgba(212,175,55,0.25); }
.mock-tmpl-thumb.t2::before { background: rgba(76,175,80,0.25); }
.mock-tmpl-thumb.t3::before { background: rgba(198,40,40,0.25); }
.mock-tmpl-thumb.t4::before { background: rgba(38,166,154,0.25); }
.mock-tmpl-thumb.t5::before { background: rgba(158,158,158,0.25); }
.mock-tmpl-thumb.t6::before { background: rgba(123,31,162,0.25); }

/* Resume body lines on thumbnails */
.mock-tmpl-thumb::after {
    content: "";
    display: block;
    position: absolute;
    top: 28%;
    left: 15%;
    width: 70%;
    height: 3px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
    box-shadow:
        0 7px 0 rgba(255,255,255,0.07),
        0 13px 0 rgba(255,255,255,0.06),
        0 19px 0 rgba(255,255,255,0.05),
        -10px 28px 0 rgba(212,175,55,0.15),
        0 36px 0 rgba(255,255,255,0.05),
        0 42px 0 rgba(255,255,255,0.04),
        0 48px 0 rgba(255,255,255,0.04);
}

/* ---- Resume Preview Screen (Right Phone) ---- */
.mock-resume-preview { padding: 4px 0; }
.mock-resume-header {
    background: rgba(212,175,55,0.08);
    border-radius: 8px;
    padding: 10px 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(212,175,55,0.12);
}
.mock-resume-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}
.mock-resume-title {
    font-size: 8px;
    color: var(--gold);
    font-weight: 600;
}
.mock-resume-contact {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}
.mock-resume-contact span {
    font-size: 6px;
    color: var(--text-3);
    background: rgba(255,255,255,0.04);
    padding: 2px 5px;
    border-radius: 3px;
}

.mock-resume-section { margin-bottom: 8px; }
.mock-resume-section-title {
    font-size: 7px;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(212,175,55,0.15);
}
.mock-resume-line {
    height: 3px;
    border-radius: 1px;
    margin-bottom: 3px;
    background: rgba(255,255,255,0.07);
}
.mock-resume-line.bold {
    background: rgba(255,255,255,0.14);
    height: 3.5px;
}
.mock-resume-line.w100 { width: 100%; }
.mock-resume-line.w90 { width: 90%; }
.mock-resume-line.w85 { width: 85%; }
.mock-resume-line.w80 { width: 80%; }
.mock-resume-line.w75 { width: 75%; }
.mock-resume-line.w70 { width: 70%; }
.mock-resume-line.w60 { width: 60%; }
.mock-resume-line.w50 { width: 50%; }
.mock-resume-line.w40 { width: 40%; }

.mock-resume-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 3px;
}
.mock-resume-skill {
    font-size: 5px;
    color: var(--gold);
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.15);
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 600;
}

/* =============================================================
   PRODUCTS SECTION
   ============================================================= */
.app-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
/* Subtle orb behind products */
.app-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212,175,55,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.products-header {
    text-align: center;
    margin-bottom: 72px;
    position: relative;
    z-index: 2;
}

.products-content {
    position: relative;
    z-index: 2;
}

/* ---- CURRIQ Logo (inline) ---- */
.curriq-logo-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}
.curriq-logo-inline svg { width: 56px; height: 56px; }
.curriq-title-group { text-align: left; }
.curriq-title-group h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.curriq-title-group span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ---- Languages Callout — see overrides at end of file (V7-PATCH5) ---- */

/* ---- TIER 1: Large Hero Cards ---- */
.tier1-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.tier1-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.tier1-card:hover {
    background: var(--bg-card-h);
    border-color: var(--border-gold);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 40px rgba(212,175,55,0.06);
}

.tier1-icon {
    width: 60px; height: 60px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.tier1-icon svg { width: 26px; height: 26px; }

.tier1-card h4 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.tier1-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}

/* ---- TIER 2: Medium Cards ---- */
.tier2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

/* ---- TIER 3: Compact Checklist ---- */
.tier3-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px 20px;
    margin-bottom: 56px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.tier3-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
}
.tier3-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- Membership Section ---- */
.membership-section {
    margin-bottom: 48px;
}
.membership-card {
    background: rgba(212,175,55,0.025);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(212,175,55,0.06), 0 0 0 1px rgba(212,175,55,0.08);
}
/* Gold glow behind */
.membership-card::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(212,175,55,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.membership-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}
.membership-crown {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    background: var(--gold-dim); border: 1px solid var(--border-gold);
    border-radius: 14px; margin-bottom: 16px;
}
.membership-header h3 {
    font-size: 26px; font-weight: 900; letter-spacing: -0.03em;
    margin-bottom: 8px;
}
.membership-header p {
    font-size: 15px; color: var(--text-2);
}

.membership-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 64px;
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.membership-col { display: flex; flex-direction: column; gap: 14px; }
.mf-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; font-weight: 500; color: var(--text);
    padding-left: 4px;
}
.mf-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.membership-footer {
    text-align: center; margin-top: 32px; position: relative; z-index: 1;
    padding-top: 24px; border-top: 1px solid var(--border-gold);
}
.membership-promise {
    font-size: 13px; font-weight: 600; color: var(--gold); font-style: italic;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.35s ease;
}
.feature-item:hover {
    background: var(--bg-card-h);
    border-color: var(--border-gold);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 30px rgba(212,175,55,0.05);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon svg { width: 20px; height: 20px; }

.feature-text h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}
.feature-text p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
}

/* App Store button + CTA row */
.app-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text);
    color: var(--bg);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}
.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    color: var(--bg);
}
.app-store-btn svg { width: 28px; height: 28px; }
.app-store-btn-text { display: flex; flex-direction: column; line-height: 1.2; }
.app-store-btn-small { font-size: 9px; font-weight: 400; opacity: 0.5; }

.coming-soon-note {
    font-size: 12px;
    color: var(--text-3);
    text-align: center;
    margin-top: -24px;
    margin-bottom: 40px;
    font-style: italic;
}

/* ---- Currency Toggle (CAD/USD) ---- */
.currency-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.currency-toggle {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 3px;
}
.currency-btn {
    padding: 8px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}
.currency-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}
.currency-btn.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}
.currency-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ---- Pricing Cards ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pricing-card .pricing-features {
    flex: 1;
}
.pricing-card .pricing-btn {
    margin-top: auto;
}
.pricing-card:hover {
    border-color: rgba(212,175,55,0.2);
    background: var(--bg-card-h);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.pricing-card.featured {
    border-color: var(--gold);
    background: rgba(212,175,55,0.06);
    transform: scale(1.04);
    animation: featured-glow 3s ease-in-out infinite;
}
.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg);
    font-size: 10px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 100px;
    letter-spacing: 0.8px;
    white-space: nowrap;
    text-transform: uppercase;
}

.pricing-plan {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.pricing-price {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 4px;
}
.pricing-price .currency {
    font-size: 16px;
    font-weight: 700;
    vertical-align: super;
}
.pricing-strikethrough { font-size: 14px; color: var(--text-3); opacity: 0.6; margin-bottom: 2px; }
.pricing-period { font-size: 13px; color: var(--text-3); }
.pricing-saving { font-size: 12px; color: var(--gold); font-weight: 700; margin-top: 8px; }
.pricing-note { font-size: 11px; color: var(--text-3); margin-top: 6px; font-style: italic; }

/* Free tier card — outline style */
.pricing-card.free-tier {
    border: 1px dashed rgba(212,175,55,0.25);
    background: rgba(255,255,255,0.02);
}
.pricing-card.free-tier .pricing-price {
    color: var(--text-2);
}
.pricing-card.free-tier:hover {
    border-color: rgba(212,175,55,0.35);
    border-style: solid;
}

/* Pricing feature lists */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
    text-align: left;
}
.pricing-features li {
    font-size: 13px;
    color: var(--text-2);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 12px;
}

/* Pricing buttons */
.pricing-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg);
    border: 2px solid transparent;
    cursor: pointer;
}
.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.25);
}
.pricing-btn.free-btn {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}
.pricing-btn.free-btn:hover {
    background: rgba(212,175,55,0.08);
}

/* Featured card continuous glow pulse */
@keyframes featured-glow {
    0%,100% { box-shadow: 0 0 40px rgba(212,175,55,0.06), 0 0 0 1px rgba(212,175,55,0.2); }
    50%     { box-shadow: 0 0 60px rgba(212,175,55,0.12), 0 0 0 1px rgba(212,175,55,0.35); }
}

/* ---- Trust Signals ---- */
.trust-signals {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
}
.trust-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- Comparison Table ---- */
.comparison-section { margin-bottom: 48px; }
.comparison-label {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.comparison-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.comparison-table thead th {
    padding: 18px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.comparison-table thead th:first-child { color: var(--text-2); }
.comparison-table thead th:nth-child(2) { color: var(--text-3); }
.comparison-table thead th:nth-child(3) {
    background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
    color: var(--gold);
}

.comparison-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: var(--text-2);
    vertical-align: middle;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td {
    background: rgba(255,255,255,0.015);
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--text);
}
.comparison-table tbody td:nth-child(3) {
    background: rgba(212,175,55,0.02);
}

.ct-no {
    color: rgba(245,100,100,0.5);
    font-weight: 600;
}
.ct-yes {
    color: var(--gold);
    font-weight: 600;
}
.ct-limited {
    color: var(--text-3);
    font-size: 13px;
}

/* ---- Floating Gold Particles ---- */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle linear infinite;
}
.hero-particles span:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: 3s; }
.hero-particles span:nth-child(3) { left: 40%; animation-duration: 20s; animation-delay: 7s; }
.hero-particles span:nth-child(4) { left: 55%; animation-duration: 24s; animation-delay: 2s; }
.hero-particles span:nth-child(5) { left: 70%; animation-duration: 19s; animation-delay: 5s; }
.hero-particles span:nth-child(6) { left: 85%; animation-duration: 21s; animation-delay: 9s; }
.hero-particles span:nth-child(7) { left: 15%; animation-duration: 23s; animation-delay: 11s; }
.hero-particles span:nth-child(8) { left: 60%; animation-duration: 17s; animation-delay: 4s; }

@keyframes float-particle {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.5; }
    50%  { opacity: 0.25; }
    90%  { opacity: 0.1; }
    100% { transform: translateY(-20vh) scale(1.5); opacity: 0; }
}

/* ---- Social Proof Bar ---- */
.social-proof {
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.social-proof-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.social-proof-item {
    text-align: center;
}
.social-proof-value {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.social-proof-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}
.social-proof-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
}

/* =============================================================
   HOW IT WORKS SECTION
   ============================================================= */
.how-it-works {
    padding: 100px 0;
    position: relative;
    overflow: hidden; /* Clip connector lines (right: -16px) on narrow viewports */
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.hiw-step {
    text-align: center;
    position: relative;
    padding: 40px 24px;
}

.hiw-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    font-size: 22px;
    font-weight: 900;
    color: var(--bg);
    margin-bottom: 24px;
    box-shadow: 0 8px 32px var(--gold-glow);
}

.hiw-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.hiw-icon svg { width: 22px; height: 22px; }

.hiw-step h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.hiw-step p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
}

/* Connector lines between steps */
.hiw-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 68px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.3;
}

/* =============================================================
   ABOUT SECTION
   ============================================================= */
/* Mission Statement */
.about-mission {
    max-width: 640px;
    margin: 32px auto 0;
    text-align: center;
}
.mission-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

/* About Story */
.about-story {
    max-width: 720px;
    margin: 40px auto 56px;
    text-align: center;
}
.about-story p {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.85;
    margin-bottom: 16px;
}
.about-story p:last-child { margin-bottom: 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 0;
}

.about-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 28px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.about-card:hover {
    background: var(--bg-card-h);
    border-color: var(--border-gold);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 72px rgba(0,0,0,0.35), 0 0 40px rgba(212,175,55,0.06);
}

.about-card-icon {
    width: 56px; height: 56px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}

.about-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.about-card p {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
}

/* =============================================================
   FAQ SECTION
   ============================================================= */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.faq-list {
    max-width: 720px;
    margin: 56px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
    gap: 16px;
}
.faq-question:hover { color: var(--gold); }
.faq-question:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--gold);
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.8;
}

/* =============================================================
   CONTACT SECTION
   ============================================================= */
.contact-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.contact-card {
    max-width: 620px;
    margin: 48px auto 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
}

.contact-icon {
    width: 72px; height: 72px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 28px;
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.contact-card p {
    font-size: 15px;
    color: var(--text-2);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* ---- Contact Form ---- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
    text-align: left;
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-input, .contact-textarea {
    width: 100%;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.contact-input::placeholder, .contact-textarea::placeholder {
    color: var(--text-3);
    font-weight: 400;
}
.contact-input:focus, .contact-textarea:focus {
    border-color: var(--gold);
    background: rgba(212,175,55,0.03);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.08);
}
.contact-textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    color: var(--bg);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    cursor: pointer;
    box-shadow: 0 4px 24px var(--gold-glow);
    transition: all 0.3s ease;
    align-self: center;
}
.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(212,175,55,0.4);
}
.contact-submit:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}
.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.contact-success {
    text-align: center;
    color: var(--gold);
    font-size: 16px;
    font-weight: 600;
    padding: 24px 0;
    line-height: 1.6;
}
.contact-error {
    text-align: center;
    color: var(--error);
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

/* =============================================================
   BACK TO TOP BUTTON
   ============================================================= */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: var(--z-back-top);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 20px var(--gold-glow);
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(212,175,55,0.4);
}
.back-to-top:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}
.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--bg);
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.25;
}

.footer {
    padding: 60px 0 48px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.footer-logo-svg { width: 28px; height: 28px; flex-shrink: 0; }
.footer-brand { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; color: var(--text-3); transition: color 0.2s; font-weight: 500; }
.footer-links a:hover { color: var(--gold); }

.footer-legal {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.7;
}
.footer-legal .brand-name { color: #fff; }
.footer-legal .brand-name .brand-lab { color: #D4AF37; font-weight: 800; }
.footer-legal .company-name { display: block; margin-top: 2px; font-size: 11px; }

.footer-love {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
}

/* =============================================================
   LEGAL PAGES
   ============================================================= */
.legal-page {
    padding-top: calc(var(--nav-h) + 60px);
    padding-bottom: 80px;
}
.legal-content { max-width: 780px; margin: 0 auto; }

.legal-content h1 {
    font-size: clamp(28px,5vw,44px);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}
.legal-content .subtitle { font-size: 14px; color: var(--text-3); margin-bottom: 40px; }

.legal-content h2 {
    font-size: 22px; font-weight: 800;
    color: var(--text); letter-spacing: -0.02em;
    margin-top: 48px; margin-bottom: 16px;
    padding-top: 24px; border-top: 1px solid var(--border);
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; }

.legal-content h3 { font-size: 16px; font-weight: 600; color: var(--gold); margin-top: 28px; margin-bottom: 10px; }

.legal-content p { margin-bottom: 16px; font-size: 15px; color: var(--text-2); line-height: 1.8; }
.legal-content ul, .legal-content ol { margin-bottom: 16px; padding-left: 24px; }
.legal-content li { margin-bottom: 8px; font-size: 15px; color: var(--text-2); line-height: 1.7; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--gold); }
.legal-content a:hover { color: var(--gold-light); text-decoration: underline; }

.legal-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.legal-highlight {
    background: var(--bg-card);
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}
.legal-highlight p { margin-bottom: 12px; }
.legal-highlight ul { margin-bottom: 8px; }

/* =============================================================
   404 PAGE
   ============================================================= */
.error-page {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--nav-h) 24px 0;
}
.footer-404 {
    padding: 24px 0;
}
.footer-404 .footer-inner {
    gap: 12px;
}
.error-content h1 {
    font-size: clamp(80px,15vw,180px);
    font-weight: 900;
    letter-spacing: -0.06em;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}
.error-content p {
    font-size: 18px;
    color: var(--text-2);
    margin-bottom: 32px;
}

/* ---------- CAPTCHA Box ---------- */
.captcha-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-top: 8px;
}
.captcha-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.captcha-question {
    display: block;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
}
.captcha-box .contact-input {
    width: 120px;
    text-align: center;
}

/* ---------- Social Proof Note ---------- */
.social-proof-note {
    display: block;
    font-size: 11px;
    color: var(--gold);
    opacity: 0.7;
    font-style: italic;
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .hero-particles { display: none; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-phones { order: -1; }
    .phone-left, .phone-right { display: none; }
    .phone-center { transform: scale(1); animation-name: float-phone-solo; }
    @keyframes float-phone-solo {
        0%,100% { transform: scale(1) translateY(0); }
        50%     { transform: scale(1) translateY(-10px); }
    }
    .phone-lg { width: 260px; height: 530px; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .tier1-grid { grid-template-columns: 1fr; }
    .tier2-grid { grid-template-columns: 1fr; }
    .tier3-checklist { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
    .membership-features { grid-template-columns: 1fr; gap: 12px; max-width: 100%; }
    .membership-card { padding: 36px 28px; }
    .comparison-table { font-size: 13px; }
    .comparison-table thead th, .comparison-table tbody td { padding: 12px 14px; }
    .social-proof-inner { gap: 32px; }
    .hiw-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .hiw-step:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-toggle { display: flex; }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(6,8,15,0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 20px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
    }
    .nav.open a { padding: 14px 16px; font-size: 16px; }
    .nav a.nav-cta {
        margin-left: auto;
        text-align: center;
        margin-top: 12px;
        display: block;
        width: auto;
        max-width: 200px;
        margin-right: auto;
        padding: 12px 28px;
        font-size: 0.9rem;
        border-radius: 100px;
    }

    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero h1 { font-size: 40px; letter-spacing: -0.03em; }
    .hero p { font-size: 16px; }
    .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; }

    .section { padding: 80px 0; }
    .about-grid { grid-template-columns: 1fr; }
    .phone-lg { width: 240px; height: 490px; }
    .contact-card { padding: 36px 24px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-4px); }
    .footer-links { gap: 20px; }
    .legal-page { padding-top: calc(var(--nav-h) + 36px); }

    .tier1-grid { grid-template-columns: 1fr; }
    .tier2-grid { grid-template-columns: 1fr; }
    .tier3-checklist { grid-template-columns: 1fr; padding: 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .app-cta-row { flex-direction: column; align-items: stretch; }
    .app-store-btn { justify-content: center; }
    .membership-card { padding: 28px 20px; }
    .comparison-table-wrap { border-radius: var(--radius); }
    .comparison-table { font-size: 13px; }
    .comparison-table thead th, .comparison-table tbody td { padding: 10px 12px; }
    .contact-form-row { grid-template-columns: 1fr; }
    .social-proof-inner { gap: 24px; }
    .social-proof-value { font-size: 24px; }
    .trust-signals { gap: 20px; }
    .credit-packs-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
    .credit-packs-section { margin-top: 36px; padding: 24px 0; }
    /* languages-callout mobile — moved to end of file (V7-PATCH5) */

    .how-it-works { padding: 80px 0; }
    .faq-section { padding: 80px 0; }
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 34px; }
    .section-title { font-size: 28px; }
    .about-card { padding: 28px 20px; }
    .contact-card { padding: 28px 20px; }
    .feature-item { padding: 16px; }
    .faq-question { font-size: 14px; }
    .trust-signals { gap: 16px; }
    .pricing-grid { gap: 20px; }
    .credit-packs-section { margin-top: 28px; }
}

/* ---------- Language Dropdown ---------- */
.lang-dropdown {
    position: relative;
    z-index: var(--z-dropdown);
    margin-left: 8px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    color: var(--gold);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    transition: border-color 0.3s ease;
    white-space: nowrap;
}

.lang-current:hover {
    border-color: var(--gold);
}

.lang-chevron {
    transition: transform 0.3s ease;
    width: 10px;
    height: 6px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lang-dropdown.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: rgba(15, 20, 32, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 6px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: left;
}

.lang-option:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.lang-option.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.lang-flag {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Mobile: language bar in hamburger menu */
@media (max-width: 768px) {
    .header-inner .lang-dropdown { display: none; }

    .nav.open .lang-dropdown-mobile {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 16px 16px 12px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        margin-bottom: 8px;
    }

    .lang-btn-mobile {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.5);
        font-family: var(--font);
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .lang-btn-mobile:hover,
    .lang-btn-mobile.active {
        background: rgba(212, 175, 55, 0.15);
        border-color: rgba(212, 175, 55, 0.4);
        color: var(--gold);
    }
}

@media (min-width: 769px) {
    .lang-dropdown-mobile { display: none; }
}

/* ---------- Legal Page Language Switcher ---------- */
.legal-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 2rem;
    padding: 6px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: fit-content;
}
.legal-lang-switcher-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-3);
    padding: 0 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.legal-lang-switcher a {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-3);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.legal-lang-switcher a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.05);
    text-decoration: none;
}
.legal-lang-switcher a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.legal-lang-switcher a.active {
    color: var(--gold);
    background: var(--gold-dim);
    font-weight: 600;
}

/* ---------- Legal Page Intro ---------- */
.legal-intro {
    margin-bottom: 1.5rem;
}

/* ---------- Legal Language Switcher Mobile ---------- */
@media (max-width: 480px) {
    .legal-lang-switcher {
        flex-wrap: wrap;
    }
    .legal-lang-switcher a {
        font-size: 0.72rem;
        padding: 4px 8px;
    }
}

/* ---------- Legal Page Language Banner ---------- */
.legal-lang-banner {
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 32px;
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
}

.legal-lang-banner.visible {
    display: block;
}

/* === LANGUAGE CALLOUT — V7-PATCH5 === */
#products .languages-callout {
    max-width: 560px;
    margin: 40px auto;
    padding: 24px 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    display: block;
}
#products .languages-callout p {
    display: block;
    text-align: center;
}
#products .languages-callout .lang-co-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}
#products .languages-callout .lang-co-flags {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 12px 0;
    white-space: nowrap;
}
#products .languages-callout .lang-co-cta {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    margin: 0;
}
@media (max-width: 500px) {
    #products .languages-callout { padding: 20px 16px; max-width: 90%; }
    #products .languages-callout .lang-co-flags {
        white-space: normal;
        line-height: 1.8;
    }
}
/* === END LANGUAGE CALLOUT === */

/* === NAV FIX — V7-PATCH7 (desktop only) === */
@media (min-width: 769px) {
    header .nav {
        flex-wrap: nowrap;
        gap: 4px;
    }
    header .nav > a {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 8px 10px;
        letter-spacing: -0.01em;
    }
    header .nav > a.nav-cta {
        white-space: nowrap;
        font-size: 0.82rem;
        padding: 10px 18px;
        margin-left: 4px;
    }
}
/* === END NAV FIX === */

/* === BRAND TWO-TONE — V7-PATCH8 === */
.brand-curr { color: #FFFFFF; font-weight: 700; }
.brand-iq { color: #D4AF37; font-weight: 800; }
.brand-lab { color: #D4AF37; font-weight: 800; }
.brand-name { color: #fff; }
/* Contrast fix: IQ must be dark navy on gold/light backgrounds — V9.6-3 */
.nav-cta .brand-iq,
.newsletter-btn .brand-iq,
.btn-primary .brand-iq,
[style*="background-color:#D4AF37"] .brand-iq,
[style*="background:#D4AF37"] .brand-iq { color: #06080F; font-weight: 800; }
.nav-cta .brand-curr,
.newsletter-btn .brand-curr,
.btn-primary .brand-curr { color: #06080F; }
/* === END BRAND === */

/* === NEWSLETTER SECTION — V9-2 Glassmorphism Card === */
.newsletter-section {
    padding: 80px 0 60px;
    text-align: center;
}
.newsletter-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 40px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
/* Gold shimmer accent line at top */
.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.6), transparent);
}
.newsletter-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    letter-spacing: -0.01em;
}
.newsletter-subtitle {
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin: 0 auto 32px;
    font-size: 1rem;
    line-height: 1.6;
}
.newsletter-form {
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-row-names {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.newsletter-row-email {
    margin-bottom: 12px;
}
.newsletter-btn {
    width: auto;
    min-width: 180px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #D4AF37, #B8962E);
    color: #06080F;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    display: block;
    margin: 0 auto;
}
.newsletter-btn:hover {
    background: linear-gradient(135deg, #E4BF47, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212,175,55,0.35);
}
.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.newsletter-privacy {
    margin-top: 12px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.newsletter-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-success span {
    font-size: 2rem;
    color: #D4AF37;
}
.newsletter-success p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin: 0;
}
@media (max-width: 600px) {
    .newsletter-row-names {
        flex-direction: column;
    }
    .newsletter-section {
        padding: 60px 0 40px;
    }
    .newsletter-card {
        padding: 32px 20px;
        border-radius: 20px;
    }
    .newsletter-btn {
        width: 100%;
    }
}
/* === END NEWSLETTER === */

/* === FORM VALIDATION — V9.7 === */
.field-wrap {
    flex: 1;
    min-width: 0;
}
.field-wrap .contact-input,
.field-wrap .contact-textarea {
    width: 100%;
}
/* === END FORM VALIDATION === */

/* === CREDIT PACKS SECTION === */
.credit-packs-section {
    text-align: center;
    margin-top: 48px;
    padding: 32px 0;
}
.credit-packs-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.credit-packs-subtitle {
    color: var(--text-2);
    font-size: 0.95rem;
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.credit-packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 640px;
    margin: 0 auto;
}
.credit-pack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.credit-pack-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
}
.credit-pack-card.featured {
    border-color: var(--border-gold);
    background: rgba(212,175,55,0.06);
}
.credit-pack-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}
.credit-pack-credits {
    font-size: 0.85rem;
    color: var(--text-2);
    margin-bottom: 12px;
}
.credit-pack-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.credit-packs-note {
    color: var(--text-3);
    font-size: 0.78rem;
    margin-top: 16px;
    opacity: 0.7;
}
@media (max-width: 480px) {
    .credit-packs-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

/* === 3-COLUMN COMPARISON TABLE === */
.comparison-table-3col th:nth-child(3),
.comparison-table-3col th:nth-child(4) {
    color: var(--gold);
}
.comparison-table-3col td {
    font-size: 0.82rem;
}
/* === END CREDIT PACKS & COMPARISON === */

/* ============================================================
   FINAL OVERRIDES — maximum specificity, last in file
   These MUST remain at the very bottom of style.css.
   ============================================================ */
.contact-form .field-error-msg,
.newsletter-form .field-error-msg {
    color: var(--error);
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
    display: block;
    line-height: 1.3;
    text-align: left;
}
.contact-form .contact-input.input-error,
.contact-form textarea.input-error,
.newsletter-form .contact-input.input-error {
    border: 1px solid var(--error);
}

/* V22-WEB: html overflow-x fix — clip is stronger than hidden on iOS Safari */
html {
    overflow-x: hidden !important;
    overflow-x: clip !important;
}

/* V22-WEB-MOBILE: Comparison table — spec-exact compressed 4-col (WEBSITE_TABLE_FIX.md) */
@media (max-width: 768px) {
    /* Container wrapper: rounded corners, border, overflow hidden */
    .comparison-table-wrap {
        border-radius: 12px !important;
        border: 1px solid #2a2a2a !important;
        overflow: hidden !important;
    }

    /* Table: fixed layout, full width */
    .comparison-table.comparison-table-3col {
        table-layout: fixed !important;
        width: 100% !important;
    }

    /* Column widths: 34% / 20% / 23% / 23% */
    .comparison-table.comparison-table-3col thead th:first-child,
    .comparison-table.comparison-table-3col tbody td:first-child {
        width: 34% !important;
    }
    .comparison-table.comparison-table-3col thead th:nth-child(2),
    .comparison-table.comparison-table-3col tbody td:nth-child(2) {
        width: 20% !important;
    }
    .comparison-table.comparison-table-3col thead th:nth-child(3),
    .comparison-table.comparison-table-3col tbody td:nth-child(3) {
        width: 23% !important;
    }
    .comparison-table.comparison-table-3col thead th:nth-child(4),
    .comparison-table.comparison-table-3col tbody td:nth-child(4) {
        width: 23% !important;
    }

    /* Header row: bg #1a1a1a, border-bottom #333, font-size 10px, uppercase, 0.03em spacing */
    .comparison-table.comparison-table-3col thead th {
        background: #1a1a1a !important;
        border-bottom: 1px solid #333 !important;
        font-size: 10px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
        padding: 9px 4px !important;
    }

    /* Header: Feature column left-aligned with 8px left padding */
    .comparison-table.comparison-table-3col thead th:first-child {
        text-align: left !important;
        padding-left: 8px !important;
    }

    /* Header abbreviation: FREE (muted #888) */
    .comparison-table.comparison-table-3col thead th:nth-child(2) {
        font-size: 0 !important;
        text-align: center !important;
    }
    .comparison-table.comparison-table-3col thead th:nth-child(2)::after {
        content: "FREE" !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.03em !important;
        color: var(--text-muted) !important;
    }

    /* Header abbreviation: MONTHLY (gold) */
    .comparison-table.comparison-table-3col thead th:nth-child(3) {
        font-size: 0 !important;
        text-align: center !important;
        background: #1a1a1a !important;
    }
    .comparison-table.comparison-table-3col thead th:nth-child(3)::after {
        content: "MONTHLY" !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.03em !important;
        color: #D4AF37 !important;
    }

    /* Header abbreviation: YEARLY (gold) */
    .comparison-table.comparison-table-3col thead th:nth-child(4) {
        font-size: 0 !important;
        text-align: center !important;
    }
    .comparison-table.comparison-table-3col thead th:nth-child(4)::after {
        content: "YEARLY" !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.03em !important;
        color: #D4AF37 !important;
    }

    /* Body cells: 11px, padding 9px 4px, line-height 1.3, word-wrap */
    .comparison-table.comparison-table-3col tbody td {
        font-size: 11px !important;
        padding: 9px 4px !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Alternating row backgrounds: odd #111, even #0f0f0f */
    .comparison-table.comparison-table-3col tbody tr:nth-child(odd) td {
        background: #111 !important;
    }
    .comparison-table.comparison-table-3col tbody tr:nth-child(even) td {
        background: #0f0f0f !important;
    }

    /* Row border-bottom */
    .comparison-table.comparison-table-3col tbody tr td {
        border-bottom: 1px solid #1e1e1e !important;
    }
    .comparison-table.comparison-table-3col tbody tr:last-child td {
        border-bottom: none !important;
    }

    /* Feature cell: white, bold, left-aligned, 8px left padding */
    .comparison-table.comparison-table-3col tbody td:first-child {
        color: #fff !important;
        font-weight: 700 !important;
        text-align: left !important;
        padding-left: 8px !important;
        white-space: normal !important;
    }

    /* Value cells (cols 2-4): center-aligned */
    .comparison-table.comparison-table-3col tbody td:nth-child(n+2) {
        text-align: center !important;
    }

    /* FREE column values: muted gray #888 */
    .comparison-table.comparison-table-3col tbody td:nth-child(2) {
        color: var(--text-muted) !important;
    }
    .comparison-table.comparison-table-3col tbody td:nth-child(2) .ct-limited {
        color: var(--text-muted) !important;
    }
    .comparison-table.comparison-table-3col tbody td:nth-child(2) .ct-no {
        color: var(--error-mark) !important;
    }

    /* PRO MONTHLY and YEARLY values: gold #D4AF37, font-weight 600 */
    .comparison-table.comparison-table-3col tbody td:nth-child(3),
    .comparison-table.comparison-table-3col tbody td:nth-child(4) {
        color: #D4AF37 !important;
        font-weight: 600 !important;
    }
    .comparison-table.comparison-table-3col tbody td:nth-child(3) .ct-yes,
    .comparison-table.comparison-table-3col tbody td:nth-child(4) .ct-yes {
        color: #D4AF37 !important;
        font-weight: 600 !important;
    }
    .comparison-table.comparison-table-3col tbody td:nth-child(3) .ct-limited,
    .comparison-table.comparison-table-3col tbody td:nth-child(4) .ct-limited {
        color: #D4AF37 !important;
        font-weight: 600 !important;
    }

    /* X marks: red #e55 everywhere */
    .comparison-table.comparison-table-3col tbody .ct-no {
        color: var(--error-mark) !important;
        font-weight: 600 !important;
    }

    /* Hide child spans in data-mobile cells — font-size:0 alone fails because
       .ct-limited/.ct-yes/.ct-no set their own font-size, overriding inheritance */
    .comparison-table.comparison-table-3col tbody td[data-mobile] > * {
        display: none !important;
    }

    /* Mobile content replacement: feature names via data-mobile attribute */
    .comparison-table.comparison-table-3col tbody td[data-mobile]:first-child {
        font-size: 0 !important;
    }
    .comparison-table.comparison-table-3col tbody td[data-mobile]:first-child::after {
        content: attr(data-mobile) !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #fff !important;
        line-height: 1.3 !important;
    }

    /* Mobile content replacement: value cells via data-mobile attribute */
    .comparison-table.comparison-table-3col tbody td[data-mobile]:nth-child(n+2) {
        font-size: 0 !important;
    }
    .comparison-table.comparison-table-3col tbody td[data-mobile]:nth-child(2)::after {
        content: attr(data-mobile) !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: var(--text-muted) !important;
        line-height: 1.3 !important;
    }
    .comparison-table.comparison-table-3col tbody td[data-mobile]:nth-child(3)::after,
    .comparison-table.comparison-table-3col tbody td[data-mobile]:nth-child(4)::after {
        content: attr(data-mobile) !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #D4AF37 !important;
        line-height: 1.3 !important;
    }

    /* Remove hover on mobile (touch) */
    .comparison-table.comparison-table-3col tbody tr:hover td {
        background: inherit !important;
    }

    /* Remove gold gradient tint on monthly column for mobile — clean flat bg */
    .comparison-table.comparison-table-3col thead th:nth-child(3) {
        background: #1a1a1a !important;
    }
    .comparison-table.comparison-table-3col tbody td:nth-child(3) {
        background: inherit !important;
    }

    /* Nowrap on value cells to prevent mid-word wrapping of "Priority", "Standard", prices */
    .comparison-table.comparison-table-3col tbody td:nth-child(n+2) {
        white-space: nowrap !important;
    }
}

/* V22-WEB: Pricing price — prevent French-formatted prices from wrapping mid-number */
.pricing-price,
.pricing-strikethrough,
.credit-pack-price {
    white-space: nowrap;
    word-break: keep-all;
}

/* V22-WEB: Footer legal text wrapping on small screens */
@media (max-width: 480px) {
    .footer .footer-legal {
        font-size: 11px;
        line-height: 1.8;
        word-break: break-word;
    }
    .footer .footer-legal .company-name {
        display: block;
        margin-top: 4px;
    }
    .footer .footer-legal .footer-address {
        display: block;
        margin-top: 2px;
    }
}

/* Footer address styling */
.footer .footer-address {
    display: block;
    color: var(--text-3);
    font-size: 0.78rem;
    margin-top: 4px;
}

/* V22-WEB-2: Extra Credits slim banner */
#products .extra-credits-banner {
    max-width: 720px;
    margin: -20px auto 0;
    padding: 12px 24px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    text-align: center;
}
#products .extra-credits-banner p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}
#products .extra-credits-fineprint {
    margin-top: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}
@media (max-width: 768px) {
    #products .extra-credits-banner {
        padding: 10px 16px;
    }
    #products .extra-credits-banner p {
        font-size: 13px;
    }
    #products .extra-credits-fineprint {
        font-size: 10px;
    }
}

/* Mobile nav — very small screens (320-375px): keep hamburger always reachable */
@media (max-width: 375px) {
    .header .header-inner {
        gap: 8px;
    }
    .header .logo {
        min-width: 0;
        flex-shrink: 1;
    }
    .header .logo-text {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
        white-space: nowrap;
    }
    .header .mobile-toggle {
        flex-shrink: 0;
    }
}

/* ===== WEBSITE OVERHAUL — March 28, 2026 ===== */

/* Ghost/outline CTA button (secondary hero CTA) */
.btn.btn-ghost {
    color: var(--gold);
    background: transparent;
    border: 1px solid var(--gold);
    padding: 14px 34px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn.btn-ghost:hover {
    background: var(--gold);
    color: var(--bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 28px var(--gold-glow);
}

/* Scroll-spy: active nav link */
.header .nav a.active {
    color: var(--gold);
    position: relative;
}
.header .nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}
/* Do not apply active underline to the Get CURRIQ CTA button */
.header .nav a.nav-cta.active::after {
    display: none;
}

/* Testimonials placeholder section */
.section.testimonials-section {
    padding: 80px 0;
}
.testimonials-section .testimonials-placeholder {
    color: var(--text-3);
    font-style: italic;
    max-width: 500px;
}

/* Pricing badge -- ensure "BEST VALUE" / "MEILLEURE OFFRE" is prominent */
.pricing-card .pricing-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 8px;
}

/* Form submit loading state */
.newsletter-form .newsletter-btn[disabled],
.contact-form .contact-submit[disabled] {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

/* Form error/success consistent brand styling */
.contact-form .contact-success {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 24px;
}
.contact-form .contact-error {
    color: var(--error-bright);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 12px;
}

/* Mobile: ghost button full-width */
@media (max-width: 768px) {
    .btn.btn-ghost {
        width: 100%;
    }
    .section.testimonials-section {
        padding: 60px 0;
    }
}

/* Mobile: hero actions wrap properly */
@media (max-width: 480px) {
    .hero-actions {
        gap: 12px;
    }
    .btn.btn-ghost {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* V22-AUDIT: CTA button minimum touch target (44px) for mobile accessibility */
@media (max-width: 768px) {
    .pricing-btn,
    .contact-submit,
    .app-store-btn,
    .btn.btn-ghost {
        min-height: 44px;
    }
}
