/* ============================================================================
   coyn42 Marketing Website — Design System (ported from C42 Dashboard)
   ============================================================================ */

:root {
    --bg-page: #0a0a0a;
    --bg-section: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --bg-input: #151515;
    --accent: #4ECDC4;
    --accent-dim: rgba(78, 205, 196, 0.15);
    --accent-glow: rgba(78, 205, 196, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #8a8a8a;
    --text-muted: #555555;
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(78, 205, 196, 0.2);
    --red: #ff6b6b;
    --red-dim: rgba(255, 107, 107, 0.15);
    --yellow: #ffd93d;
    --yellow-dim: rgba(255, 217, 61, 0.15);
    --green: #4ECDC4;
    --green-dim: rgba(78, 205, 196, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    --transition: 0.2s ease;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

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

html {
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #5de0d6;
}

/* ============================================================================
   Navigation
   ============================================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 32px;
    z-index: 100;
    gap: 32px;
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 22px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.87rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-actions {
    flex-shrink: 0;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* ============================================================================
   Buttons
   ============================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: #5de0d6;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-1px);
    color: #000;
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: 12px;
}

/* ============================================================================
   Layout
   ============================================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 100px 0;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 680px;
    line-height: 1.7;
}

/* ============================================================================
   Cards (from dashboard)
   ============================================================================ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}

.card:hover {
    border-color: var(--border-accent);
}

/* ============================================================================
   Signal Badges (from dashboard)
   ============================================================================ */

.signal-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signal-strong-buy { background: rgba(56, 142, 240, 0.15); color: #5eaaff; }
.signal-buy { background: rgba(78, 205, 196, 0.08); color: #3ab5ad; }
.signal-hold { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); }
.signal-caution { background: var(--yellow-dim); color: var(--yellow); }
.signal-avoid { background: var(--red-dim); color: var(--red); }

/* ============================================================================
   Hero
   ============================================================================ */

.hero {
    padding: 160px 0 100px;
    text-align: center;
}

.hero-headline {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-headline .accent {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-proof {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

/* Browser mockup frame */
.browser-frame {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.browser-bar {
    background: var(--bg-section);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #febc2e; }
.browser-dot.green { background: #28c840; }

.browser-url {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 5px 16px;
    border-radius: 6px;
    margin-left: 8px;
}

.screenshot-placeholder {
    aspect-ratio: 16 / 10;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================================================
   How It Works — 6-Score System
   ============================================================================ */

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

.scores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.score-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
}

.score-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

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

.score-card-icon.relative { background: var(--accent-dim); color: var(--accent); }
.score-card-icon.absolute { background: rgba(100, 180, 255, 0.12); color: #64b4ff; }
.score-card-icon.macro { background: var(--yellow-dim); color: var(--yellow); }

.score-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.score-card .range {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.score-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Decision framework callout */
.decision-callout {
    margin-top: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.decision-callout h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.decision-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.decision-rules {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.decision-rule {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
}

.decision-rule .condition {
    color: var(--text-secondary);
    flex: 1;
}

/* ============================================================================
   Features (alternating rows)
   ============================================================================ */

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse .feature-text {
    order: 2;
}

.feature-row.reverse .feature-visual {
    order: 1;
}

.feature-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-visual .browser-frame {
    max-width: 100%;
}

/* ============================================================================
   Pipeline (Under the Hood)
   ============================================================================ */

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

.pipeline-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.pipeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.pipeline-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.pipeline-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.pipeline-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pipeline-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pipeline-arrow {
    display: none;
}

/* ============================================================================
   Performance
   ============================================================================ */

.perf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.perf-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.perf-stat-value {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.perf-stat-value.positive { color: var(--green); }
.perf-stat-value.negative { color: var(--red); }
.perf-stat-value.neutral { color: var(--accent); }

.perf-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Benchmark comparison */
.benchmark {
    margin-top: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.benchmark h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.benchmark-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benchmark-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.benchmark-label {
    width: 140px;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.benchmark-bar-track {
    flex: 1;
    height: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.benchmark-bar {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    min-width: fit-content;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.benchmark-bar.strategy {
    background: var(--accent-dim);
    color: var(--accent);
}

.benchmark-bar.btc {
    background: var(--yellow-dim);
    color: var(--yellow);
}

.benchmark-bar.market {
    background: var(--red-dim);
    color: var(--red);
}

.benchmark-bar.negative {
    margin-left: auto;
    justify-content: flex-end;
}

.benchmark-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.benchmark-note {
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.perf-disclaimer {
    margin-top: 24px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* ============================================================================
   CTA
   ============================================================================ */

/* ============================================================================
   Demo CTA
   ============================================================================ */

/* ============================================================================
   Contact CTA
   ============================================================================ */

.cta-section {
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

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

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--text-primary);
}

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

/* ============================================================================
   Legal Modal
   ============================================================================ */

/* ============================================================================
   Screenshot Lightbox
   ============================================================================ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
}

.lightbox img {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.lightbox.open img {
    transform: scale(1);
    opacity: 1;
}

.feature-visual img {
    cursor: zoom-in;
}


/* ============================================================================
   Mobile menu overlay
   ============================================================================ */

.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mobile-overlay.open {
    display: flex;
}

.mobile-overlay a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 24px;
    transition: color var(--transition);
}

.mobile-overlay a:hover {
    color: var(--accent);
}

/* ============================================================================
   Scroll Animations
   ============================================================================ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered children */
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }

/* Feature row slide-in (desktop only) */
@media (min-width: 769px) {
    .feature-row.reveal {
        opacity: 1;
        transform: none;
    }

    .feature-row.reveal .feature-text {
        opacity: 0;
        transform: translateX(-120px) translateY(40px);
        transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .feature-row.reveal .feature-visual {
        opacity: 0;
        transform: translateX(120px) scale(0.92) rotate(2deg);
        transition: opacity 1s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .feature-row.reverse.reveal .feature-text {
        transform: translateX(120px) translateY(40px);
    }

    .feature-row.reverse.reveal .feature-visual {
        transform: translateX(-120px) scale(0.92) rotate(-2deg);
    }

    .feature-row.reveal.visible .feature-text {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }

    .feature-row.reveal.visible .feature-visual {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(0deg);
        transition-delay: 0.2s;
    }
}

/* ============================================================================
   Scrollbar (from dashboard)
   ============================================================================ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(78, 205, 196, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(78, 205, 196, 0.4);
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 1024px) {
    .scores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .perf-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 16px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 64px 0;
    }

    .hero {
        padding: 120px 0 64px;
    }

    .hero-headline {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .scores-grid {
        grid-template-columns: 1fr;
    }

    .scores-grid .score-card:nth-child(1) { order: 1; } /* Weekly Relative */
    .scores-grid .score-card:nth-child(4) { order: 2; } /* Weekly Absolute */
    .scores-grid .score-card:nth-child(2) { order: 3; } /* Monthly Relative */
    .scores-grid .score-card:nth-child(5) { order: 4; } /* Monthly Absolute */
    .scores-grid .score-card:nth-child(3) { order: 5; } /* Macro Weekly */
    .scores-grid .score-card:nth-child(6) { order: 6; } /* Macro Monthly */

    .feature-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-row.reverse .feature-text {
        order: 1;
    }

    .feature-row.reverse .feature-visual {
        order: 2;
    }

    .pipeline-steps {
        grid-template-columns: 1fr 1fr;
    }

    .perf-stats {
        grid-template-columns: 1fr 1fr;
    }

    .benchmark-split {
        grid-template-columns: 1fr;
    }

    .benchmark-row {
        flex-direction: column;
        align-items: stretch;
    }

    .benchmark-label {
        width: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .decision-rule {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .track-stats {
        grid-template-columns: 1fr 1fr;
    }

    .picks-table-wrap {
        font-size: 0.8rem;
    }
}

/* ============================================================================
   Pricing Page
   ============================================================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color var(--transition);
}

.pricing-card:hover {
    border-color: var(--border-accent);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-dim);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-page);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 16px;
    border-radius: 20px;
}

.pricing-tier {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 16px;
}

.pricing-currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-amount {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 20px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.pricing-cta {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.pricing-faq {
    margin-top: 64px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-faq h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 32px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
}

.faq-item h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.faq-item a {
    color: var(--accent);
    text-decoration: none;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   Track Record Page
   ============================================================================ */

.track-chart-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

.track-chart-wrap canvas {
    width: 100% !important;
    max-height: 420px;
}

.track-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.track-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.track-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.track-stat-value.positive { color: var(--accent); }
.track-stat-value.negative { color: var(--red); }

.track-stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.picks-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    overflow-x: auto;
    margin-bottom: 32px;
}

.picks-table-wrap h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.picks-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.picks-table th {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.picks-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

.picks-table tr:last-child td {
    border-bottom: none;
}

.picks-table .ret-pos { color: var(--accent); font-weight: 600; }
.picks-table .ret-neg { color: var(--red); font-weight: 600; }

.picks-table .cash-row {
    background: var(--yellow-dim);
}

.track-chart-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.track-chart-legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: rgba(255, 217, 61, 0.15);
    border: 1px solid rgba(255, 217, 61, 0.3);
    flex-shrink: 0;
}

.track-disclaimer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 32px;
}

.track-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
}

.track-disclaimer strong {
    color: var(--yellow);
}

/* ============================================================================
   Index Teasers (Track Record + Pricing on main page)
   ============================================================================ */

.track-teaser-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-teaser {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0 0;
}

.pricing-teaser-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: border-color var(--transition);
}

.pricing-teaser-card:hover {
    border-color: var(--border-accent);
}

.pricing-teaser-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-dim);
}

.pricing-teaser-card .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-teaser-card .pricing-tier {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-teaser-card .pricing-amount {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.pricing-teaser-card .pricing-period {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-teaser-card .pricing-desc {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .track-teaser-stats {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-teaser {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}
