/* ═══════════════════════════════════════════════
   Base reset & shared tokens
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #05081d;
  --bg-card:   #0c1029;
  --text:      #f0f2ff;
  --text-muted:#8b92b8;
  --border:    rgba(255,255,255,0.08);
  --gradient:  linear-gradient(135deg,#5deaff 0%,#2d8cff 30%,#8a5dff 55%,#ff4fae 80%,#ff9d4d 100%);
  --teal:   #5debff;
  --blue:   #2d8cff;
  --purple: #8a5dff;
  --pink:   #ff4fae;
  --orange: #ff9d4d;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container      { max-width: 720px;  margin: 0 auto; padding: 0 24px; }
.container--wide{ max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════
   Shared header (used by landing + legal pages)
═══════════════════════════════════════════════ */
.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.site-header .container,
.site-header .container--wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Landing-page-specific header overrides */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(5,8,29,0.72);
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none !important;
}
.lp-logo__icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  /* icon has white bg so we just show it at small size — it reads fine */
  border-radius: 7px;
}

/* Legacy logo (legal pages) */
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

.lp-nav-cta {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}
.lp-nav-cta:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none !important; }

/* ═══════════════════════════════════════════════
   Gradient text utility
═══════════════════════════════════════════════ */
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════
   Aurora blobs (shared across hero + cta)
═══════════════════════════════════════════════ */
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
}
.aurora__blob--1 {
  width: 640px; height: 640px;
  background: var(--teal);
  top: -220px; left: -120px;
  animation: aur1 11s ease-in-out infinite;
}
.aurora__blob--2 {
  width: 520px; height: 520px;
  background: var(--purple);
  top: 80px; right: -80px;
  animation: aur2 13s ease-in-out infinite;
}
.aurora__blob--3 {
  width: 440px; height: 440px;
  background: var(--pink);
  bottom: -80px; left: 35%;
  animation: aur3 9s ease-in-out infinite;
}
@keyframes aur1 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(80px,-60px) scale(1.12); }
  70%     { transform: translate(-50px,70px) scale(0.92); }
}
@keyframes aur2 {
  0%,100% { transform: translate(0,0) scale(1); }
  35%     { transform: translate(-70px,50px) scale(1.08); }
  65%     { transform: translate(55px,-65px) scale(0.95); }
}
@keyframes aur3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(70px,-55px) scale(1.18); }
}

/* ═══════════════════════════════════════════════
   Hero
═══════════════════════════════════════════════ */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.lp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* -- hero text side -- */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(93,235,255,0.3);
  background: rgba(93,235,255,0.07);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.lp-badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.4; transform: scale(0.7); }
}

.lp-hero__headline {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 22px;
}

.lp-hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 440px;
  margin-bottom: 40px;
}

/* -- App Store button -- */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  background: #fff;
  color: #000;
  border-radius: 16px;
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}
.btn-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(93,235,255,0.22);
}
.btn-store__apple {
  width: 22px; height: 26px;
  flex-shrink: 0;
  color: #000;
}
.btn-store__text { display: flex; flex-direction: column; }
.btn-store__small {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #000;
}
.btn-store__big {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
}
.btn-store--lg { padding: 16px 34px; }
.btn-store--lg .btn-store__big { font-size: 1.25rem; }

/* -- phone side -- */
.lp-hero__phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-glow {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,93,255,0.28) 0%, transparent 68%);
  pointer-events: none;
}
.phone-img {
  position: relative;
  z-index: 1;
  width: 290px;
  max-width: 100%;
  border-radius: 40px;
  filter: drop-shadow(0 48px 80px rgba(93,235,255,0.14))
          drop-shadow(0 16px 32px rgba(0,0,0,0.5));
  animation: float 6.5s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0.3deg); }
  50%     { transform: translateY(-20px) rotate(-0.3deg); }
}

/* ═══════════════════════════════════════════════
   Prompt ticker
═══════════════════════════════════════════════ */
.lp-ticker {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.lp-ticker__label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.ticker-wrap { display: flex; flex-direction: column; gap: 14px; overflow: hidden; }

.ticker { overflow: hidden; }
.ticker__inner {
  display: flex;
  gap: 12px;
  width: max-content;
}
.ticker--fwd .ticker__inner { animation: tick-fwd 28s linear infinite; }
.ticker--rev .ticker__inner { animation: tick-rev 34s linear infinite; }
@keyframes tick-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes tick-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  white-space: nowrap;
  border: 1px solid;
}
.chip--teal {
  border-color: rgba(93,235,255,0.25);
  background: rgba(93,235,255,0.07);
  color: var(--teal);
}
.chip--purple {
  border-color: rgba(138,93,255,0.3);
  background: rgba(138,93,255,0.08);
  color: #b08bff;
}

/* ═══════════════════════════════════════════════
   Feature section
═══════════════════════════════════════════════ */
.lp-features { padding: 110px 0; }

.lp-section-eyebrow {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 14px;
}
.lp-section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.lp-section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 64px;
}

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

.lp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px 36px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.lp-card:hover { transform: translateY(-8px); }

.lp-card--teal:hover {
  border-color: rgba(93,235,255,0.35);
  box-shadow: 0 24px 64px rgba(93,235,255,0.11);
}
.lp-card--blue:hover {
  border-color: rgba(45,140,255,0.35);
  box-shadow: 0 24px 64px rgba(45,140,255,0.11);
}
.lp-card--pink:hover {
  border-color: rgba(255,79,174,0.35);
  box-shadow: 0 24px 64px rgba(255,79,174,0.11);
}

.lp-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.lp-card__icon--teal  { background: rgba(93,235,255,0.1);  color: var(--teal); }
.lp-card__icon--blue  { background: rgba(45,140,255,0.1);  color: var(--blue); }
.lp-card__icon--pink  { background: rgba(255,79,174,0.1);  color: var(--pink); }

.lp-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.lp-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 22px;
}


/* ═══════════════════════════════════════════════
   How it works
═══════════════════════════════════════════════ */
.lp-how {
  padding: 80px 0 110px;
  background: linear-gradient(180deg, transparent, rgba(93,235,255,0.025) 50%, transparent);
}

.lp-steps {
  display: flex;
  align-items: flex-start;
  margin-top: 64px;
}
.lp-step { flex: 1; text-align: center; padding: 0 28px; }
.lp-step__num {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 18px;
}
.lp-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.lp-step p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.68; }

.lp-step__line {
  flex: 0 0 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(93,235,255,0.2), rgba(138,93,255,0.4), rgba(93,235,255,0.2));
  margin-top: 26px;
  border-radius: 999px;
}

/* ═══════════════════════════════════════════════
   CTA section
═══════════════════════════════════════════════ */
.lp-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-cta__glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,93,255,0.18) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.lp-cta__logo {
  width: 76px; height: 76px;
  object-fit: contain;
  border-radius: 18px;
  margin-bottom: 28px;
}
.lp-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.lp-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 44px;
}

/* ═══════════════════════════════════════════════
   Scroll reveal
═══════════════════════════════════════════════ */
.lp-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.lp-reveal.lp-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   Shared footer
═══════════════════════════════════════════════ */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer p    { color: var(--text-muted); font-size: 0.85rem; }
.site-footer nav  { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; }
.site-footer nav a{ color: var(--text-muted); font-size: 0.85rem; }
.site-footer nav a:hover { color: var(--text); text-decoration: none; }

/* ═══════════════════════════════════════════════
   Legacy landing-page classes (kept so nothing breaks)
═══════════════════════════════════════════════ */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════
   Legal pages (terms / privacy)
═══════════════════════════════════════════════ */
.legal-page { padding: 48px 0 80px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page .updated { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 40px; }
.legal-page section { margin-bottom: 32px; }
.legal-page h2 { font-size: 1.125rem; margin-bottom: 8px; color: var(--text); }

.legal-content strong {
  display: block;
  font-size: 1.125rem;
  margin-top: 28px; margin-bottom: 8px;
  color: var(--text);
}
.legal-content strong:first-child { margin-top: 0; }
.legal-content p strong { display: inline; font-size: inherit; margin: 0; color: var(--text); }
.legal-content p  { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.legal-content ul { color: var(--text-muted); font-size: 0.95rem; margin: 8px 0 16px 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-content hr { border: none; border-top: 1px solid var(--border); margin: 40px 0 16px; }
.legal-content .legal-meta { color: var(--text-muted); font-size: 0.85rem; }

/* ═══════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════ */
@media (max-width: 860px) {
  .lp-feature-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .lp-steps { flex-direction: column; align-items: center; gap: 40px; }
  .lp-step  { max-width: 360px; }
  .lp-step__line { width: 2px; height: 40px; flex: 0 0 40px; margin-top: 0;
                   background: linear-gradient(180deg, rgba(93,235,255,0.2), rgba(138,93,255,0.4), rgba(93,235,255,0.2)); }
}

@media (max-width: 720px) {
  .lp-hero { padding: 100px 0 60px; min-height: auto; }
  .lp-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .lp-hero__sub  { margin-left: auto; margin-right: auto; }
  .lp-hero__actions { display: flex; justify-content: center; }
  .lp-hero__phone { order: -1; }
  .phone-img { width: 230px; }
  .lp-badge  { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .site-nav a:not(.lp-nav-cta) { display: none; }
}
