/* ==========================================================================
   STYLE SHEET: Iokee Landing Page (ICodess)
   ========================================================================== */

/* 1. Imports & Variables */
:root {
    --bg-primary: #090d16;
    --bg-secondary: #111726;
    --bg-tertiary: #1b2336;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --color-primary: #6366f1; /* Indigo */
    --color-primary-dark: #4f46e5;
    --color-secondary: #a855f7; /* Purple */
    --color-accent: #10b981; /* Emerald/WhatsApp */
    --color-accent-dark: #059669;
    --color-danger: #ef4444;
    --color-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(17, 23, 38, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
    --backdrop-blur: blur(12px);
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.35);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-full: 9999px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* 2. Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 3. Buttons & UI Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-align: center;
    padding: 10px 20px; /* Relleno por defecto para ajustar al texto */
    font-size: 0.95rem; /* Tamaño de fuente por defecto */
}

    .btn svg, .btn [data-lucide] {
        width: 18px;
        height: 18px;
        display: inline-block;
        flex-shrink: 0;
    }

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-glow);
    }

.btn-secondary {
    background: var(--bg-tertiary);
    border: 1px solid var(--color-border);
    color: var(--text-primary);
}

    .btn-secondary:hover {
        background: var(--bg-secondary);
        border-color: var(--color-primary);
        transform: translateY(-2px);
    }

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    padding: 12px;
}

/* Glow Background Effects */
.hero-glow-1, .hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.hero-glow-1 {
    top: 10%;
    left: 5%;
    background: var(--color-primary);
}

.hero-glow-2 {
    top: 20%;
    right: 5%;
    background: var(--color-secondary);
}

/* 4. Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

    .navbar.scrolled {
        padding: 10px 0;
        box-shadow: var(--shadow-md);
        background: rgba(9, 13, 22, 0.9);
    }

.navbar-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-normal);
}

.logo-area:hover .logo-img {
    transform: scale(1.05);
}

.placeholder-text {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-brand {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1;
}

.brand-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

    .nav-link:hover, .nav-link.active {
        color: #ffffff;
    }

    .nav-link.highlighted-link {
        color: #06b6d4;
        font-weight: 600;
    }

        .nav-link.highlighted-link:hover {
            color: #38bdf8;
            text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: var(--backdrop-blur);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

.mobile-menu-content {
    position: relative;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.mobile-close {
    position: absolute;
    top: -60px;
    right: 0;
    font-size: 2rem;
    color: var(--text-secondary);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 0;
}

    .mobile-link:hover {
        color: #ffffff;
    }

.mobile-cta {
    margin-top: 16px;
    padding: 14px;
}

/* 5. Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    margin-bottom: 20px;
}

.badge-icon {
    color: var(--color-secondary);
    display: flex;
}

    .badge-icon svg {
        width: 14px;
        height: 14px;
    }

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    width: 100%;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-avatars {
    display: flex;
}

.avatar-mock {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-left: -8px;
}

    .avatar-mock:first-child {
        margin-left: 0;
    }

    .avatar-mock svg {
        width: 12px;
        height: 12px;
    }

.trust-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Admin Dashboard Mockup Graphic */
.hero-mockup-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.mockup-header-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding-left: 8px;
}

    .mockup-header-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--text-muted);
    }

        .mockup-header-dots .dot:nth-child(1) {
            background: #ef4444;
        }

        .mockup-header-dots .dot:nth-child(2) {
            background: #eab308;
        }

        .mockup-header-dots .dot:nth-child(3) {
            background: #22c55e;
        }

.admin-mockup {
    display: grid;
    grid-template-columns: 140px 1fr;
    height: 320px;
    background: #0d1220;
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 0.75rem;
}

.mockup-sidebar {
    background: #080b14;
    border-right: 1px solid var(--color-border);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-logo {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

    .mockup-logo svg {
        width: 14px;
        height: 14px;
    }

.mockup-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-muted);
}

    .mockup-nav span {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 8px;
        border-radius: var(--radius-sm);
    }

        .mockup-nav span.active {
            background: rgba(255, 255, 255, 0.05);
            color: #ffffff;
        }

    .mockup-nav svg {
        width: 12px;
        height: 12px;
    }

.mockup-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

    .mockup-main-header h3 {
        font-size: 0.9rem;
        font-weight: 600;
    }

.mockup-status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-accent);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.mockup-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mockup-stat-card {
    background: #12192b;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

    .mockup-stat-card .label {
        color: var(--text-muted);
        font-size: 0.65rem;
    }

    .mockup-stat-card .value {
        font-size: 1rem;
        font-weight: 700;
        margin: 4px 0;
    }

    .mockup-stat-card .trend {
        font-size: 0.6rem;
        display: flex;
        align-items: center;
        gap: 3px;
    }

.trend.positive {
    color: var(--color-accent);
}

.mockup-stat-card .trend svg {
    width: 10px;
    height: 10px;
}

.mockup-chart-card {
    background: #12192b;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .mockup-chart-card .card-title {
        font-size: 0.7rem;
        color: var(--text-muted);
    }

.mockup-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 80px;
    padding-top: 10px;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 14%;
}

.bar-fill {
    width: 8px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: height 1s ease;
}

.bar-col span {
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* 6. Features Section */
.features {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: rgba(99, 102, 241, 0.3);
        box-shadow: var(--shadow-md);
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
        opacity: 0;
        transition: var(--transition-normal);
    }

    .feature-card:hover::before {
        opacity: 1;
    }

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 7. Chat Simulator Section */
.simulator-section {
    padding: 100px 0;
    background: #080b15;
}

.simulator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.simulator-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 6px;
    border-radius: var(--radius-md);
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

    .tab-btn:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.03);
    }

    .tab-btn.active {
        color: #ffffff;
        background: var(--bg-tertiary);
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .tab-btn svg {
        width: 16px;
        height: 16px;
    }

.chat-simulator-container {
    background: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    height: 480px;
    overflow: hidden;
}

.chat-header {
    background: #0e1424;
    border-bottom: 1px solid var(--color-border);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agent-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .agent-avatar svg {
        width: 20px;
        height: 20px;
    }

.agent-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.agent-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.chat-header-actions button {
    color: var(--text-secondary);
    font-size: 1.2rem;
    display: flex;
    padding: 6px;
    border-radius: var(--radius-sm);
}

    .chat-header-actions button:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.05);
    }

.chat-header-actions svg {
    width: 18px;
    height: 18px;
}

.chat-messages-area {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

    .chat-msg.bot {
        align-self: flex-start;
    }

    .chat-msg.user {
        align-self: flex-end;
    }

.msg-bubble {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-msg.bot .msg-bubble {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-top-left-radius: 2px;
    border: 1px solid var(--color-border);
}

.chat-msg.user .msg-bubble {
    background: var(--color-primary);
    color: #ffffff;
    border-top-right-radius: 2px;
}

.msg-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 4px;
    padding: 0 4px;
}

.chat-msg.user .msg-time {
    align-self: flex-end;
}

.quick-suggestions {
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.suggestion-pill {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

    .suggestion-pill:hover {
        background: var(--color-primary);
        color: #ffffff;
    }

.chat-input-bar {
    border-top: 1px solid var(--color-border);
    padding: 12px 20px;
    display: flex;
    gap: 12px;
    background: #0e1424;
}

    .chat-input-bar input {
        flex-grow: 1;
        background: var(--bg-secondary);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        padding: 12px 16px;
        font-size: 0.9rem;
        color: var(--text-primary);
    }

        .chat-input-bar input:focus {
            border-color: var(--color-primary);
        }

.btn-send {
    background: var(--gradient-primary);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

    .btn-send:hover {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
    }

    .btn-send svg {
        width: 18px;
        height: 18px;
    }

/* 8. Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

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

.quote-form {
    max-width: 920px;
    margin: 42px auto 0;
    background: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 38px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-sm);
}

.quote-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

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

.quote-form label {
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 700;
}

.quote-form input {
    width: 100%;
    min-height: 48px;
    background: var(--bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 12px 14px;
    outline: none;
    transition: var(--transition-fast);
}

.quote-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16);
}

.quote-form .btn {
    position: relative;
    min-height: 48px;
}

.quote-form .btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: none;
    animation: spin 0.8s linear infinite;
}

.quote-form .btn.is-loading {
    cursor: wait;
    opacity: 0.85;
}

.quote-form .btn.is-loading .btn-label {
    display: none;
}

.quote-form .btn.is-loading .btn-loader {
    display: inline-block;
}

.quote-notice {
    min-height: 22px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.quote-notice.success {
    color: var(--color-accent);
}

.quote-notice.error {
    color: #fb7185;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-normal);
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .pricing-card.featured {
        background: var(--bg-tertiary);
        border: 2px solid var(--color-primary);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    }

.featured-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.plan-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.pricing-card.featured .plan-badge {
    color: var(--color-secondary);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

    .plan-price .currency {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .plan-price .price-val {
        font-size: 3rem;
        font-weight: 800;
        line-height: 1;
    }

    .plan-price .period {
        color: var(--text-muted);
        margin-left: 6px;
    }

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 30px;
    min-height: 48px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
    flex-grow: 1;
}

    .plan-features li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

        .plan-features li svg {
            width: 16px;
            height: 16px;
            color: var(--color-accent);
        }

        .plan-features li.disabled {
            color: var(--text-muted);
            text-decoration: line-through;
        }

            .plan-features li.disabled svg {
                color: var(--text-muted);
            }

@media (max-width: 768px) {
    .quote-form {
        padding: 28px 22px;
    }

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

/* 9. Footer Section */
.footer {
    background: #05080f;
    border-top: 1px solid var(--color-border);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo .logo-placeholder {
    border-color: rgba(255, 255, 255, 0.15);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

    .footer-socials a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--color-border);
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .footer-socials a:hover {
            background: var(--color-primary);
            color: #ffffff;
            border-color: var(--color-primary);
        }

    .footer-socials svg {
        width: 16px;
        height: 16px;
    }

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

    .footer-links a:hover {
        color: #ffffff;
        padding-left: 4px;
    }

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .contact-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

    .contact-list svg {
        width: 16px;
        height: 16px;
        color: var(--color-primary);
    }

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

    .footer-bottom-links a:hover {
        color: var(--text-secondary);
    }

/* 10. MODAL DE CONTRATACIÓN (Checkout Flow) */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

    .checkout-modal-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

.checkout-modal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 760px; /* Incrementado aún más para dar amplitud al modal */
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.checkout-modal-overlay.active .checkout-modal-card {
    transform: translateY(0);
}

.checkout-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
}

    .checkout-close-btn:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }

    .checkout-close-btn svg {
        width: 16px;
        height: 16px;
    }

/* Step Indicator */
.checkout-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    padding-right: 40px; /* Margen de seguridad para no encimarse con el botón de cierre */
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--color-border);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: var(--color-border);
    margin-top: -16px;
}

.step-indicator.active .step-num {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.step-indicator.active .step-label {
    color: var(--text-primary);
}

.step-indicator.completed .step-num {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.step-indicator.completed .step-label {
    color: var(--color-accent);
}

/* Content blocks */
.checkout-step-content {
    display: none;
}

    .checkout-step-content.active {
        display: block;
        animation: fadeInStep 0.4s ease forwards;
    }

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Plan summary box */
.selected-plan-summary {
    background: var(--bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.plan-summary-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.plan-summary-details p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.plan-summary-price {
    font-size: 1.5rem;
    font-weight: 800;
}

    .plan-summary-price .period {
        font-size: 0.8rem;
        color: var(--text-muted);
        font-weight: 400;
    }

/* Addons styles */
.checkout-addons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.section-sub-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.addon-option {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-fast);
}

    .addon-option:hover {
        border-color: rgba(255, 255, 255, 0.15);
    }

.addon-checkbox-label {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
}

.addon-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    margin-right: 14px;
}

.addon-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.addon-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.addon-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.addon-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 16px;
}

/* Form inputs styles */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input, .form-group select {
    background: var(--bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

    .form-group input:focus, .form-group select:focus {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
    }

.payment-total-box {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 10px;
}

    .payment-total-box strong {
        font-size: 1.15rem;
        color: #ffffff;
    }

/* Mercado Pago secure fields */
#checkout-step-3 .payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

#checkout-step-3 .payment-method-card {
    cursor: default;
    position: relative;
}

#checkout-step-3 .payment-method-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

#checkout-step-3 .payment-card-content {
    background: var(--bg-tertiary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.14);
}

#checkout-step-3 .method-icon {
    color: var(--color-primary);
    grid-row: span 2;
    display: flex;
}

#checkout-step-3 .method-icon svg {
    width: 24px;
    height: 24px;
}

#checkout-step-3 .method-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

#checkout-step-3 .method-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

#checkout-step-3 .payment-panel {
    display: none;
}

#checkout-step-3 .payment-panel.active {
    display: block;
}

#checkout-step-3 .mp-secure-field {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    min-height: 46px;
    padding: 0 14px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    background: #ffffff;
    color-scheme: light;
    position: relative;
    z-index: 2;
}

#checkout-step-3 .mp-secure-field iframe {
    display: block;
    width: 100% !important;
    height: 44px !important;
    border: 0 !important;
    background: transparent !important;
    pointer-events: auto !important;
}

#checkout-step-3 #form-checkout__cardholderName,
#checkout-step-3 #form-checkout__installments {
    min-height: 46px;
    border-color: #cbd5e1;
    background-color: #ffffff;
    color: #111827;
    color-scheme: light;
}

#checkout-step-3 #form-checkout__cardholderName::placeholder {
    color: #64748b;
}

#checkout-step-3 #form-checkout__installments {
    position: relative;
    z-index: 3;
    cursor: pointer;
}

#checkout-step-3 #form-checkout__installments option {
    background: #ffffff;
    color: #111827;
}

#checkout-step-3 .test-payment-data {
    display: grid;
    gap: 5px;
    margin-top: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: var(--radius-md);
    background: rgba(34, 197, 94, 0.08);
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

#checkout-step-3 .test-payment-data strong {
    color: #86efac;
}

#checkout-step-3 .help-text {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.78rem;
}

#checkout-step-3 .payment-error {
    min-height: 20px;
    margin-top: 12px;
    color: #fca5a5;
    font-size: 0.86rem;
    line-height: 1.4;
}

/* Success Step */
.text-center {
    text-align: center;
}

.success-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    color: var(--color-accent);
    position: relative;
    z-index: 2;
}

.success-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    z-index: 1;
}

.success-msg {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.success-details-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
    margin-bottom: 30px;
}

    .success-details-card p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

        .success-details-card p:last-child {
            margin-bottom: 0;
        }

    .success-details-card .code {
        font-family: monospace;
        background: rgba(255, 255, 255, 0.05);
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 700;
    }

    .success-details-card .small-text {
        font-size: 0.75rem;
        margin-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 12px;
    }

/* 11. BARRA FLOTANTE Y WIDGET CHAT */
.floating-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: #ffffff;
    position: relative;
    transition: var(--transition-normal);
}

    .floating-btn svg {
        width: 24px;
        height: 24px;
        position: relative;
        z-index: 3;
    }

    .floating-btn:hover {
        transform: scale(1.08) translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-whatsapp {
    background: #25d366;
}

    .btn-whatsapp:hover {
        box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    }

.btn-ai-chat {
    background: var(--gradient-primary);
}

    .btn-ai-chat:hover {
        box-shadow: var(--shadow-glow);
    }

.ai-pulse-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    filter: blur(8px);
    opacity: 0.5;
    z-index: 1;
    animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.floating-btn-label {
    position: absolute;
    right: 70px;
    background: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.floating-btn:hover .floating-btn-label {
    opacity: 1;
    transform: translateX(0);
}

/* Widget chatbot de soporte */
.ai-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    height: 480px;
    background: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

    .ai-chat-widget.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

.ai-chat-header {
    background: #0e1424;
    border-bottom: 1px solid var(--color-border);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ai-avatar svg {
        width: 18px;
        height: 18px;
    }

.ai-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
}

.ai-status {
    font-size: 0.7rem;
    color: var(--color-accent);
}

.ai-chat-close {
    color: var(--text-secondary);
    display: flex;
}

    .ai-chat-close:hover {
        color: #ffffff;
    }

    .ai-chat-close svg {
        width: 18px;
        height: 18px;
    }

.ai-chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

    .ai-msg.bot {
        align-self: flex-start;
    }

    .ai-msg.user {
        align-self: flex-end;
    }

.ai-msg-bubble {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    line-height: 1.4;
}

.ai-msg.bot .ai-msg-bubble {
    background: var(--bg-tertiary);
    border: 1px solid var(--color-border);
    border-top-left-radius: 2px;
}

.ai-msg.user .ai-msg-bubble {
    background: var(--color-primary);
    color: #ffffff;
    border-top-right-radius: 2px;
}

.ai-chat-suggestions {
    padding: 8px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: rgba(0, 0, 0, 0.05);
}

.ai-suggestion-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition-fast);
}

    .ai-suggestion-btn:hover {
        background: rgba(99, 102, 241, 0.05);
        border-color: var(--color-primary);
        color: var(--text-primary);
    }

.ai-chat-input-area {
    border-top: 1px solid var(--color-border);
    padding: 10px 16px;
    display: flex;
    gap: 10px;
    background: #0e1424;
}

    .ai-chat-input-area input {
        flex-grow: 1;
        background: var(--bg-secondary);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        padding: 10px 14px;
        font-size: 0.85rem;
    }

        .ai-chat-input-area input:focus {
            border-color: var(--color-primary);
        }

.ai-chat-send-btn {
    background: var(--gradient-primary);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ai-chat-send-btn svg {
        width: 14px;
        height: 14px;
    }

/* IA Capabilities Section (Showcase Alternante con Animación de Scroll) */
.ai-capabilities {
    padding: 120px 0;
    background: radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.04) 0%, rgba(0, 0, 0, 0) 80%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.showcase-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 60px;
}

.showcase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

    .showcase-row:nth-child(even) {
        flex-direction: row-reverse;
    }

.showcase-img-container {
    flex: 1.1;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 10;
}

    /* Fondo resplandeciente para que resalten las capturas */
    .showcase-img-container::after {
        content: '';
        position: absolute;
        width: 320px;
        height: 320px;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
        opacity: 0.8;
        z-index: -1;
        filter: blur(50px);
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

.showcase-row:nth-child(even) .showcase-img-container::after {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.showcase-img-val {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #090d16;
}

    .showcase-img-val:hover {
        transform: scale(1.02) translateY(-4px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 15px rgba(99, 102, 241, 0.1);
    }

.showcase-text-container {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.showcase-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.showcase-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.showcase-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Animación de Entrada al Hacer Scroll */
.reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal.revealed {
    opacity: 1;
    transform: translate(0);
}

/* 12. Responsive Design Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 60px;
    }

    .nav-menu, .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 100px 0 60px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .chat-simulator-container {
        height: 440px;
    }

    .checkout-modal-card {
        padding: 24px;
    }

    .showcase-row {
        gap: 40px;
        margin-bottom: 80px;
    }

    .showcase-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 580px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 10px;
        font-size: 0.8rem;
    }

        .tab-btn span {
            display: none;
        }

    .floating-bar {
        bottom: 20px;
        right: 20px;
    }

    .ai-chat-widget {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 90px;
    }

    .showcase-container {
        gap: 60px;
    }

    .showcase-row, .showcase-row:nth-child(even) {
        flex-direction: column;
        gap: 25px;
    }

    .showcase-title {
        font-size: 1.6rem;
    }

    .showcase-desc {
        font-size: 0.95rem;
    }

    .showcase-img-val {
        max-height: 320px;
    }
}

/* 10.5. MODAL DE AGENDAR DEMO */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

    .demo-modal-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

.demo-modal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.demo-modal-overlay.active .demo-modal-card {
    transform: translateY(0);
}

.demo-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

    .demo-close-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--text-primary);
    }

.demo-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.required-asterisk {
    color: var(--color-danger);
    margin-left: 2px;
}

.optional-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 4px;
}

.demo-actions {
    margin-top: 12px;
}

.demo-error {
    min-height: 20px;
    color: var(--color-danger);
    font-size: 0.85rem;
    line-height: 1.4;
}

.demo-error:empty {
    display: none;
}

/* Success state styling */
.demo-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

    .demo-success-icon i {
        width: 32px;
        height: 32px;
    }

.demo-success-desc {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.6;
    text-align: center;
}

.demo-success-detail {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

#demo-success-content {
    text-align: center;
}

/* ==========================================================================
   6. Hero Section Mockup Slideshow & Slide Styles
   ========================================================================== */
.hero-mockup-slides {
    position: relative;
    height: 385px;
    width: 100%;
}

.hero-mockup-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .hero-mockup-slide.active {
        opacity: 1;
        visibility: visible;
    }

/* Chat Mockup Styles */
.chat-mockup {
    background: #0d1220;
    border-radius: var(--radius-md);
    height: 310px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
}

.chat-mockup-header {
    background: #080b14;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-mockup-agent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-mockup-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

    .chat-mockup-avatar svg {
        width: 16px;
        height: 16px;
    }

.chat-mockup-info h4 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
}

.chat-mockup-info span {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.chat-mockup-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-full);
}

.chat-mockup-body {
    flex-grow: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.03), transparent);
}

.chat-mockup-msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    line-height: 1.4;
    position: relative;
}

    .chat-mockup-msg p {
        margin: 0;
    }

    .chat-mockup-msg .time {
        display: block;
        font-size: 0.6rem;
        color: var(--text-muted);
        text-align: right;
        margin-top: 4px;
    }

    .chat-mockup-msg.user {
        align-self: flex-end;
        background: var(--color-primary);
        color: #ffffff;
        border-top-right-radius: 2px;
    }

        .chat-mockup-msg.user .time {
            color: rgba(255, 255, 255, 0.7);
        }

    .chat-mockup-msg.bot {
        align-self: flex-start;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--color-border);
        color: var(--text-primary);
        border-top-left-radius: 2px;
    }

.payment-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
}

.chat-mockup-action {
    align-self: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse-action 2s infinite;
}

    .chat-mockup-action svg {
        width: 12px;
        height: 12px;
    }

@keyframes pulse-action {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* E-commerce Mockup Styles */
.ecommerce-mockup {
    background: #0d1220;
    border-radius: var(--radius-md);
    height: 310px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
}

.ecom-header {
    background: #080b14;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ecom-logo {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #ffffff;
}

    .ecom-logo svg {
        width: 14px;
        height: 14px;
        color: var(--color-primary);
    }

.ecom-cart-indicator {
    position: relative;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

    .ecom-cart-indicator svg {
        width: 16px;
        height: 16px;
    }

.ecom-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 700;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecom-product-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 16px 20px;
    align-items: center;
}

.ecom-product-image {
    height: 100%;
    max-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.product-illustration {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

    .product-illustration svg {
        width: 24px;
        height: 24px;
    }

.ecom-product-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ecom-tag {
    align-self: flex-start;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.ecom-product-details h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.ecom-desc {
    margin: 0;
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.ecom-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.ecom-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
}

.ecom-old-price {
    font-size: 0.7rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.ecom-btn {
    align-self: flex-start;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    transition: var(--transition-fast);
}

    .ecom-btn svg {
        width: 10px;
        height: 10px;
    }

    .ecom-btn:hover {
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    }

.mockup-caption-outer {
    margin-top: 16px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    box-sizing: border-box;
    text-align: left;
}

    .mockup-caption-outer strong {
        color: #ffffff;
    }

    .mockup-caption-outer svg {
        width: 14px;
        height: 14px;
        color: var(--color-accent);
        flex-shrink: 0;
    }

/* ==========================================================================
   10. Online Store Section (Tienda en línea)
   ========================================================================== */
.online-store {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-primary);
}

.store-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.store-info {
    text-align: left;
}

.store-info .section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 15px;
    margin-bottom: 25px;
}

.store-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}

.store-feat-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.store-feat-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.store-feat-item .feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.store-feat-item:hover .feat-icon {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.store-feat-item .feat-icon svg,
.store-feat-item .feat-icon [data-lucide] {
    width: 20px;
    height: 20px;
}

.store-feat-item .feat-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.store-feat-item .feat-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Browser Mockup Slideshow styling */
.store-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.shop-mockup-wrapper {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
}

.shop-mockup-wrapper:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.shop-mockup-wrapper .mockup-header-dots {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    position: relative;
}

.shop-mockup-wrapper .window-buttons {
    display: flex;
    gap: 6px;
    position: absolute;
    left: 16px;
}

.shop-mockup-wrapper .window-buttons .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.7;
}

.shop-mockup-wrapper .window-buttons .dot.red { background-color: #ef4444; }
.shop-mockup-wrapper .window-buttons .dot.yellow { background-color: #f59e0b; }
.shop-mockup-wrapper .window-buttons .dot.green { background-color: #10b981; }

.shop-mockup-wrapper .mockup-browser-address {
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 20px 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 280px;
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.shop-mockup-wrapper .mockup-browser-address svg {
    width: 11px;
    height: 11px;
}

.shop-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background-color: #0b0f19;
}

.shop-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.shop-slide.active {
    opacity: 1;
    visibility: visible;
}

.shop-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Quick Navigation Tabs below browser mockup */
.shop-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

.shop-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.shop-tab:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.shop-tab.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-color: var(--color-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.1);
}

.shop-tab svg,
.shop-tab [data-lucide] {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.shop-tab.active svg,
.shop-tab.active [data-lucide] {
    color: var(--color-primary);
}

/* Dots pagination */
.shop-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
}

.shop-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-normal);
}

.shop-dot:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.shop-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--color-primary);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .store-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .store-info .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .store-info .badge-new {
        margin: 0 auto;
    }
    
    .store-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   Floating Chat Widget Styles (Copied from IcodessLanding01)
   ========================================================================== */
.chat-widget {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --bg-main: #f3f4f6;
    --bg-card: #ffffff;
    --text-main: #111827;
    --text-muted: #4b5563;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;

    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #ec4899);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-pulse {
    animation: pulse 2s infinite;
}

.chat-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 480px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-panel.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    padding: 15px 20px;
    background: linear-gradient(90deg, var(--primary), #818cf8);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agent-profile .avatar {
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}

.close-chat:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-buble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease;
    box-sizing: border-box;
}

.chat-buble.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
    color: var(--text-main);
}

.chat-buble.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: white;
    border-radius: 16px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.chat-options {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid var(--border);
}

.opt-btn {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    color: var(--text-main);
    text-align: center;
}

.opt-btn:hover {
    background: #e0e7ff;
    border-color: var(--primary);
    color: var(--primary);
}

/* Forms in Chat */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-input {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    font-size: 0.9rem;
    color: var(--text-main);
    background-color: white;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.form-row {
    display: flex;
    gap: 8px;
}

.form-row select {
    width: 80px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    background-color: white;
    color: var(--text-main);
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.submit-btn:hover {
    background: var(--primary-hover);
}

/* Utils & Animations */
.error-text {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .chat-panel {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 70px;
        height: 60vh;
    }
}
