/* PersonaEcho — dark cinematic theme */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0d1a;
  --bg-soft: #0e1224;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9ebf5;
  --text-muted: #a0a7c0;
  --gold: #e5a83b;
  --gold-soft: #f0c46a;
  --gold-ink: #1c1204;
  --purple: #7c5ce0;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
a { color: inherit; }

/* ---------- Nav ---------- */
nav {
  background: rgba(10, 13, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 2rem;
  gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ---------- CTAs ---------- */
.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--gold-ink);
  padding: 0.9rem 2.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 28px rgba(229, 168, 59, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(229, 168, 59, 0.4);
}
.cta-small { padding: 0.5rem 1.25rem; font-size: 0.92rem; margin-left: 0.25rem; }
.cta-large { padding: 1.05rem 2.5rem; font-size: 1.12rem; }
.cta-invert {
  background: var(--bg);
  color: var(--gold-soft);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.cta-invert:hover { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 75% 20%, rgba(124, 92, 224, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 90%, rgba(229, 168, 59, 0.1), transparent 60%),
    linear-gradient(160deg, #10142a 0%, var(--bg) 55%, #070912 100%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(10, 12, 26, 0.80) 0%, rgba(10, 12, 26, 0.55) 45%, rgba(7, 9, 18, 0.88) 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-glow--purple {
  width: 560px; height: 560px;
  right: -120px; top: -140px;
  background: rgba(124, 92, 224, 0.32);
}
.hero-glow--gold {
  width: 420px; height: 420px;
  left: -140px; bottom: -160px;
  background: rgba(229, 168, 59, 0.16);
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.3rem);
  max-width: 15ch;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #ffffff 30%, #cdd3ea 70%, var(--gold-soft) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p {
  font-size: 1.25rem;
  max-width: 56ch;
  margin-bottom: 2.4rem;
  color: var(--text-muted);
}

/* ---------- Sections ---------- */
section { padding: 5.5rem 2rem; max-width: 1200px; margin: 0 auto; }
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.subtitle {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 3.5rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem;
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
}
.feature:hover {
  transform: translateY(-5px);
  background: var(--surface-hover);
  border-color: var(--border-strong);
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--gold-soft);
  background: rgba(229, 168, 59, 0.1);
  border: 1px solid rgba(229, 168, 59, 0.25);
}
.feature-icon svg { width: 27px; height: 27px; }
.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.feature p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- Audiences ---------- */
.audiences-section {
  max-width: none;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(124, 92, 224, 0.08), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audiences-section > h2,
.audiences-wrap {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.audiences-wrap {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.4rem;
  align-items: center;
}
.audiences-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.audiences-media picture,
.audiences-image {
  display: block;
  width: 100%;
  height: auto;
}
.audiences-image-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 34%, var(--bg-soft) 100%),
    linear-gradient(180deg, transparent 55%, rgba(7, 9, 18, 0.55) 100%);
}
.audiences {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin-top: 0;
}
.audience {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.1rem;
}
.audience h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--gold-soft);
}
.audience p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- How it works ---------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
}
.step { text-align: center; max-width: 270px; }
.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--gold-ink);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 8px 24px rgba(229, 168, 59, 0.3);
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.97rem; }
.step-connector {
  align-self: center;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* ---------- CTA panel ---------- */
.cta-panel {
  max-width: 960px;
  margin: 2rem auto 4rem;
  text-align: center;
  border-radius: 24px;
  padding: 4.5rem 2.5rem;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(124, 92, 224, 0.35), transparent 65%),
    linear-gradient(135deg, #2a1f5c 0%, #171233 55%, #120d26 100%);
  border: 1px solid rgba(124, 92, 224, 0.35);
  box-shadow: var(--shadow);
}
.cta-panel h2 { color: #fff; margin-bottom: 1.2rem; }
.cta-panel p {
  font-size: 1.15rem;
  max-width: 60ch;
  margin: 0 auto 2.4rem;
  color: #c9cde4;
}

/* ---------- Footer ---------- */
footer {
  background: #070912;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  padding: 2.4rem 2rem;
  font-size: 0.95rem;
}

/* ---------- Hero supporting line ---------- */
.hero-support {
  font-size: 1.02rem;
  max-width: 52ch;
  margin-bottom: 2.4rem;
  color: var(--text-muted);
  opacity: 0.82;
}

/* ---------- Why It Pays ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem 2.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.why-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.why-check {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-ink);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}
.why-check svg { width: 17px; height: 17px; }
.why-item p { color: var(--text-muted); font-size: 1.02rem; }
.why-item p strong { color: var(--text); }

/* ---------- Features background video ---------- */
#features.features-section {
  position: relative;
  overflow: hidden;
  max-width: none;
}
.features-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.features-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 12, 26, 0.82) 0%, rgba(10, 12, 26, 0.55) 50%, rgba(7, 9, 18, 0.85) 100%);
  pointer-events: none;
}
.features-section > h2,
.features-section > .subtitle,
.features-section > .features {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- How We Charge (pricing) ---------- */
.pricing-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-model-label {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text);
  margin: 2.5rem 0 1.4rem;
  font-weight: 600;
}
.pricing-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}
.pricing-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pricing-check {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-ink);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}
.pricing-check svg { width: 17px; height: 17px; }
.pricing-item p { color: var(--text-muted); font-size: 1rem; }
.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 auto;
}
.pricing-note strong { color: var(--text); }

/* ---------- Social content band ---------- */
.social-band {
  max-width: none;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(229, 168, 59, 0.08), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.2rem 2rem;
}
.social-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.social-icons { display: flex; gap: 1rem; }
.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.social-icon:hover { transform: translateY(-3px); border-color: var(--border-strong); color: var(--gold-soft); }
.social-icon svg { width: 24px; height: 24px; }
.social-text {
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--text-muted);
  text-align: left;
}
.social-text strong { color: var(--text); }

/* ---------- Trust line ---------- */
.trust {
  margin: 3rem auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 1.12rem;
  color: var(--text);
  font-family: var(--font-display);
  font-style: italic;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: var(--surface);
}
.trust strong { color: var(--gold-soft); font-style: normal; }

/* ---------- CTA secondary button ---------- */
.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 0.9rem 1.9rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border-strong);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.cta-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}

/* ---------- Responsive (new sections) ---------- */
@media (max-width: 820px) {
  .why-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .pricing-list { grid-template-columns: 1fr; }
  .audiences-wrap { grid-template-columns: 1fr; gap: 1.8rem; }
  .audiences { grid-template-columns: 1fr; }
  .social-inner { flex-direction: column; text-align: center; }
  .social-text { text-align: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 340px; width: 100%; }
  .step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
  }
}
@media (max-width: 620px) {
  .nav-container { flex-direction: column; gap: 0.7rem; padding: 0.8rem 1.2rem; }
  .nav-links { gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
  .cta-small { margin-left: 0; }
  .hero { min-height: 78vh; }
  .hero-content { padding: 4rem 1.4rem; }
  .hero p { font-size: 1.08rem; }
  section { padding: 4rem 1.4rem; }
  .cta-panel { padding: 3.5rem 1.6rem; margin-left: 1rem; margin-right: 1rem; }
}
