/* 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 */
.features-modern {
    padding: 6rem 1rem;
    background: #f8f9fa;
    position: relative;
}

.features-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, #f8f9fa, transparent);
    z-index: 0;
}

.section-title-modern {
    text-align: center;
    margin-bottom: 4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #1a3a5f;
    position: relative;
}

.section-title-modern::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #e74c3c);
    margin: 1rem auto;
    border-radius: 2px;
}

.feature-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card-modern {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.1);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    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.4s ease;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

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

.feature-icon-modern {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: #3498db;
    transition: all 0.4s ease;
    position: relative;
}

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

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1);
    background: rgba(52, 152, 219, 0.15);
    color: #1a3a5f;
}

.feature-card-modern:hover .feature-icon-modern::after {
    opacity: 1;
}

.feature-card-modern h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a3a5f;
    transition: color 0.3s ease;
}

.feature-card-modern:hover h3 {
    color: #e74c3c;
}

.feature-card-modern p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

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

.feature-card-modern-discord .feature-icon-modern {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.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.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.feature-card-modern-discord .discord-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-card-modern-discord .discord-link i {
    margin-right: 0.5rem;
}

.feature-card-modern-discord:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.3);
    border: 1px solid rgba(88, 101, 242, 0.5);
    animation: pulse 2s infinite;
}

@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, #1e88e5 0%, #0d47a1 100%);
    border: 1px solid rgba(30, 136, 229, 0.3);
    box-shadow: 0 8px 32px rgba(30, 136, 229, 0.2);
    color: white;
}

.feature-card-modern-volanta .feature-icon-modern {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.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.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.feature-card-modern-volanta .volanta-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-card-modern-volanta .volanta-link i {
    margin-right: 0.5rem;
}

.feature-card-modern-volanta:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.3);
    border: 1px solid rgba(30, 136, 229, 0.5);
    animation: volanta-pulse 2s infinite;
}

@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: 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;
    }
    
    .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;
    }
}