/* ============================================================
   InGameCast Landing Pages — "Night Lights" design system
   ============================================================ */

:root {
    --navy: #0B1730;
    --navy-2: #132345;
    --lime: #D4FF3D;
    --red: #FF3B30;
    --amber: #FFB020;
    --white: #FFFFFF;
    --slate: #8B96A8;

    --font-display: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-utility: 'Chakra Petch', sans-serif;

    --card-border: rgba(212, 255, 61, 0.15);
    --container-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-utility);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 12px;
}

.section-header p {
    color: var(--slate);
    font-size: 16px;
    margin: 0;
}

/* --------------------------------------------------------
   Buttons
   -------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--lime);
    color: var(--navy);
}

.btn-primary:hover { transform: translateY(-1px); background: #c2ec2c; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: transparent;
    border-color: var(--lime);
    color: var(--lime);
}

.btn-secondary:hover { background: rgba(212, 255, 61, 0.08); transform: translateY(-1px); }
.btn-secondary:active { transform: translateY(0); }

/* --------------------------------------------------------
   Scroll-in animation
   -------------------------------------------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------
   Nav
   -------------------------------------------------------- */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.landing-nav.scrolled {
    background: var(--navy-2);
    border-bottom-color: rgba(212, 255, 61, 0.12);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.nav-logo img { height: 32px; width: auto; }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--lime); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-account-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--slate);
}

.nav-account-links a { color: var(--slate); }
.nav-account-links a:hover { color: var(--white); }
.nav-account-sep { color: var(--slate); opacity: 0.5; }

.nav-cta { padding: 10px 22px; font-size: 14px; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 8px 0 20px;
    gap: 4px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--card-border);
    font-size: 15px;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-cta-mobile { margin-top: 8px; text-align: center; }

/* --------------------------------------------------------
   Hero
   -------------------------------------------------------- */
.hero {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    padding: 80px 0 96px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
}

.hero-content { text-align: left; }

.hero-badge {
    display: inline-block;
    font-family: var(--font-utility);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: clamp(36px, 5.2vw, 60px);
    line-height: 1.08;
    margin: 0 0 20px;
}

.hero-desc {
    color: var(--slate);
    font-size: 18px;
    max-width: 520px;
    margin: 0 0 36px;
}

.hero-ctas {
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.cta-card {
    flex: 1;
    min-width: 0;
}

.cta-card-label {
    font-family: var(--font-utility);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
    margin: 0 0 8px;
}

.cta-card-desc {
    font-size: 14px;
    color: var(--white);
    margin: 0 0 16px;
    min-height: 42px;
}

.cta-card .btn { width: 100%; }

.cta-divider {
    width: 1px;
    background: var(--card-border);
    flex-shrink: 0;
}

.hero-visual { display: flex; justify-content: center; }

.watch-mockup {
    width: 100%;
    max-width: 360px;
    background: var(--navy-2);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 18px;
}

.watch-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.watch-mockup-logo { height: 20px; width: auto; }

.watch-mockup-video {
    background: var(--navy);
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.watch-mockup-play {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(212, 255, 61, 0.15);
    color: var(--lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.watch-mockup-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.watch-mockup-teams { font-weight: 600; font-size: 15px; }
.vs { color: var(--slate); font-weight: 400; margin: 0 4px; }

.watch-mockup-details {
    font-family: var(--font-utility);
    font-size: 12px;
    color: var(--slate);
    letter-spacing: 0.03em;
}

/* --------------------------------------------------------
   LIVE / VOD pills
   -------------------------------------------------------- */
.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid var(--red);
    color: var(--red);
    font-family: var(--font-utility);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.08em;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.vod-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(139, 150, 168, 0.15);
    border: 1px solid var(--slate);
    color: var(--slate);
    font-family: var(--font-utility);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.08em;
}

/* --------------------------------------------------------
   How It Works
   -------------------------------------------------------- */
.section-how { padding: 96px 0; }

.how-tracks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.how-track-title {
    font-family: var(--font-utility);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
    margin: 0 0 24px;
}

.how-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.how-step:last-child { margin-bottom: 0; }

.step-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(212, 255, 61, 0.12);
    color: var(--lime);
    font-family: var(--font-utility);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-step h4 { margin: 4px 0 6px; font-size: 17px; }
.how-step p { margin: 0; color: var(--slate); font-size: 15px; }

/* --------------------------------------------------------
   Features grid
   -------------------------------------------------------- */
.section-features { padding: 96px 0; background: var(--navy-2); }

.cards-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--navy);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 28px;
}

.feature-card h3 { margin: 0 0 10px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--slate); font-size: 15px; }

/* --------------------------------------------------------
   Sport-neutral showcase
   -------------------------------------------------------- */
.section-sports { padding: 96px 0; }

.sport-scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.sport-card {
    flex: 0 0 220px;
    background: var(--navy-2);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px;
}

.sport-card-thumb {
    position: relative;
    background: var(--navy);
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.sport-card-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 255, 61, 0.15);
    color: var(--lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.sport-card-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 9px;
    font-size: 10px;
}

.sport-card-teams { font-size: 14px; font-weight: 600; }

/* --------------------------------------------------------
   Pricing teaser
   -------------------------------------------------------- */
.section-pricing-teaser { padding: 96px 0; background: var(--navy-2); }

.pricing-teaser-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.pricing-teaser-inner h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 16px;
}

.pricing-teaser-inner > p {
    color: var(--slate);
    margin: 0 0 28px;
}

.pricing-teaser-note {
    font-family: var(--font-utility);
    font-size: 13px;
    color: var(--slate);
    letter-spacing: 0.03em;
    margin: 16px 0 0 !important;
}

/* --------------------------------------------------------
   FAQ
   -------------------------------------------------------- */
.section-faq { padding: 96px 0; }

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--navy-2);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 20px 24px;
    cursor: pointer;
}

.faq-toggle {
    flex-shrink: 0;
    color: var(--lime);
    font-family: var(--font-utility);
    font-size: 18px;
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
    overflow: hidden;
    margin: 0;
    padding: 0 24px;
    color: var(--slate);
    font-size: 15px;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    grid-template-rows: 1fr;
}

.faq-question[aria-expanded="true"] + .faq-answer p {
    padding: 0 24px 20px;
}

.faq-answer > p { min-height: 0; }

/* --------------------------------------------------------
   Final CTA banner
   -------------------------------------------------------- */
.section-final-cta {
    padding: 88px 0;
    background: var(--navy-2);
    border-top: 1px solid var(--card-border);
}

.final-cta-inner { text-align: center; }

.final-cta-inner h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(28px, 4vw, 44px);
    margin: 0 0 28px;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* --------------------------------------------------------
   Footer
   -------------------------------------------------------- */
.landing-footer { padding: 64px 0 32px; }

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--card-border);
    flex-wrap: wrap;
}

.footer-logo img { height: 28px; width: auto; }

.footer-links {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h4 {
    font-family: var(--font-utility);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
    margin: 0 0 4px;
}

.footer-col a { font-size: 14px; color: var(--white); }
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
}

.footer-copy,
.footer-tagline {
    font-family: var(--font-utility);
    font-size: 12px;
    color: var(--slate);
    margin: 0;
}

/* --------------------------------------------------------
   Stub pages
   -------------------------------------------------------- */
.stub-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 0;
}

.stub-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.stub-inner .section-label { display: block; }

.stub-inner h1 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 16px;
}

.stub-inner p {
    color: var(--slate);
    margin: 0 0 28px;
}

/* --------------------------------------------------------
   Responsive
   -------------------------------------------------------- */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .how-tracks { grid-template-columns: 1fr; gap: 40px; }
    .cards-grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-hamburger { display: flex; }
    .hero { padding: 56px 0 64px; }
    .hero-ctas { flex-direction: column; }
    .cta-divider { display: none; }
    .section-how, .section-features, .section-sports,
    .section-pricing-teaser, .section-faq, .section-final-cta { padding: 64px 0; }
    .cards-grid-6 { grid-template-columns: 1fr; }
    .final-cta-actions { flex-direction: column; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-links { gap: 32px; }
}
