/* ======== GLOBAL & TYPOGRAPHY ======== */
:root {
    --primary-color: #00A9FF; /* Electric Cyan */
    --primary-rgb: 0, 169, 255;
    --secondary-color: #A076F9; /* Violet */
    --dark-navy: #0a192f;
    --light-navy: #112240;
    --text-light: #ccd6f6;
    --text-dark: #8892b0;
    --font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-navy);
    color: var(--text-light);
}

/* ======== KEYFRAME ANIMATIONS ======== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes backgroundPan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes neonGlow {
    0% { box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color); }
    100% { box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color); }
}

/* ======== GENERAL STYLING ======== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-outline-light {
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    color: var(--dark-navy);
    border-color: var(--primary-color);
}

/* ======== NAVBAR ======== */
.navbar {
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar-brand { font-weight: 700; }
.navbar-brand i { color: var(--primary-color); }
.nav-link { font-weight: 500; color: var(--text-light) !important; transition: color 0.3s; }
.nav-link:hover { color: var(--primary-color) !important; }

/* ======== HERO SECTION ======== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--dark-navy) 0%, #1c2e50 100%);
}
.hero-background-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15), transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.hero-section .container { z-index: 1; }
.animated-headline { animation: fadeInUp 1s ease forwards; }
.animated-subheadline { animation: fadeInUp 1s ease 0.3s forwards; opacity: 0; }
.animated-cta { animation: fadeInUp 1s ease 0.6s forwards; opacity: 0; }
.hero-image { animation: float 6s ease-in-out infinite; }
.hero-image-container { position: relative; }
.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

/* ======== FEATURES SECTION ======== */
.feature-card {
    background: rgba(17, 34, 64, 0.7); /* Glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}
.features .col-lg-4:nth-child(2) .feature-card { animation-delay: 0.2s; }
.features .col-lg-4:nth-child(3) .feature-card { animation-delay: 0.4s; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(var(--primary-rgb), 0.3);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* ======== HOW IT WORKS (TIMELINE) ======== */
.timeline-step {
    position: relative;
    padding-left: 30px;
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}
.timeline .col-lg-4:nth-child(2) { animation-delay: 0.2s; }
.timeline .col-lg-4:nth-child(3) { animation-delay: 0.4s; }
.step-badge {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
}
/* Timeline connector line */
@media (min-width: 992px) {
    .timeline-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 25px;
        left: 50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, var(--primary-color), rgba(var(--primary-rgb), 0));
        z-index: -1;
    }
}

/* ======== PARALLAX CTA SECTION ======== */
.cta-section {
    padding: 100px 0;
    background-image: url('1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(10, 25, 47, 0.8);
}
.cta-section .container { position: relative; }

/* ======== PRICING PLANS ======== */
.pricing-card {
    background: var(--light-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.pricing-card.featured {
    border-color: var(--primary-color);
    animation: neonGlow 3s infinite ease-in-out;
}
.featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--dark-navy);
    padding: 5px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.pricing-card ul li { margin-bottom: 1rem; }
.pricing-card ul li i { color: var(--primary-color); margin-right: 10px; }

/* ======== CONTACT FORM ======== */
.form-control {
    background-color: var(--light-navy);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
    background-color: var(--light-navy);
    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-dark); }
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
}

/* ======== FOOTER ======== */
.footer-dark { background-color: #061224; }
.footer-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-link:hover { color: var(--primary-color); }
.social-link {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}
.social-link:hover { color: var(--primary-color); transform: translateY(-3px); }

/* ======== SCROLL TO TOP BUTTON ======== */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
    transition: opacity 0.4s, transform 0.4s;
    z-index: 1000;
}
.scroll-to-top:hover { background-color: #008fdb; transform: scale(1.1); }