@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    /* Brand Colors (extracted from logo/specification) */
    --bg-dark: #05070F;
    --primary-blue: #2E5EFF;
    --accent-violet: #7C3AED;
    --accent-cyan: #22D3EE;
    --text-white: #E5E9F5;
    --text-muted: #8B93A7;
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 6rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background gradient blobs & Starfield */
#starfield-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    pointer-events: none;
    overflow: hidden;
    filter: blur(100px);
    opacity: 0.6;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: blob-move 20s infinite alternate ease-in-out;
}

.blob-blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 94, 255, 0.15) 0%, transparent 80%);
    top: -10%;
    left: -10%;
}

.blob-violet {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 80%);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.blob-cyan {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 80%);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes blob-move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

/* Typography helper classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.2;
    font-weight: 700;
}

p {
    color: var(--text-muted);
}

.mono-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    display: inline-block;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Layout spacing */
.section {
    padding: var(--space-xl) 0;
    position: relative;
}

/* SVG circuit connector template */
.circuit-connector {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.circuit-path {
    stroke: url(#circuit-grad);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 20, 20;
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-violet));
    color: #fff;
    box-shadow: 0 4px 20px rgba(46, 94, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(46, 94, 255, 0.5), 0 0 15px rgba(34, 211, 238, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* --- GLASSMORPHISM CARDS --- */
.glass-card {
    background: rgba(11, 15, 25, 0.6);
    border-radius: 16px;
    padding: 2.2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

/* Thin gradient glow borders */
.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(46, 94, 255, 0.15), rgba(124, 58, 237, 0.1), rgba(34, 211, 238, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 94, 255, 0.15);
}

.glass-card:hover::before {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-violet), var(--accent-cyan));
}

/* Diagonal light-streak shimmer effect on hover */
.glass-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.1) 50%, transparent 55%);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    pointer-events: none;
    opacity: 0;
}

.glass-card:hover::after {
    animation: shimmer 1.2s ease-in-out forwards;
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translate(-30%, -30%) rotate(45deg); }
    100% { transform: translate(30%, 30%) rotate(45deg); }
}

/* Core visual Motif: Glowing Ring Arc Decor */
.glowing-arc-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(135deg, var(--primary-blue), var(--accent-violet), var(--accent-cyan)) border-box;
    filter: drop-shadow(0 0 20px rgba(46, 94, 255, 0.4));
    opacity: 0.08;
    pointer-events: none;
}

/* --- 1. NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(5, 7, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.navbar-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.navbar-brand span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-white);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.navbar-links a:hover {
    color: var(--accent-cyan);
}

.navbar-links a.active {
    color: var(--text-white);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-white);
}

@media(max-width: 992px) {
    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(5, 7, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .navbar-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
}

/* --- 2. HERO --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media(max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

.hero-content {
    max-width: 680px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span.glow {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subhead {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Hero Canvas wrapper */
.hero-canvas-container {
    width: 100%;
    height: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    max-height: 500px;
}

/* Hero stat strip */
.hero-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media(max-width: 640px) {
    .hero-stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-item .number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    display: block;
    line-height: 1.2;
}

.hero-stat-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* --- 3. THE PROBLEM --- */
.problem-section {
    background: rgba(5, 7, 15, 0.5);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media(max-width: 992px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

.problem-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 60, 60, 0.15);
    background: rgba(11, 15, 25, 0.4);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-visual-title {
    color: #FF5A79;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.problem-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.problem-icon {
    color: #FF5A79;
    font-size: 1.3rem;
    line-height: 1;
}

.problem-info h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.problem-info p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.problem-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: left;
    margin-bottom: 1.5rem;
}

.problem-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* --- 4. SERVICES --- */
.services-section {
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1.25rem;
}

.section-header p {
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media(max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(46, 94, 255, 0.1);
    border: 1px solid rgba(46, 94, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--accent-cyan);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-bullets {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-bullets li {
    font-size: 0.85rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-bullets li::before {
    content: "•";
    color: var(--accent-cyan);
    font-size: 1.2rem;
    line-height: 1;
}

/* --- 5. HOW IT WORKS --- */
.how-section {
    background: rgba(5, 7, 15, 0.3);
}

.timeline-container {
    position: relative;
    padding: 3rem 0;
}

/* horizontal timeline path */
.timeline-path-svg {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

@media(max-width: 900px) {
    .timeline-path-svg {
        display: none;
    }
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

@media(max-width: 900px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-grid::before {
        content: "";
        position: absolute;
        top: 0;
        left: 30px;
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, var(--primary-blue), var(--accent-violet));
        opacity: 0.3;
    }
}

.timeline-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: transparent;
    border-radius: 12px;
}

@media(max-width: 900px) {
    .timeline-card {
        display: flex;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
        padding-left: 0;
    }
}

.timeline-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #05070F;
    border: 2px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(46, 94, 255, 0.3);
    position: relative;
    z-index: 3;
    transition: var(--transition-smooth);
}

.timeline-card:hover .timeline-node {
    transform: scale(1.1);
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 0 30px var(--primary-blue);
}

@media(max-width: 900px) {
    .timeline-node {
        margin: 0;
        flex-shrink: 0;
    }
}

.timeline-text h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.timeline-text p {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* --- 6. WHY AUTOVIRA --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media(max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    padding: 2.2rem;
    background: rgba(11, 15, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.why-icon {
    font-size: 2.2rem;
    color: var(--accent-cyan);
    margin-bottom: 1.25rem;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --- 7. INTEGRATIONS MARQUEE --- */
.integrations-marquee {
    padding: 3rem 0;
    background: rgba(5, 7, 15, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: scroll-marquee 25s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.marquee-item::before {
    content: "•";
    color: var(--accent-cyan);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 8. RESULTS / CASE STUDIES --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media(max-width: 992px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

.result-card {
    display: flex;
    flex-direction: column;
}

.result-industry {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.result-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.result-metric-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(46, 94, 255, 0.05);
    border-left: 3px solid var(--primary-blue);
    border-radius: 4px;
}

.result-metric-box .metric {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
}

.result-metric-box .desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.result-bva {
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.result-bva strong {
    color: var(--text-white);
}

/* --- 9. TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media(max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    padding: 2.2rem;
}

.stars {
    color: #FBBF24;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quote {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    font-style: italic;
    color: var(--text-white);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.client-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.client-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.client-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- 10. PRICING --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    align-items: stretch;
}

@media(max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 20px 45px rgba(46, 94, 255, 0.2);
}

.pricing-card.featured::before {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    color: #05070F;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.price-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 2rem 0;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-cyan);
    font-weight: 700;
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
}

/* --- 11. FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 12px;
    background: rgba(11, 15, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active {
    border-color: rgba(46, 94, 255, 0.3);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --- 12. FINAL CTA / CONTACT --- */
.contact-section {
    background: rgba(5, 7, 15, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

@media(max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    max-width: 480px;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(46, 94, 255, 0.1);
    border: 1px solid rgba(46, 94, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.contact-detail-text h4 {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail-text p {
    font-size: 0.95rem;
    color: var(--text-white);
    margin: 0;
}

.contact-socials {
    display: flex;
    gap: 1rem;
}

.contact-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.contact-social-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.05);
    transform: translateY(-2px);
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    background: rgba(11, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 15px rgba(46, 94, 255, 0.25);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 0.75rem;
    border-radius: 6px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.form-status.error {
    display: block;
    background: rgba(255, 60, 60, 0.1);
    border: 1px solid rgba(255, 60, 60, 0.3);
    color: #ff3c3c;
}

/* Calendly Container */
.calendly-container {
    width: 100%;
    margin-top: 1.5rem;
    transition: var(--transition-smooth);
}

.hidden {
    display: none !important;
}

/* --- 13. FOOTER --- */
.footer {
    background: #030408;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media(max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-brand-link span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* Newsletter signup */
.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    background: rgba(11, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    font-size: 0.85rem;
}

.newsletter-input:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.newsletter-btn {
    padding: 0.65rem 1.2rem;
    border-radius: 6px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.newsletter-btn:hover {
    background: var(--accent-violet);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media(max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: var(--accent-cyan);
}

/* --- CHAT WIDGET CUSTOM --- */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-violet));
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(46, 94, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chat-toggle-btn:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 25px rgba(46, 94, 255, 0.6);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    border: 1px solid rgba(46, 94, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 1;
    transform: translateY(0);
}

@media(max-width: 480px) {
    .chat-window {
        width: calc(100vw - 60px);
        height: 480px;
    }
}

.chat-window.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.chat-header {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.chat-close-btn:hover {
    color: var(--text-white);
}

.chat-messages {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    padding: 0.8rem 1.1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    max-width: 85%;
    line-height: 1.5;
    word-break: break-word;
}

.ai-message {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border-bottom-left-radius: 4px;
    margin-right: auto;
}

.user-message {
    background: var(--primary-blue);
    color: #fff;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.chat-input-area {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-area input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-size: 0.88rem;
}

.chat-input-area input:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.chat-input-area button {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chat-input-area button:hover {
    background: var(--accent-violet);
}

/* --- AI Agent Details Pages Styles --- */
.agent-hero {
    padding: 140px 0 90px;
    position: relative;
    overflow: hidden;
}
.agent-hero .container {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 5rem;
    align-items: center;
}
@media (max-width: 991px) {
    .agent-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}
.agent-hero-text h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
    line-height: 1.12;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
}
.agent-hero-text p.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}
.agent-hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    background: radial-gradient(circle, rgba(34,211,238,0.06) 0%, transparent 70%);
}
.agent-canvas-container {
    width: 100%;
    height: 320px;
    position: relative;
    z-index: 2;
}
.agent-glass-panel {
    background: rgba(5, 7, 15, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    z-index: 3;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

/* 3D Parallax Tilt Effects */
.tilt-card {
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease;
    transform-style: preserve-3d;
}
.tilt-card-inner {
    transform: translateZ(40px);
}

/* Ticker Marquee styles */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(2, 3, 7, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.8rem 0;
}
.ticker-scroll {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee 45s linear infinite;
    gap: 4rem;
}
.ticker-scroll span {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255,255,255,0.18);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 2.5px;
}
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Benefits list */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2.2rem 0;
}
.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.08rem;
    margin-bottom: 1.25rem;
    color: var(--text-white);
    text-align: left;
}
.benefits-list li svg {
    margin-top: 5px;
    flex-shrink: 0;
}

/* Interactive Calculator */
.calc-section {
    padding: 110px 0;
    background: rgba(4, 5, 11, 0.6);
    position: relative;
}
.calc-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    padding: 3.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
@media (max-width: 768px) {
    .calc-container {
        padding: 1.8rem;
    }
}
.calc-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
}
@media (max-width: 991px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}
.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}
.calc-slider-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.calc-slider-header {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
}
.calc-slider-header span:nth-child(2) {
    color: var(--accent-cyan);
    font-weight: 700;
}
.calc-slider-box input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}
.calc-slider-box input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 12px var(--accent-cyan);
    transition: transform 0.15s ease;
}
.calc-slider-box input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}
.calc-outputs {
    background: linear-gradient(135deg, rgba(46,94,255,0.04), rgba(34,211,238,0.04));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    padding: 2.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.1rem;
}
.calc-row:last-child {
    border: none;
    padding: 0;
}
.calc-row span:nth-child(1) {
    color: var(--text-muted);
}
.calc-row span:nth-child(2) {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
}
.calc-net-glow {
    font-size: 2.3rem !important;
    color: var(--accent-cyan);
    text-shadow: 0 0 24px rgba(34,211,238,0.45);
}
.calc-roi-glow {
    color: var(--accent-neon) !important;
    text-shadow: 0 0 24px rgba(34,255,150,0.45);
}

/* Icons and Badges Grid */
.badges-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin: 3.5rem 0;
}
.badge-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 1.4rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 9px;
    max-width: 190px;
}
.badge-item span.title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.badge-item span.metric {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

/* Integrations directories */
.integrations-box {
    margin-top: 3.5rem;
}
.integrations-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 1.6rem;
    margin-top: 2.2rem;
}
.integration-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 18px;
    padding: 1.6rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    transition: var(--transition-smooth);
}
.integration-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}
.integration-icon {
    font-size: 2.4rem;
}
.integration-card span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- MEGA MENU & NAV-LINKS HEADER STYLES --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-cyan);
}

/* Mega Menu Trigger */
.mega-menu-trigger {
    position: relative;
    cursor: pointer;
}

.mega-menu-trigger:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega Menu Dropdown Box */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(11, 15, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 3rem;
    min-width: 550px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mega-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.mega-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.mega-col ul li a {
    font-size: 0.9rem;
    color: var(--text-muted) !important;
    transition: var(--transition-smooth);
}

.mega-col ul li a:hover {
    color: var(--accent-cyan) !important;
    padding-left: 5px;
}

