/* Base Styles */
:root {
    --primary-color: #FFD166;
    --primary-hover: #F0B93B;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --bg-light: #0A3D91;
    --bg-white: rgba(255, 255, 255, 0.09);
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: linear-gradient(135deg, #0A3D91 0%, #062A66 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: rgba(255, 255, 255, 0.02); }

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #062A66;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #062A66;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #062A66;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
    background-color: var(--primary-color);
    color: #062A66;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-large:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-grid.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
}

/* Pricing */
.pricing .card-grid {
    align-items: center;
}

.price-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--primary-color);
    padding: 50px 30px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #062A66;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

.price-card h3 {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.price-card ul li {
    margin-bottom: 15px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.price-card ul li:last-child {
    border-bottom: none;
}

.price-card .btn {
    width: 100%;
}

/* Reviews */
.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-main) !important;
}

.review-author {
    font-weight: bold;
    color: var(--primary-color) !important;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-muted);
}

/* Page Content (for inner pages) */
.page-header {
    background: var(--bg-white);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-main);
}

.page-content {
    background: var(--bg-white);
    padding: 60px 40px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.page-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-content p, .page-content ul {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.page-content ul {
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Article List Grid 3x3 */
.article-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
}
.article-list li {
    margin-bottom: 0 !important;
    height: 100%;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .article-list {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr !important;
    }
    
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 10px;
    }
    
    .nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .price-card.popular {
        padding: 40px 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 14px 24px; /* Larger touch target */
    }
    
    .page-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

/* Aviation Background Animations */
.aviation-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -999;
    pointer-events: none;
    overflow: hidden;
    background: repeating-linear-gradient(115deg, transparent, transparent 139px, rgba(255, 255, 255, 0.05) 139px, rgba(255, 255, 255, 0.05) 140px);
}

.sky-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatGlow 30s infinite alternate ease-in-out;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    100% { transform: translate(-5%, 5%) scale(1.1); opacity: 1; }
}

.contrail {
    position: absolute;
    height: 1.5px;
    width: 30vw;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform-origin: left center;
    opacity: 0;
}

.contrail-1 { top: 15%; left: -50%; animation: shootTrail 11s linear infinite 0s; }
.contrail-2 { top: 45%; left: -50%; animation: shootTrail 13s linear infinite 5s; }
.contrail-3 { top: 75%; left: -50%; animation: shootTrail 16s linear infinite 9s; }

@keyframes shootTrail {
    0% { transform: rotate(14deg) translateX(0); opacity: 0; }
    20% { opacity: 0.7; }
    80% { opacity: 0.7; }
    100% { transform: rotate(14deg) translateX(150vw); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sky-glow, .contrail { animation: none !important; display: none; }
}

/* Accessibility & Semantic styles */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--primary-color, #FFD166);
    color: #062A66;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.2s;
    font-weight: bold;
    text-decoration: none;
}
.skip-link:focus { top: 0; }
*:focus-visible { outline: 2px solid var(--primary-color, #FFD166); outline-offset: 2px; }
section[id], h1[id], h2[id], h3[id] { scroll-margin-top: 80px; }
details summary { cursor: pointer; font-weight: bold; outline: none; }
details summary h4 { display: inline-block; margin-bottom: 0; }
details[open] summary { margin-bottom: 10px; border-bottom: 1px dashed var(--border-color); padding-bottom: 5px; }
