@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #0b1845; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #da8334; 
}

/* Glassmorphism Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(11, 24, 69, 0.05);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

/* Hero Section Gradients and Animations */
.hero-gradient-1 {
    background: linear-gradient(135deg, #0b1845 0%, #1a2a6b 100%);
}

.hero-gradient-2 {
    background: linear-gradient(135deg, #121c38 0%, #0b1845 100%);
}

.slider-container {
    overflow: hidden;
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: #0b1845;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, transform 1.2s ease-out;
    transform: scale(1.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 10;
}

.slide-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.4s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Plan Cards Hover Effects */
.plan-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(11, 24, 69, 0.2);
}

.plan-card.premium:hover {
    box-shadow: 0 25px 50px -12px rgba(218, 131, 52, 0.3);
}

/* Specific elements */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #da8334, #f59e0b);
}

.bg-gradient-brand {
    background: linear-gradient(135deg, #0b1845, #1d3382);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

/* 3D Text Effects and Fiber Optic Classes */
.text-3d {
    text-shadow: 
        0px 2px 0px rgba(255,255,255,0.2), 
        0px 5px 0px rgba(0,0,0,0.15), 
        0px 10px 10px rgba(0,0,0,0.2),
        0px 20px 20px rgba(0,0,0,0.15);
}

.text-fiber-glow {
    color: #da8334;
    text-shadow: 0 0 10px rgba(218, 131, 52, 0.4), 0 0 20px rgba(218, 131, 52, 0.2), 0 0 40px rgba(218, 131, 52, 0.1);
}

.glow-box {
    box-shadow: 0 0 15px rgba(218, 131, 52, 0.3), inset 0 0 10px rgba(218, 131, 52, 0.1);
}

/* Glowing Fiber Lines Background */
.fiber-bg {
    position: relative;
    overflow: hidden;
}

.fiber-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(218, 131, 52, 0.05) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.fiber-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(218, 131, 52, 0.8), transparent);
    height: 2px;
    width: 200vw;
    z-index: 2;
    transform-origin: left;
    filter: drop-shadow(0 0 8px rgba(218, 131, 52, 0.8));
    animation: shootLine 6s infinite linear;
    pointer-events: none;
    opacity: 0;
}

.line-1 { top: 20%; left: -50%; transform: rotate(15deg); animation-delay: 0s; }
.line-2 { top: 60%; left: -50%; transform: rotate(-5deg); animation-delay: 2s; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.8), transparent); filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8)); }
.line-3 { top: 80%; left: -50%; transform: rotate(8deg); animation-delay: 4s; }
.line-4 { top: 30%; left: -50%; transform: rotate(-15deg); animation-delay: 1.5s; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.8), transparent); filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8)); }

@keyframes shootLine {
    0% { transform: translateX(0) scaleX(0.1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100vw) scaleX(1); opacity: 0; }
}

/* Hover group for buttons */
.btn-hover-fx {
    position: relative;
    overflow: hidden;
}

.btn-hover-fx::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.btn-hover-fx:hover::after {
    transform: translateY(0);
}
