:root {
    --primary: #dc2626;
    --primary-hover: #b91c1c;
    --secondary: #4f46e5;
    --secondary-hover: #4338ca;
    --whatsapp: #25d366;
    --text-dark: #111827;
    --text-light: #4b5563;
    --bg-light: #ffffff;
    --bg-subtle: #f9fafb;
    --bg-dark: #0f172a;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-whatsapp { color: var(--whatsapp); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge.secondary {
    background: rgba(79, 70, 229, 0.1);
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    gap: 0.5rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--border);
}

.btn-outline {
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline.light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline.light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
    height: 4.5rem;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 4rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-light);
}

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

.mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(220, 38, 38, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.05), transparent);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.stat-item span {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Dashboard Mockup */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.window-header {
    background: var(--bg-subtle);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.dots { display: flex; gap: 0.5rem; }
.dots span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #ddd; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.address-bar {
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    padding: 0.2rem 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
    flex-grow: 1;
}

.window-content {
    height: 400px;
    display: flex;
}

.sidebar-mock {
    width: 60px;
    background: var(--bg-subtle);
    border-right: 1px solid var(--border);
}

.main-mock {
    flex-grow: 1;
    padding: 1.5rem;
    position: relative;
}

.card-mock {
    background: var(--bg-subtle);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.header-mock { height: 40px; width: 60%; }
.grid-mock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-mock .card-mock { height: 100px; }

.wave-container {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    height: 60px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.wave {
    flex-grow: 1;
    background: var(--primary);
    border-radius: 2px;
    animation: wave-anim 1s ease-in-out infinite alternate;
}

.wave:nth-child(2) { animation-delay: 0.2s; height: 40%; }
.wave:nth-child(3) { animation-delay: 0.4s; height: 70%; }

@keyframes wave-anim {
    from { height: 20%; }
    to { height: 100%; }
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(220, 38, 38, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Split Features */
.split-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 8rem;
}

.split-feature.reverse {
    direction: rtl;
}

.split-feature.reverse .split-text {
    direction: ltr;
}

.split-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.split-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.feature-list li i {
    color: #10b981;
    width: 1.25rem;
}

.dashboard-mockup {
    background: var(--bg-dark);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    color: white;
}

.chat-bubble {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    max-width: 80%;
    font-size: 0.875rem;
}

.chat-bubble.ai { background: rgba(220, 38, 38, 0.2); border: 1px solid var(--primary); align-self: flex-start; }
.chat-bubble.user { background: rgba(255, 255, 255, 0.1); margin-left: auto; }
.chat-bubble.human { background: rgba(79, 70, 229, 0.2); border: 1px solid var(--secondary); margin-top: 1rem; }

.handoff-alert {
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
    color: #ffc107;
}

.whatsapp-mockup {
    background: #0b141a;
    border-radius: 2rem;
    overflow: hidden;
    width: 280px;
    margin: 0 auto;
    border: 8px solid #333;
    aspect-ratio: 9/19;
    color: white;
}

.wa-header {
    background: #1f2c34;
    padding: 1.5rem 1rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wa-avatar { width: 30px; height: 30px; background: #ddd; border-radius: 50%; }

.wa-call-screen {
    padding: 4rem 2rem;
    text-align: center;
}

.wa-avatar-large {
    width: 100px;
    height: 100px;
    background: var(--whatsapp);
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
}

/* Use Cases */
.light-bg { background-color: var(--bg-subtle); }

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.usecase-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.usecase-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.usecase-img.hospitality { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&q=80&w=800'); }
.usecase-img.healthcare { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&q=80&w=800'); }
.usecase-img.realestate { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&q=80&w=800'); }

.usecase-content {
    padding: 2rem;
}

.usecase-content h3 {
    margin-bottom: 0.75rem;
}

.usecase-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.learn-more {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* CTA */
.cta-box {
    background: var(--bg-dark);
    padding: 5rem 2rem;
    border-radius: 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.w-full {
    width: 100%;
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-subtle);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-light);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .split-feature {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text h1 { font-size: 3rem; }
    .hero-btns, .hero-stats { justify-content: center; }
    /* .hero-visual { order: -1; } */
    
    .split-feature.reverse { direction: ltr; }
    .split-feature.reverse .split-text { text-align: center; }
}

@media (max-width: 768px) {
    .navbar {
        height: 4.5rem;
        background: white;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        z-index: 2000;
    }

    .nav-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 2001;
        background: white;
    }

    .logo, .mobile-menu-btn {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2002;
    }

    .mobile-menu-btn {
        width: 3rem;
        cursor: pointer;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 4.5rem;
        gap: 2rem;
        z-index: 1500;
        
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-links a {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .nav-links .btn {
        width: 100%;
        max-width: 280px;
    }

    .section { padding: 4rem 0; }
    .footer-content { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Hero Visual - Omnichannel Voice Agent */
.hero-visual .voice-orchestrator {
    padding: 1.5rem;
    background: #f8fafc;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.channel-card {
    background: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.channel-card.active {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.02);
}

.channel-card i {
    font-size: 1.1rem;
    color: var(--text-light);
}

.channel-card.active i {
    color: var(--primary);
}

.channel-card span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
}

.live-session {
    flex-grow: 1;
    background: var(--bg-dark);
    border-radius: 1rem;
    padding: 1.25rem;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.session-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.voice-wave-active {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 0.5rem 0;
}

.wave-bar {
    width: 3px;
    height: 20%;
    background: var(--primary);
    border-radius: 2px;
    animation: voice-pulse 0.5s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2n) { animation-delay: 0.2s; }
.wave-bar:nth-child(3n) { animation-delay: 0.4s; }

@keyframes voice-pulse {
    0% { height: 20%; }
    100% { height: 100%; }
}

.transcript-preview {
    font-size: 0.8rem;
    font-style: italic;
    color: #94a3b8;
    line-height: 1.4;
    border-left: 2px solid var(--primary);
    padding-left: 0.75rem;
    margin-bottom: 0.5rem;
}

.handoff-status {
    margin-top: auto;
    padding: 0.6rem;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}
