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

:root {
  --bg-0: #060913;
  --bg-1: #0a1023;
  --bg-2: #0e1730;
  --surface: rgba(16, 24, 52, 0.66);
  --surface-solid: #111936;
  --glass-border: rgba(148, 163, 184, 0.16);
  --glass-high: rgba(255, 255, 255, 0.1);
  --text: #f2f5fb;
  --text-dim: #c6d0e0;
  --text-muted: #93a4c4;
  --violet: #8b5cf6;
  --violet-deep: #7c3aed;
  --violet-light: #a78bfa;
  --fuchsia: #e879f9;
  --cyan: #38bdf8;
  --green: #34d399;
  --yellow: #fbbf24;
  --red: #f87171;
  --grad-accent: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #c084fc 100%);
  --grad-cta: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #d946ef 100%);
  --grad-text: linear-gradient(120deg, #c4b5fd 0%, #a78bfa 35%, #7dd3fc 100%);
  --glow-violet: 0 0 24px rgba(139, 92, 246, 0.45);
  --radius: 18px;
  --radius-sm: 11px;
  --mono: "SF Mono", "Cascadia Code", "Fira Code", Consolas, "Liberation Mono", Menlo, monospace;
  --font-head: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 5rem; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== Ambient background: aurora blobs + grid + noise ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 12% -5%, rgba(139, 92, 246, 0.30), transparent 62%),
    radial-gradient(ellipse 50% 40% at 88% 2%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(ellipse 45% 50% at 50% 115%, rgba(217, 70, 239, 0.20), transparent 65%),
    radial-gradient(ellipse 40% 40% at 75% 45%, rgba(124, 58, 237, 0.10), transparent 65%),
    linear-gradient(180deg, #070a18 0%, #0a1023 45%, #080c1c 100%);
  will-change: transform, opacity;
  animation: aurora 30s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 140px 140px, 46px 46px, 46px 46px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 20%, transparent 80%);
}

@keyframes aurora {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.85; }
  50%  { transform: translate3d(2%, 2%, 0) scale(1.06); opacity: 1; }
  100% { transform: translate3d(-1%, 1%, 0) scale(1.02); opacity: 0.9; }
}

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

::selection { background: rgba(139, 92, 246, 0.4); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 24, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), rgba(56, 189, 248, 0.4), transparent);
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
}
.nav-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand:hover .nav-logo { filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.8)); }
.nav-logo {
  height: 1.4rem;
  width: 1.4rem;
  margin-right: 0.4rem;
  transition: filter 0.2s ease;
}
.nav-links { margin-left: auto; display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 0.875rem; font-weight: 500; position: relative; }
.nav-links a:not(.nav-github)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:not(.nav-github):hover,
.nav-links a:not(.nav-github):focus-visible {
  color: var(--text);
  text-decoration: none;
}
.nav-links a:not(.nav-github):hover::after,
.nav-links a:not(.nav-github):focus-visible::after { transform: scaleX(1); }
.nav-github {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.05));
  border: 1px solid var(--glass-border);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav-github:hover { border-color: var(--violet); box-shadow: var(--glow-violet); }
.nav-sponsor {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.16), rgba(52, 211, 153, 0.05));
  border: 1px solid rgba(52, 211, 153, 0.45);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav-sponsor:hover {
  border-color: var(--green);
  color: var(--green);
  text-decoration: none;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.35);
}

/* ===== HERO ===== */
.hero {
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12rem;
  width: 46rem;
  height: 34rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(124, 58, 237, 0.28), transparent 65%),
              radial-gradient(ellipse 40% 40% at 35% 55%, rgba(56, 189, 248, 0.12), transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: 680px; margin: 0 auto; position: relative; }
.hero-logo {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.75rem;
  border-radius: 22%;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.55)) drop-shadow(0 0 60px rgba(217, 70, 239, 0.25));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 1.1rem;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
}
.hero-sub a { font-weight: 600; }
.hero-buttons { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.25rem; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 14px 34px -8px rgba(168, 85, 247, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-ghost {
  background: rgba(148, 163, 184, 0.06);
  color: var(--text);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-ghost:hover {
  border-color: var(--violet-light);
  color: var(--violet-light);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: var(--glow-violet);
}
.btn-sponsor {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: #052e1b;
  box-shadow: 0 8px 24px -6px rgba(52, 211, 153, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-sponsor:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #052e1b;
  box-shadow: 0 14px 34px -8px rgba(52, 211, 153, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.sponsor-heart { vertical-align: -1px; margin-right: 0.4rem; }
.hero-install {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(180deg, rgba(19, 28, 58, 0.9), rgba(10, 15, 33, 0.9));
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.65rem 1rem 0.65rem 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px -16px rgba(0, 0, 0, 0.7);
}
.hero-install::before {
  content: "$";
  font-family: var(--mono);
  font-weight: 600;
  color: var(--cyan);
}
.hero-install code { font-family: var(--mono); font-size: 0.92rem; color: #e8edf8; }
.hero-install .copy-btn { position: static; opacity: 1; border: none; background: transparent; color: var(--text-muted); }
.hero-install .copy-btn:hover { color: var(--violet-light); background: transparent; box-shadow: none; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-dark {
  background: linear-gradient(180deg, rgba(10, 16, 35, 0.92), rgba(7, 10, 25, 0.92));
  border-top: 1px solid rgba(148, 163, 184, 0.07);
  border-bottom: 1px solid rgba(148, 163, 184, 0.07);
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.6rem;
}
.section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.75px;
  margin-bottom: 2.5rem;
}
.section h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  border-radius: 4px;
  margin-top: 0.85rem;
  background: var(--grad-accent);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.55);
}

/* Gradient text (only when supported, else solid color) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1,
  .section h2,
  .hero-label,
  .section-label {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* ===== Shared glossy card ===== */
.flow-step,
.card,
.subscribe-option,
.status-card {
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015) 55%, rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(180deg, rgba(148, 163, 184, 0.28), rgba(148, 163, 184, 0.08) 35%, rgba(148, 163, 184, 0.16)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 40px -20px rgba(2, 5, 16, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.flow-step::before,
.card::before,
.subscribe-option::before,
.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.11) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}
.flow-step:hover,
.card:hover,
.subscribe-option:hover,
.status-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(180deg, rgba(139, 92, 246, 0.6), rgba(56, 189, 248, 0.25) 50%, rgba(139, 92, 246, 0.2)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 55px -18px rgba(3, 7, 20, 0.85),
    0 0 32px rgba(139, 92, 246, 0.22);
}
.flow-step:hover::before,
.card:hover::before,
.subscribe-option:hover::before,
.status-card:hover::before {
  animation: sheen 1s ease;
}
@keyframes sheen {
  to { transform: translateX(120%); }
}

/* ===== FLOW ===== */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.flow-step { padding: 1.9rem 1.75rem; }
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--grad-cta);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12), 0 6px 18px -4px rgba(139, 92, 246, 0.6);
}
.flow-step h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 0.5rem; }
.flow-step p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.65; }

/* ===== CARDS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.card { padding: 1.8rem; }
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.24), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 16px -6px rgba(139, 92, 246, 0.5);
  color: #c4b5fd;
}
.card-icon svg { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.45)); }
.card h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 0.45rem; }
.card p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }

/* ===== SETUP STEPS ===== */
.setup-steps { display: flex; flex-direction: column; gap: 0; }
.setup-step {
  display: flex;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.setup-step:last-child { border-bottom: none; }
.setup-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--grad-cta);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.15rem;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12), 0 6px 18px -4px rgba(139, 92, 246, 0.6);
}
.setup-content h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 0.4rem; }
.setup-content p { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 0.75rem; line-height: 1.65; }

/* ===== SUBSCRIBE BOX ===== */
.subscribe-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.subscribe-option { padding: 1.35rem 1.4rem; }
.subscribe-option h4 { font-family: var(--font-head); font-size: 0.9rem; margin-bottom: 0.6rem; color: var(--text); }
.subscribe-option ol {
  padding-left: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.75;
}
.subscribe-option ol li { margin-bottom: 0.3rem; }
.subscribe-option strong { color: var(--text); }
.subscribe-option a { font-weight: 500; }

/* ===== CODE ===== */
.code-block {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(180deg, rgba(148, 163, 184, 0.22), rgba(148, 163, 184, 0.06) 40%, rgba(148, 163, 184, 0.12)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  overflow-x: auto;
  margin: 0.5rem 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px -18px rgba(0, 0, 0, 0.7);
}
.code-block code { font-family: var(--mono); font-size: 0.85rem; color: #e6ecf8; }
.code-block:not(.code-block-lg)::before {
  content: "$ ";
  font-family: var(--mono);
  font-weight: 600;
  color: var(--cyan);
}
.code-block-lg { padding: 2.5rem 1rem 1.1rem; }
.code-block-lg::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  width: 48px;
  height: 12px;
  background-image:
    radial-gradient(circle 6px at 6px 6px, rgba(248, 113, 113, 0.95) 4.2px, transparent 4.8px),
    radial-gradient(circle 6px at 24px 6px, rgba(251, 191, 36, 0.95) 4.2px, transparent 4.8px),
    radial-gradient(circle 6px at 42px 6px, rgba(52, 211, 153, 0.95) 4.2px, transparent 4.8px);
}
.code-block-lg pre { margin: 0; }
.code-block-lg pre code { color: #d5dfef; line-height: 1.8; }

/* ===== STATUS GRID ===== */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.status-card { padding: 1.6rem; }
.status-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.03);
}
.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.45rem;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.status-badge-completed { color: var(--green); }
.status-badge-needs-input { color: var(--yellow); }
.status-badge-failed { color: var(--red); }
.status-card p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }

/* ===== CLI TABLE ===== */
.cli-table { margin-bottom: 2rem; }
.cli-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--glass-border);
  align-items: baseline;
}
.cli-row:last-child { border-bottom: none; }
.cli-cmd { flex-shrink: 0; min-width: 220px; }
.cli-cmd code {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #c4b5fd;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.07));
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
}
.cli-desc { font-size: 0.9rem; color: var(--text-dim); line-height: 1.65; }
.cli-desc code { font-family: var(--mono); font-size: 0.8rem; color: var(--violet-light); }

/* ===== NOTE ===== */
.note { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-top: 0.5rem; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 0 1.2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: rgba(139, 92, 246, 0.45); }
.faq-item[open] {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 24px rgba(139, 92, 246, 0.12);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1;
  color: #fff;
  background: var(--grad-cta);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15), 0 4px 12px -3px rgba(139, 92, 246, 0.6);
  transition: transform 0.2s ease;
}
.faq-item[open] summary { color: var(--violet-light); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 1.15rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  padding: 2.5rem 0;
  text-align: center;
}
.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}
.footer p { font-size: 0.8rem; color: var(--text-muted); }
.footer a { color: var(--text-dim); }

/* ===== INLINE CODE ===== */
:not(pre) > code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.14), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  color: #c4b5fd;
}

/* ===== COPY BUTTON ===== */
.copy-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.14), rgba(148, 163, 184, 0.05));
  border: 1px solid var(--glass-border);
  border-radius: 7px;
  padding: 0.35rem;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  opacity: 0;
}
.code-block:hover .copy-btn { opacity: 1; }
.copy-btn:focus-visible { opacity: 1; }
.copy-btn:hover { color: var(--violet-light); border-color: var(--violet); box-shadow: var(--glow-violet); }
.copy-btn.copied { color: var(--green); border-color: var(--green); box-shadow: 0 0 12px rgba(52, 211, 153, 0.4); }

/* ===== RESPONSIVE ===== */
@media (hover: none) {
  .copy-btn { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::before { animation: none; }
  .hero-logo { animation: none; }
}

@media (max-width: 768px) {
  .flow { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .subscribe-box { grid-template-columns: 1fr; }
  .cli-row { flex-direction: column; gap: 0.5rem; }
  .cli-cmd { min-width: 0; }
  .nav-links { gap: 1rem; }
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .hero-install { flex-wrap: wrap; justify-content: center; }
  .section { padding: 3.5rem 0; }
  .setup-step { flex-direction: column; gap: 0.75rem; }
}
