:root {
  --biru: #1E4FD8; --biru-50: #EBF1FF; --navy: #0B1F44;
  --toska: #14B8A6; --toska-700: #0B7F74; --toska-soft: #E0F6F3;
  --grad: linear-gradient(135deg, #1E4FD8, #14B8A6);
  --bg: #F4F7FB; --surface: #FFFFFF; --line: #DFE5EE;
  --fg: #0B1F44; --muted: #5A6780;
  --warn: #C98A00; --warn-soft: #FFF4D6;
  --r-sm: 6px; --r: 10px; --r-lg: 16px;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(11,31,68,.06), 0 12px 32px -12px rgba(11,31,68,.18);
  --nav-bg: rgba(244,247,251,.82);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1530; --surface: #111F3D; --line: #22335A;
    --fg: #E8EDF4; --muted: #9AA8BC; --biru: #4F7DF5;
    --toska: #2DD4BF; --biru-50: #13254D; --toska-soft: #0F2C2E;
    --warn-soft: #3A2E0C; --warn: #F0B429;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -12px rgba(0,0,0,.55);
    --nav-bg: rgba(10,21,48,.82);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--toska); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 99; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(30,79,216,.6); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(30,79,216,.7); }
.btn.ghost { border-color: var(--line); background: var(--surface); color: var(--fg); }
.btn.ghost:hover { border-color: var(--biru); }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { transform: translateY(-1px); }
.btn.outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn.outline-light:hover { background: rgba(255,255,255,.1); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { color: var(--fg); display: flex; }
.logo { height: 38px; width: auto; }
.links { display: flex; gap: 28px; margin-left: 16px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--fg); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* Hero */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(20,184,166,.18), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -30% -15%; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(30,79,216,.14), transparent); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--toska); box-shadow: 0 0 0 4px var(--toska-soft); }
h1 { font-size: clamp(44px, 6.4vw, 76px); font-weight: 800; margin: 20px 0 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-cta.center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--toska-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%230B7F74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; flex: none; }

/* Mock app */
.hero-visual { position: relative; }
.app { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--bg); padding: 3px 10px; border-radius: 999px; }
.app-body { display: grid; grid-template-columns: 210px 1fr; min-height: 360px; }
.chats { border-right: 1px solid var(--line); padding: 10px 8px; }
.chats-h { font: 700 14px var(--display); padding: 4px 8px 10px; display: flex; justify-content: space-between; }
.chats-h b { font: 600 11px var(--body); background: var(--biru-50); color: var(--biru); padding: 2px 7px; border-radius: 999px; }
.chat { display: flex; align-items: center; gap: 9px; padding: 9px 8px; border-radius: var(--r); position: relative; }
.chat.on { background: var(--biru-50); }
.chat div { min-width: 0; flex: 1; }
.chat b { display: block; font-size: 13px; font-weight: 600; }
.chat small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.a1 { background: #1E4FD8; } .a2 { background: #0B7F74; } .a3 { background: #7C5CE0; } .a4 { background: #C2410C; }
.tag { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 999px; flex: none; }
.tag.bot { background: var(--toska-soft); color: var(--toska-700); }
.tag.new { background: var(--biru); color: #fff; }
.tag.hand { background: var(--warn-soft); color: var(--warn); }
@media (prefers-color-scheme: dark) { .tag.bot { color: var(--toska); } }
.thread { display: flex; flex-direction: column; background: var(--bg); }
.thread-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.thread-h b { font-size: 14px; display: block; }
.thread-h small { font-size: 12px; color: var(--toska-700); }
@media (prefers-color-scheme: dark) { .thread-h small { color: var(--toska); } }
.msgs { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.msgs p { max-width: 82%; font-size: 13px; line-height: 1.5; padding: 8px 11px; border-radius: 12px; }
.msgs .in { background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 4px; align-self: flex-start; }
.msgs .out { background: var(--biru); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.msgs .out.bot { background: var(--grad); }
.by { display: block; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; margin-bottom: 2px; }
.dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.src { display: flex; align-items: center; gap: 6px; margin: 0 14px 14px; padding: 8px 10px; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }
.src svg { width: 15px; height: 15px; flex: none; color: var(--toska-700); }
.src b { color: var(--fg); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px 14px; display: flex; flex-direction: column; animation: bob 6s ease-in-out infinite; }
.float b { font: 800 18px/1.1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float span { font-size: 12px; color: var(--muted); }
.f1 { left: -28px; bottom: 40px; }
.f2 { right: -18px; top: -22px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Channel band */
.band { border-block: 1px solid var(--line); background: var(--surface); }
.band-in { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.band-in > span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.band ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.band li { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.band li.live { color: var(--fg); }
.band em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.band li.live em { background: var(--toska-soft); color: var(--toska-700); }
@media (prefers-color-scheme: dark) { .band li.live em { color: var(--toska); } }

/* Sections */
.sec { padding: 96px 0; }
.sec.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-h { max-width: 640px; margin-bottom: 48px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--biru); margin-bottom: 12px; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.sec-h p:not(.kicker) { margin-top: 16px; color: var(--muted); font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); margin-bottom: 18px; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lead-sm { color: var(--muted); font-size: 17px; margin-top: 16px; }
.feat { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.feat li { position: relative; padding-left: 32px; color: var(--muted); }
.feat li b { color: var(--fg); }
.feat li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--toska-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%230B7F74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.flow { display: grid; gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--biru), var(--toska)); opacity: .35; }
.step { position: relative; display: flex; gap: 16px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.step .n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 15px var(--display); background: var(--surface); border: 2px solid var(--biru); color: var(--biru); }
.step.ok .n { border-color: var(--toska); color: var(--toska-700); background: var(--toska-soft); }
.step.warn .n { border-color: var(--warn); color: var(--warn); background: var(--warn-soft); }
.step b { display: block; font-size: 15px; }
.step small { color: var(--muted); font-size: 13px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.steps span { display: inline-block; font: 800 40px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who div { padding: 24px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.who h3 { font-size: 18px; margin-bottom: 8px; }
.who p { color: var(--muted); font-size: 14px; }
.quote { margin: 40px 0 0; padding: 32px 36px; border-radius: var(--r-lg); background: var(--biru-50); border-left: 4px solid var(--biru); }
.quote blockquote { margin: 0; font: 600 clamp(18px, 2.2vw, 22px)/1.45 var(--display); letter-spacing: -.01em; }
.quote figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

.final { padding: 96px 0; background: var(--navy); background-image: radial-gradient(60% 120% at 0% 0%, rgba(30,79,216,.55), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(20,184,166,.45), transparent 60%); color: #fff; text-align: center; }
.final h2 { max-width: 16em; margin: 0 auto; }
.final .login-note { margin-top: 20px; font-size: 15px; }
.final .login-note a { color: #fff; font-weight: 600; }
.final p { margin-top: 16px; color: rgba(255,255,255,.78); font-size: 18px; }

.foot { padding: 32px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand b { color: var(--fg); }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--fg); }

/* Burger + mobile menu */
.burger { display: none; width: 44px; height: 44px; margin-left: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { border-top: 1px solid var(--line); background: var(--surface); box-shadow: 0 16px 32px -16px rgba(11,31,68,.25); }
.menu[hidden] { display: none; }
.menu-in { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.menu-in > a { padding: 14px 4px; font-weight: 600; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-cta { display: grid; gap: 10px; margin-top: 18px; }
body.menu-open { overflow: hidden; }

/* Pricing */
.sec-h.center { margin-left: auto; margin-right: auto; text-align: center; }
.cycle { display: inline-flex; gap: 4px; margin-top: 24px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.cycle button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted); font: 600 14px var(--body); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.cycle button.on { background: var(--biru); color: #fff; }
.cycle em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--toska-soft); color: var(--toska-700); }
.cycle button.on em { background: rgba(255,255,255,.2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px 28px; }
.plan.pick { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 24px; }
.plan-tag { color: var(--muted); font-size: 14px; margin-top: 6px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin: 22px 0 20px; }
.price .rp { font-weight: 700; color: var(--muted); }
.price b { font: 800 40px/1 var(--display); letter-spacing: -.03em; }
.price .per { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--toska-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%230B7F74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.btn.block { display: flex; width: 100%; }
.plans-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.plans-note a, .faq details a { color: var(--biru); font-weight: 600; }

/* Responsive */
@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.pick { order: -1; }
  .hero-in, .split { grid-template-columns: 1fr; gap: 48px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .who { grid-template-columns: repeat(2, 1fr); }
  .f1 { left: 8px; } .f2 { right: 8px; }
}
@media (max-width: 760px) {
  .links { display: none; }
  .nav-cta .ghost { display: none; }
  .burger { display: inline-flex; }
  .nav-in { gap: 12px; }
  .hero { padding: 40px 0 56px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .chats { display: none; }
  .float { display: none; }
  .band-in { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec, .final { padding: 64px 0; }
  .grid, .steps, .who { grid-template-columns: 1fr; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 380px) { .logo { height: 32px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
