:root {
  --bg: #fbfaff; --bg2: #f3f0ff; --card: #ffffff; --ink: #14112b; --ink2: #4a4766; --mute: #8a87a6;
  --line: #e7e3f7; --acc: #6c47ff; --acc2: #9b7bff; --accSoft: #efeaff; --wa: #1fae5b; --waDark: #128c4a;
  --shadow: 0 1px 2px rgba(20,17,43,.04), 0 12px 40px -12px rgba(76,52,190,.18);
  --r: 22px; --head: "Plus Jakarta Sans", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.02em; line-height: 1.12; }
h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.grad { background: linear-gradient(90deg, var(--acc), #b06bff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons + badges */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 15px var(--body); cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31,174,91,.6); }
.btn-wa:hover { background: var(--waDark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 13px var(--body); color: var(--acc); box-shadow: var(--shadow); }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--accSoft); }
.sec { padding: 110px 0; position: relative; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; display: grid; gap: 16px; justify-items: center; }
.sec-head p { color: var(--ink2); font-size: 18px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(251,250,255,.8); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 22px var(--head); letter-spacing: -.03em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--acc), #b06bff); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px -6px var(--acc); }
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 30px; font: 500 15px var(--body); color: var(--ink2); }
.nav-links a:hover { color: var(--acc); }
.nav .btn { padding: 11px 20px; }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* hero */
.hero { padding: 70px 0 90px; position: relative; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; z-index: -1; }
.b1 { width: 520px; height: 520px; background: #d9ccff; top: -160px; right: -120px; }
.b2 { width: 420px; height: 420px; background: #ffd9f2; bottom: -140px; left: -160px; opacity: .45; }
.b3 { width: 300px; height: 300px; background: #c9f2dc; top: 40%; left: 40%; opacity: .35; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; margin: 22px 0 22px; }
.hero p.lead { font-size: 19px; color: var(--ink2); max-width: 560px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 30px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--mute); font-size: 14px; }
.langs span.l { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink2); font-weight: 500; }
.hero-demo { position: relative; }
.hero-demo .demo { border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(76,52,190,.35); border: 1px solid var(--line); }
.float-chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font: 600 14px var(--body); display: flex; gap: 10px; align-items: center; animation: bob 5s ease-in-out infinite; }
.float-chip small { display: block; font-weight: 500; color: var(--mute); font-size: 12px; }
.fc1 { left: -34px; top: 18%; } .fc2 { right: -24px; bottom: 16%; animation-delay: -2.5s; }
.fc-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--accSoft); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat b { display: block; font: 800 36px var(--head); letter-spacing: -.03em; }
.stat span { color: var(--ink2); font-size: 14px; }

/* cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20,17,43,.04), 0 24px 50px -16px rgba(76,52,190,.28); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accSoft); display: grid; place-items: center; font-size: 24px; margin-bottom: 20px; }
.card p { color: var(--ink2); margin-top: 10px; font-size: 15.5px; }
.card ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink2); }
.card ul li::before { content: "✓"; color: var(--acc); font-weight: 700; margin-right: 8px; }
.pain .card { text-align: left; }
.pain .card .ico { background: #fff1f1; }
.pain .loss { margin-top: 16px; display: inline-block; font: 600 13px var(--body); color: #d64545; background: #fff1f1; border-radius: 999px; padding: 4px 12px; }

/* works */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; }
.work .demo { border-right: 1px solid var(--line); }
.work-body { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.tag { align-self: flex-start; font: 600 12px var(--body); color: var(--acc); background: var(--accSoft); padding: 4px 12px; border-radius: 999px; }
.work-body h3 { font-size: 22px; }
.psr { display: grid; gap: 10px; font-size: 14.5px; color: var(--ink2); }
.psr b { color: var(--ink); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.work-note { text-align: center; color: var(--mute); font-size: 14px; margin-top: 28px; }

/* demo stage (1080×1350, scaled to its box by app.js) */
.demo { position: relative; width: 100%; aspect-ratio: 1080 / 1350; overflow: hidden; background: var(--bg2); }
.demo-scale { position: absolute; left: 0; top: 0; width: 1080px; height: 1350px; transform-origin: 0 0; }
.d-stage { position: relative; width: 1080px; height: 1350px; overflow: hidden; font-family: var(--body); }
.d-bg { position: absolute; inset: 0; background: radial-gradient(700px 500px at 85% 5%, #dccfff, transparent 70%), radial-gradient(600px 500px at 5% 95%, #ffd9f0, transparent 70%), linear-gradient(#f6f3ff, #fbfaff); }
.d-cap { position: absolute; left: 60px; right: 60px; top: 44px; text-align: center; font: 800 40px/1.15 var(--head); color: var(--ink); letter-spacing: -.02em; }
.d-phone { position: absolute; left: 50%; top: 170px; width: 600px; height: 1130px; margin-left: -300px; background: #0f0d1c; border-radius: 70px; padding: 16px; box-shadow: 0 50px 90px -30px rgba(40,20,120,.5); }
.d-phone::before { content: ""; position: absolute; inset: 16px; border-radius: 56px; background: #efe7dd; }
.d-notch { position: absolute; z-index: 3; top: 30px; left: 50%; width: 150px; height: 36px; margin-left: -75px; background: #0f0d1c; border-radius: 20px; }
.d-head { position: absolute; z-index: 2; left: 16px; right: 16px; top: 16px; height: 170px; padding: 86px 30px 0; border-radius: 56px 56px 0 0; background: #1f6f54; color: #fff; display: flex; gap: 18px; align-items: center; }
.d-ava { width: 64px; height: 64px; border-radius: 50%; background: #e3f4ec; color: #14112b; display: grid; place-items: center; font-size: 34px; flex: none; margin-top: -10px; }
.d-head b { display: block; font-size: 28px; font-weight: 700; margin-top: -10px; }
.d-head small { font-size: 21px; opacity: .85; }
.d-feed { position: absolute; z-index: 1; left: 16px; right: 16px; top: 186px; bottom: 120px; overflow: hidden; padding: 0 24px; }
.d-list { display: flex; flex-direction: column; gap: 16px; padding: 22px 0; }
.d-msg { display: flex; flex-direction: column; max-width: 84%; }
.d-msg.bot { align-self: flex-start; } .d-msg.user { align-self: flex-end; align-items: flex-end; }
.d-bub { position: relative; padding: 16px 22px 26px; border-radius: 24px; font-size: 26px; line-height: 1.38; color: #111; background: #fff; box-shadow: 0 2px 2px rgba(0,0,0,.06); }
.d-msg.bot .d-bub { border-top-left-radius: 6px; } .d-msg.user .d-bub { background: #d9fdd3; border-top-right-radius: 6px; }
.d-time { position: absolute; right: 14px; bottom: 6px; font-size: 18px; color: #3a9de0; }
.d-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.d-btns span { background: #fff; color: #1f6f54; font-weight: 600; font-size: 24px; padding: 12px 20px; border-radius: 18px; box-shadow: 0 2px 2px rgba(0,0,0,.06); }
.d-pill { align-self: center; background: #fff8d6; color: #5c4b00; font: 600 26px var(--body); padding: 10px 22px; border-radius: 14px; box-shadow: 0 2px 2px rgba(0,0,0,.05); text-align: center; }
.d-voice { display: flex; align-items: center; gap: 14px; min-width: 330px; }
.d-play { width: 46px; height: 46px; border-radius: 50%; background: #1f6f54; color: #fff; display: grid; place-items: center; font-size: 20px; }
.d-wave { display: flex; gap: 4px; align-items: center; height: 40px; }
.d-wave i { width: 5px; border-radius: 3px; background: #5a8f7b; }
.d-wave i:nth-child(3n) { height: 30px; } .d-wave i:nth-child(3n+1) { height: 16px; } .d-wave i:nth-child(3n+2) { height: 24px; }
.d-len { font-size: 20px; color: #667; }
.d-trans { margin-top: 10px; font-size: 26px; color: #3c5a4f; font-style: italic; }
.d-row { display: flex; justify-content: space-between; gap: 30px; font-size: 24px; margin-top: 6px; }
.d-total { border-top: 1px dashed #bbb; padding-top: 8px; font-weight: 700; }
.d-typing { align-self: flex-start; background: #fff; border-radius: 24px; padding: 20px 24px; display: flex; gap: 8px; }
.d-typing i { width: 12px; height: 12px; border-radius: 50%; background: #9aa; }
.d-input { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 36px; height: 76px; display: flex; gap: 14px; align-items: center; }
.d-input span { flex: 1; height: 76px; border-radius: 40px; background: #fff; padding: 0 30px; display: flex; align-items: center; color: #6b6b6b; font-size: 26px; }
.d-input b { width: 76px; height: 76px; border-radius: 50%; background: #1f6f54; display: grid; place-items: center; font-size: 32px; }
.d-scene { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 80px; gap: 10px; }
.d-scene p { font: 800 72px/1.15 var(--head); letter-spacing: -.03em; color: var(--ink); }
.d-problem p:last-of-type { color: #d64545; }
.d-ring { font-size: 120px; margin-top: 40px; }
.d-result p:nth-child(2) { color: var(--acc); }
.d-brand { margin-top: 50px; font: 800 40px var(--head); color: var(--acc); }

/* repair strip */
.repair-strip { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 26px; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 20px; align-items: center; font-size: 15px; color: var(--ink2); }
.repair-strip b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accSoft); color: var(--acc); font: 800 14px var(--head); margin-right: 10px; }
@media (max-width: 1000px) { .repair-strip { grid-template-columns: 1fr; } .repair-strip .btn { justify-content: center; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; }
.step .num { font: 800 15px var(--head); color: var(--acc); background: var(--accSoft); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }

/* about */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-card { background: linear-gradient(160deg, #fff, var(--accSoft)); border: 1px solid var(--line); border-radius: 30px; padding: 40px; box-shadow: var(--shadow); text-align: center; }
.avatar { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 20px; background: linear-gradient(135deg, var(--acc), #b06bff); display: grid; place-items: center; color: #fff; font: 800 56px var(--head); border: 6px solid #fff; box-shadow: var(--shadow); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-card small { color: var(--mute); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.about-facts div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; font-size: 14.5px; color: var(--ink2); }
.about-facts b { display: block; color: var(--ink); font-size: 15.5px; }
.about h2 { margin: 16px 0 20px; }
.about p { color: var(--ink2); margin-bottom: 14px; font-size: 17px; }

/* pricing */
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; box-shadow: var(--shadow); }
.toggle button { border: 0; background: none; padding: 9px 20px; border-radius: 999px; font: 600 14px var(--body); cursor: pointer; color: var(--ink2); }
.toggle button.on { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--acc); position: relative; }
.plan.pop::before { content: "Most popular"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--acc); color: #fff; font: 600 12px var(--body); padding: 5px 14px; border-radius: 999px; }
.price { font: 800 44px var(--head); letter-spacing: -.03em; margin: 14px 0 2px; }
.price small { font: 500 15px var(--body); color: var(--mute); }
.plan ul { flex: 1; }
.plan .btn { justify-content: center; margin-top: 26px; }
.care { margin-top: 22px; text-align: center; color: var(--ink2); font-size: 15px; }
.care b { color: var(--ink); }

/* faq */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font: 700 17px var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--acc); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); margin-top: 12px; }

/* final cta + footer */
.final { background: linear-gradient(135deg, #6c47ff, #a35bff); color: #fff; border-radius: 34px; padding: 70px 40px; text-align: center; position: relative; overflow: hidden; }
.final::after { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.12); top: -200px; right: -100px; }
.final h2 { margin-bottom: 16px; }
.final p { opacity: .9; font-size: 18px; max-width: 600px; margin: 0 auto 32px; }
.final .cta-row { justify-content: center; margin: 0; }
.final .btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
footer { padding: 50px 0 40px; color: var(--mute); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; }

/* floating WhatsApp + mini bot */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31,174,91,.7); border: 0; cursor: pointer; }
.fab svg { width: 30px; height: 30px; }
.zbot { position: fixed; right: 20px; bottom: 92px; z-index: 60; width: 340px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(40,20,120,.35); overflow: hidden; display: none; }
.zbot.open { display: block; }
.bot-head { background: #1f6f54; color: #fff; padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.bot-head b { display: block; } .bot-head small { opacity: .85; }
.bot-x { margin-left: auto; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.bot-feed { background: #efe7dd; padding: 14px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.bot-feed .m { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 14.5px; background: #fff; align-self: flex-start; white-space: pre-line; }
.bot-feed .m.u { background: #d9fdd3; align-self: flex-end; }
.bot-opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-top: 1px solid var(--line); }
.bot-opts button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font: 500 13px var(--body); cursor: pointer; color: #1f6f54; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) { .works { grid-template-columns: 1fr; } }
@media (max-width: 1000px) {
  .hero .wrap, .about { grid-template-columns: 1fr; }
  .hero-demo { max-width: 460px; margin: 0 auto; width: 100%; }
  .works { grid-template-columns: 1fr; }
  .grid3, .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); }
  .sec { padding: 76px 0; }
  .wrap { padding: 0 16px; }
  .grid3, .plans, .steps, .work { grid-template-columns: 1fr; }
  .work .demo { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .float-chip { display: none; }
  .final { padding: 50px 22px; }
  .cta-row .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .hero .wrap, .about { grid-template-columns: minmax(0, 1fr); }
  .badge { max-width: 100%; }
}
