@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
  --navy: #07172d;
  --navy-2: #0b1f3a;
  --blue: #1877f2;
  --blue-light: #66a6ff;
  --cyan: #60d6d3;
  --white: #ffffff;
  --off: #f5f8fc;
  --text: #162237;
  --muted: #6f7c91;
  --line: #dfe7f1;
  --shadow: 0 24px 70px rgba(5, 24, 54, 0.18);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

button, input { font: inherit; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(7, 23, 45, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong, .brand small { display: block; }

.brand strong {
  font-family: Manrope, sans-serif;
  font-size: 1rem;
  color: var(--white);
}

.brand small {
  font-size: .72rem;
  color: rgba(255,255,255,.62);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 30px rgba(24,119,242,.3);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: white;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
}

.menu a:hover { color: white; }

.menu-toggle {
  display: none;
  color: white;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #2557e8);
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(24,119,242,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(24,119,242,.34);
}

.btn-small {
  min-height: 40px;
  padding: 0 17px;
}

.btn-secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: none;
}

.hero {
  min-height: 860px;
  padding: 150px 0 90px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(53,132,255,.2), transparent 28%),
    linear-gradient(145deg, #061329, #0c2445 58%, #103d61);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(to top, rgba(3, 15, 31, .32), transparent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 18px;
}

.eyebrow.dark { color: var(--blue); }

.hero h1 {
  margin: 0;
  max-width: 750px;
  font-family: Manrope, sans-serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy > p {
  max-width: 680px;
  margin: 26px 0 30px;
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255,255,255,.68);
  font-size: .84rem;
}

.dashboard-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.dash-header, .progress-ring, .today, .stats {
  display: flex;
  align-items: center;
}

.dash-header {
  justify-content: space-between;
  gap: 20px;
}

.dash-header h2 { margin: 2px 0 0; }

.muted { color: rgba(255,255,255,.55); font-size: .8rem; }

.status {
  padding: 7px 10px;
  border-radius: 999px;
  color: #b9fff1;
  background: rgba(96,214,211,.12);
  font-size: .72rem;
  font-weight: 700;
}

.progress-ring {
  gap: 18px;
  margin: 30px 0;
}

.ring {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 68%, rgba(255,255,255,.12) 68% 100%);
  position: relative;
}

.ring::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #102847;
}

.ring span { position: relative; z-index: 1; font-weight: 800; }

.progress-ring p, .today p { margin: 2px 0 0; color: rgba(255,255,255,.58); font-size: .82rem; }

.stats {
  gap: 12px;
}

.stats article {
  flex: 1;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
}

.stats span, .stats small { display: block; color: rgba(255,255,255,.56); font-size: .72rem; }
.stats strong { display: block; margin: 8px 0 2px; font-size: 1.45rem; }

.today {
  justify-content: space-between;
  gap: 15px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(7,23,45,.55);
}

.today > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(96,214,211,.12);
}

.hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .22;
}

.glow-one { background: var(--blue); top: 80px; right: 5%; }
.glow-two { background: var(--cyan); bottom: -120px; left: 15%; }

.section { padding: 100px 0; }

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2, .story h2, .beta h2 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-heading p, .story p, .beta p { color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 30px rgba(15, 41, 75, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(15, 41, 75, .1);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  color: var(--blue);
  background: #edf5ff;
  font-weight: 800;
}

.feature h3 { margin: 0 0 10px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

.section-dark {
  background: var(--navy);
  color: white;
}

.section-dark .section-heading p { color: rgba(255,255,255,.6); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  padding: 26px 22px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.step > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(96,214,211,.12);
  color: var(--cyan);
  font-weight: 800;
}

.step h3 { margin: 20px 0 8px; }
.step p { margin: 0; color: rgba(255,255,255,.58); font-size: .9rem; }

.story { background: var(--off); }

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}

.story-card {
  padding: 36px;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--line);
}

.quote {
  padding: 20px 10px;
}

blockquote {
  margin: 0 0 20px;
  font-family: Manrope, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.2;
  color: var(--navy);
}

.quote span { color: var(--blue); font-weight: 700; }

.beta {
  background: linear-gradient(145deg, #0b2444, #153d6b);
  color: white;
}

.beta-box {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 50px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background: rgba(255,255,255,.06);
}

.beta p { color: rgba(255,255,255,.65); }

.interest-form {
  display: grid;
  gap: 12px;
}

.interest-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  outline: 0;
  color: white;
  background: rgba(255,255,255,.08);
}

.interest-form input::placeholder { color: rgba(255,255,255,.46); }
.interest-form input:focus { border-color: var(--cyan); }
.interest-form small { color: rgba(255,255,255,.48); font-size: .72rem; }

footer {
  padding: 30px 0;
  background: #050f1e;
  color: rgba(255,255,255,.58);
  font-size: .8rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-brand .brand-mark svg { width: 25px; height: 25px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid, .story-grid, .beta-box { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .dashboard-card { max-width: 620px; transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border-radius: 16px;
    background: #0b1f3a;
    flex-direction: column;
    align-items: stretch;
  }
  .menu.open { display: flex; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 2.55rem; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .stats { flex-direction: column; align-items: stretch; }
  .beta-box { padding: 28px 20px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .trust-row { flex-direction: column; gap: 8px; }
}
