/* ==========================================================================
   FundedPredictions — v2 Redesign
   Modern dark institutional trading / prediction market design
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --bg-body:          #06060b;
    --bg-section:       #0a0a12;
    --bg-section-alt:   #06060b;
    --bg-card:          #0e0e18;
    --bg-card-hover:    #131320;
    --bg-input:         #0b0b14;
    --bg-header:        rgba(6, 6, 11, 0.78);

    --border:           rgba(255, 255, 255, 0.06);
    --border-card:      rgba(255, 255, 255, 0.07);
    --border-input:     rgba(255, 255, 255, 0.10);
    --border-focus:     rgba(0, 200, 150, 0.5);

    --accent:           #00c896;
    --accent-hover:     #00e6ac;
    --accent-dim:       rgba(0, 200, 150, 0.10);
    --accent-glow:      rgba(0, 200, 150, 0.20);
    --accent-secondary: #4f8fff;
    --blue-dim:         rgba(79, 143, 255, 0.10);
    --gradient:         linear-gradient(135deg, #00c896 0%, #4f8fff 100%);
    --gradient-subtle:  linear-gradient(135deg, rgba(0,200,150,0.06) 0%, rgba(79,143,255,0.06) 100%);
    --gradient-border:  linear-gradient(135deg, rgba(0,200,150,0.25) 0%, rgba(79,143,255,0.25) 100%);

    --red:              #ef4444;
    --green:            #22c55e;

    --text:             #d8d8e4;
    --text-muted:       #7e7e96;
    --text-dim:         #4a4a5e;
    --text-white:       #f0f0f8;

    --radius-sm:        6px;
    --radius:           10px;
    --radius-lg:        14px;
    --radius-xl:        20px;

    --shadow-card:      0 2px 8px rgba(0,0,0,0.3), 0 0 0 1px var(--border-card);
    --shadow-lg:        0 12px 40px rgba(0,0,0,0.5);
    --shadow-glow:      0 0 60px rgba(0,200,150,0.08);

    --container:        1160px;
    --header-h:         72px;

    --font:             'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 24px);
    overflow-x: hidden;
    background: #06060b;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---------- Full-Page Background Layer (hidden — background is on html) ---------- */
.page-bg {
    display: none;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

/* ---------- Grid Background Texture ---------- */
.grid-bg {
    position: relative;
}

.grid-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }

.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 112px 0;
    position: relative;
    overflow: hidden;
}

.section-alt {
    background: var(--bg-section);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.section-header .section-label {
    justify-content: center;
}

.section-header .section-label::before { display: none; }

/* Section glow decorations */
.glow-tl,
.glow-br {
    position: absolute;
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 0;
}

.glow-tl {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
}

.glow-br {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, var(--blue-dim) 0%, transparent 70%);
}

.section > .container {
    position: relative;
    z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 2px 16px var(--accent-glow);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,200,150,0.25);
}

.btn-secondary {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border: 1px solid var(--border-input);
}

.btn-secondary:hover {
    color: var(--text-white);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
}

.btn-sm { font-size: 0.85rem; padding: 8px 20px; border-radius: var(--radius-sm); }
.btn-lg { font-size: 1rem; padding: 16px 40px; }
.btn-xl { font-size: 1.05rem; padding: 18px 48px; font-weight: 700; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.logo-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-link:hover { color: var(--text-white); }
.header-cta { flex-shrink: 0; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.mobile-toggle span {
    display: block; width: 100%; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(5px) translateX(5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-5px) translateX(5px); }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: #06060b;
    z-index: 9999;
    padding: 24px;
    overflow-y: auto;
}

.mobile-menu.open { display: flex; flex-direction: column; }

.mobile-nav { display: flex; flex-direction: column; gap: 4px; }

.mobile-link {
    display: block;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}

.mobile-link:hover,
.mobile-link:active {
    background: rgba(255,255,255,0.04);
    border-color: var(--border);
    color: var(--text-white);
}

.mobile-nav .btn { margin-top: 24px; padding: 16px; font-size: 1rem; justify-content: center; }

/* ==========================================================================
   HERO — Split Layout
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 48px;
    overflow: hidden;
    background: url('/assets/img/background-fp.webp') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%; left: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,200,150,0.09) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%; right: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79,143,255,0.07) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-split > * { min-width: 0; }

.hero-left { max-width: 540px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(0,200,150,0.15);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.hero-supporting {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Hero mockup */
.hero-right { position: relative; }

.hero-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-right::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110%; height: 110%;
    background: radial-gradient(circle, rgba(0,200,150,0.06) 0%, transparent 60%);
    pointer-events: none; z-index: -1;
}

.mockup-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.015);
}

.mockup-bar-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mockup-bar-pills { display: flex; gap: 6px; }

.mockup-pill {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.mockup-pill.active {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: rgba(0,200,150,0.2);
}

.mockup-body { padding: 4px 0; }

.mockup-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 12px;
    align-items: center;
    padding: 11px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: background 0.2s;
}

.mockup-row:last-child { border-bottom: none; }
.mockup-row:hover { background: rgba(255,255,255,0.02); }

.mockup-market {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-market-cat {
    font-size: 0.68rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.mockup-pct {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    min-width: 54px;
    text-align: center;
}

.mockup-yes {
    background: rgba(34,197,94,0.1);
    color: var(--green);
    border: 1px solid rgba(34,197,94,0.15);
}

.mockup-no {
    background: rgba(239,68,68,0.08);
    color: var(--red);
    border: 1px solid rgba(239,68,68,0.12);
}

.mockup-change {
    font-size: 0.72rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 44px;
    justify-content: flex-end;
}

.mockup-change.up { color: var(--green); }
.mockup-change.down { color: var(--red); }

.mockup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    background: rgba(255,255,255,0.01);
}

.mockup-footer-label { font-size: 0.7rem; color: var(--text-dim); }

.mockup-footer-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(0,200,150,0.15);
}

/* ==========================================================================
   MARKET TAPE
   ========================================================================== */
.market-tape {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-section);
    overflow: hidden;
    position: relative;
}

.market-tape::before,
.market-tape::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.market-tape::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-section), transparent);
}

.market-tape::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-section), transparent);
}

.tape-track {
    display: flex;
    animation: tape-scroll 45s linear infinite;
    width: max-content;
}

.tape-track:hover {
    animation-play-state: paused;
}

@keyframes tape-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tape-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 36px;
    border-right: 1px solid var(--border);
    white-space: nowrap;
    flex-shrink: 0;
}

.tape-market {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
}

.tape-yes {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--green);
}

.tape-change {
    font-size: 0.72rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 2px;
}

.tape-change.up { color: var(--green); }
.tape-change.down { color: var(--red); }

/* ==========================================================================
   SECTIONS — Content
   ========================================================================== */

/* What Is */
.what-is-body {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.what-is-body p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.what-is-body p:last-child { margin-bottom: 0; }

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.step-card:hover {
    border-color: rgba(0,200,150,0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.step-card:hover::before { opacity: 1; }

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--radius);
    background: var(--gradient);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.step-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Why */
.why-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.why-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ==========================================================================
   PLATFORM PREVIEW — New Section
   ========================================================================== */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.platform-card:hover {
    border-color: rgba(0,200,150,0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.platform-preview {
    aspect-ratio: 16 / 10;
    background: rgba(255,255,255,0.012);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.platform-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-board {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.preview-board-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.025);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.035);
}

.preview-board-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.preview-board-line {
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
    flex: 1;
}

.preview-board-badge {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 100px;
    flex-shrink: 0;
}

.preview-rules {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.preview-rule-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    background: rgba(255,255,255,0.025);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.035);
}

.preview-rule-check {
    width: 14px; height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-rule-check svg { width: 8px; height: 8px; }

.preview-rule-text {
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
    flex: 1;
}

.preview-progress {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preview-progress-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-progress-label {
    font-size: 0.58rem;
    color: var(--text-dim);
    font-weight: 500;
}

.preview-progress-bar {
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
}

.preview-progress-fill {
    height: 100%;
    border-radius: 3px;
}

.platform-info { padding: 28px 24px; }

.platform-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.platform-icon svg { width: 20px; height: 20px; }

.platform-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.platform-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   WHAT YOU GET
   ========================================================================== */
.benefits-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 700px;
    margin: 0 auto;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
}

.benefit-check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.benefit-check svg {
    width: 12px; height: 12px;
    stroke: var(--accent);
}

/* ==========================================================================
   WHO IT IS FOR
   ========================================================================== */
.who-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.who-content .intro-text {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
}

.who-content .secondary-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.who-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.who-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: border-color 0.3s, background 0.3s;
}

.who-tag:hover {
    border-color: rgba(0,200,150,0.2);
    background: var(--bg-card-hover);
}

.who-tag::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.who-closing {
    font-size: 0.95rem;
    color: var(--text-dim);
    font-style: italic;
}

/* ==========================================================================
   CTA — Strong Conversion Block
   ========================================================================== */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse, rgba(0,200,150,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    background: var(--gradient-border);
    z-index: -2;
    opacity: 0.5;
}

.cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    z-index: -1;
}

.cta-card .section-title { margin-bottom: 12px; }
.cta-card .section-subtitle { margin: 0 auto 8px; }

.cta-body-2 {
    font-size: 0.92rem;
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ==========================================================================
   FAQ — Enhanced
   ========================================================================== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover,
.faq-item.open {
    border-color: rgba(0,200,150,0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: left;
    line-height: 1.5;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--accent-dim);
}

.faq-icon svg {
    width: 14px; height: 14px;
    stroke: var(--text-muted);
}

.faq-item.open .faq-icon svg { stroke: var(--accent); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ==========================================================================
   FORM, THANK YOU, LEGAL — kept from v1
   ========================================================================== */
.apply-page {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 80px;
    min-height: 100vh;
}

.apply-header { text-align: center; margin-bottom: 48px; }
.apply-header .section-subtitle { margin: 0 auto; }
.apply-secondary { font-size: 0.9rem; color: var(--text-dim); margin-top: 8px; }

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 640px;
    margin: 0 auto;
}

.form-group { margin-bottom: 24px; }

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-dim); }

.form-input:focus,
.form-textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-textarea { min-height: 100px; resize: vertical; }

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 16px;
    text-align: center;
}

.form-errors {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.form-errors ul { list-style: disc; padding-left: 16px; }
.form-errors li { font-size: 0.88rem; color: #f87171; margin-bottom: 4px; }

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0; width: 0;
    overflow: hidden;
}

/* Thank You */
.thankyou-page {
    padding-top: calc(var(--header-h) + 80px);
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thankyou-content { text-align: center; max-width: 560px; margin: 0 auto; }

.thankyou-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.thankyou-icon svg { width: 32px; height: 32px; stroke: var(--accent); }
.thankyou-content .section-title { margin-bottom: 12px; }
.thankyou-main { font-size: 1.1rem; color: var(--text); margin-bottom: 12px; }
.thankyou-secondary { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 8px; }
.thankyou-small { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 36px; }

/* Legal */
.legal-page {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-content { max-width: 720px; margin: 0 auto; }

.legal-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.legal-content .legal-updated { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 40px; }

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.legal-content li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 4px; }
.legal-content a { color: var(--accent); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-tagline { font-size: 0.9rem; color: var(--text-muted); margin-top: 16px; line-height: 1.6; max-width: 320px; }
.footer-contact { margin-top: 16px; }
.footer-contact a { font-size: 0.86rem; color: var(--text-dim); transition: color 0.2s; }
.footer-contact a:hover { color: var(--accent); }

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-white); }
.footer-microcopy { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.legal-strip {
    background: #040408;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 28px 0;
}

.legal-strip p { font-size: 0.74rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 8px; }
.legal-strip p:last-child { margin-bottom: 0; }
.legal-strip strong { color: var(--text-muted); font-weight: 600; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 48px; }
    .hero-left { max-width: 100%; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-note { text-align: center; }
    .hero-right { max-width: 520px; margin: 0 auto; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-grid .platform-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .section { padding: 80px 0; }
    .main-nav, .header-cta { display: none; }
    .mobile-toggle { display: flex; }

    .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
    .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.05em; padding: 5px 12px; text-align: center; white-space: normal; }
    .hero-mockup { overflow: hidden; }
    .mockup-market { white-space: normal; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .platform-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .platform-grid .platform-card:last-child { max-width: 100%; }

    .form-card { padding: 28px 20px; }
    .cta-card { padding: 48px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .benefits-card { padding: 28px 20px; }
    .section-header { margin-bottom: 48px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-headline { font-size: 1.85rem; }
    .hero-subheadline { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .section { padding: 64px 0; }
    .cta-section { padding: 80px 0; }
    .mockup-bar-pills { display: none; }
    .mockup-row { grid-template-columns: 1fr auto auto; gap: 8px; padding: 10px 14px; }
    .mockup-change { display: none; }
    .mockup-bar { padding: 12px 14px; }
    .mockup-footer { padding: 10px 14px; }
}
