:root {
  --color-bg: #191a33; /* approx Color(0.1,0.1,0.2) */
  --color-bg-mid: #332643; /* approx Color(0.2,0.15,0.3) */
  --color-bg-deep: #4b305f; /* approx Color(0.3,0.2,0.4) */
  --color-sand: #f4f4f5;
  --color-gold: #eab308;
  --color-gold-soft: #facc15;
  --color-ink: #020617;
  --color-muted: #9ca3af;
  --color-accent: #a855f7;
  --color-accent-soft: rgba(168, 85, 247, 0.35);
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.82);
}

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

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-mid) 45%, var(--color-bg-deep) 100%);
  color: var(--color-sand);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("../App/Assets.xcassets/entry_bg_transparent.imageset/entry_bg_transparent.png");
  background-size: cover;
  background-position: center;
  opacity: 0.33;
  mix-blend-mode: soft-light;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.6), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  gap: 16px;
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 0, #fef9c3 0, #f97316 12%, #7c3aed 40%, #020617 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 20px;
  color: #fefce8;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.65);
}

.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.brand-name {
  font-weight: 500;
  font-size: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  color: var(--color-muted);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--color-gold-soft), var(--color-accent));
  transition: width 0.18s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  font-size: 13px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out,
    border-color 0.12s ease-out;
  text-decoration: none;
}

.btn-outline {
  border-color: rgba(249, 250, 251, 0.1);
  color: var(--color-sand);
  background: rgba(15, 23, 42, 0.5);
}

.btn-outline:hover {
  background: rgba(30, 64, 175, 0.6);
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.section {
  padding: 72px 0;
}

.section.muted {
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.08) 0, rgba(15, 23, 42, 0.96) 46%, #020617 100%);
}

.hero {
  padding-top: 52px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3.4fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: 0.01em;
  margin: 8px 0 12px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.9);
  max-width: 34rem;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 10px;
}

#download {
  scroll-margin-top: 96px; /* keep both store buttons visible under sticky header */
}

.store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  min-width: 160px;
  background: radial-gradient(circle at 0 0, rgba(251, 191, 36, 0.16) 0, rgba(15, 23, 42, 0.96) 46%, #020617 100%);
  cursor: pointer;
  text-decoration: none;
  color: var(--color-sand);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.8);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out,
    background 0.12s ease-out;
}

.store-button .store-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
}

.store-button .store-name {
  font-size: 16px;
  font-weight: 600;
}

.store-button.ios:hover {
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.9) 0, rgba(15, 23, 42, 0.98) 58%, #020617 100%);
  border-color: rgba(250, 250, 249, 0.85);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.store-button.android:hover {
  background: radial-gradient(circle at 0 0, rgba(45, 212, 191, 0.85) 0, rgba(15, 23, 42, 0.98) 58%, #020617 100%);
  border-color: rgba(45, 212, 191, 0.8);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.small-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-slider {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 660 / 1434;
  border-radius: 32px;
  padding: 1px;
  background: radial-gradient(circle at 0 0, #fef9c3 0, #f59e0b 10%, #7c3aed 40%, #020617 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 1px;
  border-radius: 28px;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.hero-slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: rgba(15, 23, 42, 0.95);
  background: radial-gradient(circle at 0 0, #fefce8, #facc15);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.8);
  cursor: pointer;
  padding: 0;
}

.hero-slider-control.prev {
  left: 10px;
}

.hero-slider-control.next {
  right: 10px;
}

.hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-slider-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(148, 163, 184, 0.7);
  cursor: pointer;
  transition: transform 0.15s ease-out, background 0.15s ease-out;
}

.hero-slider-dots .dot.is-active {
  background: var(--color-gold-soft);
  transform: scale(1.25);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3.4fr) minmax(0, 3fr);
  gap: 40px;
  align-items: flex-start;
}

.two-column h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 10px;
}

.two-column p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.9);
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pill-list li {
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at 0 0, rgba(250, 250, 249, 0.02), rgba(15, 23, 42, 0.96));
  color: rgba(226, 232, 240, 0.92);
}

.section h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 24px;
}

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

.step {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at 0 0, rgba(251, 191, 36, 0.12) 0, rgba(15, 23, 42, 0.98) 58%, #020617 100%);
  padding: 18px 18px 16px;
  min-height: 160px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.7);
  font-size: 12px;
  color: rgba(250, 250, 249, 0.96);
  background: radial-gradient(circle at 0 0, rgba(250, 250, 249, 0.85), rgba(245, 158, 11, 0.85), #0f172a);
  margin-bottom: 10px;
}

.step h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.step p {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.95);
  line-height: 1.7;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 4fr);
  gap: 40px;
}

.faq-item + .faq-item {
  margin-top: 18px;
}

.faq-item h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.faq-item p {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.96);
  line-height: 1.8;
}

.page-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.32);
  background: linear-gradient(to top, #020617, rgba(2, 6, 23, 0.98));
  padding: 16px 0 22px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(148, 163, 184, 0.95);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-tagline {
  font-size: 12px;
}

.footer-links a {
  color: rgba(148, 163, 184, 0.95);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-gold-soft);
}

@media (max-width: 880px) {
  .header-inner {
    padding-inline: 16px;
  }

  .nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .card-frame {
    max-width: 320px;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 540px) {
  .header-inner {
    gap: 10px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .store-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

