:root {
    --primary-color: #2563eb;
    /* Royal Blue */
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    /* Amber */
    --dark-bg: #ffffff;
    /* Clean White */
    --light-bg: #f8fafc;
    /* Slate 50 */
    --text-primary: #1e293b;
    /* Slate 800 */
    --text-secondary: #64748b;
    /* Slate 500 */
    --card-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    /* Deepest Navy Gradient - Matching Logo */
    --hero-gradient: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
    background: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: var(--hero-gradient);
    color: white;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-trio-img {
    margin-top: -50px;
    max-width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s;
}

.hero-trio-img:hover {
    transform: translateY(-10px);
}

/* Client Strip */
.client-strip {
    padding: 60px 0;
    background: white;
}

.client-logo-img {
    opacity: 0.6;
    transition: opacity 0.3s;
    max-height: 50px;
}

.client-logo-img:hover {
    opacity: 1;
}

/* Feature Zig-Zag */
.feature-section {
    padding: 100px 0;
}

.feature-number {
    color: var(--accent-color);
    font-weight: 900;
    font-size: 1.5rem;
    background: rgba(15, 23, 42, 0.05);
    /* Navy tint */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    /* Sharper */
    margin-bottom: 20px;
}

.feature-card-img {
    border-radius: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s;
    background: white;
    padding: 20px;
}

.feature-card-img:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
}

/* Testimonials */
.testimonials-section {
    background: var(--light-bg);
    padding: 100px 0;
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    /* Create a sprite-like effect for the 3 avatars in one image */
    object-position: 0 0;
}

/* FAQ */
.faq-section {
    background: white;
    padding: 100px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border-radius: 16px !important;
    overflow: hidden;
}

.accordion-button {
    padding: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    background: var(--light-bg);
    color: var(--text-primary);
}

.accordion-button:not(.collapsed) {
    background: white;
    color: var(--accent-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

/* Download CTA */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-mockup {
    max-height: 400px;
    margin-top: 40px;
    margin-bottom: -100px;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.2));
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive & Mobile Optimization */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-section {
        text-align: center;
        padding: 120px 0 80px;
        clip-path: ellipse(200% 100% at 50% 0%);
        /* Flatter curve on mobile */
    }

    .hero-trio-img {
        width: 100% !important;
        /* Full width */
        margin-top: 20px;
    }

    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    .display-5 {
        font-size: 2.5rem;
        /* Smaller section titles */
    }

    .feature-section,
    .glass-grid {
        padding: 60px 0;
        /* Reduced padding */
    }

    /* Stack alternating features correctly */
    .feature-section .row.flex-row-reverse {
        flex-direction: row !important;
        /* Reset to normal stacking */
    }

    .feature-section .col-lg-6 {
        text-align: center;
        margin-bottom: 40px;
    }

    .feature-section .ps-lg-5,
    .feature-section .pe-lg-5 {
        padding: 0 !important;
    }

    .feature-number {
        margin: 0 auto 20px;
        /* Center feature icon */
    }

    .timeline-step {
        padding-left: 30px;
        /* Tighter timeline */
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Timeline (Features Page) */
.timeline-steps {
    position: relative;
    padding: 50px 0;
}

.timeline-step {
    position: relative;
    padding-bottom: 50px;
    padding-left: 50px;
    border-left: 3px solid rgba(15, 23, 42, 0.1);
}

.timeline-step:last-child {
    border-left: transparent;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 1);
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateX(10px);
}

/* Glass Cards (Security Page) */
.glass-grid {
    background: var(--primary-color);
    /* Navy Background for contrast */
    padding: 100px 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    color: white;
    transition: transform 0.3s, background 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.glass-card i {
    color: var(--accent-color) !important;
}

.bg-glow-2 {
    display: none;
    /* Remove old glow */
}