/* Airport Operations Intelligence Platform - Shared Styles */

:root {
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3399FF;
    --secondary: #00C853;
    --accent: #FF6B00;
    --dark: #2d3748;
    --gray: #718096;
    --light: #f7fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

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

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 20px;
    animation: slideInDown 0.5s ease;
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.navbar-menu a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 180px 20px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/><path d="M0,350 Q300,250 600,350 T1200,350" stroke="rgba(255,255,255,0.05)" stroke-width="2" fill="none"/></svg>') center/cover;
    opacity: 0.3;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    margin: 10px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease 0.4s both;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 700;
    animation: fadeIn 1s ease;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease 0.2s both;
}

/* Grid Layouts */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Feature Cards */
.feature-card {
    padding: 40px;
    border-radius: 15px;
    background: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleY(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 100px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    animation: scaleIn 0.8s ease;
}

.stat-item h3 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Industries Section */
.industries-section {
    background: var(--light);
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}

.industry-tag {
    background: white;
    padding: 18px 35px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
}

.industry-tag:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 50px;
}

.tech-badge {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    color: #234e52;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: scale(1.08);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.1);
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 25px 0;
}

.price-period {
    font-size: 1.1rem;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    margin: 35px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 1.05rem;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255,255,255,0.2);
}

/* Testimonials */
.testimonial {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 30px 0;
    font-style: italic;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial p {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    line-height: 1.8;
}

.testimonial-author {
    margin-top: 25px;
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

footer h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

footer p {
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .hero {
        padding: 140px 20px 100px;
    }

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

    .hero p {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.bg-light { background: var(--light); }
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }
