/* ═══════════════════════════════════════════
   ZENOVATE — Premium AI Agency Landing Page
   Glass Morphism Design System — Roboto
   ═══════════════════════════════════════════ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #04040f;
    --cyan: #00f5ff;
    --violet: #7c3aed;
    --rose: #ff6b9d;
    --white: #ffffff;
    --text: rgba(255, 255, 255, 0.85);
    --text-dim: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --radius: 20px;
    --font-body: 'Roboto', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 100px 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--violet), var(--rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
}

/* ── FLOATING ORBS ── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--violet);
    top: -200px;
    left: -200px;
    animation: orbDrift1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--cyan);
    top: 40%;
    right: -150px;
    animation: orbDrift2 25s ease-in-out infinite;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: var(--rose);
    bottom: -100px;
    left: 30%;
    animation: orbDrift3 22s ease-in-out infinite;
}

@keyframes orbDrift1 {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(80px, 60px)
    }
}

@keyframes orbDrift2 {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(-60px, -80px)
    }
}

@keyframes orbDrift3 {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(50px, -50px)
    }
}

/* ── TICKER ── */
.ticker {
    width: 100%;
    height: 36px;
    background: linear-gradient(90deg, var(--violet), var(--cyan));
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

.ticker-track span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--white);
    padding: 0 28px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(4, 4, 15, 0.4);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    transform: translateY(-120%);
    animation: navSlideDown 0.8s 0.3s ease forwards;
}

.navbar.scrolled {
    background: rgba(4, 4, 15, 0.75);
    backdrop-filter: blur(40px) saturate(220%);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 245, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes navSlideDown {
    to {
        transform: translateY(0);
    }
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.3s;
    font-weight: 500;
}

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

.btn-cta {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
    border: 1px solid var(--cyan);
    background: rgba(0, 245, 255, 0.08);
    color: var(--cyan);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    background: rgba(0, 245, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    color: var(--cyan);
}

.hero h1 {
    font-family: var(--font-body);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-dim);
    margin-bottom: 40px;
    min-height: 30px;
}

.hero-subtitle .typewriter {
    color: var(--cyan);
    font-weight: 600;
    border-right: 2px solid var(--cyan);
    padding-right: 4px;
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        border-color: var(--cyan)
    }

    50% {
        border-color: transparent
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    color: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    animation: glowPulse 2s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.4);
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.2)
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 245, 255, 0.4)
    }
}

.hero-stats {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-pill {
    padding: 12px 20px;
    font-size: 14px;
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--text);
}

/* ── LOGOS ── */
.logos-section {
    padding: 60px 0;
    overflow: hidden;
}

.logos-section h3 {
    text-align: center;
    font-size: 14px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 32px;
    font-family: var(--font-mono);
}

.logos-track {
    display: flex;
    animation: logoScroll 25s linear infinite;
    gap: 24px;
}

.logo-pill {
    padding: 10px 28px;
    font-family: var(--font-mono);
    font-size: 13px;
    white-space: nowrap;
    color: var(--text-dim);
    flex-shrink: 0;
}

@keyframes logoScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ── SERVICES ── */
.services {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-body);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.visible {
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.service-card p {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 20px;
    line-height: 1.7;
}

.tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-family: var(--font-mono);
    background: rgba(0, 245, 255, 0.08);
    color: var(--cyan);
    border: 1px solid rgba(0, 245, 255, 0.15);
}

/* ── HOW IT WORKS ── */
.how-it-works {
    position: relative;
    z-index: 2;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--rose));
    z-index: 0;
}

.step-card {
    padding: 40px 28px;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
}

.step-card.visible {
    animation: fadeUp 0.6s ease forwards;
}

.step-number {
    font-family: var(--font-body);
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    display: block;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 700;
}

.step-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ── STATS ── */
.stats-bar {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.stats-bar .glass {
    padding: 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── TESTIMONIALS ── */
.testimonials {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.testimonial-card.visible {
    animation: fadeUp 0.6s ease forwards;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(124, 58, 237, 0.2), rgba(255, 107, 157, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: shimmerBorder 3s ease-in-out infinite;
}

@keyframes shimmerBorder {

    0%,
    100% {
        opacity: 0.5
    }

    50% {
        opacity: 1
    }
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.avatar-1 {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.avatar-2 {
    background: linear-gradient(135deg, var(--violet), var(--rose));
}

.avatar-3 {
    background: linear-gradient(135deg, var(--rose), var(--cyan));
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .author {
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
}

.testimonial-card .role {
    font-size: 12px;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

/* ── PRICING ── */
.pricing {
    position: relative;
    z-index: 2;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.price-card {
    padding: 40px 32px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.3s;
}

.price-card.visible {
    animation: fadeUp 0.6s ease forwards;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card.popular {
    border-color: var(--cyan);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.15), var(--glass-shadow);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 700;
}

.price-amount {
    font-size: 42px;
    font-weight: 900;
    margin: 16px 0;
}

.price-card ul {
    margin-bottom: 28px;
    text-align: left;
}

.price-card ul li {
    font-size: 14px;
    color: var(--text-dim);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card ul li::before {
    content: '✦';
    color: var(--cyan);
    font-size: 10px;
}

.price-card .btn-primary,
.price-card .btn-cta {
    width: 100%;
    text-align: center;
    display: block;
}

/* ── CONTACT ── */
.contact {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(28px, 3vw, 38px);
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-dim);
    margin-bottom: 32px;
    line-height: 1.7;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-badge {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-note {
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 16px;
}

/* ── FOOTER ── */
.footer {
    padding: 80px 0 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-dim);
    max-width: 280px;
    line-height: 1.7;
    margin-top: 12px;
}

.footer h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 700;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: var(--cyan);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* ═══════════════════════════════════════
   CHATBOT — Narrow, Centered, Glass, FAB
   ═══════════════════════════════════════ */

/* FAB Toggle Button */
.chatbot-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 10000;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(0, 245, 255, 0.3);
    background: rgba(4, 4, 15, 0.8);
    backdrop-filter: blur(20px);
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 30px rgba(0, 245, 255, 0.2), 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
    overflow: visible;
}

.chatbot-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 40px rgba(0, 245, 255, 0.4), 0 8px 32px rgba(0, 0, 0, 0.5);
    border-color: var(--cyan);
}

.fab-icon {
    position: relative;
    z-index: 2;
    line-height: 1;
}

.fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    animation: fabPulse 2s ease-in-out infinite;
}

@keyframes fabPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6
    }

    50% {
        transform: scale(1.25);
        opacity: 0
    }
}

/* Chat Panel — Narrow, centered-right */
.chat-panel {
    position: fixed;
    bottom: 104px;
    right: 28px;
    z-index: 9999;
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 480px;
    background: rgba(4, 4, 15, 0.92);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 245, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-panel.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.chat-header .online-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.chat-header span {
    font-weight: 600;
    font-size: 14px;
    flex: 1;
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.3s;
}

.chat-close-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

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

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    animation: msgFade 0.3s ease;
}

@keyframes msgFade {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.chat-msg.bot {
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.15);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.3);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-msg .chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.chat-msg .chat-option-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.25);
    color: var(--cyan);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.chat-msg .chat-option-btn:hover {
    background: rgba(0, 245, 255, 0.2);
}

.chat-input-row {
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.chat-input-row input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input-row input:focus {
    border-color: var(--cyan);
}

.chat-send {
    padding: 10px 18px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.chat-send:hover {
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

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

    .steps {
        grid-template-columns: 1fr;
    }

    .steps::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        background: rgba(4, 4, 15, 0.95);
        backdrop-filter: blur(30px);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .nav-cta-desk {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 32px;
    }

    .chat-panel {
        right: 0;
        bottom: 96px;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
    }

    .chatbot-fab {
        bottom: 20px;
        right: 20px;
    }
}

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

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-pad {
        padding: 60px 0;
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 245, 255, 0.3);
    border-radius: 3px;
}