/* ===============================================
   PERFECT LANDING PAGE ADDON STYLES
   Additional enhancements for 100% perfection
   =============================================== */

/* Enhanced Hero Title with Perfect Animation */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    margin-bottom: var(--space-xl) !important;
    color: white !important;
    position: relative !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    animation: heroTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
    filter: none !important;
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(60px) rotateX(-20deg);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        filter: blur(0);
    }
}

/* Perfect Country Roller with Advanced Effects */
.country-roller {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.5rem 1.5rem !important;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 25%, #60a5fa 50%, #3b82f6 75%, #2563eb 100%) !important;
    background-size: 400% 400% !important;
    border-radius: 50px !important;
    position: relative !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.5),
        0 0 60px rgba(59, 130, 246, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
    animation: 
        countryGradient 4s ease infinite,
        countryFloat 3s ease-in-out infinite !important;
    transform: translateZ(0) !important;
}

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

@keyframes countryFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.05); }
}

.country-roller::before {
    content: '' !important;
    position: absolute !important;
    top: -100% !important;
    left: -100% !important;
    width: 300% !important;
    height: 300% !important;
    background: linear-gradient(
        45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.5) 50%, 
        transparent 70%
    ) !important;
    animation: shimmerDeluxe 1.5s linear infinite !important;
    mix-blend-mode: overlay !important;
}

@keyframes shimmerDeluxe {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Perfect Button with Liquid Effect */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%) !important;
    background-size: 200% 200% !important;
    padding: 1.25rem 3rem !important;
    border-radius: 60px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 
        0 10px 40px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateZ(0) scale(1) !important;
}

.btn-primary::after {
    content: '' !important;
    position: absolute !important;
    inset: -2px !important;
    border-radius: 60px !important;
    padding: 2px !important;
    background: linear-gradient(45deg, #60a5fa, #3b82f6, #2563eb, #3b82f6, #60a5fa) !important;
    background-size: 300% 300% !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    opacity: 0 !important;
    transition: opacity 0.4s !important;
    animation: buttonBorderRotate 3s linear infinite !important;
}

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

.btn-primary:hover {
    transform: translateY(-6px) scale(1.08) !important;
    background-position: 100% 0 !important;
    box-shadow: 
        0 20px 60px rgba(59, 130, 246, 0.6),
        0 0 100px rgba(59, 130, 246, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.4),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3) !important;
}

.btn-primary:hover::after {
    opacity: 1 !important;
}

/* Perfect Glass Cards with Holographic Effect */
.feature-card-visual {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%),
        linear-gradient(135deg, transparent 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 32px !important;
    padding: 2.5rem !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 40px rgba(59, 130, 246, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateZ(0) scale(1) !important;
}

.feature-card-visual::before {
    content: '' !important;
    position: absolute !important;
    inset: -1px !important;
    border-radius: 32px !important;
    padding: 1px !important;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(59, 130, 246, 0.3),
        rgba(139, 92, 246, 0.3),
        rgba(34, 211, 238, 0.3),
        transparent
    ) !important;
    background-size: 300% 300% !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    opacity: 0 !important;
    transition: opacity 0.5s !important;
    animation: holographicBorder 4s linear infinite !important;
}

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

.feature-card-visual:hover {
    transform: translateY(-12px) scale(1.05) rotateX(5deg) !important;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 0 80px rgba(59, 130, 246, 0.3),
        0 0 120px rgba(139, 92, 246, 0.2),
        inset 0 3px 6px rgba(255, 255, 255, 0.2),
        inset 0 -3px 6px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
}

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

/* Perfect Icon with 3D Effect */
.feature-icon-wrapper {
    width: 90px !important;
    height: 90px !important;
    margin: 0 auto 1.5rem !important;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%) !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateZ(20px) rotateX(0deg) rotateY(0deg) !important;
    transform-style: preserve-3d !important;
}

.feature-icon-wrapper::before {
    content: '' !important;
    position: absolute !important;
    inset: -20px !important;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%) !important;
    opacity: 0 !important;
    transition: opacity 0.5s !important;
    filter: blur(20px) !important;
}

.feature-card-visual:hover .feature-icon-wrapper {
    transform: translateZ(30px) rotateX(-10deg) rotateY(10deg) scale(1.15) !important;
    box-shadow: 
        0 20px 50px rgba(59, 130, 246, 0.5),
        inset 0 3px 6px rgba(255, 255, 255, 0.4),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3) !important;
}

.feature-card-visual:hover .feature-icon-wrapper::before {
    opacity: 1 !important;
}

/* Enhanced Section Titles */
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
    font-weight: 900 !important;
    background: linear-gradient(
        135deg,
        #3b82f6 0%,
        #60a5fa 20%,
        #8b5cf6 40%,
        #3b82f6 60%,
        #60a5fa 80%,
        #8b5cf6 100%
    ) !important;
    background-size: 300% 300% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center !important;
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
    animation: gradientShift 5s ease infinite !important;
    filter: drop-shadow(0 2px 10px rgba(59, 130, 246, 0.3)) !important;
}

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

.section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 120px !important;
    height: 5px !important;
    background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, #3b82f6, transparent) !important;
    border-radius: 3px !important;
    animation: titleUnderlineGlow 2s ease-in-out infinite !important;
}

@keyframes titleUnderlineGlow {
    0%, 100% { 
        width: 120px;
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }
    50% { 
        width: 160px;
        opacity: 1;
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
    }
}

/* Perfect Urgency Strip */
.urgency-strip {
    background: linear-gradient(
        90deg,
        #dc2626 0%,
        #f59e0b 25%,
        #dc2626 50%,
        #f59e0b 75%,
        #dc2626 100%
    ) !important;
    background-size: 400% 100% !important;
    padding: 1.25rem 0 !important;
    box-shadow: 
        0 4px 20px rgba(220, 38, 38, 0.4),
        0 0 40px rgba(245, 158, 11, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
    animation: urgencyFlow 8s linear infinite !important;
    position: relative !important;
    overflow: hidden !important;
}

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

.urgency-strip::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    ) !important;
    animation: urgencyShine 2s ease-in-out infinite !important;
}

@keyframes urgencyShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Perfect FAQ Items */
.faq-item {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%),
        linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.05) 100%) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
    border-radius: 20px !important;
    margin-bottom: 1.5rem !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

.faq-item:hover {
    transform: translateY(-4px) scale(1.02) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 
        0 12px 40px rgba(59, 130, 246, 0.15),
        0 0 60px rgba(59, 130, 246, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8) !important;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 1) 100%),
        linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.1) 100%) !important;
}

/* Enhanced Mobile Responsive Perfection */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }
    
    .country-roller {
        padding: 0.4rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .btn-primary {
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .feature-card-visual {
        padding: 2rem !important;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem) !important;
    }
}

/* Loading Animation Overlay */
@keyframes pageLoadPerfect {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

body {
    animation: pageLoadPerfect 1s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    width: var(--scroll-progress, 0%);
    z-index: 9999;
    animation: scrollGradient 3s ease infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

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