/* ============================================================
   Clarke Home AI — Shared CSS
   Comprehensive design system for multi-page website
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ============================================================ */
:root {
    /* Primary */
    --color-primary: #7c3aed;
    --color-primary-light: #a78bfa;
    --color-primary-dark: #6d28d9;
    --color-primary-bg: #ede9fe;
    --color-primary-surface: #faf5ff;

    /* Blue */
    --color-blue: #2563eb;
    --color-blue-light: #60a5fa;
    --color-blue-dark: #1d4ed8;
    --color-blue-bg: #dbeafe;
    --color-blue-surface: #eff6ff;

    /* Teal */
    --color-teal: #0d9488;
    --color-teal-light: #2dd4bf;
    --color-teal-bg: #ccfbf1;
    --color-teal-surface: #f0fdfa;

    /* Orange / Amber */
    --color-orange: #f59e0b;
    --color-orange-light: #fbbf24;
    --color-orange-bg: #fef3c7;
    --color-orange-surface: #fff7ed;

    /* Green */
    --color-green: #10b981;
    --color-green-light: #34d399;
    --color-green-bg: #dcfce7;
    --color-green-surface: #ecfdf5;

    /* Rose */
    --color-rose: #f43f5e;
    --color-rose-light: #fb7185;
    --color-rose-bg: #ffe4e6;

    /* Neutrals */
    --color-dark: #111827;
    --color-text: #374151;
    --color-muted: #6b7280;
    --color-light: #9ca3af;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --color-white: #ffffff;
    --color-bg: #fafafa;

    /* Dark backgrounds */
    --color-dark-bg: #111827;
    --color-dark-deep: #1e1b4b;
    --color-dark-indigo: #312e81;
    --color-dark-purple: #4c1d95;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed, #2563eb);
    --gradient-primary-reverse: linear-gradient(135deg, #2563eb, #7c3aed);
    --gradient-dark: linear-gradient(135deg, #1e1b4b, #312e81, #4c1d95);
    --gradient-dark-extended: linear-gradient(135deg, #1e1b4b, #312e81, #4c1d95, #1e1b4b);
    --gradient-teal: linear-gradient(135deg, #0d9488, #06b6d4);
    --gradient-warm: linear-gradient(135deg, #f59e0b, #f43f5e);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 8px 24px rgba(124, 58, 237, 0.12);
    --shadow-purple-lg: 0 16px 40px rgba(124, 58, 237, 0.2);
    --shadow-blue: 0 8px 24px rgba(37, 99, 235, 0.12);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 100px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ============================================================
   2. RESET & BASE STYLES
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text);
    background: linear-gradient(135deg, #ede9fe, #dbeafe, #ccfbf1, #faf5ff, #ede9fe);
    background-size: 400% 400%;
    animation: bodyGradient 20s ease infinite;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes bodyGradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 0%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
}


/* ============================================================
   3. CONTAINER
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ============================================================
   4. NAVIGATION
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast);
    text-decoration: none;
}

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

.nav-links a.active {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-links .cta-link {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.nav-links .cta-link:hover {
    opacity: 0.9;
    color: var(--color-white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-phone:hover {
    color: var(--color-primary);
}

.nav-phone svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-menu .btn-primary {
    margin-top: 16px;
    text-align: center;
}

.mobile-menu .nav-phone {
    justify-content: center;
    margin-top: 12px;
    font-size: 16px;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--color-primary-surface);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-teal);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    text-decoration: none;
}

.btn-accent:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}

.btn-white:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}


/* ============================================================
   6. HERO SECTIONS
   ============================================================ */
.hero {
    background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 40%, #ccfbf1 100%);
    padding: 80px 0 96px;
    position: relative;
    overflow: hidden;
}

.hero-dark {
    background: var(--gradient-dark);
    color: var(--color-white);
}

.hero-dark h1 {
    color: var(--color-white);
}

.hero-dark .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.hero-dark .hero-checks li {
    color: rgba(255, 255, 255, 0.9);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content {
    max-width: 560px;
    flex-shrink: 0;
}

.hero-visual {
    flex: 1;
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-dark .hero-badge {
    background: rgba(124, 58, 237, 0.25);
    color: var(--color-primary-light);
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.hero-subtitle,
.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 32px;
    max-width: 640px;
}

.hero-checks {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.5;
}

.hero-checks li svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-cta-group .btn-primary {
    padding: 16px 36px;
    font-size: 17px;
    position: relative;
    overflow: hidden;
}

/* CTA button sheen */
.hero-cta-group .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
    animation: btnSheen 4s ease-in-out infinite;
}

.hero-cta-sub {
    font-size: 14px;
    color: var(--color-muted);
}

.hero-cta-sub a {
    color: var(--color-primary);
    font-weight: 600;
}


/* ============================================================
   7. PHONE MOCKUP
   ============================================================ */
.phone-mockup {
    width: 280px;
    height: 500px;
    background: var(--color-dark);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 0 2px #374151, inset 0 0 0 2px #1f2937;
    position: relative;
    z-index: 2;
    animation: phoneFloat 4s ease-in-out infinite;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--color-dark);
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    background: var(--gradient-primary);
    padding: 36px 16px 12px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.phone-header-text {
    font-size: 13px;
    font-weight: 600;
}

.phone-header-sub {
    font-size: 10px;
    opacity: 0.8;
}

.phone-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    opacity: 0.9;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: statusPulse 2s ease infinite;
}

.phone-chat {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.chat-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(10px);
    animation: bubbleIn 0.4s var(--ease-out) forwards;
}

.chat-bubble.ai {
    background: var(--color-border-light);
    color: var(--color-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.caller {
    background: var(--gradient-primary);
    color: var(--color-white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-typing {
    align-self: flex-start;
    display: flex;
    gap: 3px;
    padding: 10px 14px;
    background: var(--color-border-light);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}

.chat-typing span {
    width: 5px;
    height: 5px;
    background: var(--color-light);
    border-radius: 50%;
    animation: typingDot 1.4s ease infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }


/* ============================================================
   8. HERO NOTIFICATIONS (floating)
   ============================================================ */
.hero-notifications {
    position: absolute;
    top: 0;
    left: -40px;
    right: -40px;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.hero-notif {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 10px 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-dark);
    white-space: nowrap;
    opacity: 0;
    border: 1px solid var(--color-border);
}

.hero-notif .notif-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.notif-green  { background: var(--color-green-bg); }
.notif-purple { background: var(--color-primary-bg); }
.notif-yellow { background: #fef9c3; }
.notif-blue   { background: var(--color-blue-bg); }

.hero-notif.n1 { top: 40px; right: -30px; animation: notifSlide1 8s 1.5s ease infinite; }
.hero-notif.n2 { top: 160px; left: -30px; animation: notifSlide2 8s 3s ease infinite; }
.hero-notif.n3 { bottom: 140px; right: -20px; animation: notifSlide1 8s 5s ease infinite; }
.hero-notif.n4 { bottom: 40px; left: -20px; animation: notifSlide2 8s 7s ease infinite; }


/* ============================================================
   9. HERO LIVE COUNTER
   ============================================================ */
.hero-live-counter {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-dark-deep), var(--color-dark-indigo));
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(30, 27, 75, 0.3);
    z-index: 4;
    white-space: nowrap;
}

.counter-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: statusPulse 1.5s ease infinite;
}

.counter-num {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-primary-light);
}


/* ============================================================
   10. SOCIAL PROOF
   ============================================================ */
.social-proof {
    background: linear-gradient(135deg, #1e1b4b, #312e81, #4c1d95);
    padding: 48px 0;
    border-top: none;
    border-bottom: none;
}

.social-proof .stat-number {
    color: #a78bfa;
}

.social-proof .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.social-proof .social-proof-label {
    color: rgba(255, 255, 255, 0.6);
}

.social-proof-label {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 14px;
    color: var(--color-muted);
    margin-top: 4px;
}


/* ============================================================
   11. SECTIONS
   ============================================================ */
.section {
    padding: 96px 0;
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.section-alt {
    background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 50%, #dbeafe 100%);
}

.section-teal {
    background: linear-gradient(135deg, #ccfbf1 0%, #f0fdfa 50%, #dbeafe 100%);
}

.section-warm {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 50%, #fce7f3 100%);
}

.section-dark {
    background: var(--gradient-dark);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: var(--color-white);
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: var(--color-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
    line-height: 1.6;
}


/* ============================================================
   12. PROBLEM CARDS
   ============================================================ */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.problem-card {
    background: var(--color-white);
    border: 2px solid #fca5a5;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid #ef4444;
    transition: transform var(--transition-normal), box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

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

.problem-card p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.6;
}


/* ============================================================
   13. SOLUTION BLOCK
   ============================================================ */
.solution-block {
    background: linear-gradient(135deg, #7c3aed, #2563eb, #7c3aed);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    border-radius: var(--radius-2xl);
    padding: 64px 48px;
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.15), 0 20px 50px rgba(0, 0, 0, 0.2);
}

.solution-block::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #7c3aed, #2563eb, #7c3aed, #2563eb);
    background-size: 300% 300%;
    animation: borderGlow 4s ease infinite;
    border-radius: 21px;
    z-index: -1;
}

.solution-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: solutionSheen 5s ease-in-out infinite;
}

.solution-block h3 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    position: relative;
}

.solution-block h3 .highlight {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-block p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 32px;
    opacity: 0.85;
}

.solution-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: featureFadeIn 0.5s ease forwards;
}

.solution-feature:nth-child(1) { animation-delay: 0.2s; }
.solution-feature:nth-child(2) { animation-delay: 0.4s; }
.solution-feature:nth-child(3) { animation-delay: 0.6s; }
.solution-feature:nth-child(4) { animation-delay: 0.8s; }
.solution-feature:nth-child(5) { animation-delay: 1.0s; }

.solution-feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating particles inside solution block */
.solution-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.sol-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(167, 139, 250, 0.4);
    border-radius: 50%;
    animation: solFloat 8s ease-in-out infinite;
}

.sol-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.sol-particle:nth-child(2) { left: 25%; top: 70%; animation-delay: 1s; animation-duration: 9s; }
.sol-particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.sol-particle:nth-child(4) { left: 70%; top: 60%; animation-delay: 3s; animation-duration: 8s; }
.sol-particle:nth-child(5) { left: 85%; top: 15%; animation-delay: 1.5s; animation-duration: 10s; }
.sol-particle:nth-child(6) { left: 40%; top: 80%; animation-delay: 4s; animation-duration: 7s; }
.sol-particle:nth-child(7) { left: 60%; top: 45%; animation-delay: 2.5s; animation-duration: 9s; }
.sol-particle:nth-child(8) { left: 15%; top: 50%; animation-delay: 3.5s; animation-duration: 6s; }


/* ============================================================
   14. SERVICE CARDS
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow 0.3s, border-color 0.3s;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
    border-color: var(--color-primary);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

/* Colored icon variants */
.service-icon.icon-blue     { background: var(--color-blue-bg); }
.service-icon.icon-blue svg { color: var(--color-blue); }
.service-icon.icon-teal     { background: var(--color-teal-bg); }
.service-icon.icon-teal svg { color: var(--color-teal); }
.service-icon.icon-orange     { background: var(--color-orange-bg); }
.service-icon.icon-orange svg { color: var(--color-orange); }
.service-icon.icon-green     { background: var(--color-green-bg); }
.service-icon.icon-green svg { color: var(--color-green); }
.service-icon.icon-rose     { background: var(--color-rose-bg); }
.service-icon.icon-rose svg { color: var(--color-rose); }

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

.service-card p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.6;
}


/* ============================================================
   15. STEPS (How It Works)
   ============================================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

/* Connector line between steps */
.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.67% + 28px);
    right: calc(16.67% + 28px);
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transform: scaleX(0);
    transition: transform 1s var(--ease-out) 0.3s, opacity 0.3s;
}

.steps.visible::before {
    opacity: 1;
    transform: scaleX(1);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 22px;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.step:hover .step-number {
    animation: stepPulse 1.5s ease infinite;
    transform: scale(1.08);
}

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

.step p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}


/* ============================================================
   16. INDUSTRY CARDS
   ============================================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow 0.3s, border-color 0.3s;
    text-decoration: none;
    display: block;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    border-color: var(--color-blue);
}

.industry-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}

.industry-card:hover img {
    transform: scale(1.06);
}

.industry-card-body {
    padding: 24px;
}

.industry-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.industry-card p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.6;
}


/* ============================================================
   17. PORTFOLIO CARDS
   ============================================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
    transition: transform var(--transition-normal), box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.portfolio-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.portfolio-card p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.portfolio-tag:hover {
    background: #ddd6fe;
    transform: translateY(-1px);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
}

.portfolio-link:hover {
    text-decoration: underline;
}


/* ============================================================
   18. PRICING CARDS
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--color-border);
    transition: transform var(--transition-normal), box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border: 2px solid var(--color-primary);
    border-top: 4px solid var(--color-primary);
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.15);
}

.pricing-card.popular:hover {
    box-shadow: var(--shadow-purple-lg);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.pricing-amount {
    font-size: 44px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.pricing-amount span {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-muted);
}

.pricing-setup {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.5;
}

.pricing-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
}


/* ============================================================
   19. FAQ
   ============================================================ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    text-align: left;
    gap: 16px;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
    color: var(--color-muted);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
}


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

.testimonial-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

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

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-size: 15px;
    color: var(--color-dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--color-muted);
}


/* ============================================================
   21. FINAL CTA
   ============================================================ */
.final-cta {
    background: var(--gradient-dark-extended);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 96px 0;
    text-align: center;
    color: var(--color-white);
}

.final-cta h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.final-cta .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
}

.final-cta .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.final-cta .btn-secondary {
    border-color: var(--color-white);
    color: var(--color-white);
    background: transparent;
}

.final-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* ============================================================
   22. FOOTER
   ============================================================ */
.footer {
    background: var(--color-dark-bg);
    color: #d1d5db;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

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

.footer-col a,
.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--color-light);
    padding: 4px 0;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-col a:hover,
.footer-links a:hover {
    color: var(--color-white);
}

.footer-col p {
    font-size: 14px;
    color: var(--color-light);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--color-muted);
}


/* ============================================================
   23. QUOTE FORM
   ============================================================ */
.quote-section {
    padding: 40px 0 80px;
}

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

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-dark);
    font-size: 15px;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="url"],
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--color-dark);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

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

.quote-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.trust-signals {
    position: sticky;
    top: 100px;
}


/* ============================================================
   24. CHATBOT WIDGET
   ============================================================ */
#chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

#chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    animation: chatbotPulse 3s ease-in-out infinite;
}

#chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(124, 58, 237, 0.5);
}

#chatbot-toggle svg {
    width: 28px;
    height: 28px;
}

#chatbot-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatbotSlideUp 0.3s var(--ease-out);
    border: 1px solid var(--color-border);
}

.chatbot-hidden {
    display: none !important;
}

.chatbot-header {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 15px;
}

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

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-name {
    font-weight: 700;
    font-size: 15px;
    display: block;
    line-height: 1.2;
}

.chatbot-status {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    animation: statusPulse 2s ease infinite;
}

.chatbot-toggle-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bot message avatar */
.chat-msg.bot {
    position: relative;
    padding-left: 36px;
}

.chat-msg.bot::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px, 100% 100%;
}

/* Auto-intro bubble */
.chatbot-intro {
    position: absolute;
    bottom: 72px;
    right: 0;
    background: #fff;
    border-radius: 16px;
    padding: 14px 40px 14px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    display: none;
    align-items: flex-start;
    gap: 10px;
    width: 300px;
    animation: chatbotSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.chatbot-intro:hover {
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

.chatbot-intro-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-intro-text {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

.chatbot-intro-text strong {
    color: #7c3aed;
}

.chatbot-intro-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

.chatbot-intro-close:hover {
    color: #6b7280;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages,
#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 360px;
    min-height: 200px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-msg.bot {
    background: var(--color-border-light);
    color: var(--color-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    background: var(--gradient-primary);
    color: var(--color-white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Typing indicator in chatbot */
.chat-msg.typing-indicator,
.chatbot-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-self: flex-start;
    background: var(--color-border-light);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}

.chat-msg.typing-indicator span,
.chatbot-typing span {
    width: 6px;
    height: 6px;
    background: var(--color-light);
    border-radius: 50%;
    animation: typingDot 1.4s ease infinite;
}

.chat-msg.typing-indicator span:nth-child(2),
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg.typing-indicator span:nth-child(3),
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

.chatbot-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--color-border);
    background: var(--color-white);
}

.chatbot-input-area input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color var(--transition-fast);
}

.chatbot-input-area input:focus {
    border-color: var(--color-primary);
}

.chatbot-send {
    padding: 10px 18px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.chatbot-send:hover {
    opacity: 0.9;
}


/* ============================================================
   25. ANIMATIONS & KEYFRAMES
   ============================================================ */

/* Phone float */
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Status pulse */
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Typing dots */
@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat bubble appear */
@keyframes bubbleIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Notification slides */
@keyframes notifSlide1 {
    0% { opacity: 0; transform: translateX(20px) scale(0.9); }
    8% { opacity: 1; transform: translateX(0) scale(1); }
    25% { opacity: 1; transform: translateX(0) scale(1); }
    33% { opacity: 0; transform: translateX(-10px) scale(0.95); }
    100% { opacity: 0; }
}

@keyframes notifSlide2 {
    0% { opacity: 0; transform: translateX(-20px) scale(0.9); }
    8% { opacity: 1; transform: translateX(0) scale(1); }
    25% { opacity: 1; transform: translateX(0) scale(1); }
    33% { opacity: 0; transform: translateX(10px) scale(0.95); }
    100% { opacity: 0; }
}

/* Solution block particles */
@keyframes solFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
    50% { transform: translateY(-10px) translateX(-15px); opacity: 0.4; }
    75% { transform: translateY(-25px) translateX(5px); opacity: 0.7; }
}

/* Feature fade in */
@keyframes featureFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Border glow */
@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Solution sheen */
@keyframes solutionSheen {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* Gradient shift */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Step number pulse */
@keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(124, 58, 237, 0); }
}

/* Button sheen */
@keyframes btnSheen {
    0%, 100% { transform: translateX(-100%) rotate(25deg); }
    30%, 70% { transform: translateX(-100%) rotate(25deg); }
    50% { transform: translateX(100%) rotate(25deg); }
}

/* Hero element entrance */
@keyframes heroSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chatbot pulse */
@keyframes chatbotPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4), 0 0 0 8px rgba(124, 58, 237, 0.1); }
}

/* Chatbot slide up */
@keyframes chatbotSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-in (IntersectionObserver trigger) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.55s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.65s; }

/* Hero element staggered entrance */
.hero-content .hero-badge {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSlideIn 0.6s var(--ease-out) 0.1s forwards;
}

.hero-content h1 {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSlideIn 0.6s var(--ease-out) 0.2s forwards;
}

.hero-content .hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSlideIn 0.6s var(--ease-out) 0.35s forwards;
}

.hero-content .hero-checks {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSlideIn 0.6s var(--ease-out) 0.5s forwards;
}

.hero-content .hero-cta-group {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSlideIn 0.6s var(--ease-out) 0.65s forwards;
}


/* ============================================================
   26. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet: 1024px */
@media (max-width: 1024px) {
    .hero-visual {
        min-height: 420px;
    }

    .phone-mockup {
        width: 240px;
        height: 420px;
    }

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

    .problem-cards,
    .services-grid,
    .pricing-grid,
    .industries-grid,
    .testimonials-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Mobile: 768px */
@media (max-width: 768px) {
    /* Nav */
    .nav-links,
    .nav-right .nav-phone {
        display: none;
    }

    .nav-right .btn-primary {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 48px 0 64px;
    }

    .hero-inner {
        flex-direction: column;
    }

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

    .hero-subtitle,
    .hero-sub {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 480px;
        width: 100%;
    }

    .hero-notif.n1, .hero-notif.n3 { right: 0; }
    .hero-notif.n2, .hero-notif.n4 { left: 0; }

    /* Sections */
    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    /* Grids to single column */
    .problem-cards,
    .services-grid,
    .pricing-grid,
    .industries-grid,
    .testimonials-grid,
    .portfolio-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .stats-row {
        gap: 32px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Final CTA */
    .final-cta h2 {
        font-size: 28px;
    }

    .final-cta p {
        font-size: 16px;
    }

    /* Solution block */
    .solution-block {
        padding: 32px 24px;
    }

    .solution-block h3 {
        font-size: 22px;
    }

    /* Steps connector hidden on mobile */
    .steps::before {
        display: none;
    }

    /* Quote */
    .quote-grid {
        grid-template-columns: 1fr;
    }

    /* Chatbot */
    #chatbot-window {
        width: calc(100vw - 48px);
        right: -12px;
        max-height: 70vh;
    }
}

/* Small mobile: 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

    .stats-row {
        flex-direction: column;
        gap: 20px;
    }

    .hero-cta-group .btn-primary {
        width: 100%;
        text-align: center;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .final-cta-buttons .btn-primary,
    .final-cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================================
   27. UTILITY / MISC
   ============================================================ */

/* Logo variants used in services/portfolio pages */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 72px;
    width: auto;
}

.logo-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-dark);
}

/* Text gradient utility */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Highlight (used in solution block) */
.highlight {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ============================================================
   LEAD CAPTURE POPUP
   ============================================================ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-card {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.popup-overlay.active .popup-card {
    transform: translateY(0) scale(1);
}

.popup-header {
    background: linear-gradient(135deg, #7c3aed, #2563eb, #0d9488);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    padding: 32px 32px 24px;
    color: #fff;
    text-align: center;
    position: relative;
}

.popup-header h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.popup-header p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.5;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.popup-body {
    padding: 28px 32px 32px;
}

.popup-form .popup-field {
    margin-bottom: 14px;
}

.popup-form input,
.popup-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #111827;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.popup-form input:focus,
.popup-form select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.popup-form input::placeholder {
    color: #9ca3af;
}

.popup-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    margin-top: 4px;
}

.popup-submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.popup-trust {
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.popup-trust svg {
    flex-shrink: 0;
}

.popup-success {
    text-align: center;
    padding: 20px 0;
}

.popup-success h3 {
    font-size: 22px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 8px;
}

.popup-success p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

.popup-urgency {
    background: linear-gradient(135deg, #fef3c7, #fff7ed);
    border: 1px solid #f59e0b;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 18px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
}

.popup-urgency span {
    color: #dc2626;
    font-weight: 800;
}

@media (max-width: 480px) {
    .popup-card {
        width: 95%;
        border-radius: 16px;
    }
    .popup-header {
        padding: 24px 20px 20px;
    }
    .popup-header h2 {
        font-size: 22px;
    }
    .popup-body {
        padding: 20px;
    }
}
