/* ============ Base ============ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #0b1220;
  --bg-2: #0e1422;
  --card: #0f172a;
  --soft: #11192b;
  --text: #ffffff;
  --muted: #cdd4e0;
  --g1: #00b4d8;
  --g2: #48e0a4;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  max-width: 1400px;
  margin: 0 auto;
}

a {
  color: var(--g2);
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: Poppins, Roboto, system-ui, sans-serif;
}
.container {
  margin: 0 auto;
  padding: 0 5%;
}

/* ============ Header (sticky) ============ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 20, 0.55);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 3px;
}
.brand img {
  height: 40px;
}
.brand b {
  font-size: 23px;
  line-height: normal;
}
.menu {
  display: flex;
  gap: 22px;
  align-items: center;
}
.menu a {
  opacity: 0.9;
}
.menu a:hover {
  opacity: 1;
}
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  margin: 4px 0;
}
.hamburger:hover span {
  background: var(--g2);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
@media (max-width: 900px) {
  .menu {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .menu.open {
    display: flex;
    position: absolute;
    right: 3%;
    top: 60px;
    flex-direction: column;
    background: var(--soft);
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  }
  #how {
    padding-top: 80px;
  }
}

/* ============ Hero (banner image) ============ */
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.hero-wrap h2 {
  margin-top: 0px;
  line-height: normal;
}
.hero-wrap p {
  padding: 10px 0px 20px;
}
.kicker {
  display: inline-block;
  font-size: 32px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: normal;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 10px;
  max-width: 680px;
}
.hero p {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 18px;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--g1), var(--g2));
  color: #00131a;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.25);
}
.phone {
  width: 70%;
  height: auto;
  border-radius: 24px;
  display: block;
  margin: 0px auto;
}

@media (max-width: 980px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  .mock {
    display: none;
  }
  #features,
  #community {
    padding: 0;
  }
}

/* ============ Feature rows ============ */
section {
  padding: 0 0 80px 0;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feat {
  background: var(--card);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.feat h3 {
  margin-bottom: 6px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feat p {
  color: var(--muted);
}
@media (max-width: 980px) {
  .feat-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Split sections ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.split .card {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
}
.muted {
  color: var(--muted);
}
@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
  }
  /* Mobile: show image first in how section */
  .how-section {
    display: flex;
    flex-direction: column;
  }
  .how-section .card {
    order: 2;
  }
  .how-section img {
    order: 1;
  }
}

/* ============ CTA band ============ */
.band {
  background: linear-gradient(90deg, var(--g1), var(--g2));
  color: #00131a;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============ Footer ============ */
footer {
  background: #090f1d;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 20px;
}
.links {
  display: flex;
  gap: 16px;
}
.fine {
  font-size: 0.9rem;
  color: #a9b2c2;
}

/* ============ Legal pages ============ */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 5%;
}
.card {
  background: #11192b;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
h1 {
  font-size: 36px;
  margin-bottom: 10px;
  line-height: normal;
}
h2 {
  margin-top: 28px;
}
