/* ======== GLOBAL & TYPOGRAPHY ======== */
:root {
    --primary-color: #0d6efd;
    --primary-rgb: 13, 110, 253;
    --dark-bg: #0B0F19;
    --light-bg: #111827;
    --glass-bg: rgba(17, 24, 39, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-light: #F9FAFB;
    --text-muted: #9CA3AF;
    --font-family: 'Sora', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-light);
}

/* ======== KEYFRAME ANIMATIONS ======== */
@keyframes backgroundPan {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.7);
    }
}

@keyframes iconPulse {
     0%, 100% { color: var(--primary-color); }
     50% { color: #fff; }
}

@keyframes avatarGlow {
     0%, 100% { box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5); }
     50% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.8); }
}


/* ======== GENERAL STYLING ======== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
     padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/* ======== NAVBAR ======== */
.navbar {
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}


/* ======== HERO SECTION ======== */
.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-background-animation {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--dark-bg), #1E293B, var(--dark-bg), var(--primary-color));
    background-size: 400% 400%;
    animation: backgroundPan 20s linear infinite;
    opacity: 0.2;
    z-index: -1;
}
.hero-headline { animation: zoomIn 1s ease-out forwards; }
.hero-subheadline { animation: fadeInUp 1s ease-out 0.5s forwards; opacity: 0; }
.hero-cta { animation: fadeInUp 1s ease-out 1s forwards; opacity: 0; }
.hero-cta .btn { animation: pulseGlow 3s infinite 1.5s; }


/* ======== FEATURE HIGHLIGHTS ======== */
.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
#features .row > div:nth-child(1) .feature-card { animation-delay: 0.5s; }
#features .row > div:nth-child(2) .feature-card { animation-delay: 0.7s; }
#features .row > div:nth-child(3) .feature-card { animation-delay: 0.9s; }

.feature-icon {
    font-size: 2.5rem;
    display: inline-block;
    animation: iconPulse 4s infinite ease-in-out;
}
#features .row > div:nth-child(2) .feature-icon { animation-delay: 0.5s; }
#features .row > div:nth-child(3) .feature-icon { animation-delay: 1s; }

/* ======== WHY CHOOSE US SECTION ======== */
.why-us-section {
    background-color: var(--light-bg);
    position: relative;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}
.stat-card {
    background: var(--glass-bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}
.why-us-section .stat-card:nth-child(1) { animation-delay: 0.5s; }
.why-us-section .stat-card:nth-child(2) { animation-delay: 0.7s; }

.why-us-image {
    opacity: 0;
    animation: zoomIn 1s ease-out 0.6s forwards;
}


/* ======== TESTIMONIALS SECTION ======== */
.testimonial-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}
#testimonials .row > div:nth-child(1) .testimonial-card { animation-delay: 0.5s; }
#testimonials .row > div:nth-child(2) .testimonial-card { animation-delay: 0.7s; }
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: avatarGlow 3s infinite ease-in-out;
}

/* ======== PRICING SECTION ======== */
.pricing-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}
#pricing .row > div:nth-child(1) .pricing-card { animation-delay: 0.5s; }
#pricing .row > div:nth-child(2) .pricing-card { animation-delay: 0.7s; }
#pricing .row > div:nth-child(3) .pricing-card { animation-delay: 0.9s; }

.pricing-card.featured {
    border-color: var(--primary-color);
    animation: fadeInUp 1s ease-out 0.7s forwards, pulseGlow 3s infinite 2s;
}
.pricing-card ul li i { color: var(--primary-color); margin-right: 10px; }


/* ======== FINAL CTA ======== */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}
@media (min-width: 768px) {
    .cta-form { flex-direction: row; }
}
.form-control {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 1.5rem 1rem;
}
.form-control:focus {
    background-color: var(--light-bg);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}
.form-floating > label { color: var(--text-muted); }


/* ======== FOOTER ======== */
.footer {
    background-color: #070A11;
    border-top: 1px solid var(--border-color);
}
.social-icon {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-left: 1rem;
    display: inline-block;
    animation: iconPulse 5s infinite;
    transition: color 0.3s ease;
}
.footer a:nth-child(2) { animation-delay: 0.5s; }
.footer a:nth-child(3) { animation-delay: 1s; }
.social-icon:hover { color: var(--primary-color); }

