/* ============================================
   Chat·la Landing Page
   Clean, Modern, Premium Design
   ============================================ */

/* Design Tokens */
:root {
    --color-primary: #00C140;
    --color-primary-light: #48CB60;
    --color-primary-dark: #009F2A;
    --color-primary-bg: #f0fdf4;
    --color-secondary: #00A884;

    --gradient-primary: linear-gradient(135deg, #00C140 0%, #00A884 100%);
    --gradient-hero: linear-gradient(160deg, #00C140 0%, #00A884 40%, #009F2A 100%);

    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-bg-dark: #111827;

    --color-text: #111827;
    --color-text-secondary: #4b5563;
    --color-text-muted: #9ca3af;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Yorkten Font */
@font-face {
    font-family: 'Yorkten';
    src: url('fonts/yorktennormregular-webfont.woff2') format('woff2'),
         url('fonts/yorktennormregular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.text-green {
    color: var(--color-primary);
}

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

.section-badge {
    display: inline-block;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 12px auto 0;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 193, 64, 0.3);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 193, 64, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}
.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-block { width: 100%; }

.btn-nav {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: var(--radius-full);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    flex-shrink: 0;
}
.logo-icon-lg {
    width: 44px;
    height: auto;
}
.logo-text-lg {
    font-size: 28px;
}

.logo-text {
    font-family: 'Yorkten', var(--font);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

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

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition);
    position: relative;
}
.nav-link:hover {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg-shape {
    position: absolute;
    top: -5%;
    right: -15%;
    width: 65%;
    height: 120%;
    background: var(--gradient-hero);
    border-radius: 0 0 0 60%;
    opacity: 0.07;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Chat Demo */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-demo {
    position: relative;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    padding: 14px 20px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.5;
    max-width: 280px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    box-shadow: var(--shadow-sm);
}

.chat-bubble.outgoing {
    background: #e8f5e9;
    color: var(--color-text);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    animation-delay: 0.2s;
}

.chat-bubble.incoming {
    background: var(--color-primary);
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    animation-delay: 0.5s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-bubble.delay-1 {
    animation-delay: 0.9s;
}
.chat-bubble.delay-2 {
    animation-delay: 1.3s;
}
.chat-bubble.delay-3 {
    animation-delay: 1.7s;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    padding: 48px 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

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

.stat-number {
    display: block;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 8px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--color-border);
}

/* ============================================
   WHY CHATLA
   ============================================ */
.why-section {
    padding: 96px 0;
}

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

.why-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.why-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.why-card-visual {
    padding: 24px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border-light);
}

.why-card-visual.dark {
    background: var(--color-bg-dark);
}

.why-card-content {
    padding: 24px;
}
.why-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.why-card-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Phone Mockup */
.phone-mockup {
    width: 200px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 2px solid #e5e7eb;
}
.phone-mockup.small {
    width: 180px;
}

.phone-notch {
    width: 80px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin: 8px auto 0;
}

.phone-screen {
    overflow: hidden;
}

/* WhatsApp Chat Mockup */
.wa-header {
    background: #075E54;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wa-back svg { opacity: 0.8; }
.wa-avatar {
    width: 28px;
    height: 28px;
    background: #128C7E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: 600;
}
.wa-contact { display: flex; flex-direction: column; }
.wa-name { color: white; font-size: 12px; font-weight: 600; }
.wa-status-text { color: rgba(255,255,255,0.7); font-size: 10px; }

.wa-messages {
    background: #ece5dd;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 140px;
}

.wa-msg {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 10px;
    max-width: 85%;
    position: relative;
    line-height: 1.4;
}
.wa-msg p { margin: 0; }
.wa-msg.received {
    background: white;
    align-self: flex-start;
    border-top-left-radius: 2px;
}
.wa-msg.sent {
    background: #dcf8c6;
    align-self: flex-end;
    border-top-right-radius: 2px;
}
.wa-time {
    font-size: 8px;
    color: #999;
    display: block;
    text-align: right;
    margin-top: 2px;
}

/* AI Preview */
.ai-preview {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.ai-header {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 500;
}

.ai-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.ai-dot.green {
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(0, 193, 64, 0.5);
}

.ai-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.ai-label {
    color: rgba(255,255,255,0.5);
    min-width: 70px;
}

.ai-tag {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
}
.ai-tag.positive {
    background: rgba(0, 193, 64, 0.15);
    color: var(--color-primary-light);
}
.ai-tag.action {
    background: rgba(0, 168, 132, 0.15);
    color: #25D366;
}

.ai-response-preview {
    margin-top: 6px;
    padding: 10px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
}
.ai-response-preview p {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    margin: 0;
}

.ai-cursor {
    width: 2px;
    height: 14px;
    background: var(--color-primary);
    animation: blink 1s infinite;
}

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

/* Results Preview */
.results-preview {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.result-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
}

.result-name {
    font-size: 13px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.result-bar {
    height: 8px;
    background: var(--color-border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.result-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
    padding: 96px 0;
    background: var(--color-bg-alt);
}

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

.step-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition);
    position: relative;
}
.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-border);
    margin-bottom: 20px;
    line-height: 1;
}

.step-visual {
    margin-bottom: 24px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Events Flow */
.events-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.event-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary-bg);
    color: var(--color-primary-dark);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.flow-arrow {
    display: flex;
    align-items: center;
}

.event-destination {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
}

/* Segments Preview */
.segments-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.segment-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.segment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
}
.segment-avatar.f { background: #f472b6; }
.segment-avatar.m { background: #60a5fa; }

.segment-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.segment-name {
    font-size: 13px;
    font-weight: 500;
}

.segment-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.segment-tag.whale { background: #dbeafe; color: #1d4ed8; }
.segment-tag.risk { background: #fef3c7; color: #b45309; }
.segment-tag.intent { background: #d1fae5; color: #047857; }

/* Campaign Preview */
.campaign-preview {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--color-border-light);
}

.campaign-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.campaign-status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 193, 64, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(0, 193, 64, 0); }
}

.campaign-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.campaign-metrics {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.cm {
    display: flex;
    flex-direction: column;
}

.cm-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}

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

.campaign-progress-bar {
    height: 6px;
    background: var(--color-border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.campaign-progress-fill {
    width: 78%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* ============================================
   PLATFORM LAYERS
   ============================================ */
.platform-section {
    padding: 96px 0;
}

.layers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.layer-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--transition);
    position: relative;
}
.layer-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.layer-card.featured {
    background: var(--gradient-primary);
    color: white;
    border: none;
}
.layer-card.featured h3 { color: white; }
.layer-card.featured p { color: rgba(255,255,255,0.85); }
.layer-card.featured .layer-number { color: rgba(255,255,255,0.3); }
.layer-card.featured .layer-features li { color: rgba(255,255,255,0.9); }
.layer-card.featured .layer-features li::before { color: rgba(255,255,255,0.7); }

.layer-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 16px;
}

.layer-icon-wrap {
    margin-bottom: 16px;
}

.layer-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.layer-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.layer-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.layer-features li {
    font-size: 12px;
    color: var(--color-text-secondary);
    padding-left: 16px;
    position: relative;
}
.layer-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 11px;
}

.layer-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

/* ============================================
   FEATURES
   ============================================ */
.features-section {
    padding: 96px 0;
    background: var(--color-bg-alt);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-hero-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all var(--transition);
}
.feature-hero-card:hover {
    box-shadow: var(--shadow-lg);
}

.feature-hero-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.feature-hero-content p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Segment Builder */
.segment-builder {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sb-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.sb-filters {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sb-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.sb-field {
    font-weight: 600;
    color: var(--color-text);
    min-width: 110px;
}
.sb-op {
    color: var(--color-text-muted);
    font-size: 11px;
}
.sb-val {
    background: white;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-light);
    font-weight: 500;
}
.sb-val.highlight {
    background: var(--color-primary-bg);
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}

.sb-result {
    padding: 12px 16px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.sb-count {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}
.tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}
.tag.whatsapp { background: #dcfce7; color: #166534; }
.tag.messenger { background: #dbeafe; color: #1e40af; }

/* ============================================
   CHANNELS SHOWCASE
   ============================================ */
.channels-section {
    padding: 96px 0;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.channel-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
}
.channel-card:hover {
    box-shadow: var(--shadow-lg);
}

.channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 28px;
}

/* Mini Phone */
.phone-frame-mini {
    width: 240px;
    margin: 0 auto;
    background: white;
    border-radius: 28px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 3px solid #e5e7eb;
}

.phone-notch-mini {
    width: 80px;
    height: 5px;
    background: #e5e7eb;
    border-radius: 3px;
    margin: 8px auto 0;
}

.phone-screen-mini {
    overflow: hidden;
}

/* Mini WhatsApp */
.wa-mini-header {
    background: #075E54;
    padding: 10px 14px;
}
.wa-mini-name {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.wa-mini-msgs {
    background: #ece5dd;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 200px;
}

.wa-mini-msg {
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 12px;
    max-width: 82%;
    line-height: 1.4;
}
.wa-mini-msg.received {
    background: white;
    align-self: flex-start;
    border-top-left-radius: 3px;
}
.wa-mini-msg.sent {
    background: #dcf8c6;
    align-self: flex-end;
    border-top-right-radius: 3px;
}

.wa-mini-btn, .msngr-mini-btn {
    margin-top: 4px;
    padding: 8px;
    text-align: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: var(--color-primary);
    color: white;
}
.wa-mini-btn.secondary, .msngr-mini-btn.secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

/* Mini Messenger */
.msngr-mini-header {
    background: #0084FF;
    padding: 10px 14px;
}
.msngr-mini-name {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.phone-screen-mini.messenger {
    background: #f0f0f0;
}

.msngr-mini-msgs {
    background: #f0f0f0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 200px;
}

.msngr-mini-msg {
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 12px;
    max-width: 82%;
    line-height: 1.4;
}
.msngr-mini-msg.received {
    background: white;
    align-self: flex-start;
    border-top-left-radius: 3px;
}
.msngr-mini-msg.sent {
    background: #0084FF;
    color: white;
    align-self: flex-end;
    border-top-right-radius: 3px;
}

/* ============================================
   BANNER
   ============================================ */
.banner-section {
    padding: 48px 0;
}

.banner {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
}

.banner h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 12px;
}

.banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
}

/* ============================================
   USE CASES
   ============================================ */
.use-cases-section {
    padding: 96px 0;
    background: var(--color-bg-alt);
}

.use-cases-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    background: transparent;
    border: 1.5px solid var(--color-border);
    transition: all var(--transition);
}
.tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.use-case-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--color-border);
}
.use-case-panel.active {
    display: grid;
    animation: fadeIn 0.4s ease;
}

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

.use-case-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.use-case-info > p {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.use-case-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.use-case-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.check {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* Metric Ring */
.metric-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.metric-ring {
    position: relative;
    width: 180px;
    height: 180px;
}
.metric-ring svg {
    width: 100%;
    height: 100%;
}

.metric-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.metric-big {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}
.metric-small {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* LiveOps Cards */
.liveops-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

.liveops-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.liveops-emoji { font-size: 24px; }
.liveops-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text);
}
.liveops-stat {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============================================
   PRICING
   ============================================ */
.pricing-section {
    padding: 96px 0;
}

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

.pricing-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(0, 193, 64, 0.12);
    transform: scale(1.03);
}
.pricing-card.popular:hover {
    transform: scale(1.04);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.pricing-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-light);
}
.pricing-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.pricing-header p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.pricing-features {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    padding: 96px 0;
    background: var(--color-bg-alt);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 2px 12px rgba(0, 193, 64, 0.08);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: color var(--transition);
}
.faq-question:hover {
    color: var(--color-primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--color-text-muted);
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
    padding: 96px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
}

.contact-brand {
    margin-bottom: 24px;
}
.contact-logo {
    gap: 12px;
}

.contact-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.contact-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Form */
.contact-form-wrap {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--color-text);
    background: var(--color-bg);
    transition: all var(--transition);
    outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Checkbox */
.checkbox-group {
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    transition: all var(--transition);
    position: relative;
    margin-top: 2px;
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-text {
    color: var(--color-text-secondary);
    flex: 1;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon-wrap {
    margin-bottom: 16px;
}

.success-message h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.success-message p {
    font-size: 15px;
    color: var(--color-text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 32px;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border-light);
}

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

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-company {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer-contact-info a {
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}
.footer-contact-info a:hover {
    color: var(--color-primary);
}

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

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-light);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all var(--transition);
}
.social-links a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-hero-card {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 999;
    }
    .nav-links.active .nav-link {
        font-size: 20px;
    }

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

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .chat-demo {
        max-width: 300px;
        margin: 0 auto;
    }

    .stats-grid {
        flex-direction: column;
        gap: 24px;
    }
    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .layers-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .channels-grid {
        grid-template-columns: 1fr;
    }

    .use-case-panel,
    .use-case-panel.active {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links-group {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .banner {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .footer-links-group {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .use-cases-tabs {
        flex-wrap: wrap;
    }

    .contact-form-wrap {
        padding: 24px;
    }
}
