:root {
  --bg: #05070d;
  --panel: #0c111c;
  --line: #1b2333;
  --text: #f5f7fb;
  --muted: #a3acbd;
  --blue: #1f8bff;
  --blue-2: #3ea8ff;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }

/* Header */
.top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1280px; margin: 0 auto; padding: 24px 32px; }
.brand { display: flex; align-items: center; }
.brand img { height: 45px; width: auto; }
.word b { color: var(--blue); font-weight: 800; }
nav { display: flex; align-items: center; gap: 36px; font-size: 17px; font-weight: 500; }
nav a { text-decoration: none; opacity: .92; }
nav a:hover { opacity: 1; }
.button { background: var(--blue); padding: 12px 20px; border-radius: 8px; font-weight: 600; opacity: 1 !important;
  box-shadow: 0 6px 24px rgba(31, 139, 255, .35); }
.button:hover { background: var(--blue-2); }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 40px 32px 120px; min-height: 620px; }
.glow { position: absolute; inset: -120px -20% 0 30%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side at 55% 45%, rgba(31, 107, 255, .35), transparent 70%); }
.wave { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100vw; height: 320px; z-index: 0; pointer-events: none; }
.hero-text { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
h1 span { background: linear-gradient(90deg, #1f8bff, #3ea8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 30ch; margin: 24px 0 36px; color: #c9d0dc; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 10px; background: #000; text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.cta img { border-radius: 8px; }
.cta small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .01em; opacity: .85; }
a.cta { border-color: var(--blue); box-shadow: 0 0 0 1px rgba(31, 139, 255, .25), 0 8px 28px rgba(31, 139, 255, .25); }
a.cta:hover { background: #07101f; }
.cta.soon { opacity: .7; }

/* Phones */
.phones { position: relative; z-index: 1; height: 560px; perspective: 1600px; }
.phone { position: absolute; top: 50%; border-radius: 44px; padding: 9px; background: linear-gradient(145deg, #c9d2e6, #5d667d 40%, #1d2333);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(31, 107, 255, .25); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px;
  border-radius: 14px; background: #000; z-index: 2; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #0d1424, #070b14);
  padding: 64px 20px 20px; }
.main { left: 50%; width: 270px; height: 540px; transform: translate(-50%, -50%) rotateY(-6deg); z-index: 3; }
.side { width: 220px; height: 450px; z-index: 2; }
.left { left: 2%; transform: translateY(-46%) rotateY(18deg) rotateZ(-4deg); }
.right { right: 2%; transform: translateY(-50%) rotateY(-18deg) rotateZ(4deg); }

.main .screen { display: flex; flex-direction: column; align-items: center; padding-top: 140px; }
.mark { width: 110px; height: auto; }
.word { margin-top: 10px; font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.sub { color: var(--blue-2); font-size: 18px; font-weight: 500; }
.screen-wave { position: absolute; left: -20%; right: -20%; bottom: 0; height: 42%;
  background: radial-gradient(120% 90% at 30% 100%, #1f6bff 0%, #123a9a 45%, transparent 70%), linear-gradient(170deg, transparent 30%, rgba(31, 107, 255, .35)); }

.app-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; margin-bottom: 18px; }
.app-title img { width: 22px; height: 22px; border-radius: 6px; }
.owed { margin-bottom: 18px; padding: 14px; border-radius: 14px; background: #121a2c; color: var(--muted); font-size: 12px; }
.owed strong { display: block; margin-top: 2px; color: #34d399; font-size: 26px; letter-spacing: -0.02em; }
.row, .item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; background: #111827; }
.row em { margin-left: auto; font-style: normal; font-size: 12px; color: #c9d0dc; }
.dot { width: 18px; height: 18px; border-radius: 50%; }
.dot.g { background: #34d399; } .dot.b { background: var(--blue); } .dot.p { background: #a78bfa; }
.line { height: 6px; width: 70px; border-radius: 3px; background: #48536a; }
.line.short { width: 48px; }
.item { justify-content: space-between; padding: 14px 12px; }
.check, .tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #22c55e; color: #fff; font-size: 13px; font-weight: 800; }
.bars { position: absolute; left: 20px; right: 20px; bottom: 24px; display: flex; align-items: flex-end; gap: 10px; height: 70px; }
.bars i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, var(--blue-2), #1f4dbb); opacity: .85; }
.bars .h30 { height: 30%; }
.bars .h35 { height: 35%; }
.bars .h40 { height: 40%; }
.bars .h45 { height: 45%; }
.bars .h50 { height: 50%; }
.bars .h55 { height: 55%; }
.bars .h75 { height: 75%; }
.bars .h80 { height: 80%; }
.bars .h90 { height: 90%; }
.bars.green i { background: linear-gradient(180deg, #4ade80, #15803d); }

/* Sections */
section h2 { margin: 0 0 28px; font-size: 32px; letter-spacing: -0.02em; }
.apps, .about, .contact { max-width: 1280px; margin: 0 auto; padding: 32px 32px 56px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { position: relative; display: block; padding: 24px 56px 28px 26px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, #0d1320, #090d16); text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: #2c3a55; transform: translateY(-2px); }
.card .icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px; }
.placeholder { display: grid; place-items: center; background: #161e2e; color: var(--muted); font-size: 30px; }
.card h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.02em; }
.card p { margin: 0; color: #c2c9d6; font-size: 17px; line-height: 1.45; }
.card.muted h3 { color: #d7dce6; }
.chevron { position: absolute; right: 26px; bottom: 28px; font-size: 32px; line-height: 1; color: #c9d0dc; }
.about p, .contact p { max-width: 62ch; margin: 0; color: #c2c9d6; font-size: 18px; line-height: 1.6; }
.contact a { color: var(--blue-2); }

.bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: 1280px; margin: 0 auto;
  padding: 28px 32px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.bottom a { color: var(--muted); }

a:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

/* Narrow screens: the phones go under the text, and the menu shrinks. */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 80px; }
  .phones { height: 460px; margin-top: 40px; transform: scale(.82); transform-origin: top center; }
  nav a:not(.button) { display: none; }
}
@media (max-width: 520px) {
  .top { padding: 16px; }
  .brand img { height: 34px; }
  .hero, .apps, .about, .contact, .bottom { padding-left: 16px; padding-right: 16px; }
  .phones { transform: scale(.62); height: 360px; }
  .side { display: none; }
  .cta { min-width: 0; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.card { transition: none; }
}
