/* ==========================================================================
   Homepage — design concept (blue-and-white palette)
   Fully standalone: no external CDNs, fonts or trackers.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f8ff;
  --surface: #ffffff;
  --brand: #0b5cff;
  --brand-dark: #0742c0;
  --brand-light: #4d86ff;
  --brand-soft: #eaf1ff;
  --brand-soft-2: #d9e6ff;
  --accent: #22d3c5;
  --ink: #0d1b34;
  --muted: #5a6b86;
  --line: #e4ebf7;
  --shadow-sm: 0 1px 2px rgba(13, 27, 52, .06);
  --shadow: 0 10px 30px -12px rgba(11, 92, 255, .28);
  --shadow-lg: 0 30px 60px -24px rgba(11, 92, 255, .38);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* --- Top bar -------------------------------------------------------------- */
.topbar {
  background: var(--brand-dark);
  color: #dbe6ff;
  font-size: .82rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px; flex-wrap: wrap;
}
.topbar .brand-mini { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6ff0d8;
  box-shadow: 0 0 0 4px rgba(111, 240, 216, .25);
}
.topbar nav { display: flex; gap: 18px; }
.topbar nav a { color: #b9ccff; }
.topbar nav a:hover { color: #fff; }

/* --- Header --------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 20px; min-height: 70px; }

.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink);
}
.logo .mark {
  position: relative;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  display: grid; place-items: center; color: #fff; font-weight: 800;
  box-shadow: var(--shadow);
}
/* Brand accent dot in the mark's corner (echoes the "." in money.botim) */
.logo .mark::after {
  content: "";
  position: absolute;
  right: -4px; bottom: -4px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent);
  border: 2.5px solid var(--bg);
}
.footer .logo .mark::after { border-color: #0b1830; }
.logo small {
  display: block; font-size: .66rem; font-weight: 600; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); padding: 9px 14px; border-radius: 10px;
  font-weight: 500; font-size: .95rem;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a.active { color: var(--brand); background: var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; display: none; place-items: center;
  border: 1px solid var(--line); border-radius: 11px;
  background: #fff; color: var(--ink); cursor: pointer;
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand-soft-2); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #eef4ff; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--brand-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-alt), #ffffff 70%);
  padding: 70px 0 80px;
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 50px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: #fff; border: 1px solid var(--brand-soft-2);
  padding: 8px 15px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.07; letter-spacing: -.025em; margin: 22px 0 18px; max-width: 15ch;
  color: var(--ink);
}
.hero h1 .hl { color: var(--brand); }
.hero p.lead {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--muted);
  max-width: 54ch; margin: 0 0 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 20px; font-size: .86rem; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}

/* App mockup */
.app-mock { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; background: #fff; border: 1px solid var(--line);
  border-radius: 34px; padding: 14px; box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
}
.phone-notch {
  width: 120px; height: 22px; background: var(--bg-alt);
  border-radius: 0 0 16px 16px; margin: -14px auto 10px; border: 1px solid var(--line); border-top: 0;
}
.screen { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.chat-top {
  background: var(--brand); color: #fff; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
}
.chat-top .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.chat-top b { font-size: .9rem; display: block; line-height: 1.2; }
.chat-top span { font-size: .72rem; opacity: .85; }
.chat-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: #f7faff; }
.bubble {
  max-width: 80%; padding: 10px 13px; border-radius: 16px; font-size: .84rem; line-height: 1.45;
  box-shadow: var(--shadow-sm);
}
.bubble.in { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.out { background: var(--brand); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-input {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff;
}
.chat-input .field {
  flex: 1; height: 34px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line);
}
.chat-input .send {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center;
}
.m-blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 1; }
.m-blob.a { width: 120px; height: 120px; background: var(--brand-soft-2); top: -10px; right: 20px; }
.m-blob.b { width: 90px; height: 90px; background: #d6f4ee; bottom: 10px; left: 10px; }

/* --- Stats strip ---------------------------------------------------------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 22px;
}
.stat b { display: block; font-size: 2rem; letter-spacing: -.02em; color: var(--brand); }
.stat span { color: var(--muted); font-size: .9rem; }

/* --- Sections ------------------------------------------------------------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.04rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-soft-2); }
.feature .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.16rem; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; box-shadow: var(--shadow);
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* --- CTA banner ----------------------------------------------------------- */
.cta {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  border-radius: 26px; padding: 54px 44px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.cta h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; }
.cta p { margin: 0; color: #d9e5ff; max-width: 46ch; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* --- Footer --------------------------------------------------------------- */
.footer { background: #0b1830; color: #aebbd4; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 30px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo small { color: #8fa3c7; }
.footer .about p { font-size: .92rem; max-width: 34ch; }
.footer h5 { color: #fff; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 9px 0; }
.footer a { color: #aebbd4; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid #1c2b47;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}

/* --- Mobile menu ---------------------------------------------------------- */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
  background: #fff; border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 24px; transform: translateX(102%); transition: transform .28s ease;
  z-index: 60; overflow-y: auto;
}
.mobile-nav.open { transform: none; }
.mobile-nav a {
  display: block; padding: 13px 12px; border-radius: 10px; color: var(--ink);
  font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { background: var(--brand-soft); }
.overlay {
  position: fixed; inset: 0; background: rgba(8, 20, 43, .45);
  opacity: 0; pointer-events: none; transition: opacity .28s ease; z-index: 55;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .app-mock { order: -1; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .icon-btn { display: grid; }
  .grid, .steps { grid-template-columns: 1fr; }
  .topbar nav { display: none; }
  .cta { padding: 40px 26px; }
}
@media (max-width: 460px) {
  .stats .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
