/* K-NOTAM API - DevExpress Inspired Professional Design */

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

:root {
    /* Professional Color Palette - No Purple */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8556;
    --secondary: #1B2838;
    --secondary-light: #2A3F54;
    --accent: #00B4D8;
    --accent-dark: #0096B4;

    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Neutral Grays */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Design Tokens */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

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

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

/* Performance Optimizations for Core Web Vitals */
/* Content visibility for below-fold sections - improves LCP */
/* Note: coverage-section excluded due to Mapbox GL JS compatibility */
.features-section,
.docs-section,
.pricing-section,
.contact-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

/* Reduce layout shifts - CLS optimization */
.hero {
    min-height: 600px;
}

.header {
    height: 72px;
}

/* Will-change for smoother animations */
.fade-in,
.slide-up {
    will-change: opacity, transform;
}

/* Optimized animations with reduced motion support */
@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;
    }
}

/* Hardware acceleration for smooth scrolling */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-400);
    color: var(--gray-600);
}

/* Hero section outline button - white text for dark background */
.hero .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
}

.hero .btn-outline:hover {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-header {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Header */
.header {
    background: var(--secondary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--gray-800) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.15);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Highlights */
.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-300);
    font-size: 0.95rem;
    font-weight: 500;
}

.highlight-item svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Coverage Section */
.coverage-section {
    padding: 100px 0;
    background: white;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.coverage-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.coverage-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.coverage-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.coverage-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.coverage-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.coverage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coverage-tags .tag {
    display: inline-block;
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.coverage-tags .tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.coverage-tags .tag.more {
    background: var(--gray-100);
    color: var(--gray-500);
    font-style: italic;
}

.coverage-tags .tag.highlight {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    color: var(--primary);
    font-weight: 600;
}

/* Coverage Block - New Infographic Styles */
.coverage-block {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.coverage-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.coverage-block-title svg {
    color: var(--primary);
}

/* Coverage Row - Side by Side Layout */
.coverage-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.coverage-col {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.coverage-col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.coverage-col-title svg {
    color: var(--primary);
}

/* Mapbox Airport Map */
.airport-mapbox {
    width: 100%;
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-legend-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.map-legend-inline span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-marker {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.legend-marker.intl {
    background: var(--primary);
}

.legend-total {
    margin-left: auto;
    font-weight: 600;
}

.legend-total strong {
    color: var(--primary);
}

/* Compact NOTAM Cards */
.notam-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.notam-compact-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 14px;
    transition: var(--transition);
    border-left: 3px solid var(--gray-300);
}

.notam-compact-card.intl { border-left-color: #2c5282; }
.notam-compact-card.domestic { border-left-color: #285e61; }
.notam-compact-card.airspace { border-left-color: #6b46c1; }
.notam-compact-card.enroute { border-left-color: #975a16; }

.notam-compact-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.notam-compact-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.notam-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--gray-100);
    color: var(--gray-600);
}

.notam-compact-card.intl .notam-badge { background: #ebf8ff; color: #2c5282; }
.notam-compact-card.domestic .notam-badge { background: #e6fffa; color: #285e61; }
.notam-compact-card.airspace .notam-badge { background: #faf5ff; color: #6b46c1; }
.notam-compact-card.enroute .notam-badge { background: #fffaf0; color: #975a16; }

.notam-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.notam-compact-sample {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 6px;
    padding: 6px 8px;
    background: var(--gray-50);
    border-radius: 4px;
}

.notam-compact-sample code {
    color: var(--primary);
    font-weight: 600;
}

.notam-compact-card p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* NOTAM Types Grid */
.notam-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.notam-type-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.notam-type-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.notam-type-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
}

.notam-type-header.intl { background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%); }
.notam-type-header.domestic { background: linear-gradient(135deg, #234e52 0%, #285e61 100%); }
.notam-type-header.airspace { background: linear-gradient(135deg, #553c9a 0%, #6b46c1 100%); }
.notam-type-header.enroute { background: linear-gradient(135deg, #744210 0%, #975a16 100%); }

.notam-type-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.notam-type-header h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.notam-sample {
    padding: 16px;
    background: var(--gray-50);
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.75rem;
    line-height: 1.6;
}

.notam-code {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--gray-300);
}

.notam-content {
    color: var(--gray-600);
}

.notam-field {
    color: var(--accent);
    font-weight: 600;
}

.notam-type-desc {
    padding: 12px 16px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-200);
}

/* Series Grid */
.series-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.series-card {
    position: relative;
    flex: 1;
    min-width: 140px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.series-letter {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.series-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.series-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 260px;
    background: var(--secondary);
    color: white;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow-xl);
}

.series-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--secondary);
}

.series-tooltip strong {
    display: block;
    color: var(--primary-light);
    margin-bottom: 6px;
}

.series-card:hover .series-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}

/* Timeline Compact */
.timeline-compact {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
}

.timeline-visual {
    margin-bottom: 20px;
}

.timeline-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    position: relative;
    margin-bottom: 8px;
}

.timeline-fill {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    border-radius: 4px;
    transition: width 0.4s ease;
}

.timeline-markers {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.timeline-buttons {
    display: flex;
    gap: 10px;
}

.tl-btn {
    flex: 1;
    padding: 12px 16px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.tl-btn:hover {
    background: var(--gray-200);
}

.tl-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Spatial Filter Container */
.spatial-filter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.spatial-map-wrapper {
    position: relative;
}

.spatial-mapbox {
    width: 100%;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.spatial-controls {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.spatial-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.spatial-btn:hover {
    background: var(--gray-50);
}

.spatial-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.spatial-btn svg {
    width: 14px;
    height: 14px;
}

.spatial-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spatial-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    opacity: 0.5;
    transition: var(--transition);
}

.spatial-card.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.spatial-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 0 0 10px;
}

.spatial-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0 0 12px;
}

.spatial-card strong {
    color: var(--primary);
}

.spatial-example {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.example-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
}

.example-coords {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.8rem;
    color: var(--secondary);
}

/* Mapbox Custom Markers */
.map-marker {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.map-marker.intl {
    background: var(--primary);
    width: 28px;
    height: 28px;
}

.map-marker:hover {
    transform: scale(1.2);
    z-index: 10;
}

.map-marker .marker-code {
    display: none;
}

.map-marker:hover .marker-code {
    display: block;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.mapboxgl-popup-content {
    padding: 10px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mapboxgl-popup-content strong {
    color: var(--primary);
}

/* Responsive for Coverage Blocks */
@media (max-width: 968px) {
    .coverage-row {
        grid-template-columns: 1fr;
    }

    .spatial-filter-container {
        grid-template-columns: 1fr;
    }
}

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

    .series-grid {
        flex-wrap: wrap;
    }

    .series-card {
        min-width: calc(50% - 8px);
    }

    .series-tooltip {
        width: 200px;
        font-size: 0.75rem;
    }

    .timeline-buttons {
        flex-wrap: wrap;
    }

    .tl-btn {
        flex: 1 1 calc(50% - 5px);
    }

    .map-legend-inline {
        flex-wrap: wrap;
        gap: 12px;
    }

    .legend-total {
        margin-left: 0;
        width: 100%;
    }
}

/* Statistics Section */
.statistics-section {
    padding: 100px 0;
    background: white;
}

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

.stats-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.stat-card-large {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border: none;
    color: white;
}

.stat-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.stat-icon.live {
    background: var(--success);
    position: relative;
}

.live-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.stat-icon.active {
    background: var(--success);
}

.stat-icon.expired {
    background: var(--gray-400);
}

.stat-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: inherit;
}

.stat-card-large .stat-title {
    color: var(--gray-300);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-card-large .stat-value {
    color: white;
}

.stat-footer {
    margin-top: 16px;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-change.positive {
    color: var(--success);
}

.stat-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-top: 16px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.stat-bar-fill.active-bar {
    background: var(--success);
}

.stat-bar-fill.expired-bar {
    background: var(--gray-400);
}

.stats-breakdown {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
}

.stats-breakdown h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.breakdown-item:hover {
    border-color: var(--primary);
}

.breakdown-item.skeleton {
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

@keyframes skeletonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.breakdown-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.breakdown-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Documentation Section */
.docs-section {
    padding: 100px 0;
    background: white;
}

.docs-content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
}

.docs-sidebar h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.docs-sidebar .endpoint-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.docs-sidebar .endpoint-list li {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.docs-sidebar .endpoint-list li:hover,
.docs-sidebar .endpoint-list li.active {
    background: white;
    color: var(--secondary);
    font-weight: 600;
}

.docs-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.code-example {
    background: var(--secondary);
    border-radius: var(--radius);
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
}

.copy-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gray-400);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.code-example pre {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
}

.code-example code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #E2E8F0;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.pricing-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.pricing-header p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.pricing-price {
    margin: 24px 0;
    padding: 24px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.price-period {
    font-size: 1rem;
    color: var(--gray-400);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

.trial-notice {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px 32px;
    max-width: 600px;
    margin: 0 auto;
}

.trial-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.trial-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.trial-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 16px 0;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--primary);
    background: white;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

.cta-card {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 48px;
    border-radius: var(--radius-lg);
    color: white;
}

.cta-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 1rem;
    color: var(--gray-300);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--secondary);
    padding: 60px 0 32px;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

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

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

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

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

    .stats-main {
        grid-column: span 2;
        flex-direction: row;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
    }
}

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

    .btn-header {
        display: none;
    }

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

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-description br {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

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

    .highlight-item {
        font-size: 0.85rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

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

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

    .stats-main {
        flex-direction: column;
        grid-column: auto;
    }

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

    .docs-content {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .trial-notice {
        flex-direction: column;
        text-align: center;
    }
}
