/* ==========================================================================
   DESIGN SYSTEM - DARK NEON TECH
   ========================================================================== */

:root {
    --bg-dark: #08090c;
    --bg-surface: #0f1118;
    --bg-card: rgba(15, 17, 24, 0.7);
    --bg-chat-bubble-in: #1c1f2e;
    --bg-chat-bubble-out: rgba(157, 78, 221, 0.2);
    
    --accent-cyan: #00f0ff;
    --accent-cyan-rgb: 0, 240, 255;
    --accent-purple: #9d4edd;
    --accent-purple-rgb: 157, 78, 221;
    --accent-green: #39ff14;
    --accent-red: #ff3366;
    
    --text-white: #f1f5f9;
    --text-light: #cbd5e1;
    --text-muted: #64748b;
    
    --border-glow: rgba(0, 240, 255, 0.15);
    --border-purple-glow: rgba(157, 78, 221, 0.2);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-width: 1200px;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ==========================================================================
   NEON UTILITIES
   ========================================================================== */

.neon-text-blue {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.5);
}

.neon-text-purple {
    color: var(--accent-purple);
    text-shadow: 0 0 10px rgba(var(--accent-purple-rgb), 0.5);
}

.neon-green {
    color: var(--accent-green);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.neon-border-purple {
    border: 1px solid var(--accent-purple);
    box-shadow: 0 0 15px rgba(var(--accent-purple-rgb), 0.25);
}

.neon-border-blue {
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(var(--accent-cyan-rgb), 0.25);
}

.neon-border-hover-red:hover {
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.25);
}

.green-text { color: var(--accent-green); }
.red-text { color: var(--accent-red); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.cta-button {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(var(--accent-cyan-rgb), 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--accent-purple-rgb), 0.5);
    color: #fff;
}

.secondary-button {
    background: transparent;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 30px;
    border: 1px solid var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    transition: var(--transition);
}

.secondary-button:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(var(--accent-cyan-rgb), 0.2);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(8, 9, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo .dot {
    color: var(--accent-cyan);
}

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

.nav-link {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(var(--accent-cyan-rgb), 0.4);
}

.nav-cta {
    padding: 8px 18px;
    font-size: 14px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    background-image: radial-gradient(circle at 10% 20%, rgba(var(--accent-purple-rgb), 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(var(--accent-cyan-rgb), 0.05) 0%, transparent 40%);
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.15) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    pointer-events: none;
    filter: blur(40px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge {
    background: rgba(var(--accent-cyan-rgb), 0.1);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.3);
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-social-proof {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.proof-item i {
    margin-right: 6px;
}

/* Glassmorphic Mockup Frame */
.mockup-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dot.red { background-color: #ff5f56; }
.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }

.mockup-title {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    margin-left: 8px;
}

.mockup-body {
    padding: 24px;
}

.dashboard-stat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
}

.dashboard-chat-preview {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.message {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.message.incoming .avatar { font-size: 18px; }
.message.outgoing .avatar-ia { font-size: 18px; }

.message .bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    max-width: 85%;
}

.message.incoming .bubble {
    background: var(--bg-chat-bubble-in);
    border-top-left-radius: 0;
}

.message.outgoing .bubble {
    background: var(--bg-chat-bubble-out);
    border-top-right-radius: 0;
}

.message-status {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.status-indicator.active {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

/* ==========================================================================
   PAIN SECTION (EL PROBLEMA)
   ========================================================================== */

.pain-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 680px;
    margin: 0 auto 60px auto;
}

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

.pain-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.card-icon {
    font-size: 32px;
    color: var(--accent-red);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 51, 102, 0.2);
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-light);
    font-size: 14px;
}

/* ==========================================================================
   SOLUTION SECTION (LA CURA)
   ========================================================================== */

.solution-section {
    padding: 100px 0;
    background-image: radial-gradient(circle at right center, rgba(var(--accent-cyan-rgb), 0.05) 0%, transparent 50%);
    border-top: 1px solid var(--border-color);
}

.solution-flex {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.solution-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.item-number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-cyan);
    background: rgba(var(--accent-cyan-rgb), 0.08);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.2);
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.15);
}

.item-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.item-text {
    font-size: 14px;
    color: var(--text-light);
}

/* Phone Mockup Simulator */
.phone-mockup {
    width: 290px;
    height: 580px;
    background: #000;
    border: 10px solid #222;
    border-radius: 36px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8),
                0 0 30px rgba(var(--accent-cyan-rgb), 0.15);
    overflow: hidden;
}

.phone-speaker {
    width: 60px;
    height: 12px;
    background: #222;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
}

.chat-header {
    background: var(--bg-surface);
    padding: 24px 16px 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
}

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

.chat-info {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
}

.chat-status {
    font-size: 10px;
    color: var(--accent-green);
}

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

.chat-message {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 12px;
    max-width: 85%;
    word-wrap: break-word;
}

.chat-message.incoming {
    background: var(--bg-chat-bubble-in);
    align-self: flex-start;
    border-top-left-radius: 0;
}

.chat-message.outgoing {
    background: var(--bg-chat-bubble-out);
    align-self: flex-end;
    border-top-right-radius: 0;
    border: 1px solid rgba(var(--accent-purple-rgb), 0.3);
}

.chat-input-area {
    padding: 10px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
}

.chat-input-area input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 14px;
    color: var(--text-white);
    font-size: 12px;
    outline: none;
}

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

.send-btn {
    background: var(--accent-cyan);
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.send-btn:hover {
    background: var(--accent-purple);
    color: #fff;
}

/* ==========================================================================
   PRICING SECTION (PRECIOS)
   ========================================================================== */

.pricing-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.pricing-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.old-way-card, .new-way-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    position: relative;
}

.old-way-card {
    opacity: 0.7;
}

.price-strike {
    font-size: 32px;
    font-weight: 700;
    text-decoration: line-through;
    color: var(--accent-red);
    margin: 16px 0;
}

.new-way-card {
    background: radial-gradient(circle at top right, rgba(var(--accent-purple-rgb), 0.15), transparent), var(--bg-surface);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-value {
    font-size: 56px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-white);
    margin: 8px 0;
    line-height: 1;
}

.price-sub {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-muted);
}

.price-period {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.setup-value {
    font-size: 13px;
    color: var(--accent-green);
    margin-bottom: 24px;
}

.comparison-list {
    list-style: none;
    margin-top: 24px;
}

.comparison-list li {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    background: radial-gradient(circle at bottom left, rgba(var(--accent-cyan-rgb), 0.1), transparent), var(--bg-surface);
}

.badge-card {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(var(--accent-cyan-rgb), 0.1);
    color: var(--accent-cyan);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
}

.pricing-card h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.card-price {
    font-size: 40px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-white);
    margin-bottom: 8px;
}

.card-price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.card-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 40px;
}

.card-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.card-features li {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li i {
    color: var(--accent-cyan);
}

.pricing-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.pricing-btn:hover {
    background: var(--text-white);
    color: #000;
}

.pricing-card.featured .pricing-btn {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

.pricing-card.featured .pricing-btn:hover {
    background: var(--accent-purple);
    color: #fff;
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(var(--accent-purple-rgb), 0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    padding: 60px 0 30px 0;
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-copy {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   FLOATING NEON CHATBOT WIDGET
   ========================================================================== */

.floating-chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(var(--accent-cyan-rgb), 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    position: relative;
    outline: none;
    transition: var(--transition);
}

.chat-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(var(--accent-purple-rgb), 0.6);
    color: #fff;
}

.chat-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    opacity: 0.4;
    animation: chatPulseAnim 2s infinite;
}

@keyframes chatPulseAnim {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(var(--accent-purple-rgb), 0.15);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

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

.chat-window-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.avatar-large {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.3);
}

.chat-window-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.window-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.window-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

.close-chat-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.close-chat-btn:hover {
    color: var(--accent-red);
}

.chat-window-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(8, 9, 12, 0.4);
}

.chat-options {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-opt-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}

.chat-opt-btn:hover {
    background: rgba(var(--accent-cyan-rgb), 0.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.25);
    padding-left: 14px;
}

.chat-window-input {
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chat-window-input input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 10px 16px;
    color: var(--text-white);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.chat-window-input input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(var(--accent-cyan-rgb), 0.2);
}

.send-message-btn {
    background: var(--accent-cyan);
    color: #000;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.send-message-btn:hover {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 10px rgba(var(--accent-purple-rgb), 0.3);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        margin: 0 auto 36px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-social-proof {
        justify-content: center;
    }
    
    .solution-flex {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .pain-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .pricing-comparison {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }
    
    .nav-bar {
        display: none; /* Can expand to hamburger menu in future, but for simplified landing page header links are basic */
    }
    
    .floating-chat-container {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        height: 450px;
        bottom: 70px;
    }
}

/* ==========================================================================
   WRITING INDICATOR (TYPING DOTS)
   ========================================================================== */

.writing-indicator {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 12px 18px !important;
    width: fit-content;
    background: var(--bg-chat-bubble-in) !important;
    border-top-left-radius: 0 !important;
    border-radius: 14px;
}

.writing-indicator span {
    width: 7px;
    height: 7px;
    background-color: var(--text-muted);
    border-radius: 50%;
    display: inline-block;
    animation: bubbleBounce 1.4s infinite ease-in-out both;
}

.writing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.writing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bubbleBounce {
    0%, 80%, 100% { 
        transform: scale(0.6);
        opacity: 0.4;
    } 40% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

/* ==========================================================================
   SCROLL ENTRANCE & FLOATING ANIMATIONS
   ========================================================================== */

/* Fade in on Scroll */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* Staggered entry delays for card grids */
.pain-grid .pain-card:nth-child(1) { transition-delay: 0.1s; }
.pain-grid .pain-card:nth-child(2) { transition-delay: 0.25s; }
.pain-grid .pain-card:nth-child(3) { transition-delay: 0.4s; }

.pricing-grid .pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-grid .pricing-card:nth-child(2) { transition-delay: 0.25s; }
.pricing-grid .pricing-card:nth-child(3) { transition-delay: 0.4s; }

/* Floating phone simulation */
.phone-mockup {
    animation: floatAnim 6s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
        box-shadow: 0 35px 65px -10px rgba(0, 0, 0, 0.85),
                    0 0 35px rgba(var(--accent-cyan-rgb), 0.25);
    }
}

/* Pulsing background ambient glow */
.hero-glow {
    animation: glowPulse 10s infinite alternate ease-in-out;
}

@keyframes glowPulse {
    0% {
        opacity: 0.6;
        transform: scale(1) translate(0px, 0px);
    }
    50% {
        opacity: 1;
        transform: scale(1.15) translate(30px, -20px);
    }
    100% {
        opacity: 0.7;
        transform: scale(0.9) translate(-20px, 20px);
    }
}

/* Dashboard Mockup Chat Animations */
#dash-msg-1, #dash-msg-2 {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

#dash-status {
    opacity: 0;
    transition: opacity 0.5s ease;
}



