:root {
  --accent: #4EA8FF;
  --bg: #09090b;
  --fg: #fafafa;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --muted-3: #52525b;
  --border: rgba(255,255,255,0.08);
  --good: #0ca30c;
  --warn: #fab219;
  --bad: #e5484d;
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  min-height: 100vh;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

.page { width: 100%; }

.section-pad { padding-left: 24px; padding-right: 24px; }

/* ---------- shared pieces ---------- */

.card-glass {
  background: rgba(24,24,27,0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card-glass:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }

.step-card {
  background: rgba(24,24,27,0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.25s ease;
  position: relative;
  z-index: 1;
}
.step-card:hover { border-color: rgba(255,255,255,0.15); }

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  background: var(--accent);
  color: #09090b;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 0 transparent;
}
.cta-btn:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 10px 32px -8px rgba(78,168,255,0.55); }
.cta-btn--nav { height: 32px; padding: 0 14px; font-size: 12.5px; }
.cta-btn--lg { height: 48px; padding: 0 26px; font-size: 15px; }
.cta-btn--block { display: flex; width: 100%; height: 48px; padding: 0 30px; }
.cta-btn-glow { box-shadow: 0 0 25px rgba(59,130,246,0.35); }
.cta-btn-glow:hover { box-shadow: 0 0 34px rgba(59,130,246,0.5); }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: var(--fg);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ghost-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); }

.glow-blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }

.mono { font-family: var(--font-mono); }
.strong { color: var(--fg); font-weight: 600; }
.muted { color: var(--muted-2); }

.section-head { max-width: 560px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 12px; }
.section-head p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }

.login-link { font-size: 14px; color: var(--muted); }
.login-link:hover { color: var(--fg); }

.pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #d4d4d8;
}

/* ---------- nav ---------- */

.nav-bar { border-bottom: 1px solid var(--border); position: relative; z-index: 10; }
.nav-inner { max-width: 1152px; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 24px; }

/* ---------- hero ---------- */

.hero-wrap { position: relative; overflow: hidden; }
.glow-blob--hero-1 { width: 560px; height: 560px; top: -180px; left: -120px; background: rgba(78,168,255,0.15); }
.glow-blob--hero-2 { width: 460px; height: 460px; top: 60px; right: -160px; background: rgba(139,92,246,0.15); }

.hero-inner { max-width: 1152px; margin: 0 auto; padding: 84px 24px 88px; position: relative; z-index: 1; }
.hero-row { display: flex; align-items: center; gap: 48px; }
.hero-copy { flex: 0 1 44%; max-width: 460px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero-title { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance; }
.gradient-text {
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 30px; }
.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-checks { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.check-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }

.hero-visual { flex: 1 1 56%; max-width: 620px; min-width: 0; }
.hero-window { padding: 18px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.75); }

.window-titlebar { display: flex; align-items: center; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border); position: relative; }
.window-dots { display: flex; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 999px; display: block; }
.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }
.window-url { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted-2); font-family: var(--font-mono); }

.hero-window-panels { display: flex; gap: 20px; }
.panel { flex: 1; min-width: 0; }
.panel-label { font-size: 10.5px; font-weight: 600; color: var(--muted-2); letter-spacing: 0.06em; margin-bottom: 12px; font-family: var(--font-mono); }
.panel-divider { width: 1px; align-self: stretch; background: var(--border); }

.chat-stack { display: flex; flex-direction: column; gap: 8px; }
.chat-bubble { max-width: 96%; padding: 9px 12px; border-radius: 12px 12px 12px 3px; font-size: 13px; line-height: 1.4; }
.chat-bubble--user { align-self: flex-end; max-width: 92%; background: var(--accent); color: #09090b; border-radius: 12px 12px 3px 12px; }
.chat-bubble--bot { align-self: flex-start; background: rgba(12,163,12,0.1); border: 1px solid rgba(12,163,12,0.25); padding: 10px 12px; }
.chat-bubble-head { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.chat-bubble-title { font-size: 11.5px; font-weight: 600; color: var(--good); }
.chat-bubble-body { font-size: 12.5px; line-height: 1.5; color: #d4d4d8; margin-bottom: 4px; }
.chat-bubble-time { font-size: 10px; color: #6b9e6b; text-align: right; }

.dash-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; }
.dash-label { font-size: 11px; color: var(--muted-2); }
.dash-secure { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; color: var(--muted-2); }
.dash-balance { font-family: var(--font-mono); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.dash-currency { font-size: 11.5px; color: var(--muted-2); font-family: var(--font-sans); }
.dash-tx { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.dash-tx-info { min-width: 0; }
.dash-tx-name { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-tx-cat { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 10px; color: var(--good); font-weight: 600; }
.dash-tx-amount { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; color: var(--bad); flex-shrink: 0; }
.dash-installments { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 9px 12px; font-size: 11px; color: var(--muted); }

/* ---------- how it works ---------- */

.how-section { max-width: 1152px; margin: 0 auto; padding: 24px 24px 76px; }
.steps-wrap { position: relative; }
.steps-connector-line { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: #27272a; z-index: -1; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.step-num { font-family: var(--font-mono); font-weight: 700; font-size: 34px; color: var(--muted-3); margin-bottom: 8px; line-height: 1; }
.step-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent); }
.step-card h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.step-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.step-card p.mb { margin: 0 0 14px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--font-mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #d4d4d8; }
.tag--good { display: inline-flex; align-items: center; gap: 4px; background: rgba(12,163,12,0.1); border-color: rgba(12,163,12,0.25); color: var(--good); }

/* ---------- features / bento ---------- */

.features-wrap { position: relative; overflow: hidden; }
.glow-blob--features { width: 520px; height: 520px; bottom: -220px; right: -140px; background: rgba(78,168,255,0.12); }
.features-inner { max-width: 1152px; margin: 0 auto; padding: 16px 24px 84px; position: relative; z-index: 1; }

.bento-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.bento-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 24px; }
.feature-icon { color: var(--accent); margin-bottom: 14px; }
.bento-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.bento-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }

.bar-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.bar-label { font-size: 12.5px; font-weight: 600; }
.bar-hint { font-size: 11px; color: var(--muted-2); }
.bar-warn { font-size: 11px; color: var(--warn); font-weight: 600; }
.bar-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 10px; }
.bar-track--sm { height: 5px; margin-bottom: 0; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 999px; }
.bar-fill--warn { background: var(--warn); }

.fx-list { display: flex; flex-direction: column; gap: 6px; }
.fx-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); font-size: 11.5px; }

.card-due { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; margin-bottom: 10px; }
.card-due-date { font-size: 12.5px; font-weight: 600; margin-bottom: 3px; }
.card-due-amount { font-size: 14px; font-weight: 600; }

.avatars-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatars { display: flex; }
.avatar { width: 26px; height: 26px; border-radius: 999px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #141416; }
.avatar--accent { background: var(--accent); color: #09090b; }
.avatar--muted { background: #3f3f46; color: var(--fg); margin-left: -8px; }
.settled { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--good); font-weight: 500; }
.split-bar { height: 6px; border-radius: 999px; overflow: hidden; display: flex; }
.split-half { width: 50%; }
.split-half--accent { background: var(--accent); }
.split-half--muted { background: #3f3f46; }
.split-labels { display: flex; justify-content: space-between; margin-top: 5px; font-size: 10px; color: var(--muted-2); }

.spark-wrap { overflow: hidden; }
.spark-change { font-family: var(--font-mono); font-size: 12px; color: var(--good); text-align: right; }

/* ---------- trust ---------- */

.trust-section { max-width: 1152px; margin: 0 auto; padding: 16px 24px 80px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-card { padding: 24px; }
.trust-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.trust-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */

.faq-section { max-width: 760px; margin: 0 auto; padding: 16px 24px 96px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: rgba(24,24,27,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 4px 20px;
  transition: border-color 0.25s ease;
}
.faq-item:hover { border-color: rgba(255,255,255,0.16); }
.faq-item[open] { border-color: rgba(255,255,255,0.18); }

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.faq-question::-webkit-details-marker { display: none; }

.faq-chevron { flex-shrink: 0; color: var(--muted-2); transition: transform 0.2s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--accent); }

.faq-answer { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0 0 20px; }

/* ---------- closing CTA ---------- */

.closing-wrap { padding-top: 96px; padding-bottom: 64px; position: relative; }
.closing-border {
  max-width: 1152px;
  margin: 0 auto;
  position: relative;
  padding: 1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(78,168,255,0.33), rgba(255,255,255,0.06) 40%, rgba(139,92,246,0.33));
  overflow: hidden;
}
.glow-blob--closing { width: 420px; height: 420px; top: -160px; left: 50%; transform: translateX(-50%); background: rgba(78,168,255,0.13); }
.closing-card { position: relative; background: #0c0c0e; border-radius: 20px; padding: 56px 40px; text-align: center; }
.closing-title { font-size: 32px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 14px; text-wrap: balance; }
.closing-sub { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 auto 28px; max-width: 460px; }
.closing-footnote { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------- pricing ---------- */

.pricing-section { max-width: 1152px; margin: 0 auto; padding: 16px 24px 96px; }
.pricing-card { max-width: 420px; margin: 0 auto; padding: 40px 36px; text-align: center; }
.pricing-card .pill { margin-bottom: 20px; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 2px; }
.price { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.price-period { font-size: 15px; color: var(--muted-2); }
.price-currency { font-size: 13px; color: var(--muted-2); margin-bottom: 28px; }

.pricing-list { list-style: none; margin: 0 0 28px; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 11px; }
.pricing-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: #d4d4d8; }
.pricing-list svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: 1152px; margin: 0 auto; padding: 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-2); }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links .login-link { font-size: 13px; color: var(--muted-2); }
.footer-copy { font-size: 12.5px; color: var(--muted-3); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-row { flex-direction: column; }
  .hero-copy { max-width: 100%; flex-basis: auto; }
  .hero-visual { width: 100%; max-width: 100%; flex-basis: auto; margin-top: 44px; }
  .hero-window-panels { flex-direction: column; }
  .panel-divider { display: none; }
  .steps-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); row-gap: 20px; }
  .steps-connector-line { display: none; }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); row-gap: 16px; }
  .nav-login { display: none; }
  .footer-links { display: none; }
}

@media (max-width: 600px) {
  .bento-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .section-pad { padding-left: 18px; padding-right: 18px; }
  .hero-title { font-size: 32px; }
  .closing-title { font-size: 26px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas a { width: 100%; }
}
