/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 5rem) 0 4rem;
  overflow: hidden;
  text-align: center;
}

/* Radial beam from top */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 260px;
  background: linear-gradient(to bottom, rgba(124,106,245,.55), transparent);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 65% at 50% -10%, rgba(124,106,245,.24), transparent 60%),
    radial-gradient(ellipse 55% 35% at 85% 110%, rgba(124,106,245,.1), transparent 55%);
}

/* Animated blob orbs */
.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-blob-1 {
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(124,106,245,.2) 0%, transparent 68%);
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  animation: blob1 16s ease-in-out infinite;
}

.hero-blob-2 {
  width: 500px; height: 420px;
  background: radial-gradient(ellipse, rgba(167,139,250,.14) 0%, transparent 70%);
  top: 15%;
  right: -160px;
  animation: blob2 20s ease-in-out infinite;
}

.hero-blob-3 {
  width: 420px; height: 420px;
  background: radial-gradient(ellipse, rgba(196,181,253,.1) 0%, transparent 70%);
  bottom: -100px;
  left: -120px;
  animation: blob3 24s ease-in-out infinite;
}

@keyframes blob1 {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  40%       { transform: translateX(-47%) translateY(-35px) scale(1.04); }
  70%       { transform: translateX(-53%) translateY(15px) scale(0.97); }
}
@keyframes blob2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-40px) scale(1.06); }
}
@keyframes blob3 {
  0%, 100% { transform: translateX(0) scale(1); }
  50%       { transform: translateX(30px) scale(0.94); }
}

.hero-center {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero badge — now a link */
a.hero-badge, .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(124,106,245,.3);
  background: rgba(124,106,245,.1);
  color: var(--accent-alt);
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
a.hero-badge:hover {
  background: rgba(124,106,245,.18);
  border-color: rgba(124,106,245,.45);
  transform: translateY(-1px);
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-badge-chevron { opacity: .7; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: -.05em;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Special "gradient" emphasis on the hero title */
.hero-title-em {
  font-style: normal;
  display: block;
  background: linear-gradient(110deg, #7c6af5 5%, #c4b5fd 55%, #a78bfa 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 2rem;
}

/* Feature chips row */
.hero-chips {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-chip {
  padding: .4rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(124,106,245,.2);
  background: rgba(124,106,245,.07);
  color: var(--text-secondary);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: border-color .2s, background .2s, color .2s;
  cursor: default;
}
.hero-chip:hover {
  border-color: rgba(124,106,245,.38);
  background: rgba(124,106,245,.13);
  color: var(--text-primary);
}

.hero-buttons {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.hero-dl-btn {
  box-shadow: 0 0 50px rgba(124,106,245,.32);
}
.hero-dl-btn:hover {
  box-shadow: 0 0 75px rgba(124,106,245,.5);
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: .84rem;
}
.hero-trust-sep { opacity: .35; }
.hero-trust-stars { color: #f59e0b; letter-spacing: 1px; }

/* ── Dashboard Showcase ──────────────────────────────────────────────────── */
.dashboard-showcase {
  padding: 0 0 4rem;
  position: relative;
  z-index: 1;
}

.dashboard-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(124,106,245,.18);
  box-shadow:
    0 60px 160px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 -4px 80px rgba(124,106,245,.12);
  max-width: 1100px;
  margin: 0 auto;
}

.dashboard-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(4,5,10,.98);
  border-bottom: 1px solid rgba(124,106,245,.1);
}

.hero-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hero-dot-r { background: #ff5f57; }
.hero-dot-y { background: #febc2e; }
.hero-dot-g { background: #28c840; }

.hero-media-label {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  opacity: .55;
  font-family: var(--font-mono);
}

.dashboard-frame img {
  display: block;
  width: 100%;
  background: #0a0b14;
}

/* Perspective pop-in scroll animation */
.dashboard-pop {
  opacity: 0;
  transform: perspective(1600px) rotateX(14deg) translateY(50px) scale(.98);
  transition:
    opacity 1.1s cubic-bezier(.22,.1,.25,1),
    transform 1.1s cubic-bezier(.22,.1,.25,1);
}
.dashboard-pop.visible {
  opacity: 1;
  transform: perspective(1600px) rotateX(0deg) translateY(0) scale(1);
}

/* ── Ticker strip ─────────────────────────────────────────────────────────── */
.ticker-strip {
  overflow: hidden;
  border-top: 1px solid rgba(124,106,245,.1);
  border-bottom: 1px solid rgba(124,106,245,.1);
  background: rgba(10,11,20,.55);
  padding: 14px 0;
  position: relative;
  z-index: 1;
}
.ticker-strip::before, .ticker-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ticker-strip::before { left: 0;  background: linear-gradient(to right, var(--bg-base), transparent); }
.ticker-strip::after  { right: 0; background: linear-gradient(to left,  var(--bg-base), transparent); }

.ticker-inner {
  display: flex;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  padding: 0 22px;
  font-size: .8rem;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: .5;
}
.ticker-item::before { content: '·'; margin-right: 22px; opacity: .4; }
.ticker-accent { color: var(--accent-alt); opacity: 1; }

/* ── Benchmark stats ─────────────────────────────────────────────────────── */
.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.benchmark-card {
  padding: 2rem 1.25rem;
  border-radius: 18px;
  background: rgba(13,15,26,.9);
  border: 1px solid rgba(124,106,245,.14);
  text-align: center;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.benchmark-card:hover {
  border-color: rgba(124,106,245,.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,106,245,.12);
}

.benchmark-label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .75rem;
  font-weight: 600;
}

.benchmark-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(110deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Features grid ─────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.feature-card-item {
  padding: 1.75rem;
  border-radius: 18px;
  background: rgba(13,15,26,.9);
  border: 1px solid rgba(124,106,245,.1);
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.feature-card-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,106,245,.4), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card-item:hover {
  border-color: rgba(124,106,245,.28);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,106,245,.1);
}
.feature-card-item:hover::before { opacity: 1; }

.feature-card-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: rgba(124,106,245,.12);
  border: 1px solid rgba(124,106,245,.22);
  margin-bottom: 1.1rem;
  color: var(--accent-alt);
}

.feature-card-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--text-primary); }
.feature-card-item p  { color: var(--text-secondary); font-size: .875rem; line-height: 1.65; }

/* ── Steps / How It Works ───────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: linear-gradient(90deg, rgba(124,106,245,.35), transparent 50%, rgba(124,106,245,.35));
}

.step-card {
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: rgba(13,15,26,.9);
  border: 1px solid rgba(124,106,245,.1);
  text-align: center;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.step-card:hover {
  border-color: rgba(124,106,245,.28);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,106,245,.1);
}

.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(13,15,26,.95);
  border: 1px solid rgba(124,106,245,.22);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 800;
  color: var(--accent-alt);
  margin: 0 auto 1.25rem;
  position: relative; z-index: 1;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.step-card:hover .step-num {
  background: rgba(124,106,245,.1);
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(124,106,245,.3);
}

.step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; color: var(--text-primary); }
.step-desc  { font-size: .875rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Reviews (Discord-style) ────────────────────────────────────────────── */
.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.review-card {
  flex: 0 0 calc(33.33% - .7rem);
  min-width: 260px;
  max-width: 400px;
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(13,15,26,.9);
  border: 1px solid rgba(124,106,245,.1);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.review-card:hover {
  border-color: rgba(124,106,245,.28);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,106,245,.1);
}

.review-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.review-author-info { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.review-name   { font-size: .9rem; font-weight: 700; color: var(--text-primary); }
.review-source { font-size: .73rem; color: #7289da; font-weight: 600; letter-spacing: .02em; }
.review-stars  { color: #f59e0b; font-size: .85rem; letter-spacing: 1px; flex-shrink: 0; }
.review-text   { font-size: .875rem; line-height: 1.7; color: var(--text-secondary); }

/* ── Pricing preview ─────────────────────────────────────────────────── */
.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-preview-card {
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: rgba(13,15,26,.85);
  border: 1px solid rgba(124,106,245,.1);
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pricing-preview-card:hover {
  border-color: rgba(124,106,245,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124,106,245,.1);
}

.pricing-preview-card.pricing-preview-featured {
  border-color: rgba(124,106,245,.38);
  background: linear-gradient(160deg, rgba(124,106,245,.1) 0%, rgba(13,15,26,.85) 60%);
  box-shadow: 0 0 0 1px rgba(124,106,245,.12), 0 30px 80px rgba(124,106,245,.12);
  position: relative;
}
.pricing-preview-card.pricing-preview-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  border-radius: 20px 20px 0 0;
}

.pricing-preview-badge {
  display: inline-block;
  background: rgba(124,106,245,.15);
  color: var(--accent-alt);
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 999px;
  margin-bottom: .75rem; align-self: flex-start;
  border: 1px solid rgba(124,106,245,.28);
}

.pricing-preview-name { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }
.pricing-preview-price { display: flex; align-items: baseline; gap: 2px; margin: .5rem 0 .5rem; }
.pricing-preview-currency { font-size: 1rem; color: var(--text-muted); }
.pricing-preview-num {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 800;
  color: var(--text-primary); line-height: 1;
}
.pricing-preview-period { font-size: .85rem; color: var(--text-muted); }
.pricing-preview-desc  { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.5; }
.pricing-preview-list  { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pricing-preview-list li { font-size: .875rem; color: var(--text-secondary); }

/* ── CTA section ───────────────────────────────────────────────────────── */
.cta-section { padding-bottom: 8rem; }

.cta-card {
  background: linear-gradient(145deg, rgba(124,106,245,.1) 0%, rgba(13,15,26,.6) 60%);
  border: 1px solid rgba(124,106,245,.22);
  border-radius: 28px;
  padding: 5.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,106,245,.6), transparent);
}

.cta-glow {
  position: absolute;
  top: -60%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,106,245,.16) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; letter-spacing: -.035em;
  color: var(--text-primary);
  margin: .75rem 0 1rem; position: relative;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 1.05rem; margin-bottom: 2.25rem;
  position: relative; max-width: 500px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex; gap: .9rem;
  justify-content: center; flex-wrap: wrap;
  position: relative;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .features-grid, .steps-grid, .pricing-preview-grid, .benchmark-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid::before { display: none; }
  .review-card { flex: 0 0 calc(50% - .5rem); }
}

@media (max-width: 760px) {
  .hero { padding-top: calc(var(--nav-height) + 3rem); min-height: 75vh; }
  .hero-title { font-size: 2.9rem; letter-spacing: -.035em; }
  .cta-card { padding: 3.5rem 1.5rem; }
}

@media (max-width: 640px) {
  .features-grid, .steps-grid, .pricing-preview-grid, .benchmark-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-actions  { flex-direction: column; align-items: center; }
  .review-card  { flex: 0 0 100%; max-width: 100%; }
}
