/* Modern Index Page Styles */

/* Enhanced Hero Section */
.hero-modern {
    position: relative;
    padding: 6rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #1a3a5f 0%, #0c2a4a 100%);
    color: white;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(52, 152, 219, 0.2) 0%, transparent 30%),
                radial-gradient(circle at bottom left, rgba(231, 76, 60, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.hero-content-modern {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    padding: 2rem;
}

.hero-title-modern {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.hero-subtitle-modern {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn-hero-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.btn-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #e74c3c 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-hero-modern:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

.btn-hero-modern:hover::before {
    opacity: 1;
}

.btn-hero-modern i {
    transition: transform 0.3s ease;
}

.btn-hero-modern:hover i {
    transform: translateX(3px);
}

/* Enhanced Features Section with Aviation Backgrounds */
.features-modern {
    padding: 0;
    background: #0a0e27;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Statistics Bar */
.stats-bar {
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.95) 0%, rgba(12, 42, 74, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 3rem 1rem;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center group horizontally */
    align-items: stretch;
    gap: 1.5rem 2rem; /* row gap, column gap */
}

/* Tight, centered cards with consistent width */
.stat-item {
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    flex: 0 1 260px; /* target width ~260px, allows wrap and centering */
}

/* merged into definition above for consistent sizing and centering */

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.stat-label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #e74c3c;
    animation: pulse 2s infinite;
}

/* Centered circular icon styles for statistics bar */
.stats-bar .stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    margin: 0 auto 1rem;
    color: #e74c3c;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    position: relative;
    display: block; /* avoid flex baseline issues */
}

.stats-bar .stat-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* pixel-perfect centering */
    font-size: 30px;
    line-height: 1;
    margin: 0;
    padding: 0;
    display: block;
    width: 1em;
    height: 1em;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Section Title */
.section-title-modern {
    text-align: center;
    margin: 4rem 2rem 3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: white;
    position: relative;
    z-index: 5;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.section-title-modern::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #e74c3c);
    margin: 1.5rem auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

/* Asymmetrical Feature Grid */
.feature-grid-modern {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    position: relative;
    z-index: 5;
}

/* Background Layers */
.features-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(46, 204, 113, 0.15) 0%, transparent 50%);
    z-index: 1;
}

/* Animated Aviation Background Elements */
.aviation-bg-element {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.1;
    will-change: transform;
}

.plane-element {
    width: 60px;
    height: 40px;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA2MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMwIDBBMTAgMTAgMCAwIDAgMTAgMTBNMzAgNDBBMCAwIDAgMCAwIDQwIDQwSDEwQTAgMCAwIDAgMCAxMCA0MFoiIGZpbGw9IiNmZmYiLz4KPHBhdGggZD0iTTMwIDBBMTAgMTAgMCAwIDAgMTAgMTBNMzAgNDBBMCAwIDAgMCAwIDQwIDQwSDEwQTAgMCAwIDAgMCAxMCA0MFoiIGZpbGw9IiNmZmYiLz4KPHBhdGggZD0iTTMwIDBBMTAgMTAgMCAwIDAgMTAgMTBNMzAgNDBBMCAwIDAgMCAwIDQwIDQwSDEwQTAgMCAwIDAgMCAxMCA0MFoiIGZpbGw9IiNmZmYiLz4KPC9zdmc+') no-repeat center;
    background-size: contain;
    animation: flyAcross 15s linear infinite;
}

.cloud-element {
    width: 80px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    filter: blur(1px);
    animation: driftCloud 25s linear infinite;
}

.flight-path {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.4), transparent);
    animation: pathGlow 8s ease-in-out infinite;
}

@keyframes flyAcross {
    0% { transform: translateX(-100px) translateY(0) rotate(0deg); }
    25% { transform: translateX(25vw) translateY(-20px) rotate(5deg); }
    50% { transform: translateX(50vw) translateY(10px) rotate(-3deg); }
    75% { transform: translateX(75vw) translateY(-15px) rotate(2deg); }
    100% { transform: translateX(calc(100vw + 100px)) translateY(0) rotate(0deg); }
}

@keyframes driftCloud {
    0% { transform: translateX(-100px) translateY(0); }
    50% { transform: translateX(50vw) translateY(-30px); }
    100% { transform: translateX(calc(100vw + 100px)) translateY(0); }
}

@keyframes pathGlow {
    0%, 100% { opacity: 0; transform: scaleX(0.8); }
    50% { opacity: 0.6; transform: scaleX(1.2); }
}

/* Asymmetrical Feature Cards */
.feature-card-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    color: white;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: cardEntrance 0.8s ease-out forwards;
}

/* Grid Positioning for Asymmetrical Layout */
.feature-card-modern:nth-child(1) {
    grid-column: span 6;
    grid-row: span 1;
    animation-delay: 0.2s;
}

.feature-card-modern:nth-child(2) {
    grid-column: span 6;
    grid-row: span 1;
    animation-delay: 0.4s;
}

.feature-card-modern:nth-child(3) {
    grid-column: span 6;
    grid-row: span 1;
    animation-delay: 0.6s;
}

.feature-card-modern:nth-child(4) {
    grid-column: span 6;
    grid-row: span 1;
    animation-delay: 0.8s;
}

/* Card Entrance Animation */
@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Glassmorphism Effects */
.feature-card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    z-index: -1;
    transition: all 0.5s ease;
}

.feature-card-modern::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #3498db, #e74c3c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* Enhanced Hover Effects */
.feature-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card-modern:hover::before {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 100%);
}

.feature-card-modern:hover::after {
    transform: scaleX(1);
}

/* 3D Tilt Effect on Hover */
.feature-card-modern:hover .card-inner {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.card-inner {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.feature-icon-modern {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 50%;
    font-size: 2.2rem;
    color: #3498db;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.feature-icon-modern::after {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    animation: iconPulse 2s infinite;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.15) rotateY(360deg);
    background: rgba(52, 152, 219, 0.3);
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.5);
}

.feature-card-modern:hover .feature-icon-modern::after {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

.feature-card-modern h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature-card-modern:hover h3 {
    color: #3498db;
    transform: translateY(-3px);
}

.feature-card-modern p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.feature-card-modern:hover p {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Discord-themed community box */
.feature-card-modern-discord {
    background: linear-gradient(135deg, rgba(106, 113, 243, 0.3) 0%, rgba(88, 101, 242, 0.3) 100%);
    border: 1px solid rgba(88, 101, 242, 0.4);
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.2);
    color: white;
}

.feature-card-modern-discord::before {
    background: linear-gradient(135deg,
        rgba(106, 113, 243, 0.2) 0%,
        rgba(88, 101, 242, 0.1) 50%,
        rgba(106, 113, 243, 0.2) 100%);
}

.feature-card-modern-discord .feature-icon-modern {
    background: rgba(88, 101, 242, 0.3);
    color: #5865F2;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.feature-card-modern-discord:hover .feature-icon-modern {
    background: rgba(88, 101, 242, 0.4);
    color: white;
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.6);
}

.feature-card-modern-discord h3 {
    color: white;
}

.feature-card-modern-discord p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-card-modern-discord .discord-link {
    display: inline-block;
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    background: rgba(88, 101, 242, 0.3);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 1.5rem;
    border: 1px solid rgba(88, 101, 242, 0.4);
}

.feature-card-modern-discord .discord-link:hover {
    background: rgba(88, 101, 242, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.feature-card-modern-discord .discord-link i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.feature-card-modern-discord .discord-link:hover i {
    transform: translateX(3px);
}

.feature-card-modern-discord:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.4);
    border: 1px solid rgba(88, 101, 242, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 32px rgba(88, 101, 242, 0.2);
    }
    50% {
        box-shadow: 0 8px 32px rgba(88, 101, 242, 0.4);
    }
    100% {
        box-shadow: 0 8px 32px rgba(88, 101, 242, 0.2);
    }
}

/* Volanta-themed flight tracking box */
.feature-card-modern-volanta {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.3) 0%, rgba(13, 71, 161, 0.3) 100%);
    border: 1px solid rgba(30, 136, 229, 0.4);
    box-shadow: 0 8px 32px rgba(30, 136, 229, 0.2);
    color: white;
}

.feature-card-modern-volanta::before {
    background: linear-gradient(135deg,
        rgba(30, 136, 229, 0.2) 0%,
        rgba(13, 71, 161, 0.1) 50%,
        rgba(30, 136, 229, 0.2) 100%);
}

.feature-card-modern-volanta .feature-icon-modern {
    background: rgba(30, 136, 229, 0.3);
    color: #1e88e5;
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

.feature-card-modern-volanta:hover .feature-icon-modern {
    background: rgba(30, 136, 229, 0.4);
    color: white;
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.6);
}

.feature-card-modern-volanta h3 {
    color: white;
}

.feature-card-modern-volanta p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-card-modern-volanta .volanta-link {
    display: inline-block;
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    background: rgba(30, 136, 229, 0.3);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 1.5rem;
    border: 1px solid rgba(30, 136, 229, 0.4);
}

.feature-card-modern-volanta .volanta-link:hover {
    background: rgba(30, 136, 229, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

.feature-card-modern-volanta .volanta-link i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.feature-card-modern-volanta .volanta-link:hover i {
    transform: translateX(3px);
}

.feature-card-modern-volanta:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.4);
    border: 1px solid rgba(30, 136, 229, 0.6);
}

@keyframes volanta-pulse {
    0% {
        box-shadow: 0 8px 32px rgba(30, 136, 229, 0.2);
    }
    50% {
        box-shadow: 0 8px 32px rgba(30, 136, 229, 0.4);
    }
    100% {
        box-shadow: 0 8px 32px rgba(30, 136, 229, 0.2);
    }
}

/* Enhanced CTA Section */
.cta-section-modern {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #1a3a5f 0%, #0c2a4a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-modern::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    z-index: 0;
}

.cta-content-modern {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.cta-section-modern h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-section-modern p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn-cta-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.8rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cta-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #e74c3c 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-cta-modern:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

.btn-cta-modern:hover::before {
    opacity: 1;
}

.btn-cta-modern i {
    transition: transform 0.3s ease;
}

.btn-cta-modern:hover i {
    transform: translateX(3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-family: 'Open Sans', sans-serif;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Improvements */
@media (max-width: 1200px) {
    .feature-card-modern:nth-child(1) {
        grid-column: span 6;
        grid-row: span 2;
    }
    
    .feature-card-modern:nth-child(2) {
        grid-column: span 6;
        grid-row: span 1;
    }
    
    /* Additional Visual Enhancements */
    .floating-particle {
        position: fixed;
        pointer-events: none;
        z-index: 1;
        border-radius: 50%;
    }
    
    /* Enhanced Typography */
    .section-title-modern {
        background: linear-gradient(135deg, #ffffff 0%, #3498db 50%, #e74c3c 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-fill-color: transparent;
        background-size: 200% 200%;
        animation: gradientShift 3s ease-in-out infinite;
    }
    
    @keyframes gradientShift {
        0%, 100% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
    }
    
    /* Enhanced Statistics Animations */
    .stat-number {
        position: relative;
        overflow: hidden;
    }
    
    .stat-number::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
        animation: shimmer 2s infinite;
    }
    
    @keyframes shimmer {
        0% {
            left: -100%;
        }
        100% {
            left: 100%;
        }
    }
    
    /* Enhanced Icon Animations */
    .stat-icon {
        position: relative;
        overflow: hidden;
    }
    
    .stat-icon::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.6s ease;
    }
    
    .stat-item:hover .stat-icon::before {
        width: 120%;
        height: 120%;
        opacity: 0;
    }
    
    /* Enhanced Card Shadows */
    .feature-card-modern {
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 0 0 2px rgba(255, 255, 255, 0.05) inset;
    }
    
    /* Enhanced Hover States */
    .feature-card-modern:hover {
        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(52, 152, 219, 0.2) inset,
            0 0 0 2px rgba(52, 152, 219, 0.1) inset;
    }
    
    /* Performance Optimizations */
    .bg-layer {
        will-change: transform;
        contain: layout style paint;
    }
    
    .feature-card-modern {
        will-change: transform;
        contain: layout style paint;
    }
    
    .stat-item {
        will-change: transform opacity;
        contain: layout style paint;
    }
    
    /* Accessibility Improvements */
    @media (prefers-reduced-motion: reduce) {
        .feature-card-modern,
        .stat-item,
        .bg-layer {
            animation: none !important;
            transition: none !important;
        }
        
        .floating-particle {
            display: none;
        }
    }
    
    /* High Contrast Mode Support */
    @media (prefers-contrast: high) {
        .feature-card-modern {
            background: rgba(0, 0, 0, 0.9);
            border: 2px solid rgba(255, 255, 255, 0.8);
        }
        
        .feature-card-modern h3,
        .feature-card-modern p {
            color: white;
        }
    }
    
    .feature-card-modern:nth-child(3) {
        grid-column: span 6;
        grid-row: span 1;
    }
    
    .feature-card-modern:nth-child(4) {
        grid-column: span 6;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1.1rem;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .feature-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem 4rem;
    }
    
    .feature-card-modern:nth-child(1),
    .feature-card-modern:nth-child(2),
    .feature-card-modern:nth-child(3),
    .feature-card-modern:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .stats-container {
        justify-content: center;
        gap: 1.2rem 1.2rem;
    }
    .stat-item {
        flex: 0 1 46%;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-section-modern h2 {
        font-size: 2.2rem;
    }
    
    .cta-section-modern p {
        font-size: 1.1rem;
    }
    
    .features-modern,
    .cta-section-modern {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title-modern {
        font-size: 2rem;
    }
    
    .hero-modern {
        padding: 4rem 1rem;
    }
    
    .btn-hero-modern,
    .btn-cta-modern {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .stats-container {
        justify-content: center;
        gap: 1rem;
    }
    .stat-item {
        flex: 0 1 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-icon-modern {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .feature-card-modern h3 {
        font-size: 1.5rem;
    }
    
    .feature-card-modern p {
        font-size: 1rem;
    }
}
/* Final centering fixes for statistics bar */
.stats-bar .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Prevent hover ripple pseudo-element from shifting perceived center */
.stats-bar .stat-icon {
    overflow: visible;
    margin-left: auto;
    margin-right: auto;
}

.stats-bar .stat-icon::before {
    display: none !important;
}

/* Enforce absolute centering for the icon glyph */
.stats-bar .stat-icon i {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* Accessibility: Disable animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .aviation-bg-element {
        animation: none !important;
        opacity: 0.05 !important; /* Subtle static elements only */
    }

    .plane-element,
    .cloud-element,
    .flight-path {
        animation: none !important;
    }
}