/* ===== PREMIUM HERO BOTTOM CURVE ===== */

/* Remove old divider */
.luxury-divider {
    display: none;
}

/* Premium Curved Bottom for Hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 150px;
    background: #ffffff;
    clip-path: ellipse(100% 100% at 50% 100%);
    z-index: 4;
}

/* Alternative Wave Design */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
    filter: drop-shadow(0 -5px 15px rgba(212, 175, 55, 0.1));
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 -5px 15px rgba(212, 175, 55, 0.1));
    }
    50% {
        filter: drop-shadow(0 -8px 25px rgba(212, 175, 55, 0.2));
    }
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    animation: waveAnimation 8s ease-in-out infinite;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-10px) translateY(-3px);
    }
    50% {
        transform: translateX(0) translateY(-5px);
    }
    75% {
        transform: translateX(10px) translateY(-3px);
    }
}

.hero-wave .shape-fill {
    fill: #ffffff;
    animation: fillPulse 6s ease-in-out infinite;
}

@keyframes fillPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

/* Premium Stats Section After Hero */
.premium-stats-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.premium-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 84, 144, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

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

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(212, 175, 55, 0.3);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover .stat-icon::before {
    opacity: 1;
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* Premium Features Section */
.premium-features-section {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.premium-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.features-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.features-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(212, 175, 55, 0.3);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f4d03f 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Decorative Elements */
.decorative-anchor {
    position: absolute;
    font-size: 15rem;
    color: rgba(212, 175, 55, 0.03);
    z-index: 1;
    pointer-events: none;
}

.decorative-anchor.left {
    top: 50%;
    left: -5%;
    transform: translateY(-50%) rotate(-15deg);
}

.decorative-anchor.right {
    top: 50%;
    right: -5%;
    transform: translateY(-50%) rotate(15deg);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero::after {
        height: 100px;
    }
    
    .hero-wave svg {
        height: 80px;
    }
    
    .premium-stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features-header h2 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .decorative-anchor {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero::after {
        height: 60px;
    }
    
    .hero-wave svg {
        height: 60px;
    }
    
    .premium-stats-section {
        padding: 2rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-header h2 {
        font-size: 2rem;
    }
    
    .premium-features-section {
        padding: 3rem 0;
    }
}

/* AOS Animation Overrides for Premium Feel */
[data-aos="premium-fade-up"] {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease;
}

[data-aos="premium-fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="premium-scale"] {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease;
}

[data-aos="premium-scale"].aos-animate {
    transform: scale(1);
    opacity: 1;
}
