:root {
    --primary: #0f172a;
    --primary-dark: #020617;
    --secondary: #334155;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --light: #ffffff;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-light: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
nav {
    background-color: var(--white);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

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

.logo {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo span {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 32px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-links .btn-primary {
    font-size: inherit;
    color: var(--white);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-text h1 {
    color: var(--primary);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-text p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Mockup */
.phone-mockup {
    background: linear-gradient(135deg, var(--primary), #1e293b);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 0 0 3px #334155,
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(59, 130, 246, 0.15);
    width: 340px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: var(--primary);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.screen {
    background: #f8fafc;
    border-radius: 30px;
    height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.chat-header {
    background: var(--white);
    padding: 40px 16px 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.chat-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.875rem;
    max-width: 85%;
    line-height: 1.5;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bubble-user {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.bubble-bot {
    background: var(--white);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-light);
}

.status-pill {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    margin: 4px 0;
}

.input-area {
    padding: 12px;
    background: white;
    border-top: 1px solid var(--border-light);
}

.fake-input {
    background: #f1f5f9;
    border-radius: 24px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.fake-input i {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Problem Section */
.problem-section {
    background: #fafafa;
    padding: 100px 0;
    text-align: center;
}

.problem-section h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.problem-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Integration Logos Carousel */
.integrations-carousel {
    background: #fafafa;
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.integrations-carousel p {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
}

.logos-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 60px;
    align-items: center;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.logo-item:hover {
    opacity: 1;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 8px;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

/* Features Section */
.features-section {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}

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

.feature-showcase.reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.feature-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-demo {
    background: #fafafa;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-light);
    position: relative;
}

.demo-window {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.demo-header {
    background: #f8fafc;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.demo-content {
    padding: 24px;
}

.chat-message {
    margin-bottom: 16px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.chat-message.user {
    text-align: right;
}

.message-bubble {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 0.95rem;
    max-width: 80%;
}

.message-bubble.user {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.message-bubble.bot {
    background: #f1f5f9;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Use Cases Section */
.use-cases-section {
    padding: 120px 0;
    background: #fafafa;
}

.use-case-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: var(--white);
    border-color: transparent;
}

.use-case-content {
    display: none;
}

.use-case-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.use-case-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.use-case-card h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.use-case-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.use-case-example {
    background: #fafafa;
    padding: 16px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-dark);
}

/* Footer CTA */
.footer-cta {
    padding: 120px 0;
    text-align: center;
    background: #fafafa;
}

.footer-cta h2 {
    font-size: 3.25rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.footer-cta p {
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 1.15rem;
}

/* Footer */
footer {
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .phone-mockup {
        width: 300px;
    }
    
    .screen {
        height: 520px;
    }
    
    .problem-section h2 {
        font-size: 2rem;
    }
    
    .problem-section p {
        font-size: 1rem;
    }
    
    .footer-cta h2 {
        font-size: 2.2rem;
    }
    
    .footer-cta p {
        font-size: 1rem;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
    }
    
    .feature-showcase.reverse {
        direction: ltr;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        margin-left: 12px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
}
