:root {
  --bg: #080c1a;
  --bg2: #0b1124;
  --surface: #111831;
  --surface2: #0e1428;
  --ink: #eef1fb;
  --muted: #94a0c0;
  --line: #1f2845;
  --accent: #3b82f6;
  --accent2: #7c4dff;
  --green: #0fae6f;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg2: #eef1f8;
  --surface: #ffffff;
  --surface2: #f4f6fc;
  --ink: #0b1020;
  --muted: #5c6680;
  --line: #e3e7f2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 560px at 90% -10%, rgba(59, 130, 246, .18), transparent 55%),
    radial-gradient(900px 500px at -10% 0%, rgba(124, 77, 255, .16), transparent 55%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
html[data-theme="light"] body {
  background-image:
    radial-gradient(1100px 560px at 90% -10%, rgba(59, 130, 246, .10), transparent 55%),
    radial-gradient(900px 500px at -10% 0%, rgba(124, 77, 255, .08), transparent 55%);
}
html[data-theme="light"] nav { background: rgba(255, 255, 255, .78); }
html[data-theme="light"] .ad-dots i { background: #c7cfe6; }
body.nav-open { overflow: hidden; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.theme-toggle svg { width: 18px; height: 18px; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--accent);
}
.btn.ghost { background: transparent; }
.btn.sm { padding: 9px 14px; font-size: 14px; }
.muted { color: var(--muted); }

/* nav */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(8, 12, 26, .7);
  border-bottom: 1px solid var(--line);
}
nav .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 18px;
}
.brand img { width: 34px; height: 34px; }
nav .links {
  display: flex;
  gap: 22px;
  margin-left: 12px;
}
nav .links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
nav .links a:hover { color: var(--ink); }
nav .spacer { flex: 1; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.nav-drawer {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  z-index: 49;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  padding: 16px 18px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.nav-drawer a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-drawer a:last-child { border-bottom: none; }
body.nav-open .nav-drawer { display: block; }

/* hero */
.hero { padding: 84px 0 48px; text-align: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #7cc0ff, #7c4dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 28px;
}
.hero .cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.trust-chips .chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}

/* animated app preview */
.appdemo {
  margin: 56px auto 0;
  max-width: 920px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--surface2));
  box-shadow: 0 44px 100px -44px rgba(0, 0, 0, .85);
  text-align: left;
  transform: perspective(1600px) rotateX(4deg);
  transform-origin: top center;
}
.ad-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.ad-dots { display: flex; gap: 7px; }
.ad-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a3458;
  display: block;
}
.ad-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 12px;
  max-width: 260px;
  margin: 0 auto;
}
.ad-window {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 340px;
}
.ad-side {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  position: relative;
  background: rgba(0, 0, 0, .12);
}
.ad-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 8px 14px;
}
.ad-brand img { width: 24px; height: 24px; }
.ad-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.ad-nav .ad-i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: currentColor;
  opacity: .5;
}
.ad-navsel {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  opacity: .16;
  top: 52px;
  animation: adNav 9s infinite;
  z-index: 0;
}
@keyframes adNav {
  0%, 14% { top: 52px; }
  18%, 30% { top: 91px; }
  34%, 46% { top: 130px; }
  50%, 62% { top: 169px; }
  66%, 96% { top: 208px; }
  100% { top: 52px; }
}
.ad-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ad-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ad-kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  opacity: 0;
  transform: translateY(8px);
  animation: adIn .5s forwards;
}
.ad-kpi:nth-child(1) { animation-delay: .05s; }
.ad-kpi:nth-child(2) { animation-delay: .13s; }
.ad-kpi:nth-child(3) { animation-delay: .21s; }
.ad-kpi:nth-child(4) { animation-delay: .29s; }
@keyframes adIn { to { opacity: 1; transform: none; } }
.ad-v {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.ad-l { font-size: 11px; color: var(--muted); margin-top: 2px; }
.ad-l em { font-style: normal; font-weight: 700; font-size: 10.5px; }
.up { color: #ff6b81; }
.down { color: var(--green); }
.ad-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 14px;
  flex: 1;
}
.ad-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.ad-ph {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.ad-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
}
.ad-bars span {
  flex: 1;
  border-radius: 7px 7px 3px 3px;
  height: 0;
  align-self: flex-end;
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  animation: adBar 9s cubic-bezier(.2, .7, .2, 1) infinite;
  animation-delay: var(--d);
}
@keyframes adBar {
  0% { height: 0; }
  10%, 82% { height: var(--h); }
  92%, 100% { height: 0; }
}
.ad-type {
  font-size: 13px;
  line-height: 1.6;
  color: #cdd6f0;
  min-height: 120px;
}
html[data-theme="light"] .ad-type { color: var(--muted); }
.ad-type .row { display: block; margin-bottom: 9px; }
.ad-type b { color: #fff; }
html[data-theme="light"] .ad-type b { color: var(--ink); }
.ad-cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 1px;
  animation: adBlink 1s steps(1) infinite;
}
@keyframes adBlink { 50% { opacity: 0; } }

/* sections */
section.block { padding: 72px 0; }
.eyebrow {
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h2.title {
  text-align: center;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -.02em;
  margin: 10px 0 12px;
}
p.sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 44px;
}
.section-link {
  text-align: center;
  margin-top: 28px;
}
.section-link a {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.section-link a:hover { text-decoration: underline; }

/* how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  text-align: center;
  padding: 8px 12px;
}
.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 24px -10px var(--accent);
}
.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -.01em;
}
.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* privacy spotlight */
.privacy-band {
  background: linear-gradient(180deg, rgba(59, 130, 246, .06), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.privacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.privacy-head h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  letter-spacing: -.02em;
  margin: 0 0 14px;
  line-height: 1.15;
}
.privacy-head p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.privacy-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.privacy-list li:last-child { border-bottom: none; }
.privacy-list .pi {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, .14);
  color: var(--accent);
}
.privacy-list .pi svg { width: 18px; height: 18px; }
.privacy-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 15px;
}

/* banks strip */
.banks-strip {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.banks-lead {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.bank-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 36px;
  margin-bottom: 28px;
  padding: 0 12px;
}
.bank-logos img {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: .92;
  transition: opacity .15s;
}
.bank-logos img:hover { opacity: 1; }
html[data-theme="light"] .bank-logos img { opacity: 1; }
.format-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.format-pills span {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

/* features */
.features-grid {
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.feature .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(59, 130, 246, .14);
  color: #7cc0ff;
}
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 7px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* pricing */
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}
.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: relative;
}
.price.pro {
  border-color: var(--accent);
  box-shadow: 0 24px 60px -30px var(--accent);
}
.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  white-space: nowrap;
}
.price .tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.price.pro .tag { color: var(--accent); }
.price .amt {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 8px 0 4px;
}
.price .amt span { font-size: 15px; font-weight: 500; color: var(--muted); }
.price .micro {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}
.price ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}
.price li {
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: #cdd6f0;
}
html[data-theme="light"] .price li { color: var(--muted); }
.price li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 9px;
}
.price .amt .amt-alt { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-btns { display: flex; flex-direction: column; gap: 10px; }
.price-btns .btn { width: 100%; justify-content: center; }
.price-foot {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
}
.price-foot a { color: var(--accent); font-weight: 600; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 12px;
  padding: 4px 6px;
}
summary {
  cursor: pointer;
  padding: 16px 14px;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}
details[open] summary::after { content: "–"; }
details p {
  margin: 0;
  padding: 0 14px 16px;
  color: var(--muted);
  font-size: 14px;
}
details p a { color: var(--accent); font-weight: 600; }

/* final cta */
.cta-band {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(124, 77, 255, .08));
  border-top: 1px solid var(--line);
}
.cta-band h2 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.cta-band p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 16px;
}
.cta-band .cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-band .note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 28px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.25fr) repeat(3, 1fr);
  gap: 36px 24px;
  align-items: start;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 280px;
}
.footer-col h4 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0; }
.footer-col a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-meta { color: var(--muted); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; max-width: 400px; }
  .privacy-inner { grid-template-columns: 1fr; gap: 28px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav .wrap { height: 58px; gap: 10px; }
  nav .links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-drawer { top: 58px; }
  .brand { font-size: 16px; }
  .brand img { width: 30px; height: 30px; }
  .nav-actions .btn.ghost { display: none; }
  .nav-actions .btn.primary { padding: 9px 14px; font-size: 13px; }
  .hero { padding: 52px 0 32px; }
  .hero .cta .btn { flex: 1; justify-content: center; }
  .hero .cta { gap: 10px; }
  section.block { padding: 52px 0; }
  .wrap { padding: 0 18px; }
}

@media (max-width: 680px) {
  .appdemo { transform: none; margin-top: 40px; }
  .ad-window { grid-template-columns: 1fr; }
  .ad-side { display: none; }
  .ad-kpis { grid-template-columns: 1fr 1fr; }
  .ad-row { grid-template-columns: 1fr; }
  .ad-bars { height: 120px; }
}

@media (max-width: 620px) {
  .prices { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .grid,
  .features-grid { grid-template-columns: 1fr; }
  .bank-logos { gap: 20px 24px; }
  .bank-logos img { height: 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 340px) {
  .ad-kpis { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ad-kpi { opacity: 1; transform: none; animation: none; }
  .ad-bars span { height: var(--h); animation: none; }
  .ad-navsel { animation: none; }
}
