/* ============================================
   ISS ARISS Landing Page - Premium Styles
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: #1e293b;
    --bg-card-hover: #273449;

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-blue-dark: #1d4ed8;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-yellow: #eab308;

    --border-color: rgba(148, 163, 184, 0.15);
    --glass-bg: rgba(30, 41, 59, 0.7);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-blue);
    color: white;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: transform var(--transition-fast);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-title span:first-child {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.navbar-title span:last-child {
    font-size: 0.75rem;
    color: var(--accent-blue-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Single line navbar title */
.navbar-title-single {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--accent-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
}

.mobile-menu a:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .navbar-title {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 15, 26, 0.3) 0%,
            rgba(10, 15, 26, 0.1) 40%,
            rgba(10, 15, 26, 0.8) 80%,
            var(--bg-primary) 100%);
    z-index: 1;
}

/* Animated Stars Background */
.stars-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Shooting Stars Effect */
.shooting-stars-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shooting-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, white, transparent);
    border-radius: 50%;
    opacity: 0;
    animation: shootingStar var(--duration, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.shooting-star::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    border-radius: 50%;
}

@keyframes shootingStar {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-45deg);
    }

    5% {
        opacity: 1;
    }

    20% {
        opacity: 1;
        transform: translate(300px, 300px) rotate(-45deg);
    }

    21%,
    100% {
        opacity: 0;
        transform: translate(320px, 320px) rotate(-45deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 6rem 1.5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 9999px;
    color: var(--accent-blue-light);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    animation: orbit 4s linear infinite;
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.3;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   TRACKER SECTION
   ============================================ */
.tracker-section {
    padding: 5rem 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
}

.section-title svg {
    color: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.stats-bar {
    display: flex;
    gap: 1rem;
}

.stat-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-chip strong {
    color: var(--text-primary);
}

.tracker-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .tracker-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Map Container */
.map-container {
    position: relative;
    background: #0a192f;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    height: 450px;
}

/* Leaflet Map Styles */
.leaflet-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Override Leaflet default styles for dark theme */
.leaflet-container {
    background: #0a192f;
    font-family: var(--font-sans);
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: var(--shadow-card) !important;
}

.leaflet-control-zoom a {
    background: rgba(30, 41, 59, 0.9) !important;
    color: white !important;
    border: 1px solid var(--border-color) !important;
}

.leaflet-control-zoom a:hover {
    background: var(--accent-blue) !important;
}

.leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.6) !important;
    color: var(--text-muted) !important;
    font-size: 0.65rem !important;
}

.leaflet-control-attribution a {
    color: var(--accent-blue-light) !important;
}

.map-info-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
}

.map-info-overlay .live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.map-info-overlay .live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

.map-info-overlay .coord {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.map-legend {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 10;
    display: flex;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 600;
}

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

.legend-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: pulse 2s ease-in-out infinite;
}

.legend-line {
    width: 20px;
    height: 2px;
    border-top: 2px dashed var(--accent-yellow);
}

.map-wrapper {
    position: relative;
    width: 200%;
    height: 200%;
    left: -50%;
    top: -50%;
    cursor: grab;
    transition: transform 0.15s ease-out;
    transform-origin: center center;
}

.map-wrapper:active {
    cursor: grabbing;
}

/* Map Controls */
.map-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-control-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.map-control-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.map-control-btn svg {
    width: 18px;
    height: 18px;
}

.map-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* User Location Marker */
.user-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: none;
}

.user-marker .pulse {
    position: absolute;
    inset: -6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.user-marker .pin {
    position: absolute;
    inset: 0;
    background: var(--accent-green);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 10px var(--accent-green);
}

/* Visibility Indicator */
.visibility-good {
    color: var(--accent-green);
    font-weight: 600;
}

.visibility-none {
    color: var(--text-muted);
}

/* Location Status */
.location-status {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Success state for button */
.card-btn.success {
    background: var(--accent-green);
    cursor: default;
}

.card-btn.success:hover {
    transform: none;
    background: var(--accent-green);
}

.card-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Small loading spinner */
.loading-spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

.world-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(1) contrast(1.1);
}

.map-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ISS Marker */
.iss-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    transition: left 1s linear, top 1s linear;
    z-index: 5;
}

.iss-marker .ping {
    position: absolute;
    inset: -4px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.iss-marker .dot {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 50%;
    border: 3px solid var(--accent-blue);
    box-shadow: 0 0 20px var(--accent-blue);
}

.iss-crosshair-v,
.iss-crosshair-h {
    position: absolute;
    background: rgba(59, 130, 246, 0.2);
    pointer-events: none;
}

.iss-crosshair-v {
    width: 2px;
    height: 100px;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.iss-crosshair-h {
    height: 2px;
    width: 100px;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}

/* Trajectory SVG */
.trajectory-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Sidebar */
.tracker-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.next-pass-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.5), var(--bg-card));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    flex: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.card-header svg {
    color: var(--accent-blue-light);
}

.countdown-display {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.countdown-time {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, white, var(--accent-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--accent-blue-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0.5rem;
    font-weight: 600;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--accent-blue);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.card-btn:hover {
    background: var(--accent-blue-light);
    transform: translateY(-1px);
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
}

.info-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.info-card h4 svg {
    opacity: 0.7;
}

.info-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: var(--accent-blue-light);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-list .icon-wrapper {
    padding: 0.375rem;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 0.375rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.feature-list .icon-wrapper svg {
    width: 16px;
    height: 16px;
}

.feature-list span {
    color: var(--text-secondary);
}

.about-image {
    position: relative;
}

.about-image .glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 1rem;
    filter: blur(20px);
    opacity: 0.25;
    transition: opacity var(--transition-normal);
}

.about-image:hover .glow {
    opacity: 0.4;
}

.about-image .img-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    font-weight: 500;
}

/* ============================================
   FREQUENCIES SECTION
   ============================================ */
.frequencies-section {
    padding: 5rem 0;
    background: rgba(30, 41, 59, 0.3);
}

.frequencies-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.frequencies-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.frequencies-header p {
    color: var(--text-secondary);
}

.freq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.freq-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all var(--transition-normal);
}

.freq-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.freq-icon {
    display: inline-flex;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: background var(--transition-fast);
}

.freq-card:hover .freq-icon {
    background: rgba(59, 130, 246, 0.1);
}

.freq-icon svg {
    width: 32px;
    height: 32px;
}

.freq-icon.green svg {
    color: var(--accent-green);
}

.freq-icon.blue svg {
    color: var(--accent-blue);
}

.freq-icon.purple svg {
    color: var(--accent-purple);
}

.freq-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.freq-value {
    font-size: 1.75rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-blue-light);
    margin-bottom: 0.5rem;
}

.freq-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-card);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.freq-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   SSTV SECTION
   ============================================ */
.sstv-section {
    padding: 5rem 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.sstv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.sstv-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.sstv-image-wrapper img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    opacity: 0.9;
    filter: saturate(0.9) contrast(1.1);
}

/* Animated Scanlines - Slow Scan Effect */
.scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.15) 3px);
    pointer-events: none;
    z-index: 2;
}

/* Animated scan line that sweeps down */
.sstv-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(59, 130, 246, 0.3),
            rgba(255, 255, 255, 0.6),
            rgba(59, 130, 246, 0.3),
            transparent);
    z-index: 3;
    animation: scanSweep 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

@keyframes scanSweep {

    0%,
    100% {
        top: -4px;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    98% {
        top: 100%;
        opacity: 0;
    }
}

/* Static noise overlay */
.sstv-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* CRT glow effect */
.sstv-glow {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px rgba(59, 130, 246, 0.1);
    pointer-events: none;
    z-index: 4;
    border-radius: 1rem;
}

/* Vignette effect */
.sstv-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            transparent 50%,
            rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 5;
}

.sstv-mode-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 0.375rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-green);
    z-index: 10;
    animation: badgeBlink 3s ease-in-out infinite;
}

@keyframes badgeBlink {

    0%,
    90%,
    100% {
        opacity: 1;
    }

    95% {
        opacity: 0.5;
    }
}

.sstv-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.sstv-content>p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.sstv-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sstv-step {
    display: flex;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

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

/* ============================================
   ISS LIVE VIDEO SECTION
   ============================================ */
.live-video-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(30, 41, 59, 0.5) 100%);
}

.live-video-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.live-title-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.live-video-header h2 {
    font-size: 2rem;
    margin: 0;
}

.live-video-header p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.video-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.video-card.main-video {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), var(--bg-card));
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.25rem;
}

.video-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(100, 116, 139, 0.3);
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.video-badge.live {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
    animation: badgeBlink 2s ease-in-out infinite;
}

.video-badge.blue {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue-light);
}

.video-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.video-info h4 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.video-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-card.small .video-wrapper {
    padding-bottom: 56.25%;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    min-height: 150px;
}

.video-placeholder svg {
    color: var(--accent-blue-light);
    opacity: 0.6;
}

.stream-stats {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.stream-stats span {
    color: var(--accent-blue-light);
    font-size: 1.5rem;
    font-family: var(--font-mono);
}

.info-card-alt {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), var(--bg-card));
}

.stream-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.stream-notice svg {
    flex-shrink: 0;
    color: var(--accent-blue-light);
    margin-top: 0.125rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), var(--bg-secondary));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.cta-icon {
    display: inline-flex;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.cta-icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent-blue-light);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-content strong {
    color: var(--text-primary);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 9999px;
    transition: all var(--transition-normal);
}

.cta-btn:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #050810;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand svg {
    color: var(--accent-blue);
}

.footer-brand .highlight {
    color: var(--accent-blue);
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--accent-blue-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   LOADING STATE
   ============================================ */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-bar {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
    }

    .map-container {
        height: 350px;
    }

    .countdown-time {
        font-size: 2.5rem;
    }
}

/* ============================================
   RESOURCES SECTION
   ============================================ */
.resources-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.resources-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.resources-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.resources-header p {
    color: var(--text-secondary);
}

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

.resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.resource-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.resource-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.resource-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.75rem;
    color: var(--accent-blue-light);
}

.resource-icon svg {
    width: 22px;
    height: 22px;
}

.resource-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
}

.resource-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.resource-icon.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
}

.resource-card h3 {
    font-size: 1.125rem;
    margin: 0;
}

.resource-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-blue-light);
    transition: all var(--transition-fast);
}

.resource-link:hover {
    color: var(--accent-cyan);
}

.resource-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.resource-link:hover svg {
    transform: translateX(3px);
}

/* ISS Facts Card */
.iss-facts {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3), var(--bg-card));
    border-color: rgba(59, 130, 246, 0.2);
    grid-column: span 1;
}

@media (min-width: 768px) {
    .iss-facts {
        grid-column: span 2;
    }
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.fact-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
}

.fact-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent-blue-light);
    margin-bottom: 0.25rem;
}

.fact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}