/* ============================================================
   Jumpstart — jumpstarthome.com landing page
   Brand palette (from logo.png / extension):
   #00A1FF azure · #6DFAFF cyan · #2F00FF deep violet-blue
   Two themes: dark (default) + light, toggled via
   html[data-theme="dark|light"], persisted in localStorage.
   ============================================================ */

:root {
  --brand: #00a1ff;
  --brand-cyan: #6dfaff;
  --brand-violet: #2f00ff;
  --accent: #ff5470;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --grad-brand: linear-gradient(120deg, var(--brand-cyan) 0%, var(--brand) 45%, var(--brand-violet) 110%);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050b1a;
  --bg-raise: #0a1430;
  --text: #f2f7ff;
  --text-dim: rgba(242, 247, 255, 0.64);
  --text-faint: rgba(242, 247, 255, 0.38);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(13, 22, 44, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 28px rgba(0, 0, 0, 0.32);
  --blob-opacity: 0.5;
  --nav-bg: rgba(5, 11, 26, 0.72);
  --hero-glow: rgba(0, 161, 255, 0.22);
  --card-glow: rgba(109, 250, 255, 0.07);
  --btn-ghost-bg: rgba(255, 255, 255, 0.07);
  --frame-bg: rgba(13, 22, 44, 0.85);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef6ff;
  --bg-raise: #ffffff;
  --text: #0a1430;
  --text-dim: rgba(10, 20, 48, 0.64);
  --text-faint: rgba(10, 20, 48, 0.4);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(10, 20, 48, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 50px rgba(20, 50, 120, 0.14);
  --shadow-soft: 0 8px 28px rgba(20, 50, 120, 0.1);
  --blob-opacity: 0.35;
  --nav-bg: rgba(238, 246, 255, 0.78);
  --hero-glow: rgba(0, 161, 255, 0.16);
  --card-glow: rgba(0, 161, 255, 0.05);
  --btn-ghost-bg: rgba(10, 20, 48, 0.05);
  --frame-bg: rgba(255, 255, 255, 0.85);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  transition: background 0.4s ease, color 0.4s ease;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: rgba(0, 161, 255, 0.35); }

.wrap {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ---------- Aurora background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.aurora__blob {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: var(--blob-opacity);
  transition: opacity 0.4s ease;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora__blob--1 { background: var(--brand); top: -25%; left: -15%; }
.aurora__blob--2 { background: var(--brand-violet); bottom: -30%; right: -18%; animation-delay: -8s; animation-duration: 32s; }
.aurora__blob--3 { background: var(--brand-cyan); top: 30%; left: 55%; width: 38vmax; height: 38vmax; animation-delay: -16s; animation-duration: 22s; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6vmax, -4vmax) scale(1.12); }
  100% { transform: translate(-4vmax, 5vmax) scale(0.95); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav__brand img { width: 32px; height: 32px; }
.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav__links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--text); }

/* theme toggle */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--btn-ghost-bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), background 0.2s ease;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.08); background: var(--glass-hover); }
.theme-toggle svg { width: 19px; height: 19px; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary {
  background: var(--grad-brand);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 161, 255, 0.4);
  animation: gradShift 6s ease infinite;
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 161, 255, 0.55);
}
.btn--ghost {
  background: var(--btn-ghost-bg);
  border: 1px solid var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { transform: translateY(-3px); background: var(--glass-hover); }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }

@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--grad-brand);
  background-size: 160% 160%;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(0, 161, 255, 0.5);
  animation: gradShift 6s ease infinite;
  transform: translateY(140%) scale(0.9);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring), opacity 0.35s ease;
  pointer-events: none;
}
.float-cta.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.float-cta:hover { transform: translateY(-4px) scale(1.04); }
.float-cta svg { width: 20px; height: 20px; }
.float-cta::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(109, 250, 255, 0.5);
  animation: pulseRing 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 1; }
  70%, 100% { transform: scale(1.18); opacity: 0; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 70px;
  text-align: center;
  position: relative;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 26px;
}
.hero__badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 10px var(--brand-cyan);
  animation: blink 2s ease infinite;
}
@keyframes blink { 50% { opacity: 0.4; } }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.grad-text {
  background: var(--grad-brand);
  background-size: 160% 160%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease infinite;
}
.hero__sub {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--text-dim);
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* video frame */
.hero__media {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: -8% -12%;
  background: radial-gradient(ellipse at center, var(--hero-glow), transparent 65%);
  z-index: -1;
}
.browser-frame {
  border-radius: var(--radius-lg);
  background: var(--frame-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--glass-border);
}
.browser-frame__bar i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--text-faint);
  opacity: 0.7;
}
.browser-frame__bar i:nth-child(1) { background: #ff5f57; opacity: 1; }
.browser-frame__bar i:nth-child(2) { background: #febc2e; opacity: 1; }
.browser-frame__bar i:nth-child(3) { background: #28c840; opacity: 1; }
.browser-frame__url {
  margin-left: 12px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--btn-ghost-bg);
  font-size: 0.76rem;
  color: var(--text-faint);
  font-weight: 500;
}
.browser-frame video, .browser-frame img { width: 100%; }

/* ---------- Section scaffolding ---------- */
section { padding: 90px 0; position: relative; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Feature grid ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), var(--card-glow), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0, 161, 255, 0.35); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0, 161, 255, 0.35);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Screenshot showcase ---------- */
.showcase .browser-frame { max-width: 1000px; margin: 0 auto; }

/* ---------- Extensions duo ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: stretch;
}
.duo__plus {
  align-self: center;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--card-glow), 0 10px 28px rgba(0, 161, 255, 0.45);
  animation: pulse 3s ease infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.ext-card {
  display: flex;
  flex-direction: column;
  padding: 38px 34px;
  text-align: left;
}
.ext-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.ext-card__logo {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--bg-raise);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  flex: none;
}
.ext-card__logo img { width: 38px; height: 38px; }
.ext-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ext-card .tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-top: 2px;
}
.ext-card > p { color: var(--text-dim); margin-bottom: 20px; }
.ext-card ul {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
  flex-grow: 1;
}
.ext-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-dim);
}
.ext-card li svg {
  width: 18px; height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--brand);
}
.ext-card .btn { align-self: flex-start; }

/* ---------- Better together ---------- */
.together__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.together__grid .card { padding-top: 64px; }
.together__grid .card::after {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.5;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
details {
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
details[open] { border-color: rgba(0, 161, 255, 0.35); }
summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.3s var(--ease-spring);
  flex: none;
}
details[open] summary::after { transform: rotate(45deg); }
details .faq__body {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 0.96rem;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 110px 0 130px;
}
.final-cta .card {
  padding: 70px 40px;
  overflow: hidden;
}
.final-cta .card::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(ellipse at 20% 110%, rgba(0, 161, 255, 0.25), transparent 55%),
    radial-gradient(ellipse at 85% -10%, rgba(47, 0, 255, 0.2), transparent 55%);
  pointer-events: none;
}
.final-cta .card > * { position: relative; z-index: 1; }
.final-cta img.logo-big {
  width: 84px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 10px 30px rgba(0, 161, 255, 0.5));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.final-cta p { color: var(--text-dim); max-width: 520px; margin: 0 auto 34px; }
.final-cta .hero__ctas { margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 44px 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.footer__brand img { width: 26px; height: 26px; }
.footer__links {
  margin-left: auto;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer__links a {
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 760px;
  margin-inline: auto;
  padding: 150px 0 90px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal .updated { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 38px 0 12px;
}
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--brand); }
.legal strong { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .duo { grid-template-columns: 1fr; }
  .duo__plus { margin: -6px auto; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 120px; }
  .float-cta { right: 16px; bottom: 16px; padding: 13px 22px; font-size: 0.9rem; }
  section { padding: 64px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}