:root {
    /* Brand Colors */
    --primary-blue: #00b4d8;
    --primary-blue-hover: #0096c7;
    --secondary-dark: #1a1f36;
    --bg-color: #ffffff;
    --section-bg: #f6f9fc;
    --card-bg: #ffffff;
    --text-dark: #101828;
    --text-muted: #475467;
    --border-color: #eaecf0;
    --success-green: #32d657;
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 24, 40, 0.1), 0 2px 4px -1px rgba(16, 24, 40, 0.06);
    --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ========================================= GLOBAL RESET & LAYOUT ========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

section {
    padding: 0;
}

/* Anchor Link Offset (Fix for Sticky Navbar) */
#how-it-works,
#offerings,
#about {
    scroll-margin-top: 120px;
}

/* Rounded Container Layout */
.floating-section {
    padding: 0;
    margin-top: 80px;
    margin-bottom: 80px;
}

.rounded-container {
    background-color: #f6f9fc;
    border-radius: 32px;
    margin: 40px auto;
    padding: 60px 40px;
    max-width: 1280px;
    width: calc(100% - 48px);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ========================================= NAVIGATION ========================================= */
/* ========================================= NAVIGATION ========================================= */
/* ========================================= NAVIGATION ========================================= */
.navbar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    /* Zero vertical padding for minimal height */
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    /* Slight min-height for clickable area comfortable */
}

.logo {
    height: 72px;
    /* Standard compact height */
    overflow: visible;
    /* Allow horizontal bleed for scaled text */
    display: flex;
    align-items: center;
    margin-right: 60px;
    /* Reserve space for the scaled-out text */
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transform: scale(1.7);
    /* Keep the zoom to hide whitespace */
    transform-origin: left center;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-text {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ========================================= HERO SECTION ========================================= */
.hero-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f9ff;
    color: var(--primary-blue-hover);
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #bae6fd;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-btns .btn {
    width: auto;
    padding: 14px 28px;
    font-size: 1.1rem;
}

.hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-image img.active {
    opacity: 1;
    z-index: 1;
}

/* ========================================= PARTNERS & FEATURES ========================================= */
.partners-section {
    padding: 60px 0 96px;
    text-align: center;
    background: white;
}

.partners-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 64px;
    align-items: center;
    flex-wrap: wrap;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.partner-item img {
    height: 64px;
    width: auto;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.partner-item img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* How It Works */
.how-it-works-section {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    text-align: center;
}

.step-card {
    padding: 24px;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Features Grid */
.features-section {
    background-color: white;
    padding: 96px 0;
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 64px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* About Us */
.about-section {
    padding: 100px 0;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.about-text p {
    font-size: 1.1rem;
    color: #475467;
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-features {
    list-style: none;
    margin-top: 32px;
}

.about-features li {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-dark);
    display: grid;
    grid-template-columns: 185px 1fr;
    /* Fixed width for labels */
    align-items: baseline;
    gap: 0;
}

.about-features li strong {
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.about-features li strong::before {
    content: "•";
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-features li::before {
    display: none;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* ========================================= PRICING SECTION ========================================= */
.pricing-header {
    background-color: transparent;
    text-align: center;
    padding: 0 0 40px !important;
    margin-top: 0 !important;
}

.pricing-header h1 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

#offerings .rounded-container {
    padding-top: 40px !important;
}

.pricing-cards {
    padding-bottom: 96px;
    background-color: var(--section-bg);
}

.cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px 32px;
    width: 100%;
    max-width: 350px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease,
        box-shadow 0.2s ease;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.card-audience {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 3rem;
}

.price .curr {
    font-size: 1.5rem;
    margin-right: 2px;
}

.price .freq {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 4px;
}

.minutes {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
    text-align: left;
}

.check {
    margin-right: 12px;
    color: var(--primary-blue);
    font-weight: bold;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1px solid rgba(0, 86, 179, 0.3);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    background-color: rgba(0, 86, 179, 0.05);
}

/* FAQ */
.faq-section {
    padding: 60px 0 100px;
    background-color: #f6f9fc;
    border-top: 1px solid var(--border-color);
}

.faq-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    width: 100%;
    background-color: #101828;
    color: #eaecf0;
    padding: 64px 0 48px;
    font-size: 0.95rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.brand-col {
    max-width: 300px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 12px;
}

.footer-tagline {
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.footer-desc {
    color: #98a2b3;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: #98a2b3;
    margin-bottom: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-divider {
    height: 1px;
    background: #344054;
    margin: 48px 0 32px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #667085;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    color: #98a2b3;
    text-decoration: none;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #fff;
}

/* ========================================= MOBILE RESPONSIVENESS ========================================= */
@media (max-width: 768px) {
    .rounded-container {
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding: 40px 20px;
    }

    .hero-section {
        padding: 24px 0 40px;
    }

    .hero-badge {
        margin-top: 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 24px;
        align-items: flex-start;
    }

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .features-grid,
    .steps-grid,
    .partners-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-header h2,
    .pricing-header h1,
    .about-text h2 {
        font-size: 2rem;
    }

    .hero-sub,
    .about-text p,
    .section-sub {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-container {
        justify-content: space-between;
    }

    .nav-actions {
        display: flex;
        gap: 8px;
    }

    .btn-text {
        display: none;
    }

    /* Mobile Pricing Carousel */
    .pricing-cards .cards-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 40px 20px 60px;
        scrollbar-width: none;
        justify-content: flex-start;
        align-items: stretch;
        position: relative;
    }

    .pricing-cards .cards-container::-webkit-scrollbar {
        display: none;
    }

    .card {
        width: auto;
        min-width: 75vw;
        scroll-snap-align: center;
        margin-bottom: 0;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .pricing-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: -20px;
        padding-bottom: 20px;
    }

    /* Arrows */
    .pricing-cards {
        position: relative;
    }

    .nav-arrow {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: white;
        border: 1px solid #eaecf0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        z-index: 100;
        font-size: 1.2rem;
        color: #00b4d8;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 40px;
        text-align: center;
    }

    .left-arrow {
        left: 10px;
    }

    .right-arrow {
        right: 10px;
    }
}

/* Global Pricing Dots (Hidden Desktop) */
.pricing-indicators {
    display: none;
}

@media (min-width: 769px) {
    .nav-arrow {
        display: none;
    }
}

.dot {
    background: #eaecf0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.dot.active {
    background: #00b4d8;
    width: 24px;
    border-radius: 4px;
}

/* ========================================= LEAD CAPTURE MODAL STYLES (CRITICAL) ========================================= */

/* 1. The Background Overlay (Floating & Blurred) */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Floats on top of the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 24, 40, 0.7);
    /* Dark overlay */
    backdrop-filter: blur(4px);
    /* Modern blur effect */
    z-index: 9999 !important;
    /* Sit on top of everything */
    align-items: center;
    justify-content: center;
}

/* 2. The Open State (Triggered by JS) */
.modal-overlay.open {
    display: flex !important;
}

/* 3. The Modal Box (Centered Card) */
.modal-content {
    background: white;
    width: 90%;
    max-width: 480px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: modalPop 0.3s ease-out forwards;
}

/* Pop Animation */
@keyframes modalPop {
    from {
        transform: scale(0.95) translateY(10px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* 4. Close Button (X) */
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f2f4f7;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: #667085;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-modal:hover {
    background: #eaecf0;
    color: #101828;
}

/* 5. Form Typography & Inputs */
.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 8px;
    text-align: center;
    /* Center the Title */
}

.modal-header p {
    color: #667085;
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
    text-align: center;
    /* Center the subtitle */
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #344054;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 1rem;
    color: #101828;
    background: white;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00b4d8;
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

/* =========================================
   AI CHATBOT WIDGET STYLES
   ========================================= */

/* 1. Container & Toggles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

/* 2. Floating Trigger Button */
.chat-trigger {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.chat-trigger:hover {
    transform: scale(1.05);
    background: var(--primary-blue-hover);
}

.chat-trigger svg {
    width: 28px;
    height: 28px;
}

/* 3. Chat Window (Hidden state handled by JS via display:none/block or class) */
.chat-window {
    background: white;
    width: 360px;
    height: 500px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    display: none;
    /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
    border: 1px solid #eaecf0;
}

.chat-window.open {
    display: flex;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Chat Header */
.chat-header {
    background: var(--primary-blue);
    padding: 16px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.chat-profile h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #32d657;
    border-radius: 50%;
    margin-right: 4px;
}

.close-chat {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
}

.close-chat:hover {
    opacity: 1;
}

/* 5. Messages Area */
.chat-messages {
    flex-grow: 1;
    padding: 16px;
    background: #f9fafb;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
}

.message.bot {
    align-self: flex-start;
    background: white;
    border: 1px solid #eaecf0;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}

.message.user {
    align-self: flex-end;
    background: var(--primary-blue);
    color: white;
    border-bottom-right-radius: 4px;
}

/* 6. Input Area */
.chat-input-area {
    padding: 12px;
    background: white;
    border-top: 1px solid #eaecf0;
    display: flex;
    gap: 8px;
}

#chat-input {
    flex-grow: 1;
    border: 1px solid #eaecf0;
    padding: 10px 14px;
    border-radius: 20px;
    outline: none;
    font-size: 0.95rem;
}

#chat-input:focus {
    border-color: var(--primary-blue);
}

#send-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#send-btn:hover {
    background: var(--primary-blue-hover);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .chat-window {
        position: fixed;
        top: auto;
        bottom: 80px;
        right: 10px;
        left: 10px;
        width: calc(100% - 20px);
        height: 60vh;
    }
}

/* ========================================= ANIMATIONS ========================================= */
@keyframes rainbow-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.rainbow-glow {
    position: relative !important;
    z-index: 10 !important;
    color: white !important;
    background: transparent !important;
    border: none !important;
    overflow: hidden !important;
    /* Clip to button shape */
    border-radius: 6px !important;
}

/* The Spinning Conic Gradient */
/* The Spinning Conic Gradient */
.rainbow-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vmax;
    /* Massive square: prevents stretching/gaps during rotation */
    height: 200vmax;
    background: conic-gradient(#ff0000,
            #ff7f00,
            #ffff00,
            #00ff00,
            #0000ff,
            #4b0082,
            #9400d3,
            #ff0000);
    z-index: -2;
    animation: rainbow-spin 2s linear infinite;
    opacity: 1;
    transition: opacity 1s ease-out;
}

/* The Solid Mask (Button Center) */
.rainbow-glow::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--primary-blue);
    border-radius: 4px;
    z-index: -1;
}

/* ========================================= ROI CALCULATOR ========================================= */
.roi-section {
    padding: 40px 0 80px;
}

.roi-container {
    background: #1a1f36;
    color: white;
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.roi-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.roi-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.roi-header p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.input-group {
    margin-bottom: 32px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.highlight-val {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

input[type=range] {
    width: 100%;
    height: 6px;
    background: #334155;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #1a1f36;
    box-shadow: 0 0 0 2px var(--primary-blue);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.roi-result-card {
    background: white;
    color: var(--text-dark);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.result-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.result-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ef4444;
    margin-bottom: 8px;
    line-height: 1;
}

.result-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .roi-container {
        padding: 40px 24px;
    }

    .roi-header h2 {
        font-size: 1.75rem;
    }

    .result-amount {
        font-size: 2.5rem;
    }
}

/* Fade Out State */
.rainbow-glow.fading::before {
    opacity: 0;
}

/* --- DYNAMIC ANIMATIONS --- */
/* 1. Scroll Reveal Base Styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Floating Icons (Breathing Effect) */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

.step-icon svg,
.feature-icon svg {
    animation: float 4s ease-in-out infinite;
}

.feature-card:nth-child(even) .feature-icon svg {
    animation-delay: 1s;
    /* Offset for natural feel */
}

/* 3. Button Sheen Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary:not(.rainbow-glow)::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: none;
}

.btn-primary:not(.rainbow-glow):hover::after {
    left: 100%;
    transition: 0.5s;
}

/* Auto-Sheen Animation every 8s */
@keyframes sheen {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

.btn-primary.animate-sheen:not(.rainbow-glow)::after {
    animation: sheen 3s infinite;
    animation-delay: 2s;
}

/* ========================================= STANDARD FULL-WIDTH FOOTER ========================================= */
.footer {
    width: 100% !important;
    margin: 0 !important;
    padding: 80px 0 48px !important;
    background: #1a1f36 !important;
    color: #eaecf0 !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: flex !important;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 64px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-divider {
    display: block !important;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 64px 0 32px;
}

.footer-col {
    flex: 1;
    min-width: 160px;
}

.footer-col h4 {
    color: white !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.footer-col a {
    color: #94a3b8 !important;
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white !important;
}

.footer-logo {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-desc {
    color: #94a3b8 !important;
    max-width: 320px;
    line-height: 1.6;
}

.footer-bottom {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    color: #64748b !important;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 0 !important;
    }

    .footer-top {
        flex-direction: column !important;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 24px;
        align-items: flex-start;
    }
}

/* ========================================= COOKIE CONSENT BANNER (PREMIUM) ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(26, 31, 54, 0.95);
    /* Dark Slate with Opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 99999;
    display: none;
    /* Hidden by default, toggled by JS */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-content p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    color: #cbd5e1;
    /* Light gray text */
}

.cookie-content a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.cookie-content a:hover {
    color: white;
    border-bottom-color: white;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translate(-50%, 100%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Mobile Responsiveness for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        padding: 32px 24px;
        animation: slideUpMobile 0.5s ease-out forwards;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 8px;
    }

    .cookie-actions .btn {
        flex: 1;
        text-align: center;
        justify-content: center;
    }

    @keyframes slideUpMobile {
        from {
            transform: translateY(100%);
        }

        to {
            transform: translateY(0);
        }
    }

    /* ========================================= TESTIMONIALS SECTION ========================================= */
    .testimonials-section {
        padding: 100px 0;
        background: white;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
    }

    .testimonial-card {
        background: #f9fafb;
        padding: 32px;
        border-radius: 16px;
        border: 1px solid #eaecf0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.2s;
    }

    .testimonial-card:hover {
        transform: translateY(-4px);
        border-color: #00b4d8;
        /* Primary Blue */
    }

    .stars {
        color: #fdb022;
        font-size: 1.2rem;
        margin-bottom: 16px;
        letter-spacing: 2px;
    }

    .quote {
        color: #101828;
        /* Dark Text */
        font-size: 1.05rem;
        line-height: 1.6;
        font-style: italic;
        margin-bottom: 24px;
    }

    .author {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .author-info strong {
        display: block;
        color: #101828;
        font-size: 0.95rem;
    }

    .author-info span {
        font-size: 0.85rem;
        color: #667085;
        /* Muted Text */
    }