:root {
  --bg: #ecf3ff;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --text: #091224;
  --muted: #53627c;
  --border: rgba(87, 119, 188, 0.18);
  --shadow: 0 30px 70px rgba(17, 42, 108, 0.12);
  --shadow-soft: 0 16px 36px rgba(17, 42, 108, 0.08);
  --primary: #2353ff;
  --primary-strong: #173ab3;
  --cyan: #18c5d8;
  --navy: #102149;
  --glow: rgba(35, 83, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.page {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(24, 197, 216, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(35, 83, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #f4f8ff 0%, var(--bg) 38%, #f8fbff 100%);
  -webkit-font-smoothing: antialiased;
}

.nav-shell {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  overflow: clip;
  background: rgba(244, 248, 255, 0.74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(87, 119, 188, 0.1);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(24, 197, 216, 0.9), rgba(35, 83, 255, 0.9), transparent);
  background-size: 200% 100%;
  animation: navTrail 8s linear infinite;
}

.nav-shell--scrolled {
  background: rgba(250, 252, 255, 0.92);
  border-color: rgba(87, 119, 188, 0.18);
  box-shadow: 0 10px 30px rgba(22, 48, 111, 0.08);
}

.nav-shell__glow {
  position: absolute;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(35, 83, 255, 0.18), transparent 68%);
  pointer-events: none;
  animation: drift 8s ease-in-out infinite;
}

.nav-shell__glow--left {
  left: -40px;
}

.nav-shell__glow--right {
  right: -40px;
  animation-delay: -3s;
}

.nav-bar {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(35, 83, 255, 0.12);
  animation: logoPulse 4s ease-in-out infinite;
}

.brand__text {
  font-size: 18px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-links a,
.link {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease;
}

.nav-links a {
  padding: 10px 2px;
}

.nav-links a::after,
.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
  transition: right 180ms ease;
  border-radius: 999px;
}

.nav-links a:hover,
.link:hover {
  color: var(--navy);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.link:hover::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.playstore-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 14px 8px 10px;
  border-radius: 14px;
  background: #0f1115;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(10, 14, 22, 0.2);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.playstore-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(10, 14, 22, 0.24);
  background: #111722;
}

.playstore-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.playstore-link__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.playstore-link__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.playstore-link__copy small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.playstore-link__copy strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--cyan));
  box-shadow: 0 18px 35px rgba(35, 83, 255, 0.22);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(35, 83, 255, 0.28);
}

.btn.is-disabled {
  opacity: 0.7;
  pointer-events: none;
  box-shadow: none;
}

.btn.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(87, 119, 188, 0.18);
}

.btn.secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 83, 255, 0.24);
  box-shadow: var(--shadow-soft);
}

.page__content {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 34px 24px 84px;
}

.hero {
  padding: 10px 0 24px;
}

.hero-card,
.content-card,
.mini-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 30px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(24, 197, 216, 0.18), transparent 24%),
    radial-gradient(circle at 70% 68%, rgba(35, 83, 255, 0.14), transparent 28%);
  pointer-events: none;
}

.hero-grid,
.content-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 83, 255, 0.08);
  color: var(--primary-strong);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 10.5ch;
}

.lead {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trust-strip,
.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-strip span,
.signal-pill,
.page-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 83, 255, 0.08);
  color: #2343ad;
  font-size: 12px;
  font-weight: 800;
}

.content-card,
.mini-card {
  border-radius: 24px;
  padding: 24px;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 255, 0.9));
}

.section-stack {
  display: grid;
  gap: 20px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.list-clean {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.list-clean li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--cyan));
  transform: translateY(-50%);
}

.cards-3,
.cards-2 {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card h3,
.content-card h3,
.legal h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.mini-card p,
.content-card p,
.legal p,
.legal li {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.page-card-grid {
  margin-bottom: 20px;
}

.page-card {
  background: rgba(250, 252, 255, 0.94);
}

.page-detail-stack {
  display: grid;
  gap: 16px;
}

.page-detail {
  background: rgba(255, 255, 255, 0.92);
}

.rich-copy {
  color: var(--muted);
  line-height: 1.8;
}

.rich-copy > *:first-child {
  margin-top: 0;
}

.rich-copy p,
.rich-copy ul,
.rich-copy ol,
.rich-copy blockquote {
  margin: 0 0 14px;
}

.rich-copy a {
  color: var(--primary-strong);
  font-weight: 700;
}

.rich-copy blockquote {
  padding: 14px 16px;
  border-left: 3px solid rgba(35, 83, 255, 0.26);
  background: rgba(35, 83, 255, 0.04);
  border-radius: 0 14px 14px 0;
}

.faq-stack {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  font-weight: 800;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--primary);
  transition: transform 160ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
}

.legal h1 {
  margin: 0 0 14px;
  font-size: 38px;
  letter-spacing: -0.04em;
}

.footer {
  margin-top: 46px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(238, 244, 255, 0.94));
  border-top: 1px solid rgba(87, 119, 188, 0.1);
}

.footer__bottom {
  width: min(1200px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@keyframes navTrail {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 18px, 0); }
}

@keyframes logoPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 10px 22px rgba(35, 83, 255, 0.12); }
  50% { transform: translateY(-2px); box-shadow: 0 16px 26px rgba(35, 83, 255, 0.18); }
}

@media (max-width: 980px) {
  .section-heading,
  .hero-grid,
  .content-grid,
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .nav-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "links links";
    align-items: center;
    gap: 14px 18px;
  }

  .brand {
    grid-area: brand;
  }

  .nav-actions {
    grid-area: actions;
    justify-content: flex-start;
  }

  .nav-links {
    grid-area: links;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 0;
  }

  .playstore-link {
    min-height: 42px;
    padding: 7px 12px 7px 9px;
    gap: 8px;
  }

  .playstore-link__copy small {
    font-size: 9px;
  }

  .playstore-link__copy strong {
    font-size: 13px;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page__content,
  .footer,
  .nav-bar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-bar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "actions"
      "links";
    gap: 12px;
  }

  .nav-actions {
    justify-self: start;
    width: 100%;
  }

  .playstore-link {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    width: calc(100% + 2px);
    padding-bottom: 2px;
  }

  .hero-card,
  .content-card,
  .mini-card {
    border-radius: 20px;
  }

  .hero-card {
    padding: 22px;
  }
}
