/* ============================================================
   ChatDock marketing site : shared styles
   Dark premium theme, indigo accent #4f46e5, system fonts only
   ============================================================ */

:root {
  --bg: #07070d;
  --bg-soft: #0c0d16;
  --surface: #11121d;
  --surface-2: #171827;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eceef6;
  --text-dim: #9ba0b5;
  --text-faint: #6b7086;
  --accent: #4f46e5;
  --accent-bright: #6d64ff;
  --accent-soft: #818cf8;
  --accent-glow: rgba(79, 70, 229, 0.35);
  --green: #34d399;
  --amber: #fbbf24;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(79, 70, 229, 0.45);
  color: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
    background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #fff;
  box-shadow: 0 4px 22px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(79, 70, 229, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-lg {
  font-size: 16px;
  padding: 15px 30px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 7, 13, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  filter: drop-shadow(0 2px 10px var(--accent-glow));
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
}

.nav-links a {
  transition: color 0.15s ease;
}

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

.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-cta .btn {
  padding: 9px 18px;
  font-size: 14px;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav-inner {
    gap: 12px;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 720px;
  background: radial-gradient(
    ellipse at center,
    rgba(79, 70, 229, 0.22) 0%,
    rgba(79, 70, 229, 0.06) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-soft);
  background: rgba(79, 70, 229, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: linear-gradient(100deg, #a5b4fc 0%, var(--accent-bright) 55%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-note {
  font-size: 13.5px;
  color: var(--text-faint);
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero {
    padding: 64px 0 60px;
  }
}

/* ---------- browser-frame widget mockup ---------- */
.mock-wrap {
  position: relative;
}

.mock-wrap::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  background: radial-gradient(
    ellipse at 60% 45%,
    rgba(79, 70, 229, 0.28),
    transparent 65%
  );
  filter: blur(12px);
  pointer-events: none;
}

.browser {
  position: relative;
  background: linear-gradient(180deg, #141525, #0e0f1a);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.traffic span:nth-child(1) { background: #ff5f57; }
.traffic span:nth-child(2) { background: #febc2e; }
.traffic span:nth-child(3) { background: #28c840; }

.url-pill {
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--text-faint);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-body {
  position: relative;
  padding: 22px;
  min-height: 400px;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(79, 70, 229, 0.07), transparent),
    #0b0c15;
}

/* faux page skeleton behind the widget */
.skeleton .sk-line {
  height: 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  margin-bottom: 12px;
}

.skeleton .sk-hero {
  height: 78px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.028));
  margin-bottom: 20px;
}

.skeleton .sk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.skeleton .sk-card {
  height: 74px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* chat panel */
.chat-panel {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 296px;
  background: #14152355;
  background: linear-gradient(180deg, #191a2c, #12131f);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(79, 70, 229, 0.12);
  overflow: hidden;
  font-size: 13.5px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: linear-gradient(120deg, var(--accent), #6154f0);
}

.chat-avatar {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.chat-head-meta {
  line-height: 1.25;
}

.chat-head-meta strong {
  display: block;
  font-size: 13.5px;
  color: #fff;
}

.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
}

.chat-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.chat-msgs {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 180px;
}

.msg {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 13px;
  line-height: 1.45;
}

.msg.agent {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.msg.visitor {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  border-bottom-left-radius: 4px;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: bounce 1.2s infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 13px;
}

.chat-input .send {
  margin-left: auto;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}

.chat-bubble-float {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.5);
  display: grid;
  place-items: center;
}

@media (max-width: 460px) {
  .chat-panel {
    width: min(280px, calc(100% - 24px));
    right: 12px;
    bottom: 12px;
  }
  .browser-body {
    padding: 14px;
  }
}

/* ---------- logos strip ---------- */
.logos {
  padding: 40px 0 8px;
}

.logos p {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 26px;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 6vw, 64px);
  flex-wrap: wrap;
  filter: grayscale(1);
  opacity: 0.55;
}

.logo-row span {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #cfd3e4;
  white-space: nowrap;
}

.logo-row span em {
  font-style: normal;
  font-weight: 300;
}

/* ---------- sections ---------- */
.section {
  padding: 104px 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-head p {
  font-size: 17px;
  color: var(--text-dim);
}

/* ---------- features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 0 24px rgba(79, 70, 229, 0.1);
}

.feature:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.22);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent-soft);
}

.feature h3 {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14.5px;
  color: var(--text-dim);
}

@media (max-width: 940px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- install ---------- */
.install {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(79, 70, 229, 0.09), transparent),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.code-card {
  background: #0a0b12;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: var(--mono);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  padding: 5px 11px;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.copy-btn.copied {
  color: var(--green);
  border-color: rgba(52, 211, 153, 0.4);
}

.code-card pre {
  padding: 20px 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.8px;
  line-height: 1.7;
}

.code-card code .tag { color: #7dd3fc; }
.code-card code .attr { color: #a5b4fc; }
.code-card code .val { color: #86efac; }
.code-card code .punc { color: #64748b; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 26px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.3);
  color: var(--accent-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}

.step h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 14.5px;
  color: var(--text-dim);
}

@media (max-width: 880px) {
  .install-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.plan:hover {
  transform: translateY(-4px);
}

.plan.featured {
  background: linear-gradient(180deg, #1a1b30, #12132a);
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.15),
    0 24px 60px rgba(79, 70, 229, 0.18);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, var(--accent-bright), var(--accent));
  border-radius: 999px;
  padding: 5px 16px;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
  white-space: nowrap;
}

.plan-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.plan.featured .plan-name {
  color: var(--accent-soft);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.plan-price .amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price .period {
  font-size: 14.5px;
  color: var(--text-faint);
}

.plan-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
  min-height: 42px;
}

.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 30px;
  flex: 1;
}

.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-dim);
}

.plan li svg {
  flex: none;
  margin-top: 3px;
  color: var(--green);
}

.plan.featured li {
  color: #c3c7dc;
}

.plan .btn {
  width: 100%;
}

@media (max-width: 880px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .plan.featured {
    order: -1;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(129, 140, 248, 0.3);
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .chev {
  flex: none;
  transition: transform 0.25s ease;
  color: var(--text-faint);
}

.faq-list details[open] summary .chev {
  transform: rotate(180deg);
  color: var(--accent-soft);
}

.faq-body {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-dim);
  max-width: 60ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: 110px 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -280px;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(
    ellipse at center,
    rgba(79, 70, 229, 0.3),
    transparent 65%
  );
  pointer-events: none;
}

.cta-band h2 {
  position: relative;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-band p {
  position: relative;
  font-size: 17px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 34px;
}

.cta-band .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 40px;
  background: var(--bg-soft);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-faint);
  max-width: 280px;
}

.footer-cols {
  display: flex;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-faint);
}

/* ============================================================
   Demo store (Northwind Supply)
   ============================================================ */

.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, #4338ca, var(--accent), #6d28d9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.demo-banner a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-banner a:hover {
  opacity: 0.85;
}

body.demo {
  background: #f6f5f1;
  color: #1c1b18;
  padding-top: 40px;
}

.store-nav {
  position: sticky;
  top: 40px;
  z-index: 100;
  background: rgba(246, 245, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e4e1d8;
}

.store-nav-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 64px;
}

.store-brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1c1b18;
  display: flex;
  align-items: center;
  gap: 9px;
}

.store-brand .nw-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1c1b18;
  color: #f6f5f1;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.store-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  color: #6d6a60;
}

.store-links a:hover {
  color: #1c1b18;
}

.store-cart {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1c1b18;
  background: #fff;
  border: 1px solid #e4e1d8;
  border-radius: 999px;
  padding: 8px 16px;
}

@media (max-width: 640px) {
  .store-links {
    display: none;
  }
}

.store-hero {
  background: linear-gradient(135deg, #23221e 0%, #35332c 60%, #3f3c31 100%);
  color: #f6f5f1;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.store-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 108, 0.25), transparent 70%);
}

.store-hero-inner {
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.store-hero .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9b46c;
  margin-bottom: 14px;
}

.store-hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 16px;
}

.store-hero p {
  font-size: 16.5px;
  color: #c9c6ba;
  margin-bottom: 28px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d9b46c;
  color: #23221e;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 13px 26px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(217, 180, 108, 0.35);
}

.store-section {
  padding: 72px 0 90px;
}

.store-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.store-section-head h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.store-section-head p {
  color: #6d6a60;
  font-size: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product {
  background: #fff;
  border: 1px solid #e4e1d8;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28, 27, 24, 0.1);
}

.product-visual {
  height: 190px;
  display: grid;
  place-items: center;
  font-size: 74px;
  position: relative;
}

.product-visual .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #1c1b18;
  color: #fff;
  border-radius: 999px;
  padding: 4px 11px;
}

.pv-1 { background: linear-gradient(135deg, #e8e4f8, #d4ceef); }
.pv-2 { background: linear-gradient(135deg, #fdeedd, #f7dcc0); }
.pv-3 { background: linear-gradient(135deg, #ddefe4, #c4e3d1); }
.pv-4 { background: linear-gradient(135deg, #fde3e0, #f8ccc7); }
.pv-5 { background: linear-gradient(135deg, #e3edf9, #cbdcf1); }
.pv-6 { background: linear-gradient(135deg, #f7f3d9, #efe6b4); }

.product-info {
  padding: 18px 20px 22px;
}

.product-info h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.product-info .desc {
  font-size: 13.5px;
  color: #6d6a60;
  margin-bottom: 14px;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price .was {
  font-size: 13px;
  font-weight: 500;
  color: #a09c8e;
  text-decoration: line-through;
  margin-right: 7px;
}

.add-btn {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: #1c1b18;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.add-btn:hover {
  background: #35332c;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.store-strip {
  background: #ecebe4;
  border-top: 1px solid #e4e1d8;
  border-bottom: 1px solid #e4e1d8;
  padding: 26px 0;
}

.strip-row {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 70px);
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: #55534a;
}

.strip-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-footer {
  background: #23221e;
  color: #a09c8e;
  padding: 40px 0;
  font-size: 13.5px;
}

.store-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.store-footer strong {
  color: #f6f5f1;
}
