/* AgentDaftar brand: deep indigo (trust) + saffron spark (the AI), clean and calm. */
:root {
  --brand: #3730a3;
  --brand-600: #4338ca;
  --brand-50: #eef2ff;
  --spark: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --card: #ffffff;
  --text: #18181b;
  --muted: #5b5b66;
  --line: #e7e7ee;
  --ok: #15803d;
  --ok-bg: #dcfce7;
  --you: #b45309;
  --you-bg: #fef3c7;
  --shadow: 0 1px 2px #0000000d, 0 8px 24px #1e1b4b14;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #a5b4fc;
    --brand-600: #818cf8;
    --brand-50: #1e1b4b;
    --bg: #0c0c12;
    --bg-alt: #12121a;
    --card: #16161f;
    --text: #f4f4f6;
    --muted: #a3a3b2;
    --line: #262633;
    --ok: #4ade80;
    --ok-bg: #14532d66;
    --you: #fbbf24;
    --you-bg: #78350f66;
    --shadow: 0 1px 2px #0006, 0 8px 24px #0008;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 650; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.accent { color: var(--brand-600); }
.spark { color: var(--spark); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--brand-600); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 12px auto 0; }
.trust .sub { margin-left: 0; }
.lead { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 560px; }
.lead b { color: var(--text); font-weight: 600; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-600); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary { color: #0c0c12; } }
.btn.ghost { border-color: var(--line); background: var(--card); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta.center { justify-content: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.navin { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.brand b { color: var(--brand-600); font-weight: 700; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--text); }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; font-size: 18px; padding: 6px 12px; cursor: pointer; }
@media (max-width: 860px) {
  .menu { display: block; }
  .nav .btn.small { display: none; }
  .links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .links.open { display: flex; }
  .links a { padding: 10px 0; font-size: 17px; }
}

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--brand-600) 14%, transparent), transparent), radial-gradient(700px 400px at 0% 0%, color-mix(in srgb, var(--spark) 10%, transparent), transparent); }
.herogrid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .herogrid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* product mock */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.mockbar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.mockbar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mockbar span { margin-left: 8px; }
.mockbody { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: var(--bg-alt); }
.mcard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 11.5px; min-width: 0; }
.mtop { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-bottom: 4px; font-size: 13px; }
.mrow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
.muted { color: var(--muted); }
.pill { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.you { background: var(--you-bg); color: var(--you); }
.screen { margin-top: 8px; aspect-ratio: 16 / 11; border-radius: 8px; background: #1e1b4b; padding: 8px; display: flex; }
.screen.s2 { background: #0f3d3e; }
.screen.s3 { background: #3b2a12; }
.win { flex: 1; background: #fff; border-radius: 4px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.line { height: 5px; border-radius: 3px; background: #d4d4dc; }
.w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; }
.field { height: 10px; border: 1px solid #d4d4dc; border-radius: 3px; }
.field.pw { font-size: 7px; line-height: 8px; padding-left: 3px; color: #555; border-color: #f59e0b; }
.go { height: 10px; width: 40%; border-radius: 3px; background: #3730a3; }
.msg { height: 9px; width: 65%; border-radius: 5px; background: #e5e7eb; }
.msg.me { align-self: flex-end; background: #c7d2fe; }
.tile { height: 10px; border-radius: 3px; background: #fde68a; }
.mvault { grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: var(--muted); }
.mvault span { color: var(--text); font-weight: 600; margin-right: 6px; }
@media (max-width: 560px) { .mockbody { grid-template-columns: 1fr 1fr; } .mcard:nth-child(3) { display: none; } }

/* works with */
.works { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.works .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; }
.works p { color: var(--muted); font-size: 14px; }
.works ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.works li { font-weight: 600; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; background: var(--card); }

/* sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid3, .grid2 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.ico { font-size: 26px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--brand-50); border-radius: 12px; margin-bottom: 14px; }
.problem .ico { background: color-mix(in srgb, var(--spark) 16%, transparent); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.step p { color: var(--muted); margin-top: 8px; }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .num { color: #0c0c12; } }

/* pricing */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan .price { font-size: 38px; font-weight: 800; color: var(--text); margin-top: 12px; letter-spacing: -.02em; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .for { margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; flex: 1; }
.plan li::before { content: "✓"; color: var(--brand-600); font-weight: 700; margin-right: 8px; }
.plan.best { border: 2px solid var(--brand-600); box-shadow: var(--shadow); }
.tag { position: absolute; top: -12px; left: 24px; background: var(--spark); color: #1c1917; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }

/* trust */
.trust { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 32px; position: relative; color: var(--muted); }
.checks li b { color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); font-weight: 800; font-size: 13px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand-600); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin-top: 10px; }

/* final cta */
.final { padding: 96px 0; background: linear-gradient(180deg, var(--bg), var(--brand-50)); }
.final img { margin: 0 auto 20px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.footin { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot .brand { font-size: 16px; color: var(--text); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.navlogin { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.navlogin:hover { color: var(--text); }

/* pricing currency switch */
.cur { display: inline-flex; margin: 24px auto 0; border: 1px solid var(--line); border-radius: 99px; padding: 4px; background: var(--card); }
.cur button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; padding: 7px 16px; border-radius: 99px; cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.plan .tax { font-size: 13px; color: var(--muted); margin-top: 2px; }
.addon { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.addon p { margin-top: 6px; }
.plan .price .inr, .plan .price .usd { font-size: inherit; font-weight: inherit; color: inherit; }

/* legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: 36px; letter-spacing: -.02em; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 6px; }
.legal h2 { font-size: 21px; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); margin-top: 10px; }
.legal ul { padding-left: 22px; }
.legal b, .legal strong { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.legal th { color: var(--text); }
.fill { background: color-mix(in srgb, var(--spark) 22%, transparent); color: var(--text); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.note { border: 1px solid var(--line); background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; margin-top: 20px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cur button[aria-pressed="true"] { color: #0c0c12; } }
