﻿/* 
   WHATSBOTS LANDING PAGE
*/

/* -----------------------------------------------------------------------------
   CUSTOM FONTS - Mansfield
----------------------------------------------------------------------------- */
@font-face {
    font-family: 'Mansfield';
    src: url('fonts/Mansfield .woff') format('woff'),
        url('fonts/Mansfield .ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mansfield';
    src: url('fonts/Mansfield Bold.woff') format('woff'),
        url('fonts/Mansfield Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mansfield';
    src: url('fonts/Mansfield Extra Bold.woff') format('woff'),
        url('fonts/Mansfield Extra Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mansfield';
    src: url('fonts/Mansfield Black.woff') format('woff'),
        url('fonts/Mansfield Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* -----------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
----------------------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --primary-50: #f5f3ff;
    --primary-100: #ede9fe;
    --primary-200: #ddd6fe;
    --primary-300: #c4b5fd;
    --primary-400: #a78bfa;
    --primary-500: #8b5cf6;
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --primary-800: #5b21b6;
    --primary-900: #4c1d95;

    /* Secondary (Blue) */
    --secondary-400: #60a5fa;
    --secondary-500: #3b82f6;
    --secondary-600: #2563eb;

    /* Stat Card Colors */
    --stat-green: #22c55e;
    --stat-red: #ef4444;
    --stat-purple: #a855f7;
    --stat-blue: #3b82f6;

    /* Accent Gradient */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    --gradient-purple: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
    --gradient-social: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);

    /* Neutrals - Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-lavender: #f3e8ff;
    --text-primary: #1e1b4b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 0, 0, 0.05);
    /* Softer borders for light mode */

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);

    /* Typography */
    --font-heading: 'Mansfield', 'Poppins', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;

    /* Container */
    --container-max: 1200px;
    --header-height: 70px;
}

/* -----------------------------------------------------------------------------
   DARK THEME
----------------------------------------------------------------------------- */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-lavender: #1e1b4b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #334155;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select {
    font-family: inherit;
    font-size: 1rem;
}

ul {
    list-style: none;
}

/* -----------------------------------------------------------------------------
   UTILITY CLASSES
----------------------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

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

.cover-text-dynamic {
    background: linear-gradient(135deg, #c4b5fd 0%, #60a5fa 50%, #c4b5fd 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientWave 15s ease-in-out infinite;
    display: inline;
}

.cover-typing-cursor {
    display: inline;
    font-weight: 300;
    color: #c4b5fd;
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-title--purple {
    color: var(--primary-600);
    letter-spacing: 0.1em;
}

/* -----------------------------------------------------------------------------
   BUTTONS
----------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn--primary {
    position: relative;
    background: linear-gradient(135deg, #c4b5fd 0%, #60a5fa 50%, #c4b5fd 100%);
    /* Matches "negocio" text gradient */
    background-size: 300% 300%;
    color: #181b41;
    box-shadow: 0 0 20px rgba(76, 29, 149, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: gradientWave 15s ease-in-out infinite;
    /* Slower animation */
    font-weight: 700;
    overflow: hidden;
    z-index: 1;
}

/* Luminous Energy Arc (Hover Effect) REMOVED */
/* Luminous Energy Arc (Hover Effect) REMOVED */
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation-play-state: paused;
    /* Pauses the background movement on hover instead of resetting */
}

/* Active/Click state */
.btn--primary:active {
    transform: scale(0.98);
    box-shadow: 0 0 10px rgba(76, 29, 149, 0.6);
}

@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn--glow:hover {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.btn--large {
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
}

.btn--xlarge {
    padding: var(--space-4) var(--space-10);
    font-size: 1.1rem;
    border-radius: var(--radius-xl);
}

.btn--full {
    width: 100%;
}

/* -----------------------------------------------------------------------------
   ANIMATIONS
----------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Premium Dark Mode Background - Global */
[data-theme="dark"] body {
    background-color: #0f172a;
    /* Fallback */
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(124, 58, 237, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Ensure sections with transparent backgrounds show the body bg */
[data-theme="dark"] .section-bg-transparent {
    background: transparent;
}

/* Morphing Blob Animation Keyframes */
@keyframes morphBlob {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        /* Increased movement range from 20px to 80px */
        transform: translate(-80px, 80px) rotate(180deg);
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(124, 58, 237, 0.6), 0 0 60px rgba(59, 130, 246, 0.3);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }

    50% {
        transform: translateY(-10px) translateX(-10px);
        opacity: 0.8;
    }

    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 0.9;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.fade-in--delay {
    transition-delay: 0.15s;
}

/* ===========================================================================
   COMPONENT 01: HEADER
=========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .header.header--scrolled {
    border-bottom-color: transparent;
    box-shadow: none;
    /* Removed shadow completely as requested */
}

[data-theme="dark"] .header.header--scrolled {
    background: rgba(15, 23, 42, 0.95);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Changed from space-between to align nav left */
    gap: var(--space-8);
    /* Add space between logo and nav */
    height: 100%;
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 25px;
    width: auto;
}

.header__nav {
    display: none;
}

@media (min-width: 1024px) {
    .header__nav {
        display: block;
        margin-left: auto;
    }
}

.header__nav-list {
    display: flex;
    gap: var(--space-8);
}

.header__nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.header__nav-link:hover {
    color: var(--primary-600);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.toggle-btn:hover {
    background: var(--primary-100);
    color: var(--primary-600);
}

[data-theme="dark"] .toggle-btn:hover {
    background: var(--primary-900);
    color: var(--primary-300);
}

.lang-toggle {
    width: auto;
    padding: 0 var(--space-3);
    gap: var(--space-1);
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-toggle__separator {
    color: var(--text-muted);
}

[data-lang="es"] .lang-toggle__es,
[data-lang="en"] .lang-toggle__en {
    color: var(--primary-600);
}

[data-theme="light"] .theme-toggle__moon {
    display: none;
}

[data-theme="dark"] .theme-toggle__sun {
    display: none;
}

.header__cta {
    display: none;
}

@media (min-width: 768px) {
    .header__cta {
        display: inline-flex;
    }
}

.header__menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    padding: var(--space-2);
    z-index: 1001;
    /* Above nav */
}

/* Mobile Menu Active State - Solid Background */
.header__nav.active {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-primary);
    padding: var(--space-6);
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

.header__menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

@media (min-width: 1024px) {
    .header__menu-toggle {
        display: none;
    }
}

/* ===========================================================================
   COMPONENT 01.5: NEW COVER SECTION WITH VIDEO BACKGROUND
=========================================================================== */
.cover-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000000;
}

/* Video Wrapper - Full background */
.cover-section__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cover-section__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.03);
    /* Middle ground: removes lines, keeps robot relatively small */
}

/* Gradient Overlay - only on left side for text readability */
.cover-section__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            transparent 100%);
    pointer-events: none;
}

/* Container with content on left side */
.cover-section__container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + var(--space-8));
    padding-bottom: var(--space-8);
    max-width: none;
    margin: 0;
    padding-left: var(--space-8);
    padding-right: 0;
}

.cover-section__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    max-width: 650px;
    padding-left: 0;
}

.cover-section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 4.8rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    text-align: left;
    margin-bottom: 0;
}

.cover-section__subtitle {
    font-size: clamp(0.95rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: left;
    max-width: 580px;
}

.cover-section__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-3);
}

.cover-section__buttons .btn--outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.cover-section__buttons .btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cover-section__buttons .btn__icon {
    font-size: 0.6rem;
    color: #ef4444;
}

.cover-cta-btn {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    padding: var(--space-4) var(--space-8);
    border-radius: 50px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-transform: uppercase;
}

.cover-cta-btn svg {
    transition: transform 0.3s ease;
}

.cover-cta-btn:hover svg {
    transform: translateX(5px);
}

/* Mobile Menu CTA and Logo Adjustment */
.header__nav-cta-mobile {
    display: none;
}

@media (max-width: 1023px) {
    .header__nav-cta-mobile {
        display: block;
        margin-top: var(--space-4);
        width: 100%;
    }

    .header__logo img {
        height: 20px;
        /* Reduced from 25px */
    }
}

/* Responsive: Mobile */
@media (max-width: 767px) {
    .cover-section__video {
        object-position: 30% center;
    }

    .cover-section__video-overlay {
        width: 100%;
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0.4) 50%,
                rgba(0, 0, 0, 0.7) 100%);
    }

    .cover-section__container {
        width: 100%;
        padding-left: var(--space-4);
        padding-right: var(--space-4);
        justify-content: center;
    }

    .cover-section__content {
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding: 0;
    }

    .cover-section__title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        text-align: center;
    }

    .cover-section__subtitle {
        text-align: center;
    }

    .cover-section__buttons {
        justify-content: center;
    }

    /* Hero-fusion mobile - force section to grow with content */
    section.hero-fusion.cover-section {
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    section.hero-fusion .cover-section__container {
        min-height: auto !important;
        height: auto !important;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        padding-bottom: var(--space-8);
        gap: var(--space-6);
    }

    section.hero-fusion .cover-section__content {
        padding-top: var(--space-4);
    }

    section.hero-fusion .chat-demo__window {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

/* Dark theme styles */
[data-theme="dark"] .cover-section {
    background: #000000;
}

/* Light theme styles - soft purple/blue overlay */
[data-theme="light"] .cover-section {
    background: #f1f5f9;
    /* Changed to match video background (was #ede9fe) */
    border: none !important;
}

[data-theme="light"] .cover-section__video-overlay {
    background: linear-gradient(90deg,
            rgba(237, 233, 254, 0.95) 0%,
            rgba(221, 214, 254, 0.8) 40%,
            rgba(196, 181, 253, 0.4) 70%,
            transparent 100%);
}

[data-theme="light"] .cover-section__title {
    color: var(--text-primary);
}

[data-theme="light"] .cover-section__subtitle {
    color: var(--text-secondary);
}

[data-theme="light"] .cover-section__buttons .btn--outline-light {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--primary-700);
}

[data-theme="light"] .cover-section__buttons .btn--outline-light:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.5);
}

/* Light theme mobile adjustments */
@media (max-width: 767px) {
    [data-theme="light"] .cover-section__video-overlay {
        background: linear-gradient(180deg,
                rgba(237, 233, 254, 0.9) 0%,
                rgba(221, 214, 254, 0.6) 50%,
                rgba(237, 233, 254, 0.9) 100%);
    }
}

.cover-text-dynamic {
    font-weight: 800;
    /* Bold as requested */
    background: linear-gradient(90deg, #c4b5fd 0%, #60a5fa 50%, #c4b5fd 100%);
    /* Lilac to Light Blue */
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
    /* Dynamic movement */
}

.hero {
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 30%, #c4b5fd 60%, #a78bfa 100%);
}

/* Hero Dark Mode Override for Pro Background */
[data-theme="dark"] .hero {
    background: transparent;
    /* Remove the linear gradient */
    position: relative;
    z-index: 1;
    /* Reset stacking */
    overflow: hidden;
}

/* Animated Blobs for Hero Dark Mode */
[data-theme="dark"] .hero::before,
[data-theme="dark"] .hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    /* Behind content */
    opacity: 0.5;
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    top: -10%;
    left: -10%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(59, 130, 246, 0.4));
    animation: morphBlob 15s infinite alternate;
    /* Faster (was 20s) */
}

[data-theme="dark"] .hero::after {
    bottom: -10%;
    right: -10%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(124, 58, 237, 0.4));
    animation: morphBlob 18s infinite alternate-reverse;
    /* Faster (was 25s) */
}

.hero__bg-image {
    position: absolute;
    top: 0;
    left: 5%;
    width: 45%;
    height: 100%;
    z-index: 1;
    display: none;
}

@media (min-width: 768px) {
    .hero__bg-image {
        display: block;
        width: 55%;
        /* Increased from 42% for larger robot */
        left: -5%;
        /* Center it better */
        object-position: center top;
        z-index: 0;
    }
}

.hero__person-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    position: relative;
    z-index: 2;
    padding: var(--space-4) 0;
    justify-items: center;
}

@media (min-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-20);
        /* Increased from space-12 for better separation */
        justify-items: end;
        max-width: 1200px;
        /* Slightly wider container */
        margin: 0 auto;
    }
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: var(--space-4);
}

@media (min-width: 768px) {
    .hero__content {
        padding-left: 0;
        padding-top: var(--space-16);
    }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.dynamic-typing-wrapper {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.dynamic-text {
    background: linear-gradient(135deg, #c4b5fd 0%, #60a5fa 50%, #c4b5fd 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientWave 15s ease-in-out infinite;
}

@media (min-width: 768px) {
    .dynamic-typing-wrapper {
        justify-content: flex-start;
    }
}

.cursor {
    color: var(--primary-400);
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


/* Hero styles cleaned up - Indicator removed */



[data-theme="light"] .logo-dark {
    display: none;
}

[data-theme="light"] .logo-light {
    display: block;
}

/* Dark theme: show dark logo, hide light logo */
[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

/* Hero person image - larger and vertically centered, on top of indicator */
.hero__person-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    margin: auto;
    margin-top: -2%;
}

/* Hero Content Spacer (visual balance) */
.hero__content-spacer {
    display: none;
}

@media (min-width: 768px) {
    .hero__content-spacer {
        display: block;
    }
}

/* HERO VIDEO BACKGROUND */
.hero__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    display: none;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    /* Middle ground: removes lines, keeps robot relatively small */
}

/* LIGHT MODE OVERRIDES */
[data-theme="light"] .hero {
    background: #f1f5f9;
    /* Matches video background */
    border: none !important;
}

[data-theme="light"] .hero__video-wrapper--light {
    display: block;
}

/* DARK MODE OVERRIDES */
[data-theme="dark"] .hero__video-wrapper--dark {
    display: block;
}

/* Static Image - Mobile Only Logic */
/* By default (Mobile First), it is visible. We hide it on Desktop. */
@media (min-width: 768px) {
    .hero__bg-image--mobile {
        display: none;
    }
}

/* Light Mode Mobile: Revert to gradient, hide video */
@media (max-width: 767px) {
    [data-theme="light"] .hero {
        background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 30%, #c4b5fd 60%, #a78bfa 100%);
    }

    [data-theme="light"] .hero__video-wrapper--light {
        display: none !important;
    }

    /* Dark Mode Mobile: Hide video */
    [data-theme="dark"] .hero__video-wrapper--dark {
        display: none !important;
    }
}

/* Hero Title moved to Form */
.hero__title--form {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    text-align: center;
    margin-bottom: var(--space-6);
    line-height: 1.2;
    font-weight: 800;
}

/* "POTENCIADA CON IA" - larger text */
.hero__title--form .cover-text-dynamic {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
}

/* Hero Form Wrapper */
.hero__form-wrapper {
    background: var(--bg-primary);
    padding: 35px var(--space-6) 0;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    max-width: 480px;
    justify-self: end;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: 0;
    justify-content: space-between;
}

[data-theme="dark"] .hero__form-wrapper {
    background: rgba(15, 23, 42, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: visible;
    /* Futuristic Glassmorphism - Matching Tech Cards */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 4px 24px rgba(0, 0, 0, 0.4);
}

/* Inner Highlight Border */
[data-theme="dark"] .hero__form-wrapper::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: calc(var(--radius-2xl) - 4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 1;
}

/* Outer Glow Border */
[data-theme="dark"] .hero__form-wrapper::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: calc(var(--radius-2xl) + 2px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: -1;
}

/* Force White Text for Kommo Inputs in Dark Mode */
[data-theme="dark"] .hero__form-wrapper input,
[data-theme="dark"] .hero__form-wrapper textarea,
[data-theme="dark"] .hero__form-wrapper select {
    color: #ffffff !important;
}

[data-theme="dark"] .hero__form-wrapper ::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero__form-header {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.hero__form {
    width: 100%;
}

/* Kommo Wrap Container */
.kommo-wrap {
    width: 100%;
    min-height: 350px;
    margin-bottom: -10px;
}

/* Kommo Embed Form Integration */
.kommo-wrap iframe {
    display: block !important;
    border: 0;
    border-radius: var(--radius-lg);
    width: 100% !important;
    min-height: 350px;
}

/* Responsive adjustments for Kommo form */
@media (max-width: 767px) {

    /* Reduce the SECTION padding so form is wider */
    .hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero .container {
        padding-left: var(--space-2);
        padding-right: var(--space-2);
    }

    /* Keep internal form padding so text doesn't touch the border */
    .hero__form-wrapper {
        padding: var(--space-4) var(--space-4) 0;
        max-width: 100%;
        margin: 0;
    }

    .hero__title--form {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        line-height: 1.4;
        margin-bottom: var(--space-4);
    }

    .kommo-wrap {
        min-height: 400px;
    }

    .kommo-wrap iframe {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero__form-wrapper {
        padding: var(--space-3) var(--space-3) 0;
        border-radius: var(--radius-xl);
    }
}

/* ===========================================================================
   COMPONENT 03: RESULTS METRICS - Matching Design
=========================================================================== */
.results {
    padding: var(--space-16) 0;
    background: var(--bg-lavender);
}

.results__header {
    margin-bottom: var(--space-10);
    text-align: center;
}

.results__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

/* Results Flex Container: Robot | Stats | Text+CTA */
.results__container-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .results__container-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Robot Image in Results */
.results__robot {
    flex-shrink: 0;
    width: 250px;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .results__robot {
        width: 350px;
    }
}

/* Stats Grid */
.results__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    flex-grow: 1;
}

@media (min-width: 768px) {
    .results__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


.stat-card {
    text-align: center;
    padding: var(--space-6) var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-top: 4px solid transparent;
}

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

.stat-card--green {
    border-top-color: var(--stat-green);
}

.stat-card--red {
    border-top-color: var(--stat-red);
}

.stat-card--purple {
    border-top-color: var(--stat-purple);
}

.stat-card--blue {
    border-top-color: var(--stat-blue);
}

.stat-card--green .stat-card__value,
.stat-card--green .stat-card__prefix,
.stat-card--green .stat-card__suffix {
    color: var(--stat-green);
}

.stat-card--red .stat-card__value,
.stat-card--red .stat-card__prefix,
.stat-card--red .stat-card__suffix {
    color: var(--stat-red);
}

.stat-card--purple .stat-card__value,
.stat-card--purple .stat-card__prefix,
.stat-card--purple .stat-card__suffix {
    color: var(--stat-purple);
}

.stat-card--blue .stat-card__value,
.stat-card--blue .stat-card__prefix,
.stat-card--blue .stat-card__suffix {
    color: var(--stat-blue);
}

.stat-card__prefix,
.stat-card__suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
}

.stat-card__value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
}

.stat-card__label {
    margin-top: var(--space-2);
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ===========================================================================
   COMPONENT 04: VISUAL CTA BLOCK - Robot with bubble
=========================================================================== */
.visual-cta {
    padding: var(--space-12) 0;
    background: var(--bg-primary);
}

.visual-cta__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.visual-cta__content {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.visual-cta__robot {
    width: 100px;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

.visual-cta__bubble {
    background: var(--primary-100);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-xl);
    position: relative;
}

[data-theme="dark"] .visual-cta__bubble {
    background: var(--bg-tertiary);
}

.visual-cta__bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: var(--primary-100);
}

[data-theme="dark"] .visual-cta__bubble::before {
    border-right-color: var(--bg-tertiary);
}

.visual-cta__bubble p {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* CTA Side Text + Button */
.results__cta-side {
    text-align: center;
    min-width: 200px;
}

.results__cta-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.4;
}

/* ===========================================================================
   COMPONENT 05: SOCIAL PROOF STRIP
=========================================================================== */
.social-proof {
    padding: var(--space-12) 0;
    background: linear-gradient(180deg, #0f172a 0%, #0a0e1a 50%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .social-proof {
    border-bottom: none;
    background: var(--bg-primary);
    /* Remove dark gradient */
}

.social-proof__text {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-8);
    font-weight: 500;
}

.social-proof__text--large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.social-proof__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    opacity: 0.7;
}

@media (min-width: 768px) {
    .social-proof__logos {
        gap: var(--space-12);
        justify-content: space-between;
    }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text--disney {
    font-family: sans-serif;
    letter-spacing: 2px;
}

.logo-text--samsung {
    font-family: sans-serif;
    letter-spacing: 3px;
}

.logo-text--zara {
    font-family: serif;
    letter-spacing: 4px;
}

/* Duplicates removed */

@media (min-width: 768px) {
    .logo-text {
        font-size: 1.1rem;
    }

    .social-proof__logos {
        gap: var(--space-10);
    }
}

/* ===========================================================================
   COMPONENT 06: LIVE CHAT DEMO
=========================================================================== */
.chat-demo {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Animated Background Blobs */
.chat-demo::before,
.chat-demo::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.5s ease, scale 0.5s ease;
    scale: 1;
}

.chat-demo::before {
    top: -20%;
    left: -10%;
    background: linear-gradient(135deg, var(--primary-300), var(--primary-500));
    animation: morphBlob 20s infinite alternate, float 12s ease-in-out infinite;
}

.chat-demo::after {
    bottom: -20%;
    right: -10%;
    background: linear-gradient(135deg, var(--secondary-400), var(--primary-400));
    animation: morphBlob 25s infinite alternate-reverse, float 15s ease-in-out infinite reverse;
}

/* Hover Interaction: Blobs grow and get brighter/more visible */
.chat-demo:hover::before,
.chat-demo:hover::after {
    opacity: 0.6;
    scale: 1.15;
}

/* Dark Theme Adjustments */
[data-theme="dark"] .chat-demo::before,
[data-theme="dark"] .chat-demo::after {
    opacity: 0.35;
    /* Increased visibility for dark mode */
}

/* Dark Theme Hover */
[data-theme="dark"] .chat-demo:hover::before,
[data-theme="dark"] .chat-demo:hover::after {
    opacity: 0.5;
    scale: 1.15;
}

.chat-demo .container {
    position: relative;
    z-index: 2;
}

.chat-demo__window {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: visible;
    border: 1px solid var(--border-color);
    position: relative;
}

/* Robot Icon - Positioned at right side of chat window */
.chat-demo__robot-icon {
    position: absolute;
    right: -130px;
    /* Moved further out (was -100px) */
    top: 50%;
    transform: translateY(-50%);
    /* Will be updated by JS for parallax */
    width: 180px;
    height: auto;
    z-index: 10;
    transition: transform 0.1s linear;
    /* Smooth parallax */
}

.chat-demo__robot-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(124, 58, 237, 0.3));
    animation: float 4s ease-in-out infinite;
    /* Moved animation here */
}

/* ===========================================================================
   HERO FUSION (registro-form.php ONLY)
   Fusion of cover-section and chat-demo
=========================================================================== */
.hero-fusion {
    min-height: 100vh;
    background: var(--bg-secondary) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Animated Background Blobs for Fusion */
.hero-fusion::before,
.hero-fusion::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.5s ease, scale 0.5s ease;
    scale: 1;
}

.hero-fusion::before {
    top: -20%;
    left: -10%;
    background: linear-gradient(135deg, var(--primary-300), var(--primary-500));
    animation: morphBlob 20s infinite alternate, float 12s ease-in-out infinite;
}

.hero-fusion::after {
    bottom: -20%;
    right: -10%;
    background: linear-gradient(135deg, var(--secondary-400), var(--primary-400));
    animation: morphBlob 25s infinite alternate-reverse, float 15s ease-in-out infinite reverse;
}

[data-theme="dark"] .hero-fusion::before,
[data-theme="dark"] .hero-fusion::after {
    opacity: 0.35;
}

.hero-fusion .cover-section__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    min-height: 100vh;
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-12);
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-fusion .cover-section__container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .hero-fusion .cover-section__content {
        max-width: 650px;
        flex: 1;
    }

    .hero-fusion .chat-demo__window {
        margin: 0;
        flex: 1;
        max-width: 580px;
    }

    .hero-fusion .chat-demo__messages {
        min-height: 350px;
        max-height: 450px;
    }
}

@media (min-width: 1440px) {
    .hero-fusion .cover-section__container {
        align-items: flex-start;
        padding-top: calc(var(--header-height) + 10vh);
        padding-bottom: 5vh;
    }
}

.hero-fusion .cover-section__video-wrapper {
    display: none !important;
}

.hero-fusion .cover-section__video-overlay {
    display: none !important;
}

/* Hide robot on smaller screens (below 1024px) */
@media (max-width: 1024px) {
    .chat-demo__robot-icon {
        display: none;
    }
}

.chat-demo__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    /* Match window rounded corners */
}

.chat-demo__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-100);
}

.chat-demo__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-demo__info {
    flex: 1;
}

.chat-demo__name {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    color: var(--text-primary);
}

.chat-demo__status {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--stat-green);
    border-radius: 50%;
}

.chat-demo__refresh {
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.chat-demo__refresh:hover {
    color: var(--primary-600);
    transform: rotate(180deg);
}

.chat-demo__messages {
    min-height: 250px;
    max-height: 350px;
    overflow-y: auto;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.chat-demo__messages::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}



.chat-row {
    display: flex;
    align-items: flex-end;
    /* Align avatar to bottom of message */
    gap: var(--space-3);
    width: 100%;
    animation: fadeInUp 0.3s ease;
}

.chat-row--bot {
    justify-content: flex-start;
}

.chat-row--user {
    justify-content: flex-start;
    /* row-reverse starts at right */
    flex-direction: row-reverse;
    /* Avatar on right for user */
}

.chat-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-tertiary);
}

.chat-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-message {
    max-width: 75%;
    /* Reduced slightly due to avatar space */
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-xl);
    /* Removed align-self and animation here, moved to chat-row */
}

.chat-message--bot {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    /* Slight corner adjustment */
}

.chat-message--user {
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-demo__typing {
    display: flex;
    gap: 4px;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    border-bottom-left-radius: var(--radius-sm);
    align-self: flex-start;
    max-width: 60px;
}

.chat-demo__typing span {
    width: 8px;
    height: 8px;
    background: var(--primary-400);
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

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

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

.chat-demo__input-area {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    border-top: 1px solid var(--border-color);
}

.chat-demo__input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.chat-demo__input:focus {
    outline: none;
    border-color: var(--primary-500);
}

.chat-demo__input::placeholder {
    color: var(--text-muted);
}

.chat-demo__send {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.chat-demo__send:hover {
    transform: scale(1.1);
}

/* ===========================================================================
   COMPONENT 07: URGENCY CTA
=========================================================================== */
.urgency-cta {
    padding: var(--space-12) 0;
    background: var(--bg-primary);
}

.urgency-cta__content {
    text-align: center;
}

.urgency-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: var(--space-6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-primary);
}

/* ===========================================================================
   COMPONENT 08: TESTIMONIALS V2 - Modern 3-column grid with glassmorphism
=========================================================================== */
.testimonials-v2 {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 26, 0) 0%,
            rgba(15, 20, 40, 0.6) 30%,
            rgba(20, 15, 50, 0.5) 50%,
            rgba(15, 20, 40, 0.6) 70%,
            rgba(10, 14, 26, 0) 100%);
    position: relative;
    overflow: hidden;
}

/* Blue glow effect at top */
.testimonials-v2__glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.testimonials-v2__header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.testimonials-v2__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.testimonials-v2__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards Grid */
.testimonials-v2__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .testimonials-v2__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-v2__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Individual Card */
.testimonials-v2__card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.testimonials-v2__card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Avatar */
.testimonials-v2__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(124, 58, 237, 0.3) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-4);
    overflow: hidden;
}

.testimonials-v2__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name */
.testimonials-v2__name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-1);
}

/* Role */
.testimonials-v2__role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-4);
}

/* Quote Text */
.testimonials-v2__quote {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   TESTIMONIALS V2 - Light Theme
----------------------------------------------------------------------------- */
[data-theme="light"] .testimonials-v2 {
    background: linear-gradient(180deg,
            rgba(241, 245, 249, 0) 0%,
            rgba(237, 233, 254, 0.4) 30%,
            rgba(245, 243, 255, 0.5) 50%,
            rgba(237, 233, 254, 0.4) 70%,
            rgba(241, 245, 249, 0) 100%);
}

[data-theme="light"] .testimonials-v2__glow {
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .testimonials-v2__title {
    color: var(--text-primary);
}

[data-theme="light"] .testimonials-v2__subtitle {
    color: var(--text-muted);
}

[data-theme="light"] .testimonials-v2__card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .testimonials-v2__card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .testimonials-v2__avatar {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .testimonials-v2__name {
    color: var(--text-primary);
}

[data-theme="light"] .testimonials-v2__role {
    color: var(--text-muted);
}

[data-theme="light"] .testimonials-v2__quote {
    color: var(--text-secondary);
}

/* ===========================================================================
   COMPONENT 09: FINAL CTA
=========================================================================== */
.final-cta {
    padding: var(--space-16) 0;
    background: var(--bg-primary);
}

.final-cta__content {
    text-align: center;
}

.final-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: var(--space-8);
    color: var(--text-primary);
    line-height: 1.4;
}

/* ===========================================================================
   FOOTER
=========================================================================== */
.footer {
    padding: var(--space-10) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

@media (min-width: 768px) {
    .footer__container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer__tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.footer__links {
    display: flex;
    gap: var(--space-6);
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--primary-600);
}

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

/* ===========================================================================
   MOBILE NAV OVERLAY
=========================================================================== */
.header__nav.active {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: var(--space-8);
    z-index: 999;
}

.header__nav.active .header__nav-list {
    flex-direction: column;
    gap: var(--space-4);
}

.header__nav.active .header__nav-link {
    font-size: 1.1rem;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-color);
}

.header__menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================================================================
   SCROLL REVEAL ANIMATIONS
   Modern scroll-triggered animations for smooth UX
=========================================================================== */

/* Base reveal state - invisible & translated */
.reveal {
    opacity: 0;
    will-change: opacity, transform;
}

/* Fade up (default) */
.reveal--up {
    transform: translateY(20px);
}

/* Fade down */
.reveal--down {
    transform: translateY(-20px);
}

/* Fade from left */
.reveal--left {
    transform: translateX(-20px);
}

/* Fade from right */
.reveal--right {
    transform: translateX(20px);
}

/* Scale in */
.reveal--scale {
    transform: scale(0.95);
}

/* Visible state - triggered by IntersectionObserver */
.reveal--visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Stagger delays for sequential card animations */
.reveal--stagger-1 {
    transition-delay: 0ms;
}

.reveal--stagger-2 {
    transition-delay: 80ms;
}

.reveal--stagger-3 {
    transition-delay: 160ms;
}

.reveal--stagger-4 {
    transition-delay: 240ms;
}

.reveal--stagger-5 {
    transition-delay: 320ms;
}

.reveal--stagger-6 {
    transition-delay: 400ms;
}

.reveal--stagger-7 {
    transition-delay: 480ms;
}

/* Longer duration for hero elements */
.reveal--slow {
    transition-duration: 0.8s !important;
}

/* ===========================================================================
   COMPONENT: TECH RESULTS SECTION - Pro Animated Circuit Background
=========================================================================== */
.tech-results {
    padding: var(--space-16) 0 var(--space-8);
    background: linear-gradient(180deg, #050810 0%, #0a0e1a 40%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    transform-origin: center center;
}

/* Animated Circuit Background Container */
.tech-results__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.tech-results__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

/* Glow overlay that intensifies on hover */
.tech-results__glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
            rgba(59, 130, 246, 0.05) 0%,
            transparent 70%);
    opacity: 0.5;
    transition: opacity 0.5s ease, background 0.5s ease;
    pointer-events: none;
}

/* Hover effect - circuit gets brighter */
.tech-results__inner:hover~.tech-results__bg .tech-results__canvas,
.tech-results:hover .tech-results__canvas {
    opacity: 0.9;
}

.tech-results__inner:hover~.tech-results__bg .tech-results__glow-overlay,
.tech-results:hover .tech-results__glow-overlay {
    opacity: 1;
    background: radial-gradient(ellipse at center,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(124, 58, 237, 0.08) 40%,
            transparent 70%);
}

.tech-results__inner {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-8);
    background: rgba(10, 14, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    /* Initial state - smaller box */
    transform: scale(0.85);
    opacity: 0.8;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.6s ease-out,
        box-shadow 0.6s ease-out;
}

/* When section is visible via scroll */
.tech-results.tech-results--visible .tech-results__inner {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.2),
        0 0 120px rgba(59, 130, 246, 0.1);
}

/* -----------------------------------------------------------------------------
   TECH RESULTS - SOCIAL PROOF (inside section, outside inner box)
----------------------------------------------------------------------------- */
.tech-results__social-proof {
    position: relative;
    z-index: 3;
    padding: var(--space-10) 0 var(--space-12);
    text-align: center;
}

.tech-results__social-text {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tech-results__social-logos {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-4) 0;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.tech-results__social-logos:hover .logo-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - (var(--space-6) / 2)));
    }
}

.tech-results__social-logos .logo-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 100px;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.tech-results__social-logos .logo-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.social-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.tech-results__social-logos .logo-box:hover .social-logo {
    filter: none;
    opacity: 1;
}

html[data-theme="light"] .tech-results__social-logos .logo-box {
    background: #1e3a8a !important;
    /* Dark blue for contrast with white SVGs */
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .tech-results__social-logos .logo-box:hover {
    background: #172554;
    border-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .tech-results__social-text {
        font-size: 1.6rem;
    }

    .tech-results__social-logos {
        gap: var(--space-8);
    }
}

/* -----------------------------------------------------------------------------
   AI ASSISTANT - ANIMATED ORB
----------------------------------------------------------------------------- */
.tech-results__orb-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .tech-results__orb-container {
        width: 450px;
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .tech-results__orb-container {
        width: 500px;
        height: 500px;
    }
}

.tech-results__orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

@media (min-width: 768px) {
    .tech-results__orb {
        width: 280px;
        height: 280px;
    }
}

/* Orb Glow - Main sphere */
.tech-results__orb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle,
            rgba(59, 130, 246, 0.8) 0%,
            rgba(124, 58, 237, 0.6) 40%,
            rgba(59, 130, 246, 0.3) 70%,
            transparent 100%);
    border-radius: 50%;
    filter: blur(8px);
    animation: orbPulse 4s ease-in-out infinite;
}

/* Orb Rings */
.tech-results__orb-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
}

.tech-results__orb-ring--1 {
    border-color: rgba(59, 130, 246, 0.6);
    animation: orbRing1 8s linear infinite;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4),
        inset 0 0 20px rgba(59, 130, 246, 0.2);
}

.tech-results__orb-ring--2 {
    width: 85%;
    height: 85%;
    top: 7.5%;
    left: 7.5%;
    border-color: rgba(124, 58, 237, 0.5);
    animation: orbRing2 6s linear infinite reverse;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.tech-results__orb-ring--3 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: rgba(96, 165, 250, 0.4);
    border-style: dashed;
    animation: orbRing1 10s linear infinite;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes orbRing1 {
    from {
        transform: rotateX(60deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(60deg) rotateZ(360deg);
    }
}

@keyframes orbRing2 {
    from {
        transform: rotateX(70deg) rotateY(30deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(70deg) rotateY(30deg) rotateZ(360deg);
    }
}

/* -----------------------------------------------------------------------------
   AI ASSISTANT - CONNECTING LINES
----------------------------------------------------------------------------- */
.tech-results__lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tech-results__line {
    fill: none;
    stroke: rgba(59, 130, 246, 0.3);
    stroke-width: 2;
    stroke-dasharray: 8 4;
    animation: lineDash 20s linear infinite;
}

@keyframes lineDash {
    to {
        stroke-dashoffset: -100;
    }
}

/* -----------------------------------------------------------------------------
   AI ASSISTANT - CONTAINER & HEADER
----------------------------------------------------------------------------- */
.tech-results__container {
    position: relative;
    z-index: 2;
}

.tech-results__header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.tech-results__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.tech-results__title .text-gradient {
    display: block;
}

.tech-results__subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto var(--space-6);
    line-height: 1.6;
}

.tech-results__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
}

.btn--outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
}

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

.btn__icon {
    font-size: 0.6rem;
    opacity: 0.8;
}

/* -----------------------------------------------------------------------------
   AI ASSISTANT - INFO CARDS
----------------------------------------------------------------------------- */
.tech-results__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

@media (min-width: 640px) {
    .tech-results__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tech-results__cards {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-4);
    }
}

.tech-results__card {
    background: rgba(15, 23, 42, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    /* Strong double border effect - MORE VISIBLE */
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 4px 24px rgba(0, 0, 0, 0.4);
}

/* Inner highlight border for 3D depth - MORE VISIBLE */
.tech-results__card::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: calc(var(--radius-lg) - 4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 1;
}

/* Outer glow border */
.tech-results__card::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: calc(var(--radius-lg) + 2px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: -1;
}

.tech-results__card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.35),
        inset 0 0 0 1px rgba(59, 130, 246, 0.2),
        0 12px 40px rgba(59, 130, 246, 0.25),
        0 0 20px rgba(59, 130, 246, 0.15);
}

.tech-results__card:hover::before {
    border-color: rgba(59, 130, 246, 0.25);
}

.tech-results__card:hover::after {
    border-color: rgba(59, 130, 246, 0.15);
}

/* Card Title - Consistent across all cards */
.tech-results__card-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-3);
}

/* -----------------------------------------------------------------------------
   CARD 1: Task Lists Style
----------------------------------------------------------------------------- */
.tech-results__task-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.tech-results__task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-results__task-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.tech-results__task-tag {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.tech-results__task-tag--blue {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.tech-results__task-tag--green {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

/* -----------------------------------------------------------------------------
   CARD 2: Analytics Style
----------------------------------------------------------------------------- */
.tech-results__analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-3);
}

.tech-results__analytics-header .tech-results__card-title {
    margin-bottom: 0;
}

.tech-results__analytics-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
}

.tech-results__analytics-arrow {
    color: #4ade80;
    font-weight: 700;
}

.tech-results__analytics-percent {
    color: #4ade80;
    font-weight: 700;
}

.tech-results__analytics-label {
    color: rgba(255, 255, 255, 0.5);
}

.tech-results__analytics-chart {
    margin-top: var(--space-2);
}

.tech-results__analytics-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 70px;
}

.tech-results__analytics-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.tech-results__analytics-bar {
    width: 100%;
    height: var(--height, 50%);
    background: rgba(59, 130, 246, 0.25);
    border-radius: 3px 3px 0 0;
    transition: all var(--transition-base);
    margin-top: auto;
}

.tech-results__analytics-bar--highlight {
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.tech-results__card:hover .tech-results__analytics-bar {
    transform: scaleY(1.05);
}

.tech-results__analytics-month {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: capitalize;
}

/* -----------------------------------------------------------------------------
   CARD 3: Workflows Style
----------------------------------------------------------------------------- */
.tech-results__workflow-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.tech-results__workflow-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.tech-results__workflow-checkbox {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.tech-results__workflow-checkbox--checked {
    color: #a855f7;
}

.tech-results__workflow-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.tech-results__workflow-cta {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
}

.tech-results__workflow-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(168, 85, 247, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

/* -----------------------------------------------------------------------------
   CARD 4: Insights Style
----------------------------------------------------------------------------- */
.tech-results__insights-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.tech-results__insights-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.tech-results__insights-icon {
    font-size: 0.8rem;
}

.tech-results__insights-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.tech-results__insights-footer {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.tech-results__insights-tag {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.tech-results__insights-tag--highlight {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
}

/* -----------------------------------------------------------------------------
   AI ASSISTANT - LIGHT THEME STYLES
----------------------------------------------------------------------------- */
[data-theme="light"] .tech-results {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
}

[data-theme="light"] .tech-results__inner {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .tech-results.tech-results--visible .tech-results__inner {
    box-shadow: 0 8px 60px rgba(124, 58, 237, 0.15),
        0 4px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .tech-results__title {
    color: var(--text-primary);
}

[data-theme="light"] .tech-results__subtitle {
    color: var(--text-secondary);
}

[data-theme="light"] .tech-results__orb-glow {
    background: radial-gradient(circle,
            rgba(124, 58, 237, 0.6) 0%,
            rgba(99, 102, 241, 0.4) 40%,
            rgba(124, 58, 237, 0.2) 70%,
            transparent 100%);
}

[data-theme="light"] .tech-results__orb-ring--1 {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3),
        inset 0 0 20px rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .tech-results__orb-ring--2 {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .tech-results__orb-ring--3 {
    border-color: rgba(124, 58, 237, 0.3);
}

[data-theme="light"] .tech-results__line {
    stroke: rgba(124, 58, 237, 0.25);
}

[data-theme="light"] .tech-results__card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .tech-results__card::before {
    border-color: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .tech-results__card:hover {
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
        inset 0 0 0 1px rgba(124, 58, 237, 0.1),
        0 8px 32px rgba(124, 58, 237, 0.15),
        0 0 0 1px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .tech-results__card-title {
    color: var(--text-primary);
}

/* Light theme - Task List card */
[data-theme="light"] .tech-results__task-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tech-results__task-text {
    color: var(--text-secondary);
}

[data-theme="light"] .tech-results__task-tag--blue {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

[data-theme="light"] .tech-results__task-tag--green {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

/* Light theme - Analytics card */
[data-theme="light"] .tech-results__analytics-arrow,
[data-theme="light"] .tech-results__analytics-percent {
    color: #16a34a;
}

[data-theme="light"] .tech-results__analytics-label {
    color: var(--text-muted);
}

[data-theme="light"] .tech-results__analytics-bar {
    background: rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .tech-results__analytics-bar--highlight {
    background: linear-gradient(to top, #7c3aed, #a78bfa);
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.3);
}

[data-theme="light"] .tech-results__analytics-month {
    color: var(--text-muted);
}

/* Light theme - Workflows card */
[data-theme="light"] .tech-results__workflow-checkbox {
    color: var(--text-muted);
}

[data-theme="light"] .tech-results__workflow-checkbox--checked {
    color: #7c3aed;
}

[data-theme="light"] .tech-results__workflow-text {
    color: var(--text-secondary);
}

[data-theme="light"] .tech-results__workflow-cta {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-muted);
}

[data-theme="light"] .tech-results__workflow-cta:hover {
    background: rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.3);
    color: var(--text-secondary);
}

/* Light theme - Insights card */
[data-theme="light"] .tech-results__insights-text {
    color: var(--text-secondary);
}

[data-theme="light"] .tech-results__insights-tag {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

[data-theme="light"] .tech-results__insights-tag--highlight {
    background: rgba(6, 182, 212, 0.12);
    color: #0891b2;
}

/* Light theme - Buttons */
[data-theme="light"] .btn--outline-light {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

[data-theme="light"] .btn--outline-light:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(124, 58, 237, 0.4);
}

/* ===========================================================================
   ACCESSIBILITY
=========================================================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    /* Disable reveal animations for reduced motion preference */
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .reveal--visible {
        transition: none !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* Hide testimonial avatars */
.testimonials-v2__avatar {
    display: none !important;
}

/* Standardized CTA Titles (Urgency & Final) */
.urgency-cta__title,
.final-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: var(--space-8);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ===========================================================================
   LEGAL PAGES - Privacy & Terms
=========================================================================== */
.legal-page {
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-16);
    background: var(--bg-secondary);
    min-height: 100vh;
}

.legal-page__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-align: center;
}

.legal-page__updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-10);
}

.legal-page__section {
    background: var(--bg-primary);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.legal-page__section h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.legal-page__section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.legal-page__section ul {
    list-style: disc;
    padding-left: var(--space-6);
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-page__section li {
    margin-bottom: var(--space-2);
}

/* ===========================================================================
   COMPONENT: BOOKING MODAL
=========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    backdrop-filter: blur(5px);
    padding: var(--space-4);
}

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

.modal-container {
    position: relative;
    background-color: var(--bg-primary);
    width: 100%;
    max-width: 900px;
    height: 85vh;
    max-height: 800px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.modal-close:hover {
    background-color: var(--stat-red);
    color: white;
    transform: rotate(90deg);
}

.modal-content {
    flex: 1;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Trafft embed override to fit height */
.embedded-booking {
    width: 100% !important;
    height: 100% !important;
    min-height: 100%;
}

@media (max-width: 768px) {
    .modal-container {
        height: 90vh;
        max-height: none;
        border-radius: var(--radius-lg);
    }

    .modal-close {
        top: var(--space-2);
        right: var(--space-2);
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    /* Cover Section Mobile Optimization */
    .cover-section {
        height: 60vh;
        /* Reduce height on mobile */
        min-height: 500px;
        padding-bottom: var(--space-8);
        /* Add more bottom padding as requested */
    }

    .cover-section__video {
        /* Move video content left (show right side where bots are) */
        object-position: 85% center;
        width: 150%;
        /* Zoom in slightly to avoid empty spaces when translating */
        height: 100%;
        left: -25%;
        /* Center after zoom */
    }
}

/* ===========================================================================
   COMPONENT: INTEGRATIONS SECTION - Animated logo grid
=========================================================================== */

/* Section wrapper */
.integrations {
    position: relative;
    padding: 10rem 0 12rem;
    overflow-x: clip;
    /* Prevent horizontal scroll from glowing orbs */
    overflow-y: visible;
    /* Allow vertical glow bleed to prevent sharp dividing lines */
    background: transparent;
}

/* Light mode background */
[data-theme="light"] .integrations {
    background: transparent;
}

/* Ambient glow orbs */
.integrations__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.integrations__glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.integrations__glow--left {
    top: -100px;
    left: -150px;
    background: var(--primary-600);
}

.integrations__glow--right {
    bottom: -100px;
    right: -150px;
    background: var(--secondary-500);
}

[data-theme="light"] .integrations__glow {
    opacity: 0.08;
}

/* Header */
.integrations__header {
    text-align: center;
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 1;
}

.integrations__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

[data-theme="light"] .integrations__title {
    color: var(--text-primary);
}

.integrations__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.0rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

[data-theme="light"] .integrations__subtitle {
    color: var(--text-secondary);
}

/* Row container - full width, hides overflow */
.integrations__row {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: var(--space-3) 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Track - flex container, GPU-composited animation */
.integrations__track {
    display: flex;
    flex-flow: row nowrap;
    /* Force horizontal */
    width: max-content;
    box-sizing: border-box;
    animation: integrationsScrollLeft 40s linear infinite;
    will-change: transform;
}

.integrations__track--reverse {
    animation-name: integrationsScrollRight;
}

.integrations__track:hover {
    animation-play-state: paused;
}

/* A single set of logos */
.integrations__set {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: var(--space-4);
    padding: 0 calc(var(--space-4) / 2);
}

/* Individual logo card - dark rounded square */
.integrations__card {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.integrations__card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

/* Light mode cards */
[data-theme="light"] .integrations__card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .integrations__card:hover {
    background: #ffffff;
    border-color: var(--primary-300);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}

/* Logo image inside card */
.integrations__card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.integrations__card:hover img {
    opacity: 1;
}

[data-theme="light"] .integrations__card img {
    opacity: 0.8;
    filter: brightness(0) saturate(100%) invert(13%) sepia(35%) saturate(5833%) hue-rotate(231deg) brightness(84%) contrast(106%);
    /* Dark Blue #1e1b4b */
}

[data-theme="light"] .integrations__card:hover img {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(13%) sepia(35%) saturate(5833%) hue-rotate(231deg) brightness(84%) contrast(106%);
}

/* Keyframes - -25% because 4 duplicated sets */
@keyframes integrationsScrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

@keyframes integrationsScrollRight {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ---- INTEGRATIONS RESPONSIVE ---- */
@media (max-width: 768px) {
    .integrations {
        padding: var(--space-16) 0 var(--space-20);
    }

    .integrations__header {
        margin-bottom: var(--space-8);
    }

    .integrations__card {
        width: 76px;
        height: 76px;
        border-radius: var(--radius-lg);
    }

    .integrations__card img {
        width: 36px;
        height: 36px;
    }

    .integrations__set {
        gap: var(--space-3);
    }

    .integrations__track {
        animation-duration: 30s;
    }

    .integrations__glow {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .integrations__card {
        width: 64px;
        height: 64px;
    }

    .integrations__card img {
        width: 32px;
        height: 32px;
    }

    .integrations__set {
        gap: var(--space-2);
    }
}

/* ===========================================================================
   COMPONENT: BUSINESS FEATURES SECTION
=========================================================================== */
.business-section {
    position: relative;
    padding: var(--space-20) 0;
    overflow-x: clip;
    /* Prevent horizontal scroll */
    overflow-y: visible;
    /* Allow glow bleed */
}

/* ---- Header ---- */
.business-section__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.business-section__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-400);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.business-section__tag-icon {
    width: 20px;
    height: 20px;
}

.business-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.business-section__title .text-gradient {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.business-section__description {
    max-width: 42rem;
    margin: var(--space-4) auto 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- Grid Wrapper ---- */
.business-section__grid-wrapper {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ---- Animated Grid Background Lines ---- */
.business-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.business-section__mesh-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    animation: meshAnimation 10s ease-in-out infinite;
}

@keyframes meshAnimation {

    0%,
    100% {
        transform: scale(1.0);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.3;
    }
}

/* ---- Card Grid Layout ---- */
.business-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-8);
    align-items: center;
}

.business-cards__column {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* ---- Individual Card ---- */
.business-card {
    position: relative;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(124, 58, 237, 0.12);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.business-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    background: rgba(124, 58, 237, 0.06);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .business-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(124, 58, 237, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .business-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);
}

/* ---- Card Icon ---- */
.business-card__icon-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-4);
}

.business-card__icon-border {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.5), rgba(124, 58, 237, 0.5));
    -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;
}

.business-card__icon-bg {
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
}

[data-theme="light"] .business-card__icon-bg {
    background: linear-gradient(135deg, rgba(245, 243, 255, 0.95) 0%, rgba(237, 233, 254, 0.95) 100%);
}

.business-card__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #00F3FF;
}

.business-card__icon svg {
    width: 22px;
    height: 22px;
}

.business-card__icon--lg svg {
    width: 26px;
    height: 26px;
}

[data-theme="light"] .business-card__icon {
    color: var(--primary-600);
}

.business-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.business-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Center Chat Icon ---- */
.business-cards__center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-center-icon {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(59, 130, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glowPulse 3s ease-in-out infinite;
}

.business-center-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #00F3FF, #7c3aed, #3b82f6);
    -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: rotate 8s linear infinite;
}

.business-center-icon__img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}



/* ---- Background Glow ---- */
.business-section__bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] .business-section__bg-glow {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
}

/* ---- Business Section Responsive ---- */
@media (max-width: 900px) {
    .business-cards {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .business-cards__center {
        order: -1;
    }

    .business-center-icon {
        width: 72px;
        height: 72px;
    }

    .business-center-icon__img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .business-section {
        padding: var(--space-12) 0;
    }

    .business-section__header {
        margin-bottom: var(--space-8);
    }

    .business-card {
        padding: var(--space-5);
    }

    .business-card__icon-wrap {
        width: 48px;
        height: 48px;
    }

    .business-card__icon svg {
        width: 18px;
        height: 18px;
    }

    .business-card__icon--lg svg {
        width: 22px;
        height: 22px;
    }
}

/* ===========================================================================
   COMPONENT: COMPARATIVE SECTION (HUMAN VS WHATSBOTS)
========================================================================== */
.comparative-section {
    padding: var(--space-20) 0;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    background: transparent;
}

.comparative-section__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.comparative-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-400);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.comparative-tag__icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
}

.comparative-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* ---- Comparative Grid (Cards) ---- */
.comparative-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto var(--space-20);
}

.comparative-card {
    position: relative;
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.comparative-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.comparative-card--ia {
    border-color: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.05);
}

.comparative-card--human {
    border-color: rgba(239, 68, 68, 0.2);
}

.comparative-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.comparative-card__icon {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
}

.comparative-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

/* ---- List ---- */
.comparative-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparative-list__item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    font-size: 1rem;
    color: var(--text-secondary);
}

.comparative-list__icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comparative-list__icon.is-red {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.comparative-list__icon.is-cyan {
    background: #00F3FF;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* ---- Features Grid (Bottom) ---- */
.comparative-features {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-16);
}

.comparative-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.comp-feature-card {
    padding: var(--space-6);
    transition: all 0.3s ease;
}

.comp-feature-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.comp-feature-card__icon {
    width: 24px;
    height: 24px;
}

.comp-feature-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: 0;
}

.comp-feature-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Utilities & Modifiers ---- */
.text-cyan {
    color: #00F3FF !important;
}

[data-theme="light"] .text-cyan {
    color: #008fa4 !important;
    /* A darker cyan for light mode readability */
}

.text-red {
    color: #ef4444 !important;
}

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

@media (max-width: 768px) {
    .comparative-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .comparative-features__grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .comparative-card {
        padding: var(--space-6);
    }

    .comparative-section__title {
        font-size: 2.15rem;
    }
}

/* Responsive: Section titles bigger on mobile */
@media (max-width: 768px) {
    .integrations__title {
        font-size: 2.15rem;
    }

    .integrations__subtitle {
        font-size: 1.15rem;
    }

    .business-section__title {
        font-size: 2.15rem;
    }

    .business-section__title .text-gradient {
        font-size: 2.3rem;
    }

    .testimonials-v2__title {
        font-size: 2.15rem;
    }

    .urgency-cta__title,
    .final-cta__title {
        font-size: 2.15rem;
    }
}