/* ============================================================
   VouchCord Marketing Site — site.css
   Shared layout, heroes, bento grids, embed mockups
   ============================================================ */

/* ── Page shell ── */
.site-page {
  position: relative;
  overflow-x: clip;
}

.site-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(168, 85, 247, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(124, 58, 237, 0.06), transparent 45%);
}

.site-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
}

.site-page > *:not(.site-mesh):not(.site-grid-bg) {
  position: relative;
  z-index: 1;
}

/* ── Eyebrow / pills ── */
.site-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-light);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: var(--radius-full);
}

.site-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: sitePulse 2s ease-in-out infinite;
}

@keyframes sitePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.9); }
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 72px 0 56px;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.page-hero__lead {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.page-hero__accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Landing split hero ── */
.landing-hero {
  padding: 48px 0 80px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.landing-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.landing-hero__copy {
  max-width: 560px;
}

.landing-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.landing-hero__subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.landing-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.landing-hero__trust strong {
  color: var(--text-bright);
  font-weight: 700;
}

/* ── Discord embed mockup ── */
.embed-mock {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #313338;
  box-shadow:
    var(--shadow-lg),
    0 0 60px rgba(124, 58, 237, 0.15);
  overflow: hidden;
  animation: embedFloat 6s ease-in-out infinite;
}

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

.embed-mock__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #2b2d31;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b5bac1;
}

.embed-mock__channel-hash {
  color: #80848e;
  font-weight: 700;
}

.embed-mock__body {
  padding: 16px 16px 20px;
  font-family: ui-sans-serif, system-ui, "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.embed-mock__msg {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.embed-mock__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #1e1f22;
}

.embed-mock__avatar--logo {
  object-fit: contain;
  padding: 4px;
  background: #1e1f22;
  box-sizing: border-box;
}

.embed-mock__content {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.embed-mock__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
  line-height: 1.375;
}

.embed-mock__name {
  font-weight: 500;
  font-size: 1rem;
  color: #f2f3f5;
}

.embed-mock__bot-tag {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  height: 15px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: #5865f2;
  border-radius: 3px;
  text-transform: uppercase;
  vertical-align: middle;
}

.embed-mock__time {
  font-size: 0.75rem;
  color: #949ba4;
  font-weight: 400;
}

/* Real VouchCord embed preview (matches dashboard) */
.embed-preview-card {
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  background: #2b2d31;
  border: none;
  max-width: 432px;
  margin-top: 2px;
  font-family: inherit;
}

.embed-preview-card--landing {
  box-shadow: none;
}

.embed-preview-accent {
  width: 4px;
  flex-shrink: 0;
  background: #7c3aed;
}

.embed-preview-body {
  flex: 1;
  padding: 12px 16px 10px;
  min-width: 0;
  overflow: hidden;
}

.embed-preview-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f2f3f5;
  margin-bottom: 12px;
  line-height: 1.25;
}

.embed-preview-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.embed-preview-field-block {
  margin-bottom: 12px;
  font-size: 0.875rem;
  line-height: 1.375;
}

.embed-preview-field-block:last-child {
  margin-bottom: 0;
}

.embed-preview-field-block .epr-name {
  color: #949ba4;
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
}

.embed-preview-field-block .epr-val {
  color: #dbdee1;
  word-break: break-word;
  white-space: pre-wrap;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.epr-emoji {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}

.epr-bar {
  color: #949ba4;
  font-weight: 500;
  user-select: none;
}

.epr-label-t {
  color: #949ba4;
  font-weight: 600;
}

.epr-val-t {
  color: #dbdee1;
}

.epr-mention {
  display: inline;
  padding: 0 2px;
  border-radius: 3px;
  background: rgba(88, 101, 242, 0.3);
  color: #c9cdfb;
  font-weight: 500;
}

.embed-preview-footer {
  margin-top: 10px;
  font-size: 0.75rem;
  color: #949ba4;
  line-height: 1.3;
}

.embed-mock__glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ── Stats strip ── */
.stats-strip {
  padding: 0 0 64px;
}

.stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
}

.stats-strip__item {
  padding: 28px 20px;
  text-align: center;
  background: var(--panel);
  transition: background var(--transition-fast);
}

.stats-strip__item:hover {
  background: var(--panel-hover);
}

.stats-strip__value {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-strip__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section blocks ── */
.site-section {
  padding: 80px 0;
}

.site-section--alt {
  background: rgba(18, 18, 26, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.site-section__head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.site-section__head p {
  font-size: 1.0625rem;
}

/* ── Bento feature grid ── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: stretch;
}

.bento-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.bento-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(124, 58, 237, 0.08);
}

.bento-card--half { grid-column: span 6; }
.bento-card--wide { grid-column: span 6; }
.bento-card--full { grid-column: span 12; }
.bento-card--tall { grid-column: span 4; grid-row: span 1; }
.bento-card--hero { grid-column: span 8; }
.bento-card--premium {
  border-color: rgba(124, 58, 237, 0.2);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.08), var(--panel));
}

.bento-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  color: var(--accent-light);
  margin-bottom: 16px;
}

.bento-card__icon--premium {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(168, 85, 247, 0.15));
}

.bento-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
}

.bento-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  width: fit-content;
}

/* ── How it works steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  counter-increment: step;
}

.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.85;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9375rem;
}

/* ── Showcase split (dashboard highlight) ── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase__panel {
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.showcase__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
}

.showcase__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-dim);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase__check svg {
  width: 12px;
  height: 12px;
}

/* ── Dashboard preview mock ── */
.dash-mock {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-secondary);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dash-mock__bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.dash-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.dash-mock__dot:first-child { background: #ef4444; }
.dash-mock__dot:nth-child(2) { background: #f59e0b; }
.dash-mock__dot:nth-child(3) { background: #22c55e; }

.dash-mock__body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 220px;
}

.dash-mock__sidebar {
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-mock__nav-item {
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.dash-mock__nav-item--active {
  background: var(--accent-dim);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.dash-mock__main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-mock__stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-mock__stat {
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--border);
}

.dash-mock__chart {
  flex: 1;
  min-height: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.15), transparent);
  border: 1px solid var(--border);
}

/* ── CTA band ── */
.cta-band {
  padding: 80px 0;
  text-align: center;
}

.cta-band__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(124, 58, 237, 0.25);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.18), transparent 60%),
    var(--panel);
}

.cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 1.0625rem;
  margin-bottom: 28px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero--compact {
  padding: 56px 0 32px;
}

.page-hero--compact .page-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

/* Pricing trust pills in hero */
.pricing-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.pricing-trust-pill {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .landing-hero__grid,
  .showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .landing-hero__copy {
    max-width: none;
    text-align: center;
  }

  .landing-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-hero__actions,
  .landing-hero__trust {
    justify-content: center;
  }

  .bento-card,
  .bento-card--half,
  .bento-card--wide,
  .bento-card--hero,
  .bento-card--full {
    grid-column: span 6;
  }

  .stats-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .landing-hero {
    min-height: auto;
    padding: 32px 0 56px;
  }

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

  .bento-card,
  .bento-card--wide,
  .bento-card--hero,
  .bento-card--tall,
  .bento-card--half,
  .bento-card--full {
    grid-column: span 12;
  }

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

  .page-hero {
    padding: 48px 0 36px;
  }

  .site-section {
    padding: 56px 0;
  }

  .cta-band__inner {
    padding: 40px 24px;
  }
}
