/**
 * RadioSky Landing Page Styles
 * Following NF-Lab aesthetic with gold/brown color scheme
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - NF-Lab Palette */
    --primary: #D4A574;           /* Bronze/gold accent */
    --primary-dark: #C9A571;
    --primary-light: #E4B584;
    --secondary: #8B7355;         /* Brown */
    --accent: #B8C5D6;            /* Light blue-gray */

    /* Background - Dark Gradient */
    --bg-dark-start: #1A1D23;
    --bg-dark-end: #0F1115;
    --bg-primary: #0F1115;
    --bg-secondary: rgba(45, 42, 39, 0.3);
    --bg-tertiary: rgba(45, 42, 39, 0.5);
    --bg-card: rgba(26, 29, 35, 0.6);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-tertiary: #6B7280;
    --text-accent: #D4A574;

    /* Borders */
    --border: #3A3733;
    --border-hover: #4A4743;
    --border-active: #D4A574;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-mono: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-mono);
    background: linear-gradient(180deg, var(--bg-dark-start) 0%, var(--bg-dark-end) 100%);
    min-height: 100vh;
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: 2px;
}

h1 { font-size: 2.5rem; letter-spacing: 6px; }
h2 { font-size: 2rem; letter-spacing: 4px; }
h3 { font-size: 1.5rem; letter-spacing: 3px; }
h4 { font-size: 1.25rem; letter-spacing: 2px; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; letter-spacing: 4px; }
    h2 { font-size: 1.75rem; letter-spacing: 3px; }
    h3 { font-size: 1.5rem; letter-spacing: 2px; }
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    line-height: 1.8;
}

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

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-large {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark-end);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 165, 116, 0.4);
    color: var(--bg-dark-end);
}

.btn-secondary {
    background: transparent;
    color: #E8E8E8;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 15px;
}

/* Compact nav CTAs: fit on one line, never wrap */
.nav-cta {
    padding: 9px 16px;
    font-size: 12px;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.nav-cta-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-cta-icon i {
    font-size: 13px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    letter-spacing: 4px;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(15, 17, 21, 0.98);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        box-shadow: var(--shadow-xl);
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    background: linear-gradient(180deg, rgba(15, 17, 21, 0.48) 0%, rgba(10, 12, 16, 0.52) 100%);
    color: var(--text-primary);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

.hero-video.loaded {
    opacity: 1;
}

/* Dark readability overlay sits above the video, below the content. */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(10, 12, 16, 0.55) 0%,
        rgba(10, 12, 16, 0.65) 60%,
        rgba(10, 12, 16, 0.8)  100%);
    pointer-events: none;
}

/* Keep the scanline pseudo on top of the overlay but below content. */
.hero.hero--video { background: var(--bg-primary); }
.hero.hero--video::before { z-index: 2; }
.hero.hero--video .hero-content { position: relative; z-index: 3; }
.hero.hero--video .hero-wave { z-index: 3; }

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(212, 165, 116, 0.03) 2px,
        rgba(212, 165, 116, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    letter-spacing: 8px;
    color: var(--text-primary);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
}

.gradient-text {
    display: block;
    color: var(--primary);
    margin-top: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 14px;
    margin-bottom: var(--spacing-xl);
    color: #E8E8E8;
    line-height: 1.8;
    letter-spacing: 1px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.hero-stats-compact {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.stat-item-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon-small {
    color: var(--primary);
    font-size: 1.2rem;
}

.stat-text-compact {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-separator {
    color: var(--text-tertiary);
}

.device-compatibility {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-tertiary);
    margin-top: var(--spacing-md);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-dark-end), transparent);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.about-card {
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

/* ===== NETWORK STATS SECTION ===== */
.network-stats {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

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

.map-container {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.map-placeholder {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--text-tertiary);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.ska-comparison {
    padding: var(--spacing-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.ska-comparison h3 {
    margin-bottom: var(--spacing-md);
}

.comparison-text {
    margin-bottom: var(--spacing-lg);
}

.comparison-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.comparison-item {
    padding: var(--spacing-lg);
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    min-width: 200px;
}

.comparison-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.comparison-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

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

.comparison-arrow {
    font-size: 2rem;
    color: var(--primary);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
    transition: width 1s ease-out;
}

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

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--spacing-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
}

.feature-list {
    margin-top: var(--spacing-sm);
    padding-left: var(--spacing-md);
}

.feature-list li {
    list-style: disc;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 var(--spacing-md);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.cta-note {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    letter-spacing: 4px;
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    font-size: 0.9rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ===== GO TO TOP BUTTON ===== */
.go-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg-dark-end);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.go-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
}

.skip-link:focus {
    position: fixed;
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    padding: 15px 25px;
    background: var(--primary);
    color: var(--bg-dark-end);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================================================
   COMPACT LAYOUT OVERRIDES
   Tighter padding across sections and cards so content fits smaller
   displays without each element dominating the viewport.
   ===================================================================== */

/* Tighter card padding throughout */
.about-card,
.feature-card,
.stat-card {
    padding: var(--spacing-md);
}

.about-card h3,
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.feature-card p,
.about-card p {
    font-size: 0.92rem;
    line-height: 1.55;
}

.card-icon,
.feature-icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
}

/* Grids: allow cards to be a touch narrower so 3-up works on 1280 */
.about-grid,
.features-grid {
    gap: var(--spacing-md);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.stats-grid {
    gap: var(--spacing-md);
    /* Always keep the four Distributed Radio Telescope Array stat cards on a
       single row on desktop; graceful fallback on narrower viewports below. */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Slim down big section vertical rhythm */
.about,
.network-stats,
.features {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

/* Map container: less padding so map itself gets more real estate */
.map-container {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.network-map {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0f1319;
}

@media (max-width: 768px) {
    .network-map { height: 320px; }
}

/* Leaflet marker styling (shared look with the app dashboard). */
.station-pin {
    position: relative;
    width: 18px;
    height: 18px;
    pointer-events: auto;
}
.station-pin__dot {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 2px rgba(15, 19, 25, 0.9), 0 0 10px rgba(212, 165, 116, 0.6);
}
.station-pin__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.55;
    animation: station-pin-pulse 2.4s ease-out infinite;
}
.station-pin--anchor .station-pin__dot {
    background: #70f3b2;
    box-shadow: 0 0 0 2px rgba(15, 19, 25, 0.9), 0 0 14px rgba(112, 243, 178, 0.85);
}
.station-pin--anchor .station-pin__pulse { border-color: #70f3b2; }

@keyframes station-pin-pulse {
    0%   { transform: scale(0.6); opacity: 0.8; }
    70%  { transform: scale(2.1); opacity: 0; }
    100% { transform: scale(2.1); opacity: 0; }
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: rgba(20, 24, 31, 0.95);
    color: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}
.leaflet-popup-content {
    margin: 10px 14px;
    font-family: var(--font-mono);
    font-size: 12px;
}
.station-popup__name {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.6px;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-size: 11px;
}
.station-popup__note { color: var(--text-secondary); margin-bottom: 4px; }
.station-popup__coords { color: var(--text-tertiary); font-size: 10.5px; }
.leaflet-control-attribution {
    background: rgba(15, 19, 25, 0.75) !important;
    color: var(--text-tertiary) !important;
    font-size: 10px;
}
.leaflet-control-attribution a { color: var(--primary) !important; }

/* Mobile: even tighter */
@media (max-width: 768px) {
    .about-card,
    .feature-card,
    .stat-card {
        padding: var(--spacing-sm);
    }

    .about,
    .network-stats,
    .features {
        padding: var(--spacing-xl) 0;
    }

    .about-card h3,
    .feature-card h3 {
        font-size: 1.02rem;
    }

    .feature-card p,
    .about-card p {
        font-size: 0.88rem;
    }

    .feature-list {
        font-size: 0.85rem;
    }
}
