/* Startr marketing site — single stylesheet, no build step.
   Design language: deep navy base + cyan→sky→indigo arc gradient,
   matching the Startr app icon and the app's flagship dark theme. */

:root {
  --bg:        #0F172A; /* slate-900 — icon background top  */
  --bg-soft:   #1E293B; /* slate-800 — icon background bot  */
  --bg-lift:   #253347; /* slate-700-ish — elevated cards   */
  --ink:       #F8FAFC; /* slate-50  — primary text         */
  --ink-dim:   #94A3B8; /* slate-400 — secondary text       */
  --ink-mute:  #64748B; /* slate-500 — tertiary text        */
  --border:    rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Signature arc stops — match the app icon exactly */
  --cyan:      #22D3EE; /* cyan-400  */
  --sky:       #38BDF8; /* sky-500   */
  --indigo:    #818CF8; /* indigo-400*/
  --pink:      #F472B6; /* pink-400 — wordmark tail only    */
  --gold:      #EABF7E; /* antique gold — accents           */

  --accent:    var(--sky);
  --arc:       linear-gradient(90deg, var(--cyan), var(--sky), var(--indigo));
  --arc-diag:  linear-gradient(135deg, var(--cyan), var(--sky), var(--indigo));
  --wordmark:  linear-gradient(90deg, var(--cyan), var(--indigo), var(--pink));

  --radius:    18px;
  --radius-sm: 12px;

  --shadow:    0 10px 40px -12px rgba(0, 0, 0, 0.7);
  --glow:      0 0 40px -4px rgba(56, 189, 248, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  /* Subtle starfield glow anchored at the hero */
  background-image:
    radial-gradient(ellipse 900px 600px at 15% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(ellipse 900px 600px at 95% 10%, rgba(129, 140, 248, 0.14), transparent 60%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

::selection { background: rgba(56, 189, 248, 0.35); color: #fff; }

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand span {
  background: var(--wordmark);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }

.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  color: var(--ink-dim);
}
.nav nav a:hover { color: var(--ink); }

.cta-sm {
  background: var(--arc);
  color: #0F172A !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--glow);
  transition: transform 0.15s;
}
.cta-sm:hover { transform: translateY(-1px); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 100px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--sky);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  margin-bottom: 24px;
}

.grad {
  background: var(--arc);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lede {
  font-size: 19px;
  color: var(--ink-dim);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--arc);
  color: #0F172A !important;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--glow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px -4px rgba(56, 189, 248, 0.55);
}
.btn-primary.big { padding: 18px 32px; font-size: 17px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.microcopy { font-size: 13px; color: var(--ink-mute); margin: 0; }

/* Coming-soon email capture */
.notify {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 14px;
  max-width: 500px;
}
.notify input {
  flex: 1 1 240px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.notify input::placeholder { color: var(--ink-mute); }
.notify input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}
.notify.dark {
  margin: 32px auto 0;
  justify-content: center;
}
.notify button {
  border: none;
  cursor: pointer;
  font: inherit;
}

/* Stats strip */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 36px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-dim);
}
.stat span {
  font-size: 22px;
  background: var(--arc);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* Compare section */
.compare {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.compare h2 {
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  margin-bottom: 12px;
}
.compare-lede {
  text-align: center;
  color: var(--ink-dim);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 48px;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-grid .col {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.compare-grid .col-startr {
  background:
    radial-gradient(ellipse 400px 200px at 0% 0%, rgba(34, 211, 238, 0.15), transparent 70%),
    radial-gradient(ellipse 400px 200px at 100% 100%, rgba(129, 140, 248, 0.15), transparent 70%),
    var(--bg-soft);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: var(--glow);
}
.compare-grid h3 { font-size: 20px; margin-bottom: 20px; }
.compare-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.compare-grid li { font-size: 15px; color: var(--ink); }
.compare-grid ul.muted li { color: var(--ink-mute); }

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 24px;
}
.faq h2 {
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  margin-bottom: 48px;
}
.faq details {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--ink-dim);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  color: var(--ink-dim);
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Hero phone mockup — now the phone content is the app's Startr Dark theme */
.hero-phone { display: flex; justify-content: center; }

.phone {
  width: 320px;
  height: 640px;
  border-radius: 48px;
  background: linear-gradient(160deg, #1E293B, #0F172A);
  padding: 14px;
  box-shadow:
    var(--shadow),
    0 40px 80px -20px rgba(56, 189, 248, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  background: #0F172A;
  border-radius: 36px;
  height: 100%;
  padding: 56px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}

.mock-card {
  background: #1E293B;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mock-card.done {
  background: linear-gradient(180deg, #E3CC93, #A67E44, #755419);
  color: #1C1205;
  border-color: rgba(255, 255, 255, 0.12);
}
.mock-card.done .mock-count { color: #1C1205; }
.mock-card.done .mock-bar { background: rgba(255, 255, 255, 0.25); }
.mock-card.done .mock-fill { background: rgba(255, 255, 255, 0.75); }

.mock-emoji { font-size: 22px; }
.mock-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.mock-card.done .mock-name { color: #1C1205; }
.mock-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 4px;
  overflow: hidden;
}
.mock-fill {
  height: 100%;
  background: var(--arc);
  border-radius: 999px;
}
.mock-count { font-size: 13px; font-weight: 700; color: var(--ink-dim); }

/* Features */
.features {
  background: rgba(255, 255, 255, 0.02);
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features h2 {
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: color-mix(in srgb, var(--c, var(--sky)) 20%, rgba(255, 255, 255, 0.04));
  border: 1px solid color-mix(in srgb, var(--c, var(--sky)) 30%, transparent);
  margin-bottom: 18px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.feature p { color: var(--ink-dim); margin: 0; font-size: 15px; }

/* How */
.how {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.how h2 {
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  margin-bottom: 60px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.steps li {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--arc);
  color: #0F172A;
  font-weight: 800;
  margin-bottom: 16px;
}
.steps h3 { font-size: 18px; margin-bottom: 6px; color: var(--ink); }
.steps p { color: var(--ink-dim); margin: 0; font-size: 15px; }

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 100px 48px;
  background:
    radial-gradient(ellipse 800px 300px at 50% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  border-top: 1px solid var(--border);
}
.final-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}
.final-cta p {
  color: var(--ink-dim);
  margin: 0 0 32px;
  font-size: 18px;
}

/* Footer */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}
.foot-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.foot-brand img { width: 22px; height: 22px; border-radius: 5px; }
.foot-links { display: flex; gap: 24px; color: var(--ink-dim); font-weight: 500; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { margin: 0; color: var(--ink-mute); font-size: 13px; text-align: right; }

/* Static content pages (privacy, support) */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.doc h1 { font-size: 40px; margin-bottom: 8px; }
.doc .updated { color: var(--ink-mute); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 22px; margin-top: 40px; color: var(--ink); }
.doc p, .doc li { color: var(--ink); font-size: 16px; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--cyan); }

/* Mobile */
@media (max-width: 860px) {
  .nav { padding: 16px 20px; }
  .nav nav { gap: 16px; }
  .nav nav a:not(.cta-sm) { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 50px 20px 60px;
    gap: 40px;
  }
  .hero-phone { order: -1; }
  .phone { width: 260px; height: 520px; }
  .phone-screen { padding: 48px 14px 14px; }
  .features, .how, .final-cta, .compare { padding: 70px 20px; }
  .stats { padding: 24px 20px; gap: 20px; }
  .stat { font-size: 13px; }
  .compare-grid { grid-template-columns: 1fr; }
  .foot-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .foot-brand { justify-content: center; }
  .foot-links { justify-content: center; flex-wrap: wrap; }
  .foot-copy { text-align: center; }
}
