@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=Geist:wght@300;400;500;600&display=swap");

:root {
  /* calmer, cool palette */
  --ink: #e8f1f5;
  --ink-soft: #c4d2d9;
  --brand: #3a93a3; /* muted teal */
  --brand-strong: #5ab3c0;
  --accent: #5876b9; /* muted indigo */
  --surface: rgba(18, 35, 44, 0.68);
  --line: rgba(140, 176, 189, 0.18);
  --shadow: 0 28px 56px rgba(8, 22, 30, 0.48);
  --radius: 24px;
  --page-bg-0: #071721;
  --page-bg-1: #0a1f2a;
  --page-bg-2: #082229;
  --page-glow-0: rgba(132, 214, 235, 0.18);
  --page-glow-1: rgba(141, 220, 193, 0.14);
  --page-glow-2: rgba(152, 166, 255, 0.14);
}

html {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, var(--page-glow-0) 0%, transparent 52%),
    radial-gradient(circle at 82% 18%, var(--page-glow-2) 0%, transparent 56%),
    radial-gradient(circle at 70% 86%, var(--page-glow-1) 0%, transparent 52%),
    linear-gradient(120deg, var(--page-bg-0), var(--page-bg-1), var(--page-bg-2));
  background-size: 160% 160%;
  animation: bg-shift 13s ease-in-out infinite alternate;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 28%, rgba(132, 214, 235, 0.22) 0%, transparent 52%),
    radial-gradient(circle at 78% 18%, rgba(152, 166, 255, 0.18) 0%, transparent 54%),
    radial-gradient(circle at 68% 76%, rgba(141, 220, 193, 0.16) 0%, transparent 52%);
  animation: color-wave 16s ease-in-out infinite alternate;
}

.shell {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: -2;
  filter: blur(3px);
  animation: shape-drift 14s ease-in-out infinite alternate;
}

.shape-a {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(160, 215, 235, 0.4) 0%, transparent 72%);
  top: -190px;
  left: -160px;
}

.shape-b {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(200, 220, 235, 0.34) 0%, transparent 72%);
  bottom: -190px;
  right: -160px;
  animation-delay: 3.8s;
}

.shape-c {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(145, 220, 193, 0.24) 0%, transparent 70%);
  top: 26%;
  right: 18%;
  animation-delay: 7.4s;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(to right, rgba(183, 221, 196, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(183, 221, 196, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000 42%, transparent 88%);
}

.floating-platforms {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 820px) {
  .floating-platforms {
    display: none;
  }
}

.float-chip {
  position: absolute;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 250, 240, 0.2);
  background: rgba(15, 36, 29, 0.1);
  color: rgba(237, 248, 236, 0.42);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(3, 10, 7, 0.16);
  backdrop-filter: blur(2px);
  animation: chip-float 15s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.float-chip strong {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(241, 251, 241, 0.14);
  color: rgba(247, 253, 248, 0.64);
  font-size: 0.72rem;
}

.float-chip.youtube {
  left: 1.2%;
  top: 20%;
}

.float-chip.tiktok {
  left: 2.6%;
  top: 46%;
  animation-delay: 2s;
}

.float-chip.facebook {
  left: 1.4%;
  top: 72%;
  animation-delay: 4s;
}

.float-chip.instagram {
  right: 1.2%;
  top: 24%;
  animation-delay: 1s;
}

.float-chip.snapchat {
  right: 2.8%;
  top: 50%;
  animation-delay: 3s;
}

.float-chip.rumble {
  right: 1.5%;
  top: 76%;
  animation-delay: 5s;
}

.hero,
.card,
.footer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(13px);
}

.hero {
  margin-top: 1.2rem;
  padding: 1.5rem 1.7rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(234, 242, 255, 0.18);
  pointer-events: none;
}

/* ── Floating background platform icons ─────────────────────────────────── */
.hero-bg-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hbi {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  object-fit: contain;
  opacity: 0.055;
  filter: blur(0.6px) grayscale(20%);
  transform: rotate(var(--r));
  animation: hbi-float var(--dr) ease-in-out var(--d) infinite alternate;
  will-change: transform, opacity;
}
@keyframes hbi-float {
  0%   { transform: rotate(var(--r)) translateY(0px);    opacity: 0.045; }
  50%  { opacity: 0.075; }
  100% { transform: rotate(var(--r)) translateY(-22px);  opacity: 0.045; }
}
/* Ensure hero text content sits above the background icons */
.hero > *:not(.hero-bg-icons) {
  position: relative;
  z-index: 1;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.hero-user {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.hero-user a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

progress {
  width: 100%;
  height: 0.6rem;
  appearance: none;
  border: none;
  border-radius: 0.3rem;
  background: var(--line);
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: var(--line);
}
progress::-webkit-progress-value {
  background: var(--brand);
}
progress::-moz-progress-bar {
  background: var(--brand);
}

/* promo grid logos */
.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
}
.promo-grid span {
  background: var(--brand-strong);
  color: var(--ink);
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* make tone-cool backgrounds cooler */
.tone-cool {
  background: rgba(20, 40, 56, 0.7);
}

/* modal for login/signup */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--ink-soft);
  cursor: pointer;
}


.brand-mark {
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #eef8ee;
  letter-spacing: 0.02em;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(188, 225, 197, 0.28);
  background: rgba(14, 40, 31, 0.72);
}

.hero-nav {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.hero-nav a {
  text-decoration: none;
  color: #d7e8d8;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.hero-nav a:hover {
  color: #f2fbf2;
  border-color: rgba(188, 225, 197, 0.32);
  background: rgba(17, 48, 37, 0.78);
}

.eyebrow {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--brand-strong);
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.2;
}

h1 {
  margin-top: 0.75rem;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(1.34rem, 2.2vw, 1.9rem);
}

h3 {
  font-size: 1.15rem;
}

.hero p {
  margin-top: 0.82rem;
  max-width: 740px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 1.03rem;
}

.hero-platforms {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-platforms span {
  font-weight: 700;
  font-size: 0.84rem;
  color: #f0f9ef;
  background: rgba(20, 48, 39, 0.74);
  border: 1px solid rgba(188, 225, 197, 0.2);
  border-radius: 999px;
  padding: 0.36rem 0.68rem;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  font: inherit;
  font-weight: 800;
  border-radius: 12px;
  padding: 0.74rem 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.btn-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(120deg, #2a8ca0, #3a63b5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(84, 154, 98, 0.44);
}

.btn-outline {
  border: 1px solid rgba(188, 225, 197, 0.32);
  color: #eff8ee;
  background: rgba(16, 43, 34, 0.8);
}

.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(7, 12, 33, 0.36);
}

main {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  padding: 1.35rem;
}

.tone-soft {
  background: linear-gradient(160deg, rgba(33, 57, 52, 0.78), rgba(40, 66, 58, 0.74));
}

.tone-cool {
  background: linear-gradient(160deg, rgba(30, 58, 74, 0.76), rgba(35, 70, 80, 0.74));
}

.tone-warm {
  background: linear-gradient(160deg, rgba(24, 49, 62, 0.76), rgba(24, 56, 55, 0.72));
}

.section-copy {
  margin-top: 0.42rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.section-copy code {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.16rem 0.42rem;
  border-radius: 8px;
  background: rgba(201, 214, 255, 0.12);
  color: #eef3ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.81rem;
}

.comparison-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.steps-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.steps-grid article {
  background: linear-gradient(160deg, rgba(30, 59, 70, 0.78), rgba(37, 68, 64, 0.76));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
}

.steps-grid p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.step-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eff8ef;
  background: rgba(242, 190, 122, 0.18);
  border: 1px solid rgba(242, 190, 122, 0.35);
  border-radius: 999px;
  padding: 0.23rem 0.55rem;
}

.flow-track {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.flow-card {
  background: linear-gradient(165deg, rgba(14, 42, 56, 0.84), rgba(16, 59, 74, 0.72));
  border: 1px solid rgba(180, 220, 236, 0.22);
  border-radius: 16px;
  padding: 0.95rem;
}

.flow-card p {
  margin: 0.42rem 0 0.8rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.asset-brief-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.asset-brief-card {
  border: 1px solid rgba(180, 220, 236, 0.2);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(16, 34, 48, 0.82), rgba(18, 52, 76, 0.66));
  padding: 0.95rem;
}

.asset-brief-card .promo-grid {
  justify-content: flex-start;
  margin-top: 0.5rem;
}

.asset-brief-card .promo-grid span {
  font-size: 0.78rem;
  padding: 0.28rem 0.56rem;
}

.comparison-grid article {
  background: linear-gradient(160deg, rgba(30, 58, 74, 0.76), rgba(37, 66, 72, 0.74));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
}

.comparison-grid ul {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.58;
}

.form-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.wizard-progress {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.wizard-pill {
  border: 1px solid rgba(188, 225, 197, 0.24);
  background: rgba(16, 40, 35, 0.7);
  color: #d9ecd9;
  border-radius: 999px;
  padding: 0.46rem 0.62rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wizard-pill span {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(188, 225, 197, 0.2);
  font-size: 0.72rem;
}

.wizard-pill.is-active {
  background: linear-gradient(120deg, rgba(85, 145, 110, 0.88), rgba(88, 151, 173, 0.82));
  color: #f4f9f3;
  border-color: rgba(188, 225, 197, 0.38);
}

.wizard-pill.is-complete {
  border-color: rgba(188, 225, 197, 0.34);
}

.wizard-pill:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.wizard-step h3 {
  margin-bottom: 0.2rem;
}

.wizard-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.62rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.field span,
.field legend {
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(188, 225, 197, 0.24);
  background: rgba(13, 34, 29, 0.78);
  font: inherit;
  color: #eff8ef;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(31, 157, 141, 0.28);
  border-color: var(--brand);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(224, 239, 227, 0.68);
}

.inline-check {
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
}

.inline-check input {
  width: auto;
}

.field-note {
  margin: 0.2rem 0 0.35rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.creative-panel textarea {
  min-height: 112px;
  resize: vertical;
}

.creative-panel.is-hidden {
  display: none;
}

.advanced-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  background: rgba(17, 24, 52, 0.66);
}

.advanced-panel summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--ink);
}

.advanced-panel summary::-webkit-details-marker {
  display: none;
}

.advanced-panel summary::after {
  content: "+";
  float: right;
  color: var(--brand-strong);
}

.advanced-panel[open] summary::after {
  content: "-";
}

.advanced-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  border: 1px solid rgba(188, 225, 197, 0.24);
  border-radius: 10px;
  background: rgba(14, 35, 30, 0.78);
  padding: 0.45rem 0.56rem;
  font-weight: 600;
}

.full-width {
  grid-column: 1 / -1;
}

.plat-soon {
  opacity: 0.5;
  cursor: not-allowed;
}

.soon-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 180, 0, 0.18);
  color: #f5c842;
  border: 1px solid rgba(245, 200, 66, 0.35);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  white-space: nowrap;
}

.result-stack {
  margin-top: 0.96rem;
  display: grid;
  gap: 0.8rem;
}

.result-card {
  background: rgba(22, 44, 38, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
}

.result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.chip {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(122, 199, 132, 0.2);
  color: #edf8ed;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  white-space: nowrap;
}

.result-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.57;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(26, 46, 41, 0.8);
  padding: 0.78rem;
}

.price-card h3 {
  margin-bottom: 0.45rem;
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.budget-table th,
.budget-table td {
  text-align: left;
  padding: 0.5rem 0.35rem;
  border-bottom: 1px dashed rgba(197, 210, 255, 0.2);
}

.inline-actions {
  margin-top: 0.76rem;
  display: flex;
  justify-content: flex-end;
}

.top-nav {
  position: sticky;
  top: 0;
  background: rgba(8, 20, 29, 0.68);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-link:hover {
  text-decoration: underline;
}

.nav-user {
  margin-left: auto;
}

.quote-card {
  border-color: rgba(200, 228, 188, 0.34);
  background: linear-gradient(160deg, rgba(25, 58, 52, 0.82), rgba(36, 70, 61, 0.8));
}

.footer {
  margin: 1rem auto 1.2rem;
  padding: 1rem 1.12rem;
}

.footer p {
  margin: 0;
}

.note {
  margin-top: 0.32rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.toast {
  margin-top: 0.6rem;
  padding: 0.68rem 0.78rem;
  border-radius: 11px;
  border: 1px solid rgba(188, 225, 197, 0.24);
  background: rgba(14, 34, 29, 0.86);
  color: var(--ink-soft);
}

.toast.error {
  border-color: rgba(220, 38, 38, 0.24);
  background: rgba(254, 242, 242, 0.92);
  color: #991b1b;
}

.toast.success {
  border-color: rgba(123, 255, 212, 0.32);
  background: rgba(27, 69, 74, 0.82);
  color: #d7fff4;
}

.headline-shine {
  background: linear-gradient(120deg, #9fe1f1, #bde7c5 52%, #98a6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.support-locked {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(13px);
  animation: rise 620ms ease forwards;
}

.card.reveal:nth-of-type(2) {
  animation-delay: 70ms;
}

.card.reveal:nth-of-type(3) {
  animation-delay: 140ms;
}

.card.reveal:nth-of-type(4) {
  animation-delay: 210ms;
}

.card.reveal:nth-of-type(5) {
  animation-delay: 280ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bg-shift {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 80%;
  }
}

@keyframes color-wave {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: hue-rotate(0deg);
  }
  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.04);
    filter: hue-rotate(18deg);
  }
}

@keyframes shape-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(22px, -18px, 0) scale(1.05);
  }
}

@keyframes chip-float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.44;
  }
  50% {
    transform: translateY(-18px) scale(1.03);
    opacity: 0.6;
  }
  100% {
    transform: translateY(6px) scale(0.99);
    opacity: 0.42;
  }
}

@media (max-width: 920px) {
  .floating-platforms {
    display: none;
  }

  .hero-top,
  .steps-grid,
  .flow-track,
  .asset-brief-grid,
  .pricing-grid,
  .comparison-grid,
  .form-grid,
  .advanced-grid,
  .sub-grid {
    grid-template-columns: 1fr;
  }

  .wizard-progress {
    grid-template-columns: 1fr;
  }

  .hero-top {
    display: grid;
    gap: 0.7rem;
  }

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

@media (max-width: 620px) {
  .shell {
    width: calc(100% - 1rem);
  }

  .hero {
    padding: 1.15rem 0.95rem 1.35rem;
  }

  .hero-nav {
    gap: 0.28rem;
  }

  .hero-nav a {
    font-size: 0.84rem;
  }

  .card {
    padding: 1rem;
  }

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

  .wizard-actions {
    justify-content: stretch;
  }

  .wizard-actions .btn-primary,
  .wizard-actions .btn-outline {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  body::before,
  .bg-shape,
  .float-chip {
    animation: none;
  }

  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .btn-primary,
  .btn-outline {
    transition: none;
  }
}
/* Page tints (calm-only). These only adjust background glows. */
.page-index {
  --page-glow-0: rgba(132, 214, 235, 0.18);
  --page-glow-1: rgba(141, 220, 193, 0.16);
  --page-glow-2: rgba(152, 166, 255, 0.14);
}

.page-login,
.page-signup {
  --page-glow-0: rgba(132, 214, 235, 0.14);
  --page-glow-1: rgba(141, 220, 193, 0.12);
  --page-glow-2: rgba(152, 166, 255, 0.12);
}

.page-dashboard {
  --page-glow-0: rgba(141, 220, 193, 0.14);
  --page-glow-1: rgba(132, 214, 235, 0.12);
  --page-glow-2: rgba(152, 166, 255, 0.14);
}

.page-promote {
  --page-glow-0: rgba(152, 166, 255, 0.16);
  --page-glow-1: rgba(132, 214, 235, 0.12);
  --page-glow-2: rgba(141, 220, 193, 0.12);
}

.page-checkout,
.page-status {
  --page-glow-0: rgba(132, 214, 235, 0.16);
  --page-glow-1: rgba(152, 166, 255, 0.12);
  --page-glow-2: rgba(141, 220, 193, 0.12);
}

/* Auth layout (wave-inspired, calm palette). */
.auth-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(132, 214, 235, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 70% 74%, rgba(141, 220, 193, 0.18) 0%, transparent 55%),
    linear-gradient(145deg, rgba(6, 20, 28, 0.92), rgba(10, 31, 42, 0.86));
  z-index: -2;
}

.auth-visual::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -18%;
  width: 58%;
  height: 120%;
  border-radius: 56% 0 0 56%;
  background: rgba(240, 248, 255, 0.05);
  border-left: 1px solid rgba(226, 245, 252, 0.12);
  z-index: -1;
}

.auth-visual h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0;
}

.auth-visual p {
  margin: 0;
  max-width: 42ch;
  color: var(--ink-soft);
  line-height: 1.6;
}

.auth-form {
  padding: 2.5rem 1.6rem;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(420px, 100%);
  background: rgba(12, 22, 30, 0.62);
  border: 1px solid rgba(148, 196, 212, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
  backdrop-filter: blur(10px);
}

.auth-card h2 {
  margin: 0 0 0.35rem 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

.auth-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.auth-meta a {
  color: #b7eff9;
  text-decoration: none;
  font-weight: 700;
}

.auth-social {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.auth-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(148, 196, 212, 0.18);
  background: rgba(6, 18, 26, 0.45);
  color: rgba(230, 246, 250, 0.78);
  text-decoration: none;
  font-weight: 900;
}

.auth-social a:hover {
  transform: translateY(-1px);
}

/* Dashboard app layout (distinct from marketing pages). */
.app-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.side-nav {
  position: sticky;
  top: 76px;
  align-self: start;
  background: rgba(8, 20, 29, 0.62);
  border: 1px solid rgba(148, 196, 212, 0.16);
  border-radius: 18px;
  padding: 0.85rem;
  backdrop-filter: blur(10px);
}

.side-nav a {
  display: block;
  padding: 0.62rem 0.7rem;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  margin-bottom: 0.35rem;
}

.side-nav a:hover,
.side-nav a[aria-current="page"] {
  background: rgba(141, 220, 193, 0.12);
  border: 1px solid rgba(141, 220, 193, 0.18);
}

@media (max-width: 980px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
  }
  .auth-visual::after {
    display: none;
  }
  .app-layout {
    grid-template-columns: 1fr;
  }
  .side-nav {
    position: static;
  }
}

/* Page-specific design system */
.btn-small {
  padding: 0.5rem 0.72rem;
  font-size: 0.86rem;
}

.btn-icon .icon {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.auth-card .form-grid {
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.auth-visual {
  position: relative;
}

.auth-visual-login {
  background:
    radial-gradient(circle at 18% 12%, rgba(90, 194, 188, 0.32) 0%, transparent 50%),
    linear-gradient(140deg, rgba(7, 37, 48, 0.94), rgba(9, 83, 94, 0.84));
}

.auth-visual-signup {
  background:
    radial-gradient(circle at 82% 14%, rgba(80, 126, 214, 0.3) 0%, transparent 52%),
    linear-gradient(150deg, rgba(8, 40, 36, 0.94), rgba(12, 76, 92, 0.86));
}

.auth-sign {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(214, 242, 255, 0.24);
  background: rgba(190, 226, 255, 0.1);
  box-shadow: 0 10px 28px rgba(3, 16, 24, 0.28);
}

.sign-a {
  width: 10px;
  height: 10px;
  top: 8%;
  right: 10%;
}

.sign-b {
  width: 14px;
  height: 14px;
  top: 23%;
  right: 24%;
}

.sign-c {
  width: 8px;
  height: 8px;
  top: 34%;
  right: 16%;
}

.auth-visual-metrics {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.6rem;
}

.auth-visual-metrics article {
  border: 1px solid rgba(214, 242, 255, 0.18);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: rgba(6, 23, 32, 0.42);
}

.auth-visual-metrics strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.22rem;
}

.auth-visual-metrics span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.dashboard-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.showcase-copy h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin-top: 0.45rem;
}

.showcase-copy p {
  color: var(--ink-soft);
  line-height: 1.62;
}

.showcase-grid {
  display: grid;
  gap: 0.7rem;
}

.showcase-tile {
  border-radius: 16px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(200, 227, 255, 0.22);
  background: rgba(10, 31, 44, 0.7);
}

.showcase-tile p {
  margin: 0.42rem 0 0;
  color: var(--ink-soft);
}

.tile-amber {
  background: linear-gradient(140deg, rgba(95, 57, 18, 0.72), rgba(129, 78, 24, 0.62));
}

.tile-teal {
  background: linear-gradient(140deg, rgba(16, 63, 70, 0.72), rgba(17, 94, 104, 0.62));
}

.tile-blue {
  background: linear-gradient(140deg, rgba(20, 42, 91, 0.72), rgba(35, 72, 140, 0.62));
}

.promote-showcase {
  display: grid;
  gap: 0.95rem;
}

.promote-showcase-copy h1 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  margin-top: 0.35rem;
}

.promote-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.promote-showcase-card {
  background: linear-gradient(165deg, rgba(17, 32, 47, 0.78), rgba(19, 59, 84, 0.66));
  border: 1px solid rgba(181, 213, 241, 0.22);
  border-radius: 14px;
  padding: 0.88rem;
}

.promote-showcase-card p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.9rem;
  align-items: start;
}

.checkout-summary {
  border: 1px solid rgba(157, 201, 217, 0.22);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(8, 31, 44, 0.54);
}

.checkout-panel {
  border: 1px solid rgba(157, 201, 217, 0.22);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(9, 22, 32, 0.62);
}

.status-promo-types .type-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.type-card {
  border: 1px solid rgba(180, 214, 232, 0.22);
  border-radius: 14px;
  padding: 0.86rem;
  background: linear-gradient(160deg, rgba(12, 40, 54, 0.72), rgba(23, 68, 96, 0.6));
}

.type-card p {
  margin: 0.42rem 0 0.8rem;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .dashboard-showcase,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .promote-showcase-grid,
  .status-promo-types .type-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------------- */
/* Indigo/Cyan UI refresh (requested visual direction) */
/* ------------------------------------------------------------------------- */
:root {
  /* ── Core palette ─────────────────────────────────────── */
  --bg: #05050f;
  --surface: #0e0e1e;
  --surface2: #151528;
  --surface3: #1c1c34;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.13);
  --border3: rgba(255, 255, 255, 0.20);
  /* ── Brand ────────────────────────────────────────────── */
  --indigo: #635bff;
  --indigo-light: #8b85ff;
  --indigo-dim: rgba(99, 91, 255, 0.14);
  --cyan: #00d9f5;
  --emerald: #00e88a;
  --rose: #ff4d6d;
  --amber: #ffb800;
  /* ── Text ─────────────────────────────────────────────── */
  --white: #eff0ff;
  --muted: rgba(239, 240, 255, 0.50);
  --muted2: rgba(239, 240, 255, 0.26);
  /* ── Shadows ──────────────────────────────────────────── */
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.28);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.40);
  --shadow-lg: 0 30px 70px rgba(0,0,0,0.52);
  --shadow-btn: 0 8px 24px rgba(99, 91, 255, 0.32);
  /* ── Aliases: old variable names → new palette ────────── */
  --ink: var(--white);
  --ink-soft: var(--muted);
  --brand: var(--indigo);
  --brand-strong: var(--indigo-light);
  --line: var(--border);
  --radius: 14px;
  /* ── Aliases: VB shorthand used in pricing + app.js ──── */
  --vb-vi: var(--indigo);
  --vb-cy: var(--cyan);
  --vb-em: var(--emerald);
  --card: var(--surface2);
  --err: rgba(255, 77, 109, 0.15);
  --err-text: #ff8a9a;
}

body {
  font-family: "Geist", sans-serif;
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, rgba(99, 91, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(0, 217, 245, 0.09), transparent 45%), var(--bg);
  min-height: 100vh;
}

body::before,
.bg-shape,
.bg-grid,
.floating-platforms {
  display: none !important;
}

#floatingBg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.fi {
  position: absolute;
  opacity: 0;
  color: rgba(239, 240, 255, 0.38);
  mix-blend-mode: screen;
  filter: blur(0.7px);
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(110vh) rotate(0deg) scale(0.8);
  }
  10%,
  80% {
    opacity: 0.1;
  }
  100% {
    opacity: 0;
    transform: translateY(-15vh) rotate(360deg) scale(1.08);
  }
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 62px;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 15, 0.84);
  backdrop-filter: blur(16px);
}

.brand-mark {
  margin-right: auto;
  text-decoration: none;
  color: var(--white);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
}

.nav-link {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-user {
  color: var(--muted);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2.4rem));
}

.hero,
.card,
.footer,
.result-card,
.auth-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
}

.hero {
  border-radius: 20px;
  margin-top: 1rem;
}

.hero h1,
h1,
h2,
h3,
.pg-title,
.card-h,
.showcase-copy h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.03em;
}

.eyebrow {
  color: var(--indigo-light);
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  font-weight: 700;
}

.section-copy,
.note,
.field-note {
  color: var(--muted);
}

.btn-primary,
.btn-outline,
.btn-ghost,
.btn-ind {
  border-radius: 10px;
  font-family: "Geist", sans-serif;
  font-weight: 600;
}

.btn-primary,
.btn-ind {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-light));
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.32);
}

.btn-primary:hover,
.btn-ind:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(99, 91, 255, 0.4);
}

.btn-outline,
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  border: 1px solid var(--border2);
}

.btn-outline:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.chip {
  background: rgba(99, 91, 255, 0.14);
  border: 1px solid rgba(99, 91, 255, 0.22);
  color: var(--indigo-light);
}

.field input,
.field select,
.field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border2);
  color: var(--white);
}

.vb-select {
  position: relative;
}

.vb-select-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.field .vb-select-btn {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
}

.field .vb-select-btn::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.6;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(237,238,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.vb-select.is-open .vb-select-btn,
.field .vb-select-btn:focus-visible {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.16);
}

.vb-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 22, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  padding: 0.35rem;
  max-height: 260px;
  overflow: auto;
  z-index: 80;
  backdrop-filter: blur(18px);
}

.vb-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.vb-select-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.vb-select-option:focus-visible {
  outline: none;
  background: rgba(99, 91, 255, 0.16);
}

.vb-select-option.is-selected {
  background: rgba(99, 91, 255, 0.18);
  border: 1px solid rgba(99, 91, 255, 0.34);
}

.vb-select-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.16);
}

.wizard-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border2);
  color: var(--muted);
}

.wizard-pill.is-active {
  background: rgba(99, 91, 255, 0.16);
  border-color: rgba(99, 91, 255, 0.42);
  color: var(--white);
}

.wizard-pill.is-complete {
  border-color: rgba(0, 232, 138, 0.38);
  color: var(--emerald);
}

.result-card,
.quote-card,
.price-card,
.type-card,
.showcase-tile,
.promote-showcase-card,
.flow-card,
.asset-brief-card {
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero-nav a,
.brand-mark,
.hero-user a {
  color: var(--muted);
}

.hero-nav a:hover,
.brand-mark:hover,
.hero-user a:hover {
  color: var(--white);
}

.headline-shine,
.grad {
  background: linear-gradient(135deg, var(--cyan), var(--indigo-light), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.36rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 91, 255, 0.28);
  background: rgba(99, 91, 255, 0.1);
  color: var(--indigo-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 auto;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 7px var(--emerald);
}

.hero-h {
  margin-top: 1.4rem;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1.02;
  text-align: center;
}

.hero-sub {
  color: var(--muted);
  max-width: 620px;
  margin: 1rem auto 1.8rem;
  text-align: center;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 0.82rem 1.9rem;
}

.platforms-row {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.pl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.pill-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.plat-chk-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 2px;
}

.stats-bar {
  margin: 2.6rem auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.sb {
  padding: 1.1rem 0.8rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.sb:last-child {
  border-right: none;
}

.sb-n {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
}

.sb-l {
  font-size: 0.7rem;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.showcase,
.feats {
  width: min(1100px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 4.2rem 0 0;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: block;
  text-align: center;
  color: var(--indigo-light);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-h {
  text-align: center;
  margin-top: 0.7rem;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.section-p {
  text-align: center;
  margin: 0.6rem auto 0;
  max-width: 520px;
  color: var(--muted);
}

.pl-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.8rem;
}

.pl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.44rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface2);
  padding: 1rem 0.7rem;
  text-align: center;
}

.card-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.pl-card-name {
  margin-top: 0.44rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.feat-grid {
  margin-top: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.fc {
  background: var(--surface);
  padding: 1.4rem;
}

.fc-icon {
  font-size: 1.6rem;
}

.fc-t {
  margin-top: 0.6rem;
  font-weight: 700;
}

.fc-d {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.cta-band {
  margin-top: 4.5rem;
  border-top: 1px solid var(--border);
  padding: 4.5rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 740px;
  height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(99, 91, 255, 0.13), transparent 70%);
  pointer-events: none;
}

.promo-grid span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.auth-wrap {
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.4rem;
}

.auth-box {
  width: min(430px, 100%);
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.54);
}

.auth-box .form-grid {
  grid-template-columns: 1fr;
  margin-top: 0.8rem;
}

.auth-logo {
  text-align: center;
  margin-bottom: 1rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-title {
  text-align: center;
  font-size: 1.5rem;
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
}

.auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  margin: 0.3rem 0 1.1rem;
}

.tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 1.2rem;
}

.tab {
  flex: 1;
  border-radius: 8px;
  padding: 0.56rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.tab.on {
  color: #fff;
  background: var(--indigo);
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.36);
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted2);
  font-size: 0.75rem;
  margin: 1rem 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.socials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.58rem;
}

.btn-soc {
  border-radius: 9px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.62rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.soc-ic {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-soc:hover {
  background: rgba(255, 255, 255, 0.06);
}

.auth-foot {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-foot a {
  color: var(--indigo-light);
  font-weight: 600;
  text-decoration: none;
}

/* ── Google-only auth box ────────────────────────────────────── */
.auth-box-google {
  text-align: center;
  padding: 2.4rem 2rem 2rem;
}

.auth-box-google .auth-title {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.auth-box-google .auth-sub {
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.82rem 1.2rem;
  background: #fff;
  color: #1f1f1f;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.06);
  transition: box-shadow 0.18s ease, transform 0.12s ease;
  margin-bottom: 0.2rem;
}

.btn-google:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.32), 0 0 0 1px rgba(0,0,0,0.1);
  transform: translateY(-1px);
  color: #1f1f1f;
  text-decoration: none;
}

.btn-google:active {
  transform: translateY(0);
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
}

.google-ic {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.auth-error-banner {
  background: rgba(229,57,53,0.12);
  border: 1px solid rgba(229,57,53,0.35);
  color: #ff8a8a;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

.auth-policy {
  margin-top: 1.2rem;
  color: var(--muted2, #555);
  font-size: 0.76rem;
  line-height: 1.5;
}

.auth-policy a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-wrapper {
  min-height: calc(100vh - 62px);
  grid-template-columns: 1fr;
}

.auth-visual {
  display: none;
}

.auth-form {
  place-items: center;
}

.auth-card {
  width: min(430px, 100%);
  border-radius: 20px;
}

.app-layout-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.3rem;
  align-items: start;
}

.app-sidebar {
  position: sticky;
  top: 76px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem;
}

.app-side-label {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
  font-weight: 700;
  margin: 0.35rem 0.4rem;
}

.app-side-link {
  display: flex;
  align-items: center;
  gap: 0.56rem;
  border-radius: 9px;
  padding: 0.55rem 0.62rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.app-side-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.app-side-link.active {
  color: var(--indigo-light);
  background: rgba(99, 91, 255, 0.14);
  border-color: rgba(99, 91, 255, 0.24);
}

.app-main {
  min-width: 0;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.metric-card {
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 12px;
  padding: 1rem;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.metric-value {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.6rem;
  margin-top: 0.2rem;
  font-weight: 800;
}

.metric-note {
  font-size: 0.75rem;
}

.metric-note.up {
  color: var(--emerald);
}

.metric-note.down {
  color: var(--amber);
}

@media (max-width: 980px) {
  .app-layout-shell,
  .metrics-row,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
  }
}

/* Responsive hardening for phone / laptop / desktop */
@media (max-width: 1120px) {
  .shell {
    width: min(1200px, calc(100% - 1.5rem));
  }

  .top-nav {
    padding: 0 1rem;
    gap: 0.55rem;
  }

  .hero {
    padding: 1.1rem 1rem 1.4rem;
  }
}

@media (max-width: 980px) {
  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platforms-row {
    gap: 0.45rem;
  }

  .pl-pill {
    font-size: 0.76rem;
    padding: 0.35rem 0.7rem;
  }
}

@media (max-width: 760px) {
  .top-nav {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    padding: 0.5rem 0.8rem;
  }

  .brand-mark {
    font-size: 1rem;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.15rem 0.2rem;
  }

  .nav-user {
    margin-left: auto;
    font-size: 0.78rem;
  }

  .hero-h {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .hero-btns .btn-lg {
    width: 100%;
    justify-content: center;
  }

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

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

  .showcase,
  .feats {
    width: calc(100% - 1rem);
    padding-top: 2.8rem;
  }
}

@media (max-width: 560px) {
  .nav-user {
    display: none;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

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

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

  .tabs {
    margin-bottom: 1rem;
  }

  .auth-box {
    padding: 1.35rem 1rem;
  }
}

/* ── Hamburger / mobile sidebar ─────────────────────────────── */
.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 199;
}

.sidebar-overlay.sidebar-overlay-show {
  display: block;
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .app-layout-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: min(280px, 80vw);
    height: 100dvh;
    z-index: 200;
    border-radius: 0 16px 16px 0;
    padding-top: 4.5rem;
    overflow-y: auto;
    border-left: none;
    border-top: none;
    border-bottom: none;
    box-shadow: 4px 0 32px rgba(0,0,0,0.45);
  }

  .app-sidebar.sidebar-open {
    display: block;
  }
}

/* ── Toast notification system ──────────────────────────────── */
#toast-tray {
  position: fixed;
  bottom: 1.4rem;
  right: 1.2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 2rem));
}

.toast-global {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 500;
  color: #fff;
  background: #1e2535;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: all;
  word-break: break-word;
}

.toast-global.toast-show {
  opacity: 1;
  transform: translateY(0);
}

.toast-global.toast-success {
  background: #0f3325;
  border-color: rgba(52,199,89,0.35);
  color: #5effa0;
}

.toast-global.toast-error {
  background: #2e1218;
  border-color: rgba(229,57,53,0.35);
  color: #ff8a8a;
}

.toast-global.toast-info {
  background: #111c30;
  border-color: rgba(99,91,255,0.35);
  color: #a5b4fc;
}

/* ── Screen-reader-only utility ─────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Sub-480px phone overrides ───────────────────────────────── */
@media (max-width: 480px) {
  .wizard-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .wizard-nav button,
  .wizard-nav .btn-primary,
  .wizard-nav .btn-outline {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .inline-actions {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .inline-actions > * {
    flex: 1 1 auto;
    min-width: 0;
  }

  .result-card {
    padding: 0.9rem;
  }

  .card,
  .section-block {
    padding: 1rem 0.8rem;
  }

  .pg-title,
  .stitle {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .metrics {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ── Focus outlines for interactive elements ─────────────────── */
.advanced-panel summary:focus-visible {
  outline: 2px solid var(--brand, #635bff);
  outline-offset: 3px;
  border-radius: 4px;
}

.app-side-link:focus-visible,
.qa:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--brand, #635bff);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── Extend prefers-reduced-motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .toast-global {
    transition: none;
  }

  .app-sidebar {
    transition: none;
  }

  .sidebar-overlay {
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Campaign Templates ─────────────────────────────────────────────────── */
.templates-summary {
  display: flex; align-items: center; gap: 0.75rem; cursor: pointer;
  list-style: none; padding: 0.25rem 0;
}
.templates-summary::-webkit-details-marker { display: none; }
.templates-summary-hint { color: var(--ink-soft); font-size: 0.82rem; flex: 1; }
.templates-chevron { font-size: 1rem; transition: transform 0.2s; }
details[open] .templates-chevron { transform: rotate(180deg); }
.templates-grid { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 1rem; }
.templates-loading { color: var(--ink-soft); font-size: 0.85rem; }
.tpl-cat-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--brand-strong); margin-bottom: 0.5rem; }
.tpl-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.6rem; }
.tpl-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.85rem 0.9rem; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 0.25rem; transition: all 0.18s;
  color: var(--ink);
}
.tpl-card:hover { background: rgba(255,255,255,0.08); border-color: var(--brand); transform: translateY(-2px); }
.tpl-icon { font-size: 1.4rem; }
.tpl-name { font-weight: 600; font-size: 0.88rem; }
.tpl-desc { font-size: 0.76rem; color: var(--ink-soft); line-height: 1.4; }
.tpl-meta { font-size: 0.72rem; color: var(--brand-strong); margin-top: 0.2rem; }

/* ── Duplicate / CSV / Share actions ────────────────────────────────────── */
.btn-xs {
  font-size: 0.72rem; padding: 0.25rem 0.55rem; border-radius: 6px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  cursor: pointer; transition: all 0.15s;
}
.btn-xs:hover { background: rgba(255,255,255,0.07); color: var(--ink); border-color: var(--brand); }

/* ── AI Copy Variants ───────────────────────────────────────────────────── */
.copy-variants { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; }
.copy-variant-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.75rem 0.9rem; cursor: pointer; transition: all 0.18s;
}
.copy-variant-card:hover { border-color: var(--brand); background: rgba(255,255,255,0.07); }
.copy-variant-card strong { display: block; font-size: 0.82rem; color: var(--ink); margin-bottom: 0.2rem; }
.copy-variant-card span { font-size: 0.76rem; color: var(--ink-soft); }
.copy-variant-label { font-size: 0.7rem; font-weight: 600; color: var(--brand-strong);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.35rem; display: block; }

/* ── Scheduling badge ───────────────────────────────────────────────────── */
.sp-scheduled { background: rgba(90,178,192,0.12); color: #5ab2c0; border: 1px solid rgba(90,178,192,0.3); }
.spd-sc { background: #5ab2c0; }

/* ── Referrals section ──────────────────────────────────────────────────── */
.ref-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.6rem; margin-bottom: 1rem; }
.ref-stat { background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.7rem 0.85rem; }
.ref-stat-val { font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.ref-stat-label { font-size: 0.72rem; color: var(--ink-soft); margin-top: 0.15rem; }
.ref-link-row { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.9rem; flex-wrap: wrap; }
.ref-link-input { flex: 1; min-width: 0; padding: 0.45rem 0.7rem; border-radius: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--ink);
  font-size: 0.8rem; outline: none; }

/* ── Pro badge ──────────────────────────────────────────────────────────── */
.pro-badge {
  display: inline-block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; background: linear-gradient(135deg,#f59e0b,#ef4444);
  color: #fff; padding: 0.15rem 0.4rem; border-radius: 4px; vertical-align: middle; margin-left: 4px;
}
.pro-discount-note { color: #f59e0b; font-size: 0.78rem; font-weight: 600; margin-top: 0.3rem; }

/* ── Client color borders ───────────────────────────────────────────────── */
.campaign-row[data-client-color] { border-left: 3px solid var(--client-color, transparent); }
.client-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.3rem;
}
.client-card-name { font-weight: 600; font-size: 0.9rem; }
.client-card-meta { font-size: 0.75rem; color: var(--ink-soft); }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.7rem; margin-bottom: 1rem; }
.client-filter-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.client-pill {
  font-size: 0.75rem; padding: 0.25rem 0.65rem; border-radius: 20px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft); transition: all 0.15s;
}
.client-pill.active, .client-pill:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ── Share buttons ──────────────────────────────────────────────────────── */
.share-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.share-btn {
  font-size: 0.75rem; padding: 0.3rem 0.7rem; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink); transition: all 0.15s;
}
.share-btn:hover { background: rgba(255,255,255,0.07); border-color: var(--brand); }

/* ═══════════════════════════════════════════════════════════════════════════
   UI POLISH LAYER — Professional redesign pass
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Body background: richer, more professional ─────────────────────────── */
body {
  background:
    radial-gradient(ellipse 70% 50% at 15% -5%,  rgba(99, 91, 255, 0.14), transparent),
    radial-gradient(ellipse 55% 45% at 85% 5%,   rgba(0, 217, 245, 0.08), transparent),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(99, 91, 255, 0.07), transparent),
    var(--bg);
}

/* ── Navigation bar (top-nav, used in app pages) ────────────────────────── */
.top-nav {
  height: 64px;
  background: rgba(5, 5, 15, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border2);
  transition: background 0.2s;
}

.brand-mark {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  letter-spacing: -0.01em;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  text-decoration: none;
}
.nav-link.is-active,
.nav-link[aria-current="page"] {
  color: var(--indigo-light);
  background: var(--indigo-dim);
}

/* ── nav-bar variant (used in pricing.html and static pages) ─────────────── */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 15, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border2);
}
.nav-logo {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--white) 0%, var(--indigo-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.nav-links a.is-active {
  color: var(--indigo-light);
  background: var(--indigo-dim);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  margin: 1rem auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--muted2);
}
.footer p { margin: 0; }
.footer a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer a:hover { color: var(--white); }
.footer .note { font-size: 0.82rem; color: var(--muted2); margin-top: 0; }

/* ── Card polish ─────────────────────────────────────────────────────────── */
.card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:not([data-static]):hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-lg);
}

/* ── Result card: show more polish ──────────────────────────────────────── */
.result-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  transition: border-color 0.2s;
}

/* ── Quote card ──────────────────────────────────────────────────────────── */
.quote-card {
  background: linear-gradient(145deg, rgba(99, 91, 255, 0.08), rgba(0, 217, 245, 0.05));
  border-color: rgba(99, 91, 255, 0.22);
}

/* ── Button system ───────────────────────────────────────────────────────── */
.btn-primary,
.btn-outline,
.btn-ghost,
.btn-ind {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s;
  text-decoration: none;
  border: none;
  font-family: "Geist", sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary,
.btn-ind {
  background: linear-gradient(135deg, var(--indigo) 0%, #7c76ff 100%);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover,
.btn-ind:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(99, 91, 255, 0.44);
}
.btn-primary:active,
.btn-ind:active {
  transform: translateY(0);
  box-shadow: var(--shadow-btn);
}
.btn-primary:disabled,
.btn-ind:disabled {
  opacity: 0.5;
  transform: none;
  cursor: not-allowed;
}
.btn-outline {
  background: rgba(255,255,255,0.03);
  color: var(--white);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border3);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
}
.btn-xs {
  font-size: 0.72rem;
  padding: 0.26rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  font-family: "Geist", sans-serif;
}
.btn-xs:hover {
  background: var(--indigo-dim);
  border-color: var(--indigo);
  color: var(--indigo-light);
}

/* ── Form inputs: better focus ring ─────────────────────────────────────── */
.field input,
.field select,
.field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border2);
  border-radius: 9px;
  color: var(--white);
  padding: 0.58rem 0.75rem;
  font-size: 0.88rem;
  font-family: "Geist", sans-serif;
  width: 100%;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  outline: none;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--border3);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--indigo);
  background: rgba(99, 91, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.16);
}
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

/* ── Progress bar: indigo instead of teal ───────────────────────────────── */
progress {
  width: 100%;
  height: 5px;
  appearance: none;
  border: none;
  border-radius: 3px;
  background: var(--border2);
  overflow: hidden;
}
progress::-webkit-progress-bar { background: var(--border2); border-radius: 3px; }
progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--indigo), var(--indigo-light));
  border-radius: 3px;
}
progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--indigo), var(--indigo-light));
  border-radius: 3px;
}

/* ── Status badges (all defined in one place) ────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
/* running */
.sp-running   { background: rgba(0,232,138,0.12); color: #00e88a; border: 1px solid rgba(0,232,138,0.25); }
.spd-running  { background: #00e88a; box-shadow: 0 0 6px rgba(0,232,138,0.7); animation: pulse-dot 2s infinite; }
/* planned */
.sp-planned   { background: rgba(99,91,255,0.12); color: var(--indigo-light); border: 1px solid rgba(99,91,255,0.25); }
.spd-planned  { background: var(--indigo-light); }
/* scheduled */
.sp-scheduled { background: rgba(0,217,245,0.10); color: var(--cyan); border: 1px solid rgba(0,217,245,0.25); }
.spd-sc       { background: var(--cyan); }
/* paid */
.sp-paid      { background: rgba(0,232,138,0.10); color: #5af0b0; border: 1px solid rgba(0,232,138,0.20); }
.spd-paid     { background: #5af0b0; }
/* paused */
.sp-paused    { background: rgba(255,184,0,0.10); color: var(--amber); border: 1px solid rgba(255,184,0,0.25); }
.spd-paused   { background: var(--amber); }
/* ended / cancelled */
.sp-ended     { background: rgba(239,240,255,0.06); color: var(--muted); border: 1px solid var(--border); }
.spd-ended    { background: var(--muted2); }
/* error */
.sp-error     { background: rgba(255,77,109,0.12); color: #ff8a9a; border: 1px solid rgba(255,77,109,0.25); }
.spd-error    { background: #ff8a9a; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Chip (platform/goal tag) ────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--indigo-dim);
  border: 1px solid rgba(99, 91, 255, 0.22);
  color: var(--indigo-light);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.22rem 0.62rem;
  white-space: nowrap;
}

/* ── Section headings ────────────────────────────────────────────────────── */
.section-block {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
}
.stitle {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
}
.pg-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

/* ── Dashboard metric cards ──────────────────────────────────────────────── */
.metric-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 1rem 1.1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.metric-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}
.metric-label {
  font-size: 0.7rem;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.metric-value {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.metric-note {
  font-size: 0.74rem;
  margin-top: 0.3rem;
  color: var(--muted);
}
.metric-note.up   { color: var(--emerald); }
.metric-note.down { color: var(--amber); }

/* ── Table styles ────────────────────────────────────────────────────────── */
.perf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.perf-table th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted2);
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border2);
}
.perf-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: middle;
}
.perf-table tr:last-child td { border-bottom: none; }
.perf-table tr:hover td {
  background: rgba(255,255,255,0.025);
}
.perf-table td:first-child { color: var(--white); font-weight: 500; }
.campaign-row { transition: background 0.15s; }

/* ── Wizard steps ────────────────────────────────────────────────────────── */
.wizard-steps {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.3rem;
  overflow: hidden;
}
.wizard-step {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted2);
  border-radius: 9px;
  transition: all 0.2s;
  cursor: default;
}
.wizard-step.active {
  background: var(--indigo-dim);
  color: var(--indigo-light);
  border: 1px solid rgba(99, 91, 255, 0.22);
}
.wizard-step.done {
  color: var(--emerald);
}

/* ── Platform checkbox labels ────────────────────────────────────────────── */
.checks label {
  border: 1px solid var(--border2);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  padding: 0.48rem 0.6rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--muted);
  transition: all 0.15s;
  cursor: pointer;
}
.checks input[type="checkbox"]:checked + span,
.checks label:has(input:checked) {
  background: var(--indigo-dim);
  border-color: rgba(99, 91, 255, 0.3);
  color: var(--indigo-light);
}
.checks label:hover {
  border-color: var(--border3);
  color: var(--white);
}

/* ── Advanced panel ──────────────────────────────────────────────────────── */
.advanced-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.015);
  transition: border-color 0.2s;
}
.advanced-panel[open] { border-color: var(--border2); }
.advanced-panel summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  user-select: none;
}
.advanced-panel summary:hover { color: var(--white); }

/* ── Template cards ──────────────────────────────────────────────────────── */
.tpl-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s;
  color: var(--white);
}
.tpl-card:hover {
  background: var(--indigo-dim);
  border-color: rgba(99, 91, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.tpl-cat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--indigo-light);
  margin-bottom: 0.55rem;
}
.tpl-name { font-weight: 600; font-size: 0.86rem; color: var(--white); }
.tpl-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.45; margin-top: 0.15rem; }
.tpl-meta { font-size: 0.7rem; color: var(--indigo-light); margin-top: 0.25rem; }

/* ── AI copy variant cards ───────────────────────────────────────────────── */
.copy-variant-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border2);
  border-radius: 11px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.18s;
}
.copy-variant-card:hover {
  border-color: var(--indigo);
  background: var(--indigo-dim);
  transform: translateY(-1px);
}
.copy-variant-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--indigo-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.3rem;
  display: block;
}
.copy-variant-card strong { display: block; font-size: 0.83rem; color: var(--white); }
.copy-variant-card span   { font-size: 0.76rem; color: var(--muted); }

/* ── Referral stats ──────────────────────────────────────────────────────── */
.ref-stat {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s;
}
.ref-stat:hover { border-color: var(--border2); }
.ref-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--white);
}
.ref-stat-label { font-size: 0.72rem; color: var(--muted2); margin-top: 0.1rem; }
.ref-link-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.48rem 0.75rem;
  outline: none;
  transition: border-color 0.18s;
}
.ref-link-input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,91,255,0.14); }

/* ── Client cards ────────────────────────────────────────────────────────── */
.client-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  transition: border-color 0.2s, transform 0.2s;
}
.client-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.client-card-name { font-weight: 700; font-size: 0.92rem; color: var(--white); }
.client-card-meta { font-size: 0.74rem; color: var(--muted2); margin-top: 0.2rem; }

/* ── Client filter pills ─────────────────────────────────────────────────── */
.client-pill {
  font-size: 0.74rem;
  padding: 0.24rem 0.68rem;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  transition: all 0.15s;
  font-family: "Geist", sans-serif;
}
.client-pill.active,
.client-pill:hover {
  background: var(--indigo-dim);
  border-color: rgba(99,91,255,0.3);
  color: var(--indigo-light);
}

/* ── PRO badge ───────────────────────────────────────────────────────────── */
.pro-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  padding: 0.14rem 0.45rem;
  border-radius: 5px;
  vertical-align: middle;
  margin-left: 5px;
  box-shadow: 0 2px 8px rgba(245,158,11,0.32);
}
.pro-discount-note { color: var(--amber); font-size: 0.78rem; font-weight: 600; margin-top: 0.3rem; display: block; }

/* ── Toast notification system (final version) ───────────────────────────── */
.toast-global {
  background: rgba(20, 20, 38, 0.96);
  border: 1px solid var(--border2);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}
.toast-global.toast-success {
  background: rgba(0, 46, 28, 0.96);
  border-color: rgba(0, 232, 138, 0.3);
  color: #5effa0;
}
.toast-global.toast-error {
  background: rgba(48, 10, 20, 0.96);
  border-color: rgba(255, 77, 109, 0.3);
  color: #ff8a9a;
}
.toast-global.toast-info {
  background: rgba(10, 10, 40, 0.96);
  border-color: rgba(99, 91, 255, 0.3);
  color: var(--indigo-light);
}

/* ── Budget / pricing table ──────────────────────────────────────────────── */
.budget-table th,
.budget-table td {
  border-bottom: 1px solid var(--border);
}
.budget-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted2);
  font-weight: 600;
}

/* ── Result list ─────────────────────────────────────────────────────────── */
.result-list { color: var(--muted); line-height: 1.6; }

/* ── Sidebar (app sidebar) ───────────────────────────────────────────────── */
.app-sidebar {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 0.7rem;
}
.app-side-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 9px;
  padding: 0.56rem 0.7rem;
  transition: all 0.15s;
  border: 1px solid transparent;
}
.app-side-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.app-side-link.active {
  color: var(--indigo-light);
  background: var(--indigo-dim);
  border-color: rgba(99,91,255,0.22);
}
.app-side-label {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted2);
  font-weight: 700;
  padding: 0.35rem 0.45rem;
}

/* ── Share buttons ───────────────────────────────────────────────────────── */
.share-btn {
  font-size: 0.75rem;
  padding: 0.3rem 0.72rem;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  transition: all 0.15s;
  font-family: "Geist", sans-serif;
}
.share-btn:hover {
  background: var(--indigo-dim);
  border-color: rgba(99,91,255,0.3);
  color: var(--indigo-light);
}

/* ── Reveal animation (keep existing but improve) ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 480ms ease forwards;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Smooth global transitions ───────────────────────────────────────────── */
a { transition: color 0.15s; }
button { transition: all 0.15s ease; }

/* ── Scrollbar (webkit) ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border3); }

/* ── Selection highlight ─────────────────────────────────────────────────── */
::selection { background: rgba(99,91,255,0.32); color: var(--white); }

/* ── Code / pre ──────────────────────────────────────────────────────────── */
code, pre {
  font-family: "Geist Mono", "Fira Code", monospace;
  font-size: 0.84em;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15em 0.4em;
}

/* ── Inline stat highlight inside cards ─────────────────────────────────── */
.stat-hi { color: var(--indigo-light); font-weight: 700; }
.stat-green { color: var(--emerald); font-weight: 700; }
.stat-amber { color: var(--amber); font-weight: 700; }

/* ── "LIVE" badge for real performance data ──────────────────────────────── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(0,232,138,0.12);
  color: var(--emerald);
  border: 1px solid rgba(0,232,138,0.28);
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
}
.live-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse-dot 2s infinite;
}

/* ── Pricing page specific (pricing.html overrides) ──────────────────────── */
.pricing-hero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.03em;
}
.pricing-card {
  background: var(--surface2) !important;
  border-color: var(--border2) !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  border-color: var(--border3) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg) !important;
}
.pricing-card.pro {
  background: linear-gradient(145deg, rgba(99,91,255,0.08), var(--surface2)) !important;
}
.pricing-card ul li { color: var(--muted) !important; }
.plan-badge {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-light)) !important;
  box-shadow: 0 4px 12px rgba(99,91,255,0.4);
}
.faq-item summary { color: var(--white); transition: color 0.15s; }
.faq-item summary:hover { color: var(--indigo-light); }
.faq-item p { color: var(--muted); }

/* ── Step-by-step launch section ─────────────────────────────────────────── */
.steps-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.step-card {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover {
  border-color: rgba(99,91,255,0.35);
  transform: translateY(-3px);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.step-t {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.step-d {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testi-section {
  max-width: 980px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: left;
}
.testi-card {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.testi-card:hover {
  border-color: rgba(99,91,255,0.3);
  transform: translateY(-2px);
}
.testi-stars {
  color: #ffb800;
  font-size: 1rem;
  letter-spacing: 0.1em;
}
.testi-q {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
}
.testi-role {
  font-size: 0.75rem;
  color: var(--muted2);
}
@media (max-width: 760px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ── Trust badges strip ───────────────────────────────────────────────────── */
.trust-section {
  max-width: 920px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.5rem;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding: 1.4rem 2rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.trust-badge svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* ── Competitive edge table ───────────────────────────────────────────────── */
.edge-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}
.edge-table {
  margin-top: 2.5rem;
  border: 1px solid var(--border2);
  border-radius: 16px;
  overflow: hidden;
  font-size: 0.84rem;
  text-align: center;
}
.edge-head, .edge-row {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr 1.1fr 1.1fr;
  border-bottom: 1px solid var(--border);
}
.edge-head {
  background: var(--surface3);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.75rem 0;
}
.edge-head > div, .edge-row > div {
  padding: 0.7rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.edge-head > div:first-child, .edge-row > div:first-child {
  justify-content: flex-start;
  padding-left: 1.2rem;
  text-align: left;
}
.edge-row:last-child { border-bottom: none; }
.edge-row:nth-child(odd) { background: rgba(255,255,255,0.015); }
.edge-feat { color: var(--muted); font-size: 0.83rem; }
.edge-us { background: rgba(99,91,255,0.07); }
.edge-yes { color: var(--emerald); font-weight: 700; font-size: 1rem; }
.edge-no  { color: rgba(255,77,109,0.7); font-weight: 700; font-size: 1rem; }
.edge-semi { color: var(--amber); font-weight: 700; font-size: 1rem; }
.edge-head .edge-us { color: var(--indigo-light); font-weight: 800; }
@media (max-width: 600px) {
  .edge-head, .edge-row { grid-template-columns: 2fr 1fr 1fr; }
  .edge-head > div:nth-child(4), .edge-head > div:nth-child(5),
  .edge-row > div:nth-child(4), .edge-row > div:nth-child(5) { display: none; }
}

/* ── Homepage FAQ accordion ───────────────────────────────────────────────── */
.faq-section {
  max-width: 720px;
  margin: 4rem auto 2rem;
  padding: 0 1.5rem;
  text-align: center;
}
.faq-list {
  margin-top: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.faq-item {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item[open] {
  border-color: rgba(99,91,255,0.3);
}
.faq-q {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.15s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--muted2);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.faq-item[open] .faq-q::after {
  content: "−";
}
.faq-q:hover { color: var(--indigo-light); }
.faq-a {
  padding: 0 1.2rem 1rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Cookie Consent Banner ──────────────────────────────────────────────────── */
#cookieConsent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(12, 25, 35, 0.97);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: transform 0.3s ease;
}
#cookieConsent.hidden { transform: translateY(110%); }
#cookieConsent p { margin: 0; font-size: 0.83rem; color: var(--muted); flex: 1; min-width: 220px; line-height: 1.5; }
#cookieConsent p a { color: var(--brand-strong); text-decoration: underline; }
#cookieConsent .cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
#cookieDeny { background: none; border: 1px solid var(--border); color: var(--muted); padding: 0.4rem 1rem; border-radius: 6px; font-size: 0.82rem; cursor: pointer; }
#cookieAccept { background: var(--brand); border: none; color: #fff; padding: 0.4rem 1.2rem; border-radius: 6px; font-size: 0.82rem; cursor: pointer; font-weight: 600; }
#cookieDeny:hover { border-color: var(--muted); color: var(--ink); }
#cookieAccept:hover { background: var(--brand-strong); }
