/* ============================================
   AIsellio — Landing v2 (Editorial Light)
   Space Grotesk display + Inter body, paper bg,
   ink panels, oversized numerals
   ============================================ */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design Tokens */
:root {
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --paper: #faf9f7;
    --paper-2: #f3f1ec;
    --ink: #12110f;
    --ink-2: #1c1a17;
    --ink-soft: #3d3a35;
    --slate: #5c5952;
    --muted: #93908a;
    --line: #e5e2db;
    --line-ink: rgba(255,255,255,0.12);

    --brand: #4f46e5;
    --brand-soft: #6f67ff;
    --lime: #d8f34e;
    --green: #16a34a;
    --red: #ff5545;
    --yellow: #eab308;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 32px;
    --r-full: 9999px;

    --shadow-window: 0 40px 100px -30px rgba(18,17,15,0.35), 0 2px 8px rgba(18,17,15,0.06);
    --shadow-card: 0 1px 2px rgba(18,17,15,0.04);
    --shadow-hover: 0 14px 36px -12px rgba(18,17,15,0.16);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: 0.25s var(--ease);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

::selection { background: rgba(216,243,78,0.6); color: var(--ink); }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3, .btn { font-family: var(--font-display); }

.text-green { color: var(--green); }
.text-yellow { color: var(--yellow); }

/* Shared labels & titles */
.index-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--muted);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.04;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--slate);
    line-height: 1.65;
    max-width: 620px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 11px 22px;
    border-radius: var(--r-full);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-xl { padding: 16px 30px; font-size: 16px; }

.btn-ink {
    background: var(--ink);
    color: var(--paper);
}
.btn-ink:hover {
    background: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -8px rgba(79,70,229,0.5);
}

.btn-plain {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-plain:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); }

.btn-white {
    background: var(--lime);
    color: var(--ink);
    border: none;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -10px rgba(216,243,78,0.5);
}

/* ============================================
   Floating pill navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}

.nav-pill {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1080px;
    background: rgba(250,249,247,0.75);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: 9px 10px 9px 20px;
    transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled .nav-pill {
    background: rgba(250,249,247,0.92);
    box-shadow: 0 8px 32px -12px rgba(18,17,15,0.18);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img { width: 30px; height: 30px; border-radius: 8px; }

.logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.logo-text-light { color: var(--paper); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 8px 13px;
    border-radius: var(--r-full);
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
    color: var(--ink);
    background: rgba(18,17,15,0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-mobile-actions { display: none; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    padding: 150px 0 0;
    background:
        radial-gradient(900px 500px at 50% -10%, rgba(111,103,255,0.12), transparent 65%),
        var(--paper);
}

.hero-inner {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 72px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: 8px 18px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-card);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.35); }
    50%      { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}

.hero-title {
    font-size: clamp(52px, 8.4vw, 104px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
    margin-bottom: 28px;
}

.hero-highlight {
    position: relative;
    display: inline-block;
    color: var(--brand);
    isolation: isolate;
}

.highlight-stroke {
    position: absolute;
    left: -2%;
    bottom: -0.12em;
    width: 104%;
    height: 0.22em;
    color: var(--lime);
    z-index: -1;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--slate);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-subtitle strong { color: var(--ink); }

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

.meta-sep { color: var(--line); }

/* Hero app window */
.hero-app {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 8px;
}

.hero-app-glow {
    position: absolute;
    inset: 10% 6% -4% 6%;
    background: linear-gradient(120deg, rgba(111,103,255,0.35), rgba(216,243,78,0.3), rgba(111,103,255,0.25));
    filter: blur(60px);
    border-radius: 50%;
    z-index: 0;
}

.app-window {
    position: relative;
    z-index: 1;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-window);
    background: #fff;
}

.hero-app-caption {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    padding: 18px 0 0;
}

.browser-chrome {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.browser-dots { display: flex; gap: 7px; }

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--line);
}

.browser-url {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: 5px 16px;
    margin: 0 auto;
}

/* ============================================
   Demo app (inside hero window)
   ============================================ */
.demo-app {
    display: flex;
    height: 540px;
    background: #fff;
    text-align: left;
}

.demo-app-sidebar {
    width: 185px;
    flex-shrink: 0;
    background: var(--paper);
    border-right: 1px solid var(--line);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-app-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 700;
    padding: 0 8px;
}

.demo-app-logo img { border-radius: 6px; }

.demo-app-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-app-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--slate);
    padding: 9px 10px;
    border-radius: var(--r-sm);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.demo-app-nav-item:hover {
    background: rgba(18,17,15,0.05);
    color: var(--ink);
}

.demo-app-nav-item.active {
    background: var(--ink);
    color: #fff;
    font-weight: 600;
}

.demo-app-main {
    flex: 1;
    min-width: 0;
    position: relative;
}

.demo-panel { display: none; height: 100%; }

.demo-panel.active { display: block; animation: panelIn 0.3s var(--ease); }

@keyframes panelIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

/* Inbox */
.demo-inbox-layout {
    display: grid;
    grid-template-columns: 225px 1fr 215px;
    height: 100%;
}

.demo-conv-list {
    border-right: 1px solid var(--line);
    overflow-y: auto;
    padding: 12px 8px;
}

.demo-conv-search {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 8px 12px;
    margin-bottom: 10px;
}

.demo-conv {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background var(--transition);
}

.demo-conv:hover { background: var(--paper); }
.demo-conv.active { background: var(--paper-2); }

.demo-conv-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e1306c, #833ab4);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-conv-avatar.wa-avatar { background: linear-gradient(135deg, #25d366, #128c7e); }

.demo-conv-avatar-sm { width: 30px; height: 30px; font-size: 10.5px; }

.demo-conv-info { flex: 1; min-width: 0; }

.demo-conv-name {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-conv-badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 5px;
}

.demo-conv-badge.ig { background: rgba(225,48,108,0.1); color: #e1306c; }
.demo-conv-badge.wa { background: rgba(37,211,102,0.14); color: #128c7e; }

.demo-conv-preview {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-conv-time {
    font-size: 11px;
    color: var(--muted);
    flex-shrink: 0;
}

.demo-chat-area {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.demo-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.demo-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--paper);
}

.message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.message.customer {
    background: #fff;
    border: 1px solid var(--line);
    border-bottom-left-radius: 5px;
    align-self: flex-start;
}

.message.business {
    background: var(--ink);
    color: #fff;
    border-bottom-right-radius: 5px;
    align-self: flex-end;
}

.message.voice-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.demo-chat-composer {
    border-top: 1px solid var(--line);
    padding: 10px 14px 14px;
    background: #fff;
}

.demo-composer-ai-tag {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 8px;
}

.demo-composer-bar { display: flex; gap: 8px; }

.demo-composer-bar input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: 9px 16px;
    background: var(--paper);
    color: var(--slate);
}

.demo-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-detail-panel {
    border-left: 1px solid var(--line);
    padding: 18px 16px;
    overflow-y: auto;
}

.demo-detail-section { margin-bottom: 22px; }

.demo-detail-label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 10px;
}

.demo-detail-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.demo-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    padding: 4px 0;
}

.demo-detail-row span:first-child { color: var(--muted); }
.demo-detail-row span:last-child {
    font-weight: 600;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-detail-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--r-full);
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--slate);
}

.tag.new {
    background: rgba(79,70,229,0.07);
    border-color: rgba(79,70,229,0.2);
    color: var(--brand);
}

/* Simple demo panels */
.demo-simple-content {
    padding: 26px;
    height: 100%;
    overflow-y: auto;
}

.demo-comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
}

.demo-comment-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.demo-comment-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
}

.demo-comment-text { font-size: 13.5px; color: var(--ink-soft); }

.demo-ai-reply {
    margin-top: 6px;
    font-size: 13px;
    color: var(--ink-soft);
    background: #fff;
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 10px 14px;
    line-height: 1.55;
}

.demo-crm-table {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.demo-crm-row {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1fr 0.8fr 0.6fr;
    gap: 10px;
    padding: 13px 18px;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.demo-crm-row:last-child { border-bottom: none; }
.demo-crm-row:nth-child(even) { background: var(--paper); }

.demo-crm-header {
    background: var(--paper-2) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
}

.demo-knowledge-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
}

.demo-knowledge-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px 18px;
}

.demo-knowledge-item strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--brand);
    margin-bottom: 6px;
}

.demo-knowledge-item p { font-size: 13.5px; color: var(--slate); }

/* Automations flow */
.demo-flow-bg {
    background: radial-gradient(var(--line) 1px, transparent 1px);
    background-size: 20px 20px;
}

.demo-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
}

.flow-node {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-card);
    min-width: 280px;
}

.flow-node-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-node-trigger .flow-node-icon { background: #3b82f6; }
.flow-node-ai .flow-node-icon { background: var(--brand); }
.flow-node-condition .flow-node-icon { background: #f59e0b; }

.flow-node-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
}

.flow-node-title { font-size: 13.5px; font-weight: 700; font-family: var(--font-body); }
.flow-node-desc { font-size: 11.5px; color: var(--muted); }

.flow-connector { display: flex; flex-direction: column; align-items: center; }

.flow-connector-line { width: 2px; height: 18px; background: var(--line); }

.flow-branches { display: flex; gap: 40px; margin-top: 14px; }

.flow-branch { display: flex; flex-direction: column; align-items: center; }

.flow-branch-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: var(--r-full);
    margin-bottom: 4px;
}

.flow-branch-label.yes { background: rgba(22,163,74,0.1); color: var(--green); }
.flow-branch-label.no  { background: rgba(255,85,69,0.1); color: var(--red); }

.flow-connector-sm {
    width: 2px;
    height: 14px;
    background: var(--line);
    margin-bottom: 8px;
}

.flow-node-sm { min-width: 200px; padding: 10px 14px; gap: 10px; }

.flow-node-icon-sm {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-node-action .flow-node-icon-sm { background: var(--green); }
.flow-node-notify .flow-node-icon-sm { background: var(--red); }

.flow-node-title-sm { font-size: 12.5px; font-weight: 700; }
.flow-node-desc-sm { font-size: 11px; color: var(--muted); }

/* Analytics */
.demo-analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 560px;
    margin: 20px auto 0;
}

.demo-analytics-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-stat {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.demo-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

/* ============================================
   Ticker
   ============================================ */
.ticker-wrap {
    margin-top: 88px;
    overflow: clip;
    padding: 14px 0;
}

.ticker {
    background: var(--ink);
    overflow: hidden;
    padding: 16px 0;
    transform: rotate(-1deg) scale(1.02);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 44px;
    width: max-content;
    animation: tickerMove 30s linear infinite;
}

@keyframes tickerMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ticker-item {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--paper);
    white-space: nowrap;
}

.ticker-star { color: var(--lime); font-size: 15px; }

/* ============================================
   Social proof
   ============================================ */
.social-proof { padding: 84px 0 40px; }

.social-proof-text {
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 36px;
}

.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
}

.logo-item img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.5);
    transition: filter var(--transition);
}

.logo-item img:hover { filter: grayscale(0) opacity(1); }

/* ============================================
   Problem (ink panel)
   ============================================ */
.problem { padding: 72px 0; }

.ink-panel {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--r-xl);
    padding: clamp(48px, 6vw, 88px);
}

.ink-panel .index-label { color: rgba(250,249,247,0.45); }

.ink-panel-head { max-width: 640px; margin-bottom: 64px; }

.ink-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin-bottom: 20px;
}

.ink-title em {
    font-style: normal;
    color: var(--red);
}

.ink-subtitle {
    font-size: 16.5px;
    color: rgba(250,249,247,0.6);
    line-height: 1.65;
}

.problem-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.problem-col {
    border-top: 1px solid var(--line-ink);
    padding-top: 28px;
}

.problem-big {
    font-family: var(--font-display);
    font-size: clamp(56px, 6vw, 84px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--red);
    margin-bottom: 18px;
}

.problem-big span {
    font-size: 0.42em;
    font-weight: 600;
    margin-left: 3px;
}

.problem-col h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.problem-col p {
    font-size: 14px;
    color: rgba(250,249,247,0.6);
    line-height: 1.65;
}

.problem-col strong { color: var(--paper); }

/* ============================================
   Features (sticky split)
   ============================================ */
.features { padding: 96px 0; }

.features-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.features-sticky {
    position: sticky;
    top: 120px;
}

.split-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 18px;
}

.split-subtitle {
    font-size: 16px;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 32px;
}

.split-subtitle a { color: var(--brand); font-weight: 600; }

.features-stack {
    display: flex;
    flex-direction: column;
}

.feature-row {
    border-top: 1px solid var(--line);
    padding: 36px 0;
}

.feature-row:last-child { border-bottom: 1px solid var(--line); }

.feature-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 12px;
}

.feature-num {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.feature-head h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-tag {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ink);
    background: var(--lime);
    padding: 4px 11px;
    border-radius: var(--r-full);
}

.feature-row > p {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.7;
    max-width: 560px;
    padding-left: 38px;
}

.feature-visual {
    margin-top: 24px;
    margin-left: 38px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 20px;
    max-width: 480px;
}

.mini-chat { display: flex; flex-direction: column; gap: 8px; }

.mini-msg {
    max-width: 85%;
    font-size: 12.5px;
    line-height: 1.45;
    padding: 8px 12px;
    border-radius: 13px;
}

.mini-in {
    background: var(--paper);
    border: 1px solid var(--line);
    border-bottom-left-radius: 5px;
    align-self: flex-start;
    color: var(--ink-soft);
}

.mini-out {
    background: var(--ink);
    color: #fff;
    border-bottom-right-radius: 5px;
    align-self: flex-end;
}

.mini-badge {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.mini-system {
    align-self: center;
    background: rgba(22,163,74,0.09);
    color: var(--green);
    font-weight: 600;
    font-size: 11.5px;
    border-radius: var(--r-full);
    padding: 5px 12px;
}

.voice-player {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: 10px 18px 10px 10px;
}

.voice-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--lime);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-left: 2px;
}

.waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    height: 32px;
}

.waveform span {
    flex: 1;
    min-width: 2px;
    height: 30%;
    border-radius: 2px;
    background: var(--brand-soft);
    animation: wave 1.4s ease-in-out infinite;
}

.waveform span:nth-child(4n+1) { animation-delay: 0s;    height: 40%; }
.waveform span:nth-child(4n+2) { animation-delay: 0.25s; height: 85%; }
.waveform span:nth-child(4n+3) { animation-delay: 0.5s;  height: 55%; }
.waveform span:nth-child(4n)   { animation-delay: 0.75s; height: 70%; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.55); }
    50%      { transform: scaleY(1.1); }
}

.voice-duration {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

/* ============================================
   How it works (editorial rows)
   ============================================ */
.how-it-works {
    padding: 96px 0;
    background: var(--paper-2);
}

.how-head { max-width: 640px; margin-bottom: 56px; }

.how-rows { display: flex; flex-direction: column; }

.how-row {
    display: grid;
    grid-template-columns: 140px 1fr 1.4fr;
    gap: 40px;
    align-items: start;
    border-top: 1px solid var(--line);
    padding: 44px 0;
}

.how-row:last-child { border-bottom: 1px solid var(--line); }

.how-num {
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink);
}

.how-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.how-desc {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.7;
}

/* ============================================
   Platforms (strip)
   ============================================ */
.platforms { padding: 96px 0; }

.platforms-strip {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
}

.strip-title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.strip-subtitle {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.7;
}

.platform-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 20px 22px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.platform-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.platform-logo {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-whatsapp  { background: rgba(37,211,102,0.1);  color: #25d366; }
.platform-messenger { background: rgba(0,132,255,0.1);   color: #0084ff; }
.platform-instagram { background: rgba(225,48,108,0.1);  color: #e1306c; }
.platform-tiktok    { background: rgba(18,17,15,0.06);   color: var(--ink); }

.platform-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.platform-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: var(--r-full);
}

.platform-status.active {
    color: var(--green);
    background: rgba(22,163,74,0.08);
    border: 1px solid rgba(22,163,74,0.18);
}

.platform-status.coming-soon {
    color: var(--muted);
    background: var(--paper-2);
    border: 1px solid var(--line);
}

/* ============================================
   Results (oversized stat row)
   ============================================ */
.results {
    padding: 96px 0;
    border-top: 1px solid var(--line);
}

.results-head { max-width: 640px; margin-bottom: 56px; }

.results-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.result-item {
    padding: 8px 32px 8px 0;
    border-left: 1px solid var(--line);
    padding-left: 32px;
}

.result-item:first-child { border-left: none; padding-left: 0; }

.result-value {
    font-family: var(--font-display);
    font-size: clamp(48px, 5.4vw, 76px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--brand);
    margin-bottom: 14px;
}

.result-label {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-desc {
    font-size: 13.5px;
    color: var(--slate);
    line-height: 1.6;
}

/* ============================================
   Pricing
   ============================================ */
.pricing {
    padding: 96px 0;
    background: var(--paper-2);
}

.pricing-head { max-width: 640px; margin-bottom: 56px; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.popular-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    background: var(--lime);
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 5px 12px;
    border-radius: var(--r-full);
    white-space: nowrap;
}

.pricing-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.pricing-description {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 26px;
}

.pricing-card.popular .pricing-description { color: rgba(250,249,247,0.55); }

.pricing-price {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.pricing-period {
    font-size: 13.5px;
    color: var(--muted);
    margin: 6px 0 26px;
}

.pricing-card.popular .pricing-period { color: rgba(250,249,247,0.55); }

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 30px;
    flex: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 24px;
    font-size: 13.5px;
    color: var(--slate);
    line-height: 1.5;
}

.pricing-card.popular .pricing-features li { color: rgba(250,249,247,0.75); }

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--brand);
}

.pricing-card.popular .pricing-features li::before { color: var(--lime); }

.pricing-card .btn { width: 100%; }

.pricing-card.popular .btn {
    background: var(--lime);
    color: var(--ink);
}

.pricing-card.popular .btn:hover {
    background: #fff;
    box-shadow: none;
}

/* ============================================
   FAQ (split)
   ============================================ */
.faq { padding: 96px 0; }

.faq-split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
    align-items: start;
}

.faq-intro { position: sticky; top: 120px; }

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 4px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--brand); }

.faq-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), background var(--transition);
}

.faq-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }

.faq-item.active .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after { background: var(--brand); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}

.faq-item.active .faq-answer { max-height: 340px; }

.faq-answer-content {
    padding: 0 40px 26px 4px;
    font-size: 14.5px;
    color: var(--slate);
    line-height: 1.7;
}

/* ============================================
   Final CTA + footer (ink)
   ============================================ */
.final-cta { padding: 0; }

.cta-ink {
    background:
        radial-gradient(900px 500px at 50% 0%, rgba(111,103,255,0.18), transparent 60%),
        var(--ink);
    color: var(--paper);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding-top: 104px;
}

.cta-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 104px;
}

.cta-title {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin-bottom: 24px;
}

.cta-accent { color: var(--lime); }

.cta-subtitle {
    font-size: 16.5px;
    color: rgba(250,249,247,0.65);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 44px;
}

.contact-form {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 15px 22px;
    border: 1px solid rgba(250,249,247,0.2);
    border-radius: var(--r-full);
    background: rgba(250,249,247,0.06);
    color: var(--paper);
    transition: border-color var(--transition), background var(--transition);
}

.email-input:focus {
    outline: none;
    border-color: var(--lime);
    background: rgba(250,249,247,0.1);
}

.email-input::placeholder { color: rgba(250,249,247,0.4); }

.form-message {
    min-height: 24px;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 500;
}

.contact-email {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(250,249,247,0.5);
}

.contact-email a {
    color: var(--lime);
    font-weight: 600;
    text-decoration: none;
}

.contact-email a:hover { text-decoration: underline; }

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 36px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(250,249,247,0.6);
}

/* Footer */
.footer {
    border-top: 1px solid var(--line-ink);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand .logo-link { margin-bottom: 18px; }

.footer-desc {
    font-size: 14px;
    color: rgba(250,249,247,0.55);
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 22px;
}

.footer-desc strong { color: var(--paper); }

.footer-social { display: flex; gap: 10px; }

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(250,249,247,0.06);
    border: 1px solid var(--line-ink);
    color: rgba(250,249,247,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-link:hover {
    background: var(--lime);
    color: var(--ink);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--paper);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(250,249,247,0.55);
    text-decoration: none;
    padding: 5px 0;
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--lime); }

.footer-bottom {
    border-top: 1px solid var(--line-ink);
    padding-top: 28px;
    text-align: center;
    font-size: 13px;
    color: rgba(250,249,247,0.35);
}

/* ============================================
   Scroll animations
   ============================================ */
.animate-in {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.animate-in.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-in { opacity: 1; transform: none; }
    .ticker-track { animation: none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
    .results-row { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
    .result-item:nth-child(3) { border-left: none; padding-left: 0; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-inbox-layout { grid-template-columns: 210px 1fr; }
    .demo-detail-panel { display: none; }
    .features-split { grid-template-columns: 1fr; gap: 48px; }
    .features-sticky { position: static; }
    .platforms-strip { grid-template-columns: 1fr; gap: 40px; }
    .faq-split { grid-template-columns: 1fr; gap: 40px; }
    .faq-intro { position: static; }
}

@media (max-width: 900px) {
    .how-row {
        grid-template-columns: 90px 1fr;
        gap: 20px 28px;
    }
    .how-desc { grid-column: 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .demo-app-sidebar { width: 56px; padding: 14px 8px; }
    .demo-app-logo span { display: none; }
    .demo-app-nav-item {
        justify-content: center;
        font-size: 0;
        gap: 0;
        padding: 11px 0;
    }
    .demo-app-nav-item svg { width: 18px; height: 18px; }
    .problem-cols { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .nav-pill { padding: 8px 8px 8px 16px; }
    .nav-links {
        position: fixed;
        top: 74px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: var(--r-lg);
        box-shadow: 0 24px 60px -20px rgba(18,17,15,0.3);
        padding: 12px;
        gap: 2px;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-link { padding: 12px 16px; }
    .nav-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 10px 4px 4px;
        border-top: 1px solid var(--line);
        margin-top: 8px;
    }
    .nav-mobile-actions .btn { justify-content: center; }
    .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero { padding-top: 120px; }
    .hero-inner { margin-bottom: 48px; }
    .hero-buttons .btn { width: 100%; }
    .ticker-wrap { margin-top: 56px; }

    .problem, .features, .how-it-works, .platforms, .results, .pricing, .faq { padding: 64px 0; }
    .cta-ink { padding-top: 72px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
    .cta-inner { padding-bottom: 72px; }

    .demo-app { height: 480px; }
    .demo-inbox-layout { grid-template-columns: 1fr; }
    .demo-conv-list { display: none; }

    .platform-items { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .results-row { grid-template-columns: 1fr; gap: 36px; }
    .result-item { border-left: none; padding-left: 0; }
    .demo-analytics-grid { grid-template-columns: 1fr; }
    .demo-crm-row { grid-template-columns: 1fr 1fr 0.7fr; }
    .demo-crm-row span:nth-child(2), .demo-crm-row span:nth-child(3) { display: none; }
    .flow-branches { flex-direction: column; gap: 16px; }

    .feature-row > p { padding-left: 0; }
    .feature-visual { margin-left: 0; }

    .contact-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .cta-trust { flex-direction: column; align-items: center; gap: 12px; }
}
