/* Office League Baseball - 8-Bit Box Score Design System */
/* Modern Retro / Neobrutalism Aesthetic */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Space+Mono:wght@400;700&display=swap');

:root {
    /* Stadium-Sampled Colors */
    --game-blue: #87CEEB;       /* Sky Blue - Hero backgrounds */
    --game-yellow: #FFD700;     /* Foul Poles/Scoreboard - Primary buttons */
    --game-grass: #4C9F14;      /* Darker Green Field - Footers/Dividers */
    --game-clay: #D8541D;       /* Infield Dirt Orange - Secondary buttons */
    --game-seats: #C43628;      /* Stadium Seats Red - Alerts/Delete */
    
    /* Legacy Colors */
    --sky-blue: #87CEEB;
    --grass-green: #228B22;
    --dirt-tan: #D2B48C;
    --scoreboard-green: #0A3622;
    --led-yellow: #FFD700;
    --led-orange: #FF8C00;
    
    /* Off-whites and blacks */
    --retro-white: #fdfbf7;
    --retro-black: #1a1a1a;
    --card-white: #FFFDF7;
    --black: #000000;
    --white: #FFFFFF;
    
    /* Shadows */
    --shadow-hard: 4px 4px 0px 0px rgba(0,0,0,1);
    --shadow-pressed: 2px 2px 0px 0px rgba(0,0,0,1);
    --shadow-large: 8px 8px 0px 0px rgba(0,0,0,1);
    
    /* Text */
    --text-dark: #1a1a1a;
    --text-muted: #444;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    background: var(--card-white);
    color: var(--text-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Press Start 2P', cursive;
    line-height: 1.6;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--game-yellow);
    border-bottom: 4px solid var(--black);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    color: var(--black);
    text-decoration: none;
    line-height: 1.4;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.1s ease;
}

.nav-links a:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* ===== BUTTONS - Game Style ===== */
.btn {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border: 4px solid var(--black);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.1s ease;
    /* Neobrutalist - no rounding */
    border-radius: 0;
}

.btn-primary {
    background: var(--game-yellow);
    color: var(--black);
    box-shadow: var(--shadow-hard);
}

.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: var(--shadow-pressed);
}

.btn-secondary {
    background: var(--game-clay);
    color: var(--white);
    box-shadow: var(--shadow-hard);
}

.btn-secondary:hover {
    transform: translateY(2px);
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    color: var(--black);
    box-shadow: var(--shadow-hard);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translate(2px, 2px);
    box-shadow: var(--shadow-pressed);
}

.btn-large {
    font-size: 16px;
    padding: 18px 36px;
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 24px;
    border-bottom: 4px solid var(--black);
}

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

/* ===== HERO - Sky Blue with CRT Dot Pattern ===== */
.hero {
    background-color: var(--game-blue);
    background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 4px 4px;
    text-align: center;
    padding: 180px 24px 120px;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: var(--black);
    color: var(--led-yellow);
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 20px;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 4px solid var(--black);
    box-shadow: var(--shadow-hard);
}

.hero h1 {
    font-size: clamp(20px, 4vw, 32px);
    color: var(--black);
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--white);
    background: var(--black);
    padding: 4px 12px;
    display: inline-block;
    margin-top: 8px;
}

.hero .tagline {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    background: var(--black);
    color: var(--led-yellow);
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(16px, 3vw, 24px);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
}

/* ===== FEATURES - Baseball Card Style ===== */
.features {
    background: var(--card-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Baseball Card */
.feature-card {
    background: var(--white);
    border: 4px solid var(--black);
    padding: 0;
    box-shadow: var(--shadow-hard);
    transition: all 0.1s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-large);
}

.feature-card-header {
    background: var(--game-yellow);
    border-bottom: 4px solid var(--black);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--black);
    border: 3px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: var(--led-yellow);
}

.feature-card-header h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    color: var(--black);
}

.feature-card-body {
    padding: 20px;
}

/* Stats layout for baseball card */
.feature-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px dashed var(--black);
}

.stat-item {
    text-align: center;
}

.stat-item .label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-item .value {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== HOW IT WORKS - Sky Blue Section ===== */
.how-it-works {
    background: var(--game-blue);
    background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 4px 4px;
}

.how-it-works .section-label {
    background: var(--game-clay);
    color: var(--white);
}

.how-it-works .section-title {
    color: var(--black);
}

.how-it-works .section-subtitle {
    color: var(--text-muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

/* Step cards - yellow with black border */
.step {
    background: var(--game-yellow);
    border: 4px solid var(--black);
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow-hard);
}

.step-number {
    background: var(--black);
    padding: 16px;
    border-bottom: 4px solid var(--black);
}

.step-number span {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    color: var(--game-yellow);
}

.step-content {
    padding: 24px 20px;
}

.step h4 {
    font-size: 12px;
    color: var(--game-clay);
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== PRICING - Clean Style ===== */
.pricing {
    background-color: #f5f5f0;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.pricing-toggle span {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.pricing-toggle span.active {
    color: var(--black);
}

.toggle-switch {
    width: 48px;
    height: 24px;
    background: var(--black);
    border: 3px solid var(--black);
    cursor: pointer;
    position: relative;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: var(--white);
    transition: all 0.2s ease;
}

.toggle-switch.active::after {
    left: calc(100% - 16px);
}

.toggle-switch.active {
    background: var(--game-clay);
    border-color: var(--black);
}

.savings-badge {
    background: var(--game-grass);
    color: var(--white);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 10px;
    text-transform: uppercase;
}

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

/* Season Ticket Card */
.pricing-card {
    background: var(--white);
    border: 4px solid var(--black);
    box-shadow: var(--shadow-hard);
    position: relative;
    overflow: visible;
}

/* Clean header bar */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--game-yellow);
}

.pricing-card-inner {
    padding: 32px 28px 28px;
}

.pricing-card.featured {
    /* Same border as regular card, no orange glow */
    border-color: var(--black);
    box-shadow: var(--shadow-hard);
}

.pricing-card.featured::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--game-clay);
    color: var(--black);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border: 3px solid var(--black);
}

.pricing-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
    text-align: center;
}

.pricing-card .tier-desc {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.price {
    font-family: 'Press Start 2P', cursive;
    font-size: 32px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 8px;
}

.price .currency {
    font-size: 16px;
    vertical-align: super;
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.annual-note {
    font-size: 14px;
    color: var(--grass-green);
    font-weight: 700;
    text-align: center;
    margin-top: -16px;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    border-top: 2px dashed var(--black);
    padding-top: 20px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--grass-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-weight: 700;
    font-size: 12px;
}

/* ===== ABOUT HERO ===== */
.about-hero {
    background-color: var(--game-blue);
    background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 4px 4px;
    text-align: center;
    padding: 180px 24px 100px;
}

.about-hero h1 {
    font-size: clamp(18px, 3vw, 28px);
    color: var(--black);
    margin-bottom: 16px;
}

.about-hero .tagline {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    color: var(--text-dark);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== FOOTER - Game Orange ===== */
.footer {
    background: var(--game-clay);
    padding: 40px 24px;
    text-align: center;
    border-top: 4px solid var(--black);
    border-bottom: none;
}

.footer p {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--black);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .hero, .about-hero {
        padding: 140px 20px 80px;
    }
    
    .hero h1 {
        font-size: 18px;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background: var(--game-yellow);
        flex-direction: column;
        padding: 100px 24px 24px;
        z-index: 999;
        justify-content: flex-start;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        list-style: none;
    }
    
    .nav-links a {
        display: block;
        text-align: left;
        padding: 16px 0;
        font-size: 16px;
        text-decoration: none;
    }
    
    /* Prevent sticky hover on mobile */
    .nav-links a:hover {
        background: transparent;
    }
    
    .nav-links a.active {
        font-weight: 900;
        background: rgba(0, 0, 0, 0.1);
        padding-left: 12px;
        margin-left: -12px;
        padding-right: 12px;
    }
    
    .nav-links .btn {
        margin-top: 20px;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .features-grid,
    .pricing-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .price {
        font-size: 24px;
    }
    
    .pricing-card-inner {
        padding: 50px 20px 20px;
    }
    
    .logo {
        font-size: 14px;
    }
}
