*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #13121a;
  --border: rgba(255,255,255,0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.35);
  --purple: #8B5CF6;
  --purple-hover: #7C3AED;
  --gradient-text: linear-gradient(90deg, #a78bfa 0%, #60a5fa 30%, #34d399 65%, #fbbf24 100%);
}

html, body {
  min-height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── Nav ───────────────────────── */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(19, 18, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--purple);
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 100px;
  transition: background 0.15s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--purple-hover);
}

/* ── Main layout ───────────────── */

main {
  flex: 1;
  position: relative;
}

/* ── Hero ──────────────────────── */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 30%, rgba(139,92,246,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.hero {
  max-width: 760px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.04);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 2px rgba(52,211,153,0.25);
  flex-shrink: 0;
}

h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 0.15em;
}

.headline-gradient {
  display: block;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1.75rem auto 2.75rem;
  font-weight: 400;
}

.hero-desc strong {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}

/* ── App Store CTA ─────────────── */

.cta-wrap {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 100px;
}

.cta-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid rgba(52,211,153,0.3);
  background: rgba(52,211,153,0.1);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #6ee7b7;
  margin-bottom: 1.25rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  70%  { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 34px;
  background: var(--purple);
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(139,92,246,0.3);
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.download-btn:hover {
  background: var(--purple-hover);
  box-shadow: 0 10px 28px rgba(139,92,246,0.42);
}

.download-btn:active { transform: scale(0.97); }

.apple-mark {
  flex-shrink: 0;
  margin-top: -1px;
}

.cta-or {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 2rem 0 1.25rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cta-or::before,
.cta-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.qr-card {
  display: block;
  width: 168px;
  max-width: 55vw;
  aspect-ratio: 1;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
}

.qr-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.qr-card svg {
  display: block;
}

.qr-caption {
  margin-top: 0.9rem;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
  max-width: 260px;
}

/* ── Intro Section ─────────────── */

.intro-section {
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.section-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Trust Section ─────────────── */

.trust-section {
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.trust-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.trust-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  min-width: 0;
  transition: border-color 0.2s, background 0.2s;
}

.trust-card:hover {
  border-color: rgba(139,92,246,0.3);
  background: rgba(139,92,246,0.05);
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(139,92,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  padding-top: 7px;
  min-width: 0;
  overflow-wrap: break-word;
}

/* ── Page header (inner pages) ── */

.page-header {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse at 50% 20%, rgba(139,92,246,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  position: relative;
  z-index: 1;
}

/* ── Content sections ──────────── */

.content-section {
  padding: 3rem 1.5rem 5rem;
  max-width: 720px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.content-section ul {
  list-style: none;
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-section ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.content-section ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
  margin-top: 9px;
}

.content-section a {
  color: #a78bfa;
  text-decoration: none;
}

.content-section a:hover {
  text-decoration: underline;
}

/* ── Contact cards ─────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}

.contact-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.6rem;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.contact-card a {
  color: var(--text-secondary);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--text-primary);
}

/* ── Disclaimer banner ─────────── */

.disclaimer-banner {
  background: rgba(139,92,246,0.06);
  border-top: 1px solid rgba(139,92,246,0.2);
  padding: 0.9rem 2rem;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Footer ────────────────────── */

footer {
  text-align: center;
  padding: 2rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.footer-address {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-email {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-email a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-email a:hover { color: #fff; }

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: #fff; }

.footer-links .sep {
  color: var(--text-muted);
}

.footer-copy {
  margin-top: 1.25rem;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Mobile ────────────────────── */

@media (max-width: 700px) {
  nav {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    padding: 3rem 1.25rem 2.5rem;
    align-items: flex-start;
  }

  .hero {
    text-align: left;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .hero-desc {
    margin-bottom: 2rem;
  }

  .cta-wrap {
    align-items: stretch;
  }

  .cta-live {
    align-self: flex-start;
    font-size: 13px;
    padding: 7px 15px;
  }

  .download-btn {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    font-size: 16px;
    border-radius: 14px;
  }

  .cta-or {
    margin: 1.75rem 0 1.25rem;
  }

  .qr-card {
    width: 150px;
    max-width: 45vw;
    align-self: center;
  }

  .qr-caption {
    align-self: center;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .page-header {
    padding: 3rem 1.25rem 2rem;
    text-align: left;
  }

  .content-section {
    padding: 2rem 1.25rem 4rem;
  }

  .intro-section,
  .trust-section {
    padding: 3.5rem 1.25rem;
    text-align: left;
  }

  .section-body {
    text-align: left;
  }

  .trust-inner {
    text-align: left;
  }
}

/* ── Small phones ──────────────── */

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card {
    padding: 1.25rem 1rem;
  }
}
