/* ============================================================
   News Widgets — shared stylesheet
   Apple-marketing aesthetic, dark background, glass cards
   ============================================================ */

:root {
  /* Brand */
  --grad-ai: linear-gradient(135deg, #ED4799 0%, #A856F7 55%, #3B82F6 100%);
  --grad-ai-soft: linear-gradient(135deg, rgba(237,71,153,0.18) 0%, rgba(168,86,247,0.18) 55%, rgba(59,130,246,0.18) 100%);
  --pink: #ED4799;
  --purple: #A856F7;
  --blue: #3B82F6;
  --news-red: #FA2D48;
  --amber: #F5B544;

  /* Surfaces */
  --bg: #06070d;
  --bg-soft: #0c0e17;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f5f6fa;
  --text-dim: rgba(245, 246, 250, 0.66);
  --text-mute: rgba(245, 246, 250, 0.44);

  /* Type */
  --font: -apple-system, "SF Pro Display", "SF Pro Text", BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;

  /* Layout */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --container: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}

/* ----------------------- reset ----------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ----------------------- ambient orbs (background glow) ----------------------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 12% -8%, rgba(168, 86, 247, 0.30), transparent 65%),
    radial-gradient(900px 700px at 88% 6%, rgba(59, 130, 246, 0.28), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(237, 71, 153, 0.22), transparent 60%),
    radial-gradient(700px 500px at 95% 70%, rgba(250, 45, 72, 0.14), transparent 60%),
    linear-gradient(180deg, #06070d 0%, #06070d 45%, #08090f 100%);
}
.bg-orbs::after {
  /* Subtle grain */
  content: "";
  position: absolute;
  inset: -50%;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.55;
  mix-blend-mode: overlay;
}

/* ----------------------- container ----------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ----------------------- nav ----------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 14px 0;
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  background: rgba(6, 7, 13, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.nav-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  box-shadow: 0 4px 14px rgba(168, 86, 247, 0.35);
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-link {
  color: var(--text-dim);
  font-size: 14.5px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cta {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0a0b13;
  transition: transform .15s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,0.18); }

/* ----------------------- buttons ----------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.985); }

.btn-primary {
  color: #fff;
  background: var(--grad-ai);
  box-shadow:
    0 12px 40px -10px rgba(168, 86, 247, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  box-shadow:
    0 18px 60px -12px rgba(168, 86, 247, 0.75),
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }

.btn-lg { padding: 18px 32px; font-size: 17px; border-radius: 999px; }

/* ----------------------- hero ----------------------- */
.hero {
  position: relative;
  padding: clamp(64px, 11vw, 130px) 0 60px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hairline-strong);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-ai);
  box-shadow: 0 0 10px rgba(168,86,247,0.7);
}
.hero h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero h1 .grad {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 9s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero p.lead {
  margin: 26px auto 0;
  max-width: 640px;
  color: var(--text-dim);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 38px;
}

/* ----------------------- desktop hero stage ----------------------- */
.desktop-stage {
  position: relative;
  margin: 80px auto 0;
  max-width: 1080px;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 90% at 50% -10%, rgba(168, 86, 247, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.desktop-stage::before {
  /* macOS menubar suggestion */
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, transparent, var(--hairline-strong), transparent);
}
.widgets-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  justify-items: center;
  padding-bottom: clamp(28px, 4vw, 56px);
  animation: float 5.2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ----------------------- widget mockup ----------------------- */
.widget {
  width: 100%;
  max-width: 360px;
  padding: 18px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.widget:hover { transform: translateY(-4px) scale(1.005); }

.w-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.w-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.w-icon.ai { background: var(--grad-ai); }
.w-icon.news { background: var(--news-red); }
.w-icon svg { width: 13px; height: 13px; }
.w-title {
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.005em;
}
.w-time {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  font-variant-numeric: tabular-nums;
}

.w-hero {
  position: relative;
  height: 100px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.w-hero.ai {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, #ED4799 0%, #A856F7 55%, #3B82F6 100%);
}
.w-hero.news {
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, #1f2a44 0%, #131a2c 100%);
}
.w-hero::after {
  /* photo film grain */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(2px 2px at 20% 40%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(1.5px 1.5px at 70% 30%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(2px 2px at 50% 80%, rgba(255,255,255,0.07), transparent 40%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.w-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.w-badge.ai { background: var(--grad-ai); }
.w-badge.news { background: var(--news-red); }
.w-headline {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  font-size: 13px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.w-list { display: grid; gap: 10px; }
.w-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.w-row:first-child { border-top: 0; padding-top: 4px; }
.w-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.w-meta .src { color: var(--pink); }
.w-meta .src.purple { color: #C089FA; }
.w-meta .src.blue { color: #7BA8FF; }
.w-meta .src.red { color: #FA6679; }
.w-meta .src.amber { color: #F5B544; }
.w-meta .src.teal { color: #61D4C0; }
.w-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
}
.w-meta .time {
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.w-line {
  font-size: 12.5px;
  line-height: 1.25;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----------------------- sections ----------------------- */
section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 70px);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 64px);
  letter-spacing: -0.035em;
  font-weight: 700;
  line-height: 1.05;
}
.section-head h2 .grad {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p {
  margin: 18px auto 0;
  color: var(--text-dim);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 56ch;
}

/* ----------------------- video section ----------------------- */
.video-frame {
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: var(--grad-ai);
  box-shadow: 0 50px 120px -40px rgba(168, 86, 247, 0.55);
}
.video-frame .inner {
  position: relative;
  border-radius: calc(var(--radius-xl) - 2px);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-frame .glow {
  position: absolute;
  inset: -60px;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.55;
  background: var(--grad-ai);
  border-radius: 999px;
}

/* ----------------------- features ----------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature {
  position: relative;
  padding: 36px 30px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform .35s ease, border-color .25s ease, background .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-strong);
  background: var(--surface-2);
}
.feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(237,71,153,0.4), rgba(168,86,247,0.4), rgba(59,130,246,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.feature:hover::before { opacity: 1; }
.feature .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-ai-soft);
  border: 1px solid var(--hairline-strong);
  margin-bottom: 22px;
}
.feature .icon svg { width: 22px; height: 22px; color: #fff; }
.feature h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.5;
}

/* ----------------------- sources ----------------------- */
.sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.sources-col {
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.sources-col h3 {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}
.sources-col h3 .ai-dot,
.sources-col h3 .news-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
}
.sources-col h3 .ai-dot { background: var(--grad-ai); }
.sources-col h3 .news-dot { background: var(--news-red); box-shadow: 0 0 10px rgba(250,45,72,0.7); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.chip:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}
.sources-caption {
  text-align: center;
  margin: 26px auto 0;
  color: var(--text-dim);
  font-size: 15px;
}

/* ----------------------- free section ----------------------- */
.free {
  text-align: center;
}
.free-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) clamp(28px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(168,86,247,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.free-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
  font-weight: 700;
}
.free-card .badges {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin: 22px 0 22px;
}
.free-card .badges span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline-strong);
  color: var(--text-dim);
}
.free-card p {
  margin: 0 auto;
  max-width: 56ch;
  color: var(--text-dim);
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.55;
}

/* ----------------------- big CTA ----------------------- */
.cta-band {
  text-align: center;
}
.cta-band h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 80px);
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1.05;
}
.cta-band h2 .grad {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-band p {
  margin: 18px auto 32px;
  color: var(--text-dim);
  max-width: 50ch;
  font-size: clamp(16px, 1.4vw, 19px);
}

/* ----------------------- footer ----------------------- */
footer {
  padding: 44px 0 60px;
  border-top: 1px solid var(--hairline);
  margin-top: 40px;
  color: var(--text-mute);
  font-size: 13.5px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.foot-row .foot-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-dim);
  font-weight: 600;
}
.foot-row .foot-brand img { width: 22px; height: 22px; border-radius: 6px; }
.foot-row .foot-spacer { flex: 1; }
.foot-row a { color: var(--text-dim); }
.foot-row a:hover { color: var(--text); }

/* ============================================================
   INSTALL PAGE
   ============================================================ */
.install-hero {
  padding: clamp(60px, 9vw, 110px) 0 30px;
  text-align: center;
}
.install-hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.install-hero h1 .grad {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.install-hero p {
  margin: 24px auto 0;
  max-width: 620px;
  color: var(--text-dim);
  font-size: clamp(16px, 1.5vw, 20px);
}

/* warning callout — friendly amber */
.callout {
  position: relative;
  margin: 60px auto 0;
  max-width: 880px;
  padding: 32px 32px 30px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(245, 181, 68, 0.12), rgba(245, 181, 68, 0.04));
  border: 1px solid rgba(245, 181, 68, 0.3);
  box-shadow: 0 30px 80px -30px rgba(245, 181, 68, 0.25);
}
.callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: var(--amber);
}
.callout-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.callout-head .badge {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  background: rgba(245, 181, 68, 0.16);
  border: 1px solid rgba(245, 181, 68, 0.4);
  display: grid; place-items: center;
}
.callout-head .badge svg { width: 18px; height: 18px; color: var(--amber); }
.callout-head .label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber);
}
.callout p { margin: 0 0 14px; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: #fff; font-weight: 700; }
.callout a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(245, 181, 68, 0.6);
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.callout a:hover { color: var(--amber); }

/* steps */
.steps {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}
.step .num {
  font-size: 110px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  background: var(--grad-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step .step-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step .step-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.55;
}
.step .step-action {
  margin-top: 18px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.step .step-mock {
  margin-top: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: rgba(0,0,0,0.4);
  overflow: hidden;
}

/* finder mock */
.finder {
  font-size: 12px;
  color: #d6d8e3;
  background: linear-gradient(180deg, #1c1d24 0%, #14151b 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.finder .titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.finder .traffic { display: flex; gap: 6px; }
.finder .traffic span { width: 11px; height: 11px; border-radius: 50%; }
.finder .traffic .r { background: #FF5F57; }
.finder .traffic .y { background: #FEBC2E; }
.finder .traffic .g { background: #28C840; }
.finder .titlebar .title {
  margin-left: 6px; font-size: 12px; color: rgba(255,255,255,0.7);
}
.finder .body {
  display: grid;
  grid-template-columns: 130px 1fr;
}
.finder .sidebar {
  padding: 12px 10px;
  background: rgba(255,255,255,0.025);
  border-right: 1px solid rgba(255,255,255,0.06);
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
}
.finder .sidebar .label { color: rgba(255,255,255,0.35); margin: 8px 0 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.finder .sidebar .row { padding: 5px 6px; border-radius: 6px; display: flex; align-items: center; gap: 7px; }
.finder .sidebar .row.active { background: rgba(255,255,255,0.08); color: #fff; }
.finder .sidebar .row .dot { width: 8px; height: 8px; border-radius: 3px; background: rgba(255,255,255,0.25); }
.finder .sidebar .row.active .dot { background: var(--news-red); }
.finder .filearea {
  padding: 18px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}
.finder .file {
  display: grid; place-items: center;
  gap: 6px; padding: 6px;
  border-radius: 8px;
}
.finder .file.highlight {
  background: rgba(168, 86, 247, 0.18);
  outline: 1px dashed rgba(168, 86, 247, 0.6);
}
.finder .file .ic {
  width: 48px; height: 48px; border-radius: 10px;
  background: linear-gradient(135deg, #2b2c34, #1c1d24);
  border: 1px solid rgba(255,255,255,0.1);
}
.finder .file .ic.app {
  background: var(--grad-ai);
  display: grid; place-items: center;
}
.finder .file .ic.app svg { width: 22px; height: 22px; }
.finder .file .name {
  font-size: 11px;
  color: rgba(255,255,255,0.78);
  text-align: center;
  max-width: 80px;
  word-break: break-word;
}
.finder .arrow {
  position: relative;
  font-size: 11px;
  color: var(--purple);
  text-align: center;
  margin-top: 4px;
  font-weight: 600;
}

/* gatekeeper alert mock */
.alert {
  width: 100%;
  max-width: 380px;
  margin: 8px auto 6px;
  padding: 22px 22px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #2a2c34 0%, #1d1f27 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  text-align: center;
}
.alert .ic-wrap {
  position: relative;
  width: 56px; height: 56px;
  margin: 0 auto 10px;
}
.alert .ic-app {
  width: 56px; height: 56px;
  border-radius: 13px;
  background: var(--grad-ai);
  display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(168,86,247,0.4);
}
.alert .ic-app svg { width: 28px; height: 28px; }
.alert .ic-warn {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid #1d1f27;
  display: grid; place-items: center;
  font-size: 13px; line-height: 1;
  color: #1d1f27; font-weight: 800;
}
.alert h4 {
  margin: 8px 0 6px;
  font-size: 14px; font-weight: 700;
  color: #fff;
}
.alert .body-text {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  margin-bottom: 16px;
}
.alert .buttons { display: flex; gap: 8px; }
.alert .b {
  flex: 1;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.alert .b.primary {
  background: linear-gradient(180deg, #4d92ff, #2667d8);
  border-color: rgba(255,255,255,0.2);
}

/* privacy & security mock */
.psp {
  background: linear-gradient(180deg, #1f2027 0%, #15161c 100%);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.psp .titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.psp .traffic { display: flex; gap: 6px; }
.psp .traffic span { width: 11px; height: 11px; border-radius: 50%; }
.psp .traffic .r { background: #FF5F57; }
.psp .traffic .y { background: #FEBC2E; }
.psp .traffic .g { background: #28C840; }
.psp .body {
  padding: 18px 20px 22px;
}
.psp h5 {
  margin: 0 0 14px;
  font-size: 14px; font-weight: 700; color: #fff;
}
.psp .row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 10px;
}
.psp .row .ic {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--grad-ai);
  display: grid; place-items: center;
}
.psp .row .ic svg { width: 16px; height: 16px; }
.psp .row .meta {
  font-size: 12px; color: rgba(255,255,255,0.85);
}
.psp .row .meta b { display: block; font-weight: 700; color: #fff; font-size: 13px; }
.psp .row .meta span { color: rgba(255,255,255,0.55); }
.psp .row .spacer { flex: 1; }
.psp .row .open-anyway {
  position: relative;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-radius: 7px;
  background: linear-gradient(180deg, #4d92ff, #2667d8);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 0 4px rgba(77, 146, 255, 0.18), 0 0 20px rgba(77, 146, 255, 0.5);
  animation: pulse-blue 2s ease-in-out infinite;
}
@keyframes pulse-blue {
  0%, 100% { box-shadow: 0 0 0 4px rgba(77, 146, 255, 0.12), 0 0 12px rgba(77, 146, 255, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(77, 146, 255, 0.18), 0 0 28px rgba(77, 146, 255, 0.7); }
}
.psp .annot {
  display: inline-flex;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  align-items: center; gap: 8px;
}
.psp .annot::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--purple);
}

/* widget-edit mock for step 5 */
.widget-edit {
  background: linear-gradient(180deg, #16171d, #0e0f14);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px;
  align-items: stretch;
  min-height: 180px;
}
.widget-edit .picker {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.widget-edit .picker .head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: #fff; font-size: 12px;
  margin-bottom: 8px;
}
.widget-edit .picker .head img {
  width: 22px; height: 22px; border-radius: 6px;
}
.widget-edit .picker .opt {
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.widget-edit .picker .opt.active {
  background: rgba(168, 86, 247, 0.2);
  color: #fff;
  font-weight: 600;
}
.widget-edit .desktop {
  position: relative;
  background:
    radial-gradient(60% 80% at 30% 20%, rgba(168,86,247,0.25), transparent 60%),
    linear-gradient(135deg, #2a2440, #131628);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.widget-edit .mini {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 130px;
  padding: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
  animation: float-mini 3s ease-in-out infinite;
}
@keyframes float-mini {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.widget-edit .mini .h {
  display: flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 700; color: #fff;
  margin-bottom: 6px;
}
.widget-edit .mini .h .i {
  width: 11px; height: 11px; border-radius: 3px; background: var(--grad-ai);
}
.widget-edit .mini .ph {
  height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, #ED4799, #3B82F6);
  margin-bottom: 6px;
}
.widget-edit .mini .ln {
  height: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.widget-edit .mini .ln.short { width: 70%; background: rgba(255,255,255,0.25); }
.widget-edit .arrow-drag {
  position: absolute;
  top: 30px; left: 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.widget-edit .arrow-drag::after {
  content: "→";
  margin-left: 8px;
  color: var(--purple);
  font-size: 16px;
}

/* installer code block */
.installer {
  margin-top: 30px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.installer h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.installer p {
  margin: 0 0 18px;
  color: var(--text-dim);
  font-size: 15px;
}
.code-block {
  position: relative;
  border-radius: 14px;
  background: #08090f;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 56px 16px 18px;
  font-family: "SF Mono", ui-monospace, "Menlo", monospace;
  font-size: 13.5px;
  line-height: 1.5;
  color: #d8dae5;
  overflow-x: auto;
  white-space: pre;
}
.code-block .prompt { color: var(--purple); user-select: none; }
.code-block .copy {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline-strong);
  font-family: var(--font);
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.code-block .copy:hover { background: rgba(255,255,255,0.12); }
.code-block .copy.copied {
  background: var(--grad-ai);
  color: #fff;
  border-color: transparent;
}

/* troubleshooting accordion */
.trouble {
  margin-top: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.trouble h3 {
  margin: 0;
  padding: 26px 28px 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.trouble details {
  border-top: 1px solid var(--hairline);
}
.trouble details:first-of-type { border-top: 1px solid var(--hairline); }
.trouble summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  transition: background .15s ease;
}
.trouble summary::-webkit-details-marker { display: none; }
.trouble summary:hover { background: rgba(255,255,255,0.03); }
.trouble summary .chev {
  margin-left: auto;
  width: 18px; height: 18px;
  color: var(--text-dim);
  transition: transform .25s ease;
}
.trouble details[open] summary .chev { transform: rotate(180deg); }
.trouble details > div {
  padding: 0 28px 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.trouble details > div code {
  font-family: "SF Mono", ui-monospace, "Menlo", monospace;
  font-size: 12.5px;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline);
  color: var(--text);
}

/* ----------------------- reveal-on-scroll ----------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .widgets-row, .widget-edit .mini { animation: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------- responsive ----------------------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .sources { grid-template-columns: 1fr; }
  .widgets-row { grid-template-columns: 1fr; }
  .desktop-stage { padding-bottom: 0; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 26px 22px; }
  .step .num { font-size: 70px; }
  .nav-link.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .nav-row { gap: 8px; }
  .nav-cta { padding: 8px 12px; font-size: 13px; }
  .hero { padding-top: 56px; }
  .hero-ctas .btn { width: 100%; }
  .desktop-stage { margin-top: 50px; padding: 22px; }
  .widget { max-width: 100%; }
  .widget-edit { grid-template-columns: 1fr; }
  .widget-edit .desktop { min-height: 160px; }
}

/* selection */
::selection {
  background: rgba(168, 86, 247, 0.45);
  color: #fff;
}

/* ==================== OPEN SOURCE BADGES ==================== */
.nav-oss {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(168, 86, 247, 0.12);
  border: 1px solid rgba(168, 86, 247, 0.30);
  color: rgba(255,255,255,0.92);
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-oss:hover {
  background: rgba(168, 86, 247, 0.22);
  transform: translateY(-1px);
}

.eyebrow-oss {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(237, 71, 153, 0.15), rgba(168, 86, 247, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(168, 86, 247, 0.32);
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.2px;
}

.oss-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(168, 86, 247, 0.15);
  border: 1px solid rgba(168, 86, 247, 0.35);
  color: #c4a4ff;
  margin-bottom: 18px;
}
.oss-pill.heart {
  background: rgba(255, 92, 182, 0.13);
  border-color: rgba(255, 92, 182, 0.32);
  color: #ff7ec1;
}

/* ==================== DONATE SECTION ==================== */
.donate {
  padding-top: 100px;
  padding-bottom: 100px;
}
.donate-card {
  text-align: center;
  padding: 64px 36px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 92, 182, 0.18), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(168, 86, 247, 0.18), transparent 60%),
    rgba(20, 12, 30, 0.65);
  border: 1px solid rgba(255, 92, 182, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 880px;
  margin: 0 auto;
}
.donate-card h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1.05;
  margin: 0 0 16px;
}
.donate-card > p {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(235,235,245,0.7);
}
.donate-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.donate-fine {
  margin-top: 28px;
  font-size: 12.5px;
  color: rgba(235,235,245,0.45);
}

/* PayPal-branded button */
.btn-paypal {
  background: linear-gradient(180deg, #ffd93b 0%, #ffcc00 100%);
  color: #003087;
  border: 1px solid rgba(0, 48, 135, 0.18);
  box-shadow: 0 8px 28px rgba(255, 204, 0, 0.35);
  font-weight: 700;
}
.btn-paypal:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 36px rgba(255, 204, 0, 0.55);
}

/* Medium sized button (used for OSS link in free card) */
.btn-md {
  padding: 9px 18px;
  font-size: 14px;
}

/* ==================== TOP-NAV DONATE BUTTON ==================== */
.nav-donate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.1px;
  background: linear-gradient(180deg, #ffd93b 0%, #ffcc00 100%);
  color: #003087;
  border: 1px solid rgba(0, 48, 135, 0.18);
  box-shadow: 0 4px 14px rgba(255, 204, 0, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 204, 0, 0.45);
}

/* ==================== TOP-NAV STAR BUTTON ==================== */
.nav-star {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.1px;
  background: linear-gradient(135deg, #ED4799 0%, #A856F7 55%, #3B82F6 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 4px 14px rgba(168, 86, 247, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-star:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(168, 86, 247, 0.55);
}
