:root {
  --bg: #0d0d10;
  --bg-2: #15151a;
  --bg-3: #1c1c23;
  --line: #2a2a33;
  --text: #f3f2ef;
  --muted: #a4a3ab;
  --dim: #6e6d75;
  --accent: #ff5a3c;
  --accent-2: #ffb199;
  --wa: #25d366;
  --ok: #3ddc84;
  --radius: 14px;
  --max: 1160px;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 90, 60, 0.14), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(120, 100, 255, 0.08), transparent 60%);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.accent { color: var(--accent); }
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.lead { color: var(--muted); font-size: 1.15rem; margin-top: 20px; max-width: 58ch; }
.sub { color: var(--muted); margin-top: 12px; max-width: 70ch; }
.hint { color: var(--dim); font-size: 0.86rem; margin-top: 8px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 24px;
  background: rgba(13, 13, 16, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #ff8a5c);
  box-shadow: 0 0 0 3px rgba(255, 90, 60, 0.18);
}
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 0.97rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 14px; font-size: 0.9rem; }
.btn-primary { background: var(--accent); color: #140b08; }
.btn-primary:hover { background: #ff6f55; }
.btn-primary:disabled { opacity: 0.55; cursor: default; }
.btn-ghost { background: var(--bg-3); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #3b3b47; background: #22222b; }
.btn-wa { background: var(--wa); color: #06260f; }
.btn-wa:hover { background: #33e676; }

/* Layout */
main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0 24px; }
.section-head { margin-bottom: 36px; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  padding: 80px 0 48px;
}
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-proof {
  list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 10px;
  color: var(--muted); font-size: 0.95rem;
}
.hero-proof li::before { content: "—"; color: var(--accent); margin-right: 10px; }
.hero-proof strong { color: var(--text); }
.hero-visual { position: relative; min-height: 520px; }
.phone-stack { position: relative; height: 560px; }
.shot {
  position: absolute; width: 260px; border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.shot-a { left: 0; top: 0; transform: rotate(-4deg); z-index: 1; }
.shot-b { right: 0; top: 60px; transform: rotate(5deg); z-index: 2; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; min-height: 0; }
  .hero-visual { min-height: 0; }
  .phone-stack { height: 420px; max-width: 420px; margin: 0 auto; }
  .shot { width: 200px; }
}

/* Cards */
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.card-head p { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-3); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px;
}
.pill-live { color: var(--ok); border-color: rgba(61, 220, 132, 0.3); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.15); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.try-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.try-side { display: grid; gap: 20px; align-content: start; }
@media (max-width: 960px) { .try-grid { grid-template-columns: 1fr; } }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 12px; }
.chat-log {
  height: 440px; overflow-y: auto; padding: 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.msg { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 0.95rem; white-space: pre-wrap; word-wrap: break-word; line-height: 1.4; }
.msg-in { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-out { align-self: flex-end; background: var(--accent); color: #140b08; border-bottom-right-radius: 4px; }
.msg-sys { align-self: center; color: var(--dim); font-size: 0.8rem; background: none; padding: 2px 8px; }
.msg-typing { align-self: flex-start; color: var(--dim); font-size: 0.85rem; padding: 6px 10px; }
.msg-typing::after { content: "…"; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.chat-prompts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--bg-3); border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 7px 12px; font-size: 0.84rem; cursor: pointer; font-family: inherit;
  text-align: left;
}
.chip:hover { color: var(--text); border-color: #3b3b47; }
.chat-form { display: flex; gap: 10px; }
.chat-form input {
  flex: 1; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; font-size: 0.97rem; font-family: inherit; outline: none;
}
.chat-form input:focus { border-color: var(--accent); }
.chat-note { color: var(--dim); font-size: 0.8rem; }

/* WA / panel */
.wa-body, .panel-body { display: grid; gap: 12px; justify-items: start; }
.qr { width: 160px; height: 160px; background: #fff; border-radius: 10px; padding: 8px; display: none; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr.show { display: block; }
.creds { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 0.93rem; }
.creds dt { color: var(--dim); }
.creds dd { margin: 0; }
.card.is-hidden { display: none; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n {
  display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center;
  border-radius: 9px; background: var(--accent); color: #140b08; font-weight: 800; margin-bottom: 14px;
}
.steps p { color: var(--muted); font-size: 0.93rem; margin-top: 8px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { border-top: 2px solid var(--accent); padding: 18px 0 0; }
.feature p { color: var(--muted); font-size: 0.93rem; margin-top: 8px; }
.feature em { color: var(--text); font-style: normal; font-weight: 600; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Scenario */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scn { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.scn-n { color: var(--accent); font-family: var(--mono); font-size: 0.85rem; display: block; margin-bottom: 10px; }
.scn p { margin-top: 8px; font-size: 0.95rem; }
@media (max-width: 960px) { .scenario-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scenario-grid { grid-template-columns: 1fr; } }

/* Video */
.video-wrap { aspect-ratio: 16 / 9; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--dim); }

/* Architecture */
.arch { margin: 0; background: #fff; border-radius: var(--radius); padding: 14px; border: 1px solid var(--line); }
.arch img { width: 100%; height: auto; display: block; }
.tech-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech-list li { background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem; color: var(--muted); }

/* Team / footer */
.contact { display: flex; gap: 12px; flex-wrap: wrap; }
.footer {
  max-width: var(--max); margin: 80px auto 0; padding: 28px 24px 40px;
  border-top: 1px solid var(--line); color: var(--dim); font-size: 0.86rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---- Marketing sections ---- */
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.hero-micro { color: var(--dim); font-size: 0.88rem; margin-top: 14px; }
.center { text-align: center; }
.link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.stripe {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin-top: 20px;
}
.stripe > div { background: var(--bg-2); padding: 22px 20px; display: grid; gap: 4px; }
.stripe strong { font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.stripe span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 960px) { .stripe { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stripe { grid-template-columns: 1fr; } }

.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pain-icon { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.pain p { color: var(--muted); font-size: 0.93rem; margin-top: 8px; }
@media (max-width: 960px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  position: relative; padding: 28px 24px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 90, 60, 0.10), rgba(255, 90, 60, 0.02)); border: 1px solid rgba(255, 90, 60, 0.25);
}
.pillar-n { color: var(--accent); font-family: var(--mono); font-size: 0.85rem; display: block; margin-bottom: 14px; }
.pillar h3 { font-size: 1.25rem; }
.pillar p { color: var(--muted); margin-top: 10px; }
.pillar em { color: var(--text); font-style: normal; font-weight: 600; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } }

.section-try { padding-top: 96px; }
.script-strip { margin-top: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.script-strip h3 { margin-bottom: 12px; }
.script { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.script strong { color: var(--text); }
.script em { color: var(--text); font-style: normal; }

.owner-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--muted); font-size: 0.97rem; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.checks strong { color: var(--text); }
.owner-visual img { width: 100%; max-width: 300px; margin: 0 auto; display: block; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
@media (max-width: 960px) { .owner-grid { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.plan-featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(255,90,60,.12), var(--bg-2) 40%); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #140b08; font-size: 0.72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; }
.plan-for { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.price { margin: 18px 0 16px; color: var(--muted); font-size: 0.95rem; }
.price span { color: var(--text); font-size: 2.4rem; font-weight: 900; letter-spacing: -0.03em; margin-right: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--muted); font-size: 0.93rem; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 18px; font-size: 0.95rem; }

.cta-box {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, rgba(255,90,60,.16), rgba(120,100,255,.10)); border: 1px solid var(--line); border-radius: 20px; padding: 40px;
}
.cta-actions { display: grid; gap: 12px; justify-items: stretch; }
@media (max-width: 960px) { .cta-box { grid-template-columns: 1fr; padding: 28px; } }
