/* KonvoChat landing page */
:root {
  --ink: #0e1020;
  --ink-2: #2a2e3f;
  --text: #4b5164;
  --muted: #7c8296;
  --line: rgba(14, 16, 32, .08);
  --line-2: rgba(14, 16, 32, .12);
  --bg: #ffffff;
  --soft: #f6f6f9;
  --brand: #5b4cf0;
  --brand-2: #9333ea;
  --brand-ink: #4338ca;
  --brand-tint: #efedff;
  --live: #22c38e;
  --amber: #f59e0b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 16, 32, .05);
  --shadow: 0 1px 2px rgba(14, 16, 32, .04), 0 8px 24px -8px rgba(14, 16, 32, .12);
  --shadow-lg: 0 2px 4px rgba(14, 16, 32, .04), 0 24px 60px -18px rgba(30, 20, 90, .28);
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--brand); }
p { margin: 0; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px -6px rgba(14,16,32,.5); }
.btn-ink:hover { background: #22253a; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(91,76,240,.6); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--soft); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }

/* ---------- live dot (signature motif) ---------- */
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--live); opacity: .35; animation: pulse 2s ease-out infinite; }
.live-dot.sm { width: 6px; height: 6px; }
.live-dot.sm::after { inset: -3px; }
.live-dot.lg { width: 14px; height: 14px; }
.live-dot.lg::after { inset: -7px; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a:not(.btn) { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; }
.main-nav > a:not(.btn):hover { color: var(--ink); background: var(--soft); }
.nav-sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 8px; }
.nav-cta { margin-left: 4px; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(91,76,240,.16), transparent 70%),
    radial-gradient(30% 30% at 85% 75%, rgba(147,51,234,.10), transparent 70%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14,16,32,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-copy { text-align: center; max-width: 880px; }
.live-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.04em; margin: 24px 0 0; }
.hero h1 em { letter-spacing: -.02em; }
.lede { font-size: clamp(17px, 2vw, 19px); line-height: 1.6; max-width: 640px; margin: 22px auto 0; color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-notes { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-tint) 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.2 2.2 4.8-4.8' fill='none' stroke='%235b4cf0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* product composition */
.hero-stage { position: relative; margin-top: 64px; padding-bottom: 80px; }
.app-window { position: relative; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfbfd; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e4ea; }
.app-bar span { margin: 0 auto; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 14px; }
.app-body { display: grid; grid-template-columns: 270px 1fr 220px; min-height: 430px; font-size: 13px; padding-bottom: 6px; }
.app-list { border-right: 1px solid var(--line); padding: 14px 10px; background: #fff; }
.app-list-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 10px; color: var(--ink); font-size: 14px; }
.count-pill { background: var(--brand); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 7px; }
.tabs-mini { display: flex; gap: 4px; padding: 0 4px 10px; font-size: 12px; }
.tabs-mini span { padding: 4px 9px; border-radius: 7px; color: var(--muted); font-weight: 500; }
.tabs-mini .on { background: var(--brand-tint); color: var(--brand-ink); }
.conv { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start; padding: 10px 8px; border-radius: 10px; }
.conv.on { background: var(--soft); }
.conv b { display: block; color: var(--ink); font-size: 13px; font-weight: 600; }
.conv p { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.conv.on p { color: var(--ink-2); font-weight: 500; }
.conv .t { font-size: 11px; color: var(--muted); }
.ai-tag { display: inline-block; font-size: 10px; font-weight: 700; color: var(--brand-ink); background: var(--brand-tint); border-radius: 4px; padding: 0 4px; margin-right: 2px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.av.lg { width: 52px; height: 52px; font-size: 16px; }
.av-a { background: #f97316; } .av-b { background: #0ea5e9; } .av-c { background: #10b981; } .av-d { background: #64748b; }
.app-chat { display: flex; flex-direction: column; background: #fbfbfd; min-width: 0; }
.app-chat header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.app-chat header b { display: block; color: var(--ink); font-size: 13.5px; }
.app-chat header small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; }
.resolve { margin-left: auto; font-size: 12px; font-weight: 600; color: #fff; background: var(--ink); border-radius: 999px; padding: 6px 12px; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 8px; }
.msg { max-width: 68%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.msg.in { background: #fff; border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.out { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.bot { background: #f4f1ff; border: 1px solid #e6e0ff; color: #2e2466; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg .who { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 2px; }
.sys { align-self: center; font-size: 11.5px; color: var(--muted); padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.typing-line { display: flex; align-items: center; gap: 8px; padding: 4px 18px 10px; font-size: 12px; color: var(--muted); font-style: italic; }
.app-chat footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 14px 14px; padding: 10px 10px 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--muted); font-size: 12.5px; }
.app-chat footer b { background: var(--brand); color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 8px; }
.app-side { border-left: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; }
.app-side b { margin-top: 10px; color: var(--ink); font-size: 14px; }
.app-side small { color: var(--muted); font-size: 12px; }
.app-side dl { width: 100%; margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; text-align: left; font-size: 12px; }
.app-side dt { color: var(--muted); }
.app-side dd { margin: 0; color: var(--ink-2); font-weight: 500; text-align: right; }

.float-widget { position: absolute; right: -28px; bottom: 6px; width: 280px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.fw-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.fw-head img { border-radius: 7px; background: #fff; }
.fw-head b { display: block; font-size: 14px; }
.fw-head small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; opacity: .92; }
.fw-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; font-size: 13px; background: #fbfbfd; }
.fw-in { align-self: flex-end; background: var(--brand); color: #fff; padding: 8px 12px; border-radius: 14px 14px 4px 14px; }
.fw-out { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink-2); padding: 8px 12px; border-radius: 14px 14px 14px 4px; max-width: 88%; }
.fw-input { margin: 0 12px 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 12.5px; color: var(--muted); background: #fff; }
.float-push { position: absolute; left: 14px; top: -26px; display: flex; align-items: center; gap: 12px; width: 300px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12.5px; }
.float-push img { border-radius: 7px; }
.float-push b { color: var(--ink); font-size: 12.5px; }
.float-push p { color: var(--text); }
.float-push > span { align-self: flex-start; margin-left: auto; font-size: 11px; color: var(--muted); }

/* ---------- works with ---------- */
.works { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.works-inner { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; justify-content: center; }
.works p { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.works ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; list-style: none; margin: 0; padding: 0; }
.works li { font-size: 16px; font-weight: 700; color: #a3a7b6; letter-spacing: -.01em; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin-left: 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.kicker.light { color: #b7aeff; }
.section h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -.035em; }
.sub { font-size: 18px; line-height: 1.6; margin-top: 18px; color: var(--text); }
.sub a { color: var(--brand-ink); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); overflow: hidden; }
.tile-wide { grid-column: span 2; flex-direction: row; align-items: center; }
.tile-wide .tile-copy { flex: 1; }
.tile-full { grid-column: 1 / -1; }
.tile-full .tile-copy { max-width: 460px; }
.mini-chart { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.mc-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.mc-head b { color: var(--ink-2); font-weight: 600; }
.mc-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; margin-top: 12px; }
.mc-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brand), #8b7df7); opacity: .85; }
.mc-bars i:nth-child(5) { opacity: 1; box-shadow: 0 6px 14px -6px rgba(91,76,240,.6); }
.mc-days { display: flex; gap: 8px; margin-top: 6px; }
.mc-days span { flex: 1; text-align: center; font-size: 11px; color: var(--muted); }
.tile h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.tile p { margin-top: 8px; font-size: 15px; }
.mini-inbox { flex: 1.1; display: flex; flex-direction: column; gap: 8px; }
.mi-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 13.5px; }
.mi-row b { color: var(--ink); font-weight: 600; flex: 1; }
.badge-mini { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.badge-mini.ai { background: var(--brand-tint); color: var(--brand-ink); }
.badge-mini.done { background: #e7f8f0; color: #08754f; }
.dot-unread { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.mi-note { padding: 10px 12px; border-radius: 12px; background: #fff8e6; border: 1px solid #f7e2a8; font-size: 13px; color: #6b4e00; }
.mini-typing { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted); }
.mini-typing i { color: var(--ink-2); }
.mini-push { padding: 14px 16px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); font-size: 13.5px; }
.mini-push div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.mini-push div img { border-radius: 5px; }
.mini-push div b { color: var(--ink-2); }
.mini-push div span { margin-left: auto; }
.mini-push p { color: var(--ink-2); margin: 0; }
.mini-visitors { display: flex; flex-direction: column; gap: 6px; }
.mini-visitors div { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; }
.mini-visitors b { color: var(--ink); font-weight: 600; }
.mini-visitors span:not(.live-dot) { color: var(--muted); font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.mini-visitors em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--brand-ink); background: var(--brand-tint); padding: 3px 10px; border-radius: 999px; }
.swatches { display: flex; gap: 8px; margin-top: 18px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line-2); }
.mini-widgets { flex: 1; display: flex; gap: 12px; justify-content: flex-end; }
.mw { width: 190px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); font-size: 13px; }
.mw b { display: block; background: var(--c); color: #fff; padding: 12px 14px; font-size: 14px; }
.mw p { margin: 0; padding: 12px 14px 16px; color: var(--ink-2); }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.feature-list b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
kbd { font-size: 12px; padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; background: #fff; color: var(--ink); }

/* how it works */
.how { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.how .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { position: relative; padding: 24px 24px 24px 76px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-2); }
.step-n { position: absolute; left: 24px; top: 22px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.steps h3 { font-size: 18px; letter-spacing: -.015em; }
.steps p { margin-top: 4px; font-size: 15px; }
.snippet { margin: 16px 0 0; padding: 16px 18px; border-radius: 12px; background: #0f1222; color: #d9dcf2; font-size: 12.5px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.snippet .c { color: #737a99; } .snippet .k { color: #a99bff; } .snippet .s { color: #7fe0b5; }

/* AI section */
.section-ink { background: #0d0f1c; color: #b9bdd0; position: relative; overflow: hidden; }
.section-ink::before { content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(91,76,240,.35), transparent); pointer-events: none; }
.section-ink h2 { color: #fff; }
.section-ink h2 em { color: #b7aeff; }
.section-ink .sub { color: #b9bdd0; }
.ai { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #e3e5f0; font-size: 16px; }
.checks li::before { content: ""; flex-shrink: 0; margin-top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(34,195,142,.16) 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.2 2.2 4.8-4.8' fill='none' stroke='%2322c38e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ai-demo { border-radius: var(--radius-lg); background: #151829; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.ai-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 12px; }
.ai-sources span { color: #7d82a0; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.ai-sources b { font-weight: 500; color: #d6d8e8; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.ai-chat { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 24px; }
.ai-chat .msg.in { background: #22263a; border-color: transparent; color: #e7e8f2; }
.ai-chat .msg.bot { background: rgba(91,76,240,.16); border-color: rgba(167,155,255,.22); color: #e9e6ff; }
.ai-chat .msg .who { color: #b7aeff; }
.ai-chat .sys { background: transparent; border-color: rgba(255,255,255,.12); color: #8a8fac; }

/* payments */
.pay { padding: 72px 0; }
.pay-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px 48px; border-radius: 28px; background: linear-gradient(180deg, #fff, #fbfaff); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.pay-inner h2 { font-size: clamp(28px, 3.6vw, 40px); }
.pay-inner .sub { font-size: 16px; margin-top: 10px; max-width: 460px; }
.pay-chips { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: 10px; margin: 0; padding: 0; }
.pay-chips li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.pm { display: grid; place-items: center; min-width: 42px; height: 28px; padding: 0 6px; border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.pm.momo { background: #ffcb05; color: #1a1a1a; }
.pm.orange { background: #ff7900; color: #fff; }
.pm.card { background: #0e1020; color: #fff; }

/* pricing */
.billing-toggle { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.billing-toggle .bt { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 14px var(--sans); color: var(--text); cursor: pointer; }
.billing-toggle .bt span { font-weight: 600; font-size: 12px; color: var(--live); margin-left: 4px; }
.billing-toggle .bt.active { background: var(--ink); color: #fff; }
.billing-toggle .bt.active span { color: #7fe0b5; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-2); }
.plan.featured { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.plan h3 { font-size: 20px; }
.plan-desc { margin-top: 6px; font-size: 14.5px; min-height: 46px; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 4px; }
.price .amount { font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.price .per { font-size: 15px; color: var(--muted); }
.fcfa { min-height: 22px; margin: 6px 0 22px; font-size: 13.5px; color: var(--muted); }
.limits { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 14.5px; }
.limits li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.limits li::before { content: ""; flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8 6.2-6.2' fill='none' stroke='%235b4cf0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.limits li.no { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(124,130,150,.5); }
.limits li.no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' stroke='%23a3a7b6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pricing-note { text-align: center; margin-top: 28px; font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list details:first-child { border-top: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-weight: 400; font-size: 18px; color: var(--text); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 22px 0; font-size: 15.5px; }
.faq-list code { font-size: 13px; background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.faq-list a { color: var(--brand-ink); }

/* final CTA */
.final { padding-top: 40px; }
.final-card { position: relative; text-align: center; padding: 88px 24px; border-radius: 32px; background: radial-gradient(80% 120% at 50% 0%, #f2efff 0%, #fff 60%); border: 1px solid var(--line-2); overflow: hidden; }
.final-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(14,16,32,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%); pointer-events: none; }
.final-card > * { position: relative; }
.final-card h2 { margin-top: 26px; font-size: clamp(32px, 5vw, 56px); }
.final-card p { font-size: 18px; margin-top: 14px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; padding-top: 56px; padding-bottom: 40px; flex-wrap: wrap; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 14.5px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-cols b { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.footer-cols a { text-decoration: none; color: var(--text); }
.footer-cols a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }

/* reveal on scroll (enabled by JS) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .app-body { grid-template-columns: 240px 1fr; }
  .app-side { display: none; }
  .float-widget { right: 8px; bottom: -18px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn) { padding: 12px; font-size: 16px; }
  .nav-sep { display: none; }
  .nav-cta { margin: 8px 0 0; height: 46px; }
  .section { padding: 80px 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .tile-full { grid-column: 1 / -1; }
  .how, .ai, .faq { grid-template-columns: 1fr; gap: 40px; }
  .how .section-head, .faq .section-head { position: static; }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .pay-inner { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 48px; }
  .hero-stage { margin-top: 44px; padding-bottom: 56px; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-list { display: none; }
  .float-push { display: none; }
  .float-widget { position: relative; right: auto; bottom: auto; width: auto; margin: -36px 16px 0; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide, .tile-full { grid-column: auto; flex-direction: column; align-items: stretch; }
  .mini-widgets { justify-content: flex-start; overflow: hidden; }
  .feature-list { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .pay-chips { grid-template-columns: 1fr 1fr; width: 100%; }
  .final-card { padding: 64px 20px; }
  .footer-cols { gap: 40px; }
}
@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; }
  .pay-chips { grid-template-columns: 1fr; }
  .mw { width: 160px; }
  .tile { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
