:root {
  color-scheme: dark;
  --bg: #07070a;
  --deep: #0b0b0f;
  --surface: #111118;
  --elevated: #17171d;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --secondary: #a1a1aa;
  --muted: #71717a;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1200px;
  --page-pad: clamp(16px, 4vw, 56px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 48% -12%, rgba(139, 92, 246, 0.13), transparent 420px),
    radial-gradient(circle at 88% 8%, rgba(34, 197, 94, 0.055), transparent 340px),
    linear-gradient(180deg, #09090d 0%, var(--bg) 42%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img, svg { max-width: 100%; }

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.28), transparent 58%);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 32px), 1240px);
  min-height: 64px;
  margin: 16px auto 0;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(10, 10, 14, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(26px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 760;
}

.brand img {
  width: 132px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
}

.brand img[src*="SOQ AI website logo.png"] + span,
.brand img[src*="SOQ AI website logo.png"] + div {
  display: none;
}

.brand span { white-space: nowrap; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 580;
}

.nav-links a,
.footer a {
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover,
.footer a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 13px;
  font-weight: 720;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.34);
  background: rgba(255, 255, 255, 0.065);
}

.btn.primary {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 40%),
    linear-gradient(135deg, #a78bfa, #7c3aed);
  box-shadow: 0 14px 38px rgba(139, 92, 246, 0.24);
}

.btn.ghost { color: var(--secondary); }
.btn.large { min-height: 46px; padding: 0 18px; font-size: 14px; }

.nav-toggle { display: none; }
.menu-button { display: none; }

.hero,
.story-section,
.preview-section,
.validation-section,
.popup-section,
.final-cta,
.platform-strip {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-right: var(--page-pad);
  padding-left: var(--page-pad);
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(500px, 1.02fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 96px);
  padding-top: clamp(46px, 6vw, 86px);
  padding-bottom: clamp(44px, 6vw, 68px);
}

.eyebrow,
.label {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 15px 0 0;
  font-size: clamp(42px, 5.2vw, 78px);
  font-weight: 860;
  letter-spacing: 0;
  line-height: 0.96;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero p,
.section-head p,
.validation-section p,
.popup-section p,
.final-cta p {
  color: var(--secondary);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.65;
}

.hero p {
  max-width: 620px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-copy {
  max-width: 560px !important;
  margin-top: 16px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
}

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 24px;
}

.hero-proof-row span {
  min-height: 70px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.028);
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.25;
}

.hero-proof-row strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.hero-intelligence {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--surface);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(139, 92, 246, 0.12);
  animation: floatCard 6s ease-in-out infinite;
}

.hero-media {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 690px;
  justify-self: end;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(167, 139, 250, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022)),
    rgba(17, 17, 24, 0.88);
  box-shadow:
    0 32px 110px rgba(0, 0, 0, 0.46),
    0 0 72px rgba(139, 92, 246, 0.11);
  isolation: isolate;
  animation: floatCard 7s ease-in-out infinite;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -34px -24px;
  z-index: -1;
  border-radius: 36px;
  background:
    radial-gradient(circle at 78% 18%, rgba(34, 197, 94, 0.14), transparent 28%),
    radial-gradient(circle at 24% 82%, rgba(139, 92, 246, 0.18), transparent 34%);
  filter: blur(18px);
  opacity: 0.86;
}

.hero-product-image,
.popup-product-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.hero-product-image {
  aspect-ratio: 1440 / 900;
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.image-float-card {
  position: absolute;
  display: grid;
  gap: 4px;
  max-width: min(268px, 64%);
  padding: 12px 14px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(32, 25, 53, 0.92), rgba(14, 14, 22, 0.9));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.image-float-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.image-float-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.1;
}

.image-float-card p {
  margin: 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.45;
}

.signal-found-card {
  right: -14px;
  bottom: 28px;
}

.validation-found-card {
  left: -16px;
  top: 42px;
  max-width: 230px;
}

@media (min-width: 1041px) and (max-width: 1500px) {
  .hero {
    grid-template-columns: minmax(340px, 470px) minmax(560px, 1fr);
    gap: clamp(28px, 3vw, 44px);
    padding-top: clamp(44px, 5vw, 72px);
  }

  .hero h1 {
    max-width: 535px;
    font-size: clamp(42px, 3.65vw, 50px);
    line-height: 1.045;
  }

  .hero p {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-media {
    max-width: 680px;
  }

  .image-float-card {
    max-width: 248px;
    padding: 10px 12px;
  }

  .image-float-card strong {
    font-size: 16px;
  }

  .image-float-card p {
    font-size: 11px;
  }

  .signal-found-card {
    right: 10px;
    bottom: 22px;
  }

  .validation-found-card {
    left: 10px;
    top: 34px;
  }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-orbit {
  position: absolute;
  inset: -42px -32px auto auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-orbit span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--success), transparent);
  transform-origin: left center;
  animation: radarSweep 5s linear infinite;
}

.hero-orbit span:nth-child(2) { animation-delay: 2.5s; }

@keyframes radarSweep {
  to { transform: rotate(360deg); }
}

.scanner-line,
.feed-head,
.popup-preview header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scanner-line {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.032);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
}

.scanner-line span,
.feed-head span,
.popup-preview header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scanner-line b {
  color: var(--success);
  font-size: 11px;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.62);
  animation: livePulse 2.3s ease-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.34), 0 0 20px rgba(34,197,94,.42); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0), 0 0 20px rgba(34,197,94,.52); }
}

.hero-signal-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.14), transparent 46%),
    var(--elevated);
}

.score-orb {
  display: grid;
  place-items: center;
  min-height: 104px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.score-orb small {
  color: var(--secondary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.score-orb strong {
  color: var(--accent-2);
  font-size: 42px;
  line-height: 0.95;
}

.hero-signal-card h2 {
  margin: 7px 0 0;
  font-size: 22px;
  line-height: 1.12;
}

.hero-signal-card p {
  margin-top: 8px;
  font-size: 13px;
}

.validation-chain,
.micro-metrics,
.platform-strip,
.pricing-grid,
.feature-grid {
  display: grid;
  gap: 10px;
}

.validation-chain {
  grid-template-columns: repeat(5, 1fr);
}

.validation-chain span,
.platform-strip span {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--secondary);
  font-size: 12px;
  text-align: center;
}

.micro-metrics {
  grid-template-columns: repeat(3, 1fr);
}

.micro-metrics div {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.032);
}

.micro-metrics span,
.problem-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.micro-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.platform-strip {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  padding-top: 8px;
  padding-bottom: 56px;
}

.story-section,
.preview-section,
.validation-section,
.popup-section,
.final-cta {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h1,
.section-head h2,
.section > h1,
.validation-section h2,
.popup-section h2,
.final-cta h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.grid-3,
.grid-4,
.feature-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.pricing-card,
.process-grid article,
.dashboard-preview,
.popup-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--surface);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover,
.pricing-card:hover,
.process-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.24);
}

.card {
  padding: 18px;
}

.card i {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-2);
  font-style: normal;
  font-size: 12px;
  font-weight: 820;
}

.card strong,
.process-grid strong {
  display: block;
  font-size: 16px;
}

.card p,
.process-grid p,
.pricing-card p,
.faq p {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-grid article {
  padding: 18px;
}

.process-grid b {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
}

.dashboard-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
  padding: 12px;
}

.preview-feed,
.preview-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.026);
}

.preview-feed {
  padding: 12px;
}

.feed-head {
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 12px;
}

.feed-head button {
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.feed-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 76px 84px 70px;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--border);
}

.feed-row strong {
  color: var(--accent-2);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.feed-row b {
  display: block;
  font-size: 14px;
}

.feed-row p {
  margin: 4px 0 0;
  color: var(--secondary);
  font-size: 12px;
}

.feed-row > span {
  color: var(--success);
  font-size: 12px;
  font-weight: 720;
}

.preview-panel {
  padding: 16px;
}

.preview-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.validation-section,
.popup-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 32px;
  align-items: center;
}

.cluster-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 22px;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.2), transparent 56%), var(--surface);
}

.cluster-visual span,
.cluster-visual strong {
  display: grid;
  min-height: 52px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--secondary);
  font-size: 13px;
}

.cluster-visual strong {
  grid-column: 1 / -1;
  color: var(--text);
  background: rgba(139, 92, 246, 0.13);
}

.popup-section {
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
}

.popup-image-shell {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 0%, rgba(139, 92, 246, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(17, 17, 24, 0.92);
  box-shadow:
    0 28px 84px rgba(0, 0, 0, 0.44),
    0 0 68px rgba(139, 92, 246, 0.12);
}

.popup-product-image {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  filter: drop-shadow(0 22px 46px rgba(0, 0, 0, 0.35));
}

.popup-shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.08) 42%, transparent 62%);
  transform: translateX(-72%);
  animation: productShine 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes productShine {
  0%, 42%, 100% { transform: translateX(-78%); opacity: 0; }
  52% { opacity: 1; }
  68% { transform: translateX(76%); opacity: 0; }
}

.popup-preview {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.popup-preview header {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.alert-card {
  padding: 12px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alert-card strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.popup-preview article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.popup-score {
  display: grid;
  min-height: 78px;
  place-items: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-2);
  font-size: 38px;
  font-weight: 840;
}

.popup-preview article p {
  color: var(--secondary);
  font-size: 13px;
}

.popup-preview button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  color: var(--text);
  font-weight: 760;
}

.popup-preview button.locked {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.popup-preview footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  color: var(--secondary);
  font-size: 12px;
}

.pricing-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.pricing-card.featured {
  border-color: rgba(167, 139, 250, 0.35);
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(255, 255, 255, 0.018)),
    var(--surface);
}

.pricing-card > span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.16);
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 820;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0;
  font-size: 18px;
}

.price {
  font-size: 30px;
  font-weight: 840;
}

.pricing-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.8;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.026);
  padding: 14px 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 720;
}

.final-cta {
  margin-bottom: 54px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.22), transparent 58%),
    var(--surface);
  text-align: center;
}

.final-cta p {
  max-width: 620px;
  margin: 14px auto 24px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 26px var(--page-pad) 38px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-size: 13px;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) var(--page-pad);
}

.blog-index-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.blog-index-hero h1,
.article-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.blog-index-hero p,
.article-hero p,
.article-body p,
.article-body li {
  color: var(--secondary);
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 1.72;
}

.blog-featured-image,
.article-featured-image {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .36);
}

.blog-featured-image img,
.article-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px var(--page-pad) 84px;
}

.article-body {
  min-width: 0;
}

.article-body h2 {
  margin: 44px 0 12px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: 0;
}

.article-body h3 {
  margin: 28px 0 8px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.18;
}

.article-body strong {
  color: var(--text);
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.article-meta,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.article-meta span,
.article-tags span,
.answer-card span,
.toc-card a {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 760;
}

.article-meta span,
.article-tags span {
  padding: 7px 10px;
}

.answer-card,
.insight-card,
.toc-card,
.article-table,
.quote-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    var(--surface);
  box-shadow: 0 18px 70px rgba(0, 0, 0, .22);
}

.answer-card,
.insight-card,
.quote-panel {
  margin: 28px 0;
  padding: 20px;
}

.answer-card {
  border-color: rgba(167, 139, 250, .28);
}

.answer-card strong,
.insight-card strong,
.quote-panel strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.18;
}

.answer-card p,
.insight-card p,
.quote-panel p {
  margin-bottom: 0;
}

.article-table {
  overflow-x: auto;
  margin: 30px 0;
}

.article-table table {
  min-width: 680px;
}

.toc-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.toc-card strong {
  font-size: 14px;
}

.toc-card a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .028);
  box-shadow: 0 18px 70px rgba(0, 0, 0, .2);
}

.post-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card div {
  padding: 16px;
}

.post-card h2,
.post-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.18;
}

.post-card p {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.6;
}

.article-faq {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.article-faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .026);
  padding: 15px 16px;
}

.article-faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 780;
}

.section-reveal {
  animation: revealUp both;
  animation-timeline: view();
  animation-range: entry 8% cover 28%;
}

@keyframes revealUp {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% -10%, rgba(139, 92, 246, .20), transparent 420px),
    radial-gradient(circle at 96% 10%, rgba(34, 197, 94, .07), transparent 320px),
    linear-gradient(180deg, #08080f, #050508 70%);
}

.admin-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 14px;
  border-right: 1px solid var(--border);
  background: rgba(10, 10, 16, .72);
  backdrop-filter: blur(20px);
}

.admin-brand {
  display: grid;
  gap: 10px;
  padding: 8px 8px 16px;
}

.admin-brand img {
  width: 130px;
  height: auto;
  object-fit: contain;
}

.admin-brand span {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.admin-live-card {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 8px 6px 18px;
  padding: 12px;
  border: 1px solid rgba(167, 139, 250, .18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(139, 92, 246, .14), rgba(255, 255, 255, .03));
}

.admin-live-card strong {
  display: block;
  font-size: 13px;
}

.admin-live-card p {
  margin: 3px 0 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.35;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, .08);
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a,
.admin-nav button {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.admin-nav a.active,
.admin-nav a:hover,
.admin-nav button.active,
.admin-nav button:hover {
  background: rgba(139, 92, 246, .14);
  color: var(--text);
}

.admin-nav a.active::before,
.admin-nav button.active::before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
}

.admin-main {
  min-width: 0;
  padding: 18px;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -18px -18px 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 15, .78);
  backdrop-filter: blur(18px);
}

.admin-topbar h1 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: 0;
}

.admin-topbar p {
  max-width: 720px;
  margin: 6px 0 0;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.45;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  white-space: nowrap;
}

.admin-status-pill strong {
  font-size: 12px;
}

.admin-ghost-button,
.admin-primary-button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.admin-ghost-button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
}

.admin-primary-button {
  border: 1px solid rgba(167, 139, 250, .32);
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  box-shadow: 0 12px 28px rgba(139, 92, 246, .18);
}

.admin-ghost-button:hover,
.admin-primary-button:hover {
  transform: translateY(-1px);
}

.admin-ghost-button:disabled,
.admin-primary-button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.admin-command-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-command-strip article {
  min-width: 0;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, .08), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
    rgba(17, 17, 24, .76);
}

.admin-command-strip span,
.admin-command-strip small {
  display: block;
  color: var(--secondary);
}

.admin-command-strip span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.admin-command-strip strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 1;
}

.admin-command-strip small {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.admin-gate {
  display: grid;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(167, 139, 250, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 92, 246, .18), transparent 48%),
    rgba(17, 17, 24, .82);
}

.admin-gate[hidden] {
  display: none;
}

.admin-gate h2 {
  margin: 6px 0 8px;
  font-size: 20px;
}

.admin-gate p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.admin-section {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-head h2 {
  margin: 4px 0 0;
  font-size: 18px;
}

.admin-section-head p {
  max-width: 420px;
  margin: 0;
  color: var(--secondary);
  font-size: 13px;
  text-align: right;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric-card {
  min-width: 0;
  min-height: 102px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
    rgba(17, 17, 24, .86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.metric-card.primary-metric {
  border-color: rgba(167, 139, 250, .18);
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, .14), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018)),
    rgba(17, 17, 24, .9);
}

.metric-card span {
  color: var(--secondary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 16px;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1;
}

.metric-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.metric-grid-compact .metric-card {
  min-height: 92px;
  padding: 14px;
}

.metric-grid-compact .metric-card strong {
  margin-top: 14px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.12;
}

.metric-grid-compact .metric-card.long-metric strong {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.25;
}

.table-card {
  overflow: auto;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 17, 24, .78);
}

.table-title {
  position: sticky;
  left: 0;
  padding: 14px 14px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-health-stack {
  display: grid;
  gap: 16px;
}

.admin-health-stack .admin-command-strip,
.admin-health-stack .metric-grid {
  margin-bottom: 0;
}

.admin-audit-panel {
  min-width: 0;
}

.admin-audit-list {
  display: grid;
  gap: 10px;
}

.admin-audit-row {
  display: grid;
  grid-template-columns: minmax(136px, .8fr) minmax(132px, .8fr) minmax(220px, 1.4fr) minmax(132px, .7fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)),
    rgba(8, 8, 15, .34);
}

.admin-audit-row > div {
  min-width: 0;
}

.admin-audit-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.admin-audit-row strong,
.admin-audit-row code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.admin-audit-row code {
  white-space: normal;
  color: var(--secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 13px;
}

th {
  color: var(--secondary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

td {
  color: #d4d4d8;
}

td strong,
td small {
  display: block;
}

td small {
  margin-top: 3px;
  color: var(--secondary);
  font-size: 11px;
}

tbody tr:hover {
  background: rgba(255, 255, 255, .025);
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-plan-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-panel,
.admin-warning-panel {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .018)),
    rgba(17, 17, 24, .78);
}

.admin-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-panel-head h2,
.admin-editor-card h3 {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.15;
}

.admin-editor-card p,
.admin-warning-panel p,
.admin-empty {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.45;
}

.admin-warning-panel {
  border-color: rgba(245, 158, 11, .24);
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 158, 11, .12), transparent 44%),
    rgba(17, 17, 24, .78);
}

.admin-warning-panel p {
  margin: 8px 0 0;
}

.admin-search,
.admin-select,
.admin-editor-card input {
  min-height: 36px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 8, 15, .72);
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.admin-search,
.admin-editor-card input {
  padding: 0 11px;
}

.admin-search {
  max-width: 320px;
}

.admin-select {
  padding: 0 9px;
}

.admin-plan-list,
.admin-flag-list {
  display: grid;
  gap: 12px;
}

.admin-editor-card {
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.admin-editor-card label {
  display: grid;
  gap: 6px;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-toggle-row {
  align-content: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 8, 15, .72);
}

.admin-toggle-row input {
  width: auto;
  min-height: auto;
  margin-right: 8px;
}

.admin-distribution {
  display: grid;
  gap: 10px;
}

.admin-distribution div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.admin-distribution span {
  color: var(--secondary);
  font-size: 13px;
}

.admin-distribution strong {
  font-size: 14px;
}

.admin-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 17, 24, .78);
}

@media (max-width: 1040px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: relative;
    height: auto;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .admin-brand {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding-bottom: 10px;
  }

  .admin-brand img {
    width: 112px;
  }

  .admin-live-card {
    margin: 0 0 12px;
  }

  .admin-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-nav a,
  .admin-nav button {
    flex: 0 0 auto;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-audit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid-2 {
    grid-template-columns: 1fr;
  }

  .admin-plan-layout {
    grid-template-columns: 1fr;
  }

  .admin-editor-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-editor-card > div,
  .admin-editor-card .admin-primary-button {
    grid-column: 1 / -1;
  }

  .site-nav {
    grid-template-columns: auto auto;
  }

  .menu-button {
    display: grid;
    justify-self: end;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .menu-button span + span { margin-top: -14px; }

  .nav-links,
  .nav-actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: stretch;
  }

  .nav-toggle:checked ~ .nav-links,
  .nav-toggle:checked ~ .nav-actions {
    display: grid;
  }

  .nav-links {
    gap: 4px;
    padding-top: 10px;
  }

  .nav-links a {
    min-height: 44px;
    padding: 0 10px;
    border-radius: 10px;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .hero,
  .validation-section,
  .popup-section,
  .dashboard-preview,
  .blog-index-hero,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .toc-card {
    position: relative;
    top: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(36px, 7vw, 54px);
  }

  .hero-media {
    max-width: 760px;
    justify-self: center;
  }

  .platform-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4,
  .process-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-main {
    padding: 12px;
  }

  .admin-topbar {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    margin: -12px -12px 14px;
    padding: 14px 12px;
  }

  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-status-pill {
    width: fit-content;
  }

  .admin-section-head {
    display: grid;
  }

  .admin-section-head p {
    text-align: left;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .admin-command-strip {
    grid-template-columns: 1fr;
  }

  .admin-audit-row {
    grid-template-columns: 1fr;
  }

  .admin-audit-row strong,
  .admin-audit-row code {
    font-size: 11px;
  }

  .metric-card {
    min-height: 86px;
  }

  .admin-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-search {
    max-width: none;
  }

  .admin-editor-card {
    grid-template-columns: 1fr;
  }

  .admin-plan-layout {
    grid-template-columns: 1fr;
  }

  .admin-side {
    top: 0;
    z-index: 20;
  }

  :root { --page-pad: 16px; }

  .site-nav {
    width: calc(100% - 16px);
    margin-top: 8px;
    border-radius: 16px;
  }

  .brand img {
    width: 112px;
    height: 32px;
  }

  .hero {
    gap: 28px;
    padding-bottom: 46px;
  }

  .hero-media,
  .popup-image-shell {
    padding: 8px;
    border-radius: 22px;
  }

  .hero-product-image,
  .popup-product-image {
    border-radius: 16px;
  }

  .image-float-card {
    position: static;
    max-width: none;
    margin-top: 8px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.4vw, 42px);
    line-height: 1.05;
  }

  .hero-actions,
  .nav-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .btn.large,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-signal-card,
  .popup-preview article {
    grid-template-columns: 1fr;
  }

  .score-orb {
    min-height: 92px;
  }

  .validation-chain,
  .micro-metrics,
  .platform-strip,
  .grid-3,
  .grid-4,
  .feature-grid,
  .pricing-grid,
  .process-grid,
  .feed-row,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .story-section,
  .preview-section,
  .validation-section,
  .popup-section,
  .final-cta {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-head h1,
  .section-head h2,
  .section > h1,
  .validation-section h2,
  .popup-section h2,
  .final-cta h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .dashboard-preview,
  .hero-intelligence,
  .hero-media,
  .popup-image-shell,
  .popup-preview {
    border-radius: 20px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

/* SOQ Conversational Copilot */
.copilot-shell {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(124, 58, 237, 0.14), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(16, 185, 129, 0.1), transparent 26%),
    #06060a;
  color: #f7f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.copilot-app {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  min-height: 100vh;
}

.copilot-rail {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 16, 0.72);
  backdrop-filter: blur(24px);
}

.copilot-rail::after {
  content: "Private market memory and grounded references";
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: rgba(247, 247, 251, 0.5);
  font-size: 12px;
  line-height: 1.45;
}

.copilot-brand {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #fff;
}

.copilot-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(124, 58, 237, 0.24);
}

.copilot-brand strong,
.copilot-context-card strong,
.copilot-auth-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.copilot-brand em {
  display: block;
  margin-top: 2px;
  color: rgba(247, 247, 251, 0.58);
  font-size: 12px;
  font-style: normal;
}

.copilot-kicker {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #a78bfa;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copilot-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.68);
}

.copilot-auth-card,
.copilot-context-card,
.copilot-snapshot article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 70px rgba(0, 0, 0, 0.22);
}

.copilot-auth-card,
.copilot-context-card {
  padding: 16px;
}

.copilot-auth-card.is-active {
  border-color: rgba(34, 197, 94, 0.24);
}

.copilot-auth-card p,
.copilot-context-card p,
.copilot-snapshot p,
.copilot-header p {
  color: rgba(247, 247, 251, 0.62);
}

.copilot-auth-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.copilot-auth-form input,
.copilot-composer textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
  outline: 0;
}

.copilot-auth-form input {
  min-height: 40px;
  padding: 0 11px;
}

.copilot-auth-form button,
.copilot-composer button,
.copilot-prompts button,
.copilot-save,
.copilot-memory-list button {
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #09090d;
  font-weight: 800;
  cursor: pointer;
}

.copilot-auth-form button {
  min-height: 40px;
  padding: 0 13px;
}

.copilot-main {
  display: grid;
  grid-template-rows: auto auto minmax(260px, 1fr) auto auto;
  gap: 16px;
  min-height: 100vh;
  padding: 24px;
}

.copilot-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 22px 22px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.copilot-header h1 {
  margin: 8px 0 8px;
  max-width: 760px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.copilot-header p {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.copilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.copilot-actions a,
.copilot-prompts button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 247, 251, 0.84);
  font-size: 13px;
}

.copilot-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.copilot-snapshot article {
  min-height: 118px;
  padding: 16px;
}

.copilot-snapshot span,
.copilot-reference-list span {
  color: #a78bfa;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copilot-snapshot strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 28px;
}

.copilot-thread {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.028)),
    rgba(8, 8, 13, 0.78);
  min-height: 360px;
}

.copilot-message {
  display: grid;
  gap: 7px;
  max-width: min(820px, 92%);
}

.copilot-message > span {
  color: rgba(247, 247, 251, 0.5);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.copilot-message.is-user {
  justify-self: end;
}

.copilot-bubble {
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(247, 247, 251, 0.92);
  line-height: 1.62;
}

.copilot-message.is-user .copilot-bubble {
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  color: #fff;
}

.copilot-bubble p {
  margin: 0 0 12px;
}

.copilot-bubble p:last-child {
  margin-bottom: 0;
}

.copilot-message.is-streaming .copilot-bubble {
  position: relative;
}

.copilot-message.is-streaming .copilot-bubble::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 16px;
  margin-left: 4px;
  background: #a78bfa;
  vertical-align: -2px;
  animation: copilotBlink 0.9s steps(2, start) infinite;
}

.copilot-prompts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.copilot-composer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 86px;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05)),
    rgba(10, 10, 16, 0.86);
  backdrop-filter: blur(18px);
}

.copilot-composer textarea {
  resize: none;
  min-height: 44px;
  max-height: 150px;
  padding: 12px 13px;
  line-height: 1.45;
}

.copilot-composer button {
  min-height: 44px;
}

.copilot-icon-button {
  background: rgba(255, 255, 255, 0.11) !important;
  color: #fff !important;
  font-size: 20px;
}

.copilot-icon-button.is-listening {
  background: rgba(34, 197, 94, 0.18) !important;
  color: #86efac !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.08), 0 0 28px rgba(34, 197, 94, 0.24);
}

.copilot-icon-button.is-speaking {
  background: rgba(167, 139, 250, 0.2) !important;
  color: #ddd6fe !important;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.08), 0 0 28px rgba(167, 139, 250, 0.24);
}

.copilot-voice-status {
  margin: -8px 4px 0;
  color: rgba(247, 247, 251, 0.58);
  font-size: 12px;
  line-height: 1.4;
}

.copilot-memory-list,
.copilot-reference-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.copilot-memory-list button {
  min-height: 34px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(247, 247, 251, 0.86);
  text-align: left;
}

.copilot-reference-list article {
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.copilot-reference-list strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 13px;
}

.copilot-reference-list em {
  display: inline-block;
  margin-top: 6px;
  color: #22c55e;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.copilot-save {
  justify-self: start;
  min-height: 32px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.copilot-system-note {
  justify-self: center;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 247, 251, 0.68);
  font-size: 12px;
}

@keyframes copilotBlink {
  50% { opacity: 0; }
}

@media (max-width: 980px) {
  .copilot-app {
    grid-template-columns: 1fr;
  }

  .copilot-rail {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .copilot-header {
    display: grid;
  }

  .copilot-actions {
    justify-content: flex-start;
  }

  .copilot-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .copilot-main,
  .copilot-rail {
    padding: 14px;
  }

  .copilot-header h1 {
    font-size: clamp(34px, 13vw, 48px);
  }

  .copilot-snapshot {
    grid-template-columns: 1fr;
  }

  .copilot-thread {
    min-height: 330px;
    padding: 12px;
    border-radius: 18px;
  }

  .copilot-message {
    max-width: 100%;
  }

  .copilot-composer {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .copilot-composer button[type="submit"] {
    grid-column: 1 / -1;
  }
}

/* Premium extension Copilot treatment */
.copilot-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 220px),
    radial-gradient(circle at 72% -10%, rgba(34, 197, 94, 0.08), transparent 360px),
    radial-gradient(circle at 18% 0%, rgba(167, 139, 250, 0.12), transparent 380px),
    #050507;
}

.copilot-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 62%);
}

.copilot-app {
  position: relative;
  grid-template-columns: 320px minmax(0, 1fr);
  max-width: 1440px;
  margin: 0 auto;
}

.copilot-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  gap: 14px;
  padding: 18px;
  border-right-color: rgba(255, 255, 255, 0.065);
  background: rgba(5, 5, 8, 0.72);
  box-shadow: 18px 0 70px rgba(0, 0, 0, 0.24);
}

.copilot-rail::after {
  content: "Local extension session. Public-page intelligence only.";
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(247, 247, 251, 0.46);
}

.copilot-brand {
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 6px 2px 10px;
}

.copilot-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.copilot-dashboard-nav {
  display: grid;
  gap: 6px;
  margin: 2px 0 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
}

.copilot-dashboard-nav a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(247, 247, 251, 0.68);
  font-size: 13px;
  font-weight: 650;
}

.copilot-dashboard-nav a:hover,
.copilot-dashboard-nav a.is-active {
  border-color: rgba(167, 139, 250, 0.18);
  background: rgba(167, 139, 250, 0.105);
  color: #fff;
}

.copilot-dashboard-nav span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 800;
}

.copilot-auth-card,
.copilot-context-card,
.copilot-snapshot article,
.copilot-thread,
.copilot-composer,
.copilot-header {
  border-color: rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(14, 14, 19, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 22px 70px rgba(0, 0, 0, 0.24);
}

.copilot-auth-card,
.copilot-context-card {
  border-radius: 16px;
  padding: 15px;
}

.copilot-auth-card.is-active {
  border-color: rgba(34, 197, 94, 0.22);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.085), rgba(167, 139, 250, 0.045)),
    rgba(14, 14, 19, 0.72);
}

.copilot-auth-card.is-active .copilot-auth-form {
  display: none;
}

.copilot-main {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 24px 24px 20px;
}

.copilot-header {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 12%, rgba(34, 197, 94, 0.095), transparent 32%),
    linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(255, 255, 255, 0.022) 46%),
    rgba(14, 14, 19, 0.72);
}

.copilot-header h1 {
  max-width: 610px;
  margin: 10px 0 8px;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 0.98;
}

.copilot-header p {
  max-width: 640px;
  color: rgba(247, 247, 251, 0.68);
  font-size: 15px;
}

.copilot-actions a {
  min-height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 247, 251, 0.82);
}

.copilot-snapshot {
  display: none;
}

.copilot-thread {
  min-height: min(520px, calc(100vh - 290px));
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    rgba(8, 8, 12, 0.86);
}

.copilot-message {
  max-width: min(760px, 88%);
}

.copilot-bubble {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 247, 251, 0.9);
  font-size: 14px;
}

.copilot-message.is-user .copilot-bubble {
  border-color: rgba(167, 139, 250, 0.28);
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
}

.copilot-prompts {
  padding: 0 2px 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: hidden;
}

.copilot-prompts button {
  flex: 0 1 auto;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 247, 251, 0.76);
  white-space: normal;
}

.copilot-composer {
  position: sticky;
  bottom: 16px;
  grid-template-columns: 44px minmax(0, 1fr) 82px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04)),
    rgba(11, 11, 15, 0.92);
}

.copilot-composer textarea {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.copilot-composer button[type="submit"] {
  background: linear-gradient(180deg, #f8fafc, #d8d5ff);
}

@media (max-width: 980px) {
  .copilot-app {
    grid-template-columns: 1fr;
  }

  .copilot-rail {
    position: static;
    height: auto;
    order: 2;
  }

  .copilot-main {
    order: 1;
  }
}

@media (max-width: 620px) {
  .copilot-main {
    padding: 12px;
  }

  .copilot-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
  }

  .copilot-header h1 {
    max-width: 320px;
    font-size: clamp(34px, 10.5vw, 42px);
    line-height: 1.02;
  }

  .copilot-header p {
    max-width: 310px;
    font-size: 14px;
    line-height: 1.55;
  }

  .copilot-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .copilot-actions a {
    justify-content: center;
    text-align: center;
  }

  .copilot-thread {
    min-height: 360px;
  }

  .copilot-composer {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
  }

  .copilot-composer button[type="submit"] {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.agent-marketing-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.04fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(58px, 7vw, 92px) var(--page-pad);
}

.agent-marketing-section::before {
  content: "";
  position: absolute;
  inset: 22px var(--page-pad);
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.075), rgba(34, 197, 94, 0.035) 52%, rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.012);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.agent-marketing-section h2 {
  max-width: 560px;
  margin: 12px 0 14px;
  color: var(--text);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.agent-marketing-section p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.agent-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 560px;
  margin-top: 22px;
}

.agent-proof-grid article {
  display: grid;
  grid-template-columns: minmax(124px, 0.4fr) minmax(0, 1fr);
  gap: 12px;
  min-height: auto;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028)),
    var(--surface);
}

.agent-proof-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 14px;
}

.agent-proof-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.agent-motion-frame {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 650px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(34, 197, 94, 0.065)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.28);
}

.agent-motion-frame img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .agent-marketing-section {
    grid-template-columns: 1fr;
  }

  .agent-motion-frame {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .hero-proof-row {
    grid-template-columns: 1fr;
  }

  .agent-marketing-section {
    padding-inline: 14px;
  }

  .agent-marketing-section::before {
    inset-inline: 8px;
    border-radius: 24px;
  }

  .agent-proof-grid {
    grid-template-columns: 1fr;
  }

  .agent-proof-grid article {
    grid-template-columns: 1fr;
  }

  .agent-motion-frame {
    border-radius: 22px;
  }
}

/* SOQ Premium Product System */
:root {
  --premium-line: rgba(255, 255, 255, 0.078);
  --premium-line-strong: rgba(167, 139, 250, 0.26);
  --premium-panel: rgba(15, 15, 21, 0.72);
  --premium-panel-soft: rgba(255, 255, 255, 0.032);
  --premium-glow: rgba(139, 92, 246, 0.16);
  --premium-green: rgba(34, 197, 94, 0.16);
}

.site-shell {
  background:
    radial-gradient(circle at 50% -14%, rgba(167, 139, 250, 0.14), transparent 420px),
    radial-gradient(circle at 96% 18%, rgba(34, 197, 94, 0.06), transparent 360px),
    linear-gradient(180deg, #050508 0%, #08080d 46%, #050507 100%);
}

.site-nav {
  border-color: var(--premium-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
    rgba(7, 7, 11, 0.82);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

.brand img {
  filter: drop-shadow(0 14px 26px rgba(139, 92, 246, 0.22));
}

.hero {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto var(--page-pad) 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.hero h1,
.section-head h1,
.section-head h2,
.final-cta h2 {
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p,
.section-head p {
  color: rgba(226, 232, 240, 0.72);
}

.btn,
.primary-btn,
.secondary-btn,
.admin-primary-button,
.admin-ghost-button {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.primary-btn:hover,
.secondary-btn:hover,
.admin-primary-button:hover,
.admin-ghost-button:hover {
  transform: translateY(-1px);
}

.btn.primary,
.admin-primary-button {
  background: linear-gradient(180deg, #b79cff, #7c3aed);
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.hero-media,
.dashboard-preview,
.popup-image-shell,
.agent-motion-frame,
.cluster-visual {
  border-color: var(--premium-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--premium-panel);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.38),
    0 0 90px rgba(139, 92, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card,
.pricing-card,
.process-grid article,
.admin-panel,
.admin-editor-card,
.admin-gate,
.admin-live-card,
.admin-status-pill {
  border-color: var(--premium-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--premium-panel);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-grid.premium-pricing-grid {
  gap: 12px;
}

.pricing-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 20px;
}

.pricing-card.featured {
  position: relative;
  border-color: rgba(167, 139, 250, 0.38);
  background:
    radial-gradient(circle at 70% 0%, rgba(34, 197, 94, 0.11), transparent 36%),
    linear-gradient(180deg, rgba(139, 92, 246, 0.18), rgba(255, 255, 255, 0.03)),
    rgba(17, 17, 24, 0.88);
  box-shadow: 0 26px 90px rgba(124, 58, 237, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-card > span {
  align-self: flex-start;
  padding: 5px 9px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.11);
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin-top: 16px;
}

.pricing-card .price {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 860;
  letter-spacing: 0;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(226, 232, 240, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.45);
}

.pricing-card .btn {
  margin-top: auto;
}

.admin-body {
  background:
    radial-gradient(circle at 18% 0%, rgba(167, 139, 250, 0.13), transparent 360px),
    radial-gradient(circle at 92% 12%, rgba(34, 197, 94, 0.07), transparent 360px),
    #050507;
}

.admin-shell {
  background: transparent;
}

.admin-side {
  border-right-color: var(--premium-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(7, 7, 11, 0.86);
}

.admin-nav button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: rgba(226, 232, 240, 0.66);
  text-align: left;
}

.admin-nav button.active,
.admin-nav button:hover {
  border-color: rgba(167, 139, 250, 0.2);
  background: rgba(167, 139, 250, 0.12);
  color: #fff;
}

.admin-topbar {
  border-bottom-color: var(--premium-line);
  background: rgba(5, 5, 8, 0.74);
  backdrop-filter: blur(22px);
}

.admin-main {
  background: transparent;
}

.admin-editor-card small {
  display: block;
  margin-top: 8px;
  color: rgba(226, 232, 240, 0.58);
  font-size: 12px;
}

.admin-editor-card ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.admin-editor-card li {
  color: rgba(226, 232, 240, 0.68);
  font-size: 12px;
  line-height: 1.4;
}

/* Premium secondary website pages */
.section {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 24px var(--page-pad) auto;
  z-index: -1;
  height: min(420px, 48vw);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 10%, rgba(34, 197, 94, 0.07), transparent 34%),
    linear-gradient(135deg, rgba(167, 139, 250, 0.08), rgba(255, 255, 255, 0.012) 48%);
}

.blog-index-hero {
  align-items: center;
  min-height: clamp(420px, 58vh, 620px);
  padding: clamp(42px, 7vw, 86px) 0;
}

.blog-index-hero h1,
.article-hero h1,
.section > h1 {
  max-width: 760px;
  font-size: clamp(42px, 6.2vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.blog-index-hero p,
.article-hero p,
.section > p {
  max-width: 680px;
  color: rgba(226, 232, 240, 0.72);
  font-size: clamp(15px, 1.7vw, 18px);
}

.blog-featured-image,
.popup-image-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(14, 14, 20, 0.76);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.blog-featured-image img {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.post-grid {
  gap: 14px;
}

.post-grid .card {
  min-height: 160px;
  padding: 20px;
}

.post-grid .card strong {
  font-size: 17px;
}

.post-grid .card p {
  margin-top: 10px;
  color: rgba(226, 232, 240, 0.68);
}

.hero-product-image,
.popup-product-image,
.agent-motion-frame img {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    #08080c;
}

.image-float-card {
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 10, 15, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.admin-live-card {
  border-radius: 20px;
}

.admin-gate {
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(14, 14, 20, 0.74);
}

.admin-panel,
.admin-editor-card {
  border-radius: 20px;
}

.admin-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
}

.admin-table th {
  color: rgba(196, 181, 253, 0.95);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td {
  border-top-color: rgba(255, 255, 255, 0.055);
}

@media (max-width: 820px) {
  .blog-index-hero {
    min-height: auto;
  }

  .blog-featured-image img {
    min-height: 240px;
  }
}
