/* ============================================
   Verbate ERG Skills Library — Stylesheet
   ============================================ */

/* ============ VARIABLES ============ */
:root {
  --purple: #7B61FF;
  --purple-light: #EDE9FF;
  --purple-deep: #602CC8;
  --coral: #F2734A;
  --coral-light: #FFF0EB;
  --sky: #5CB8E4;
  --sky-light: #E8F5FC;
  --pink: #F5A0C0;
  --cream: #FDFCFA;
  --warm-white: #FFFFFF;
  --text-primary: #1A1625;
  --text-secondary: #5C5470;
  --text-muted: #8E849A;
  --border: #EDE9E3;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-subheading: 'Noto Sans', system-ui, sans-serif;
  --font-body: 'Noto Sans', system-ui, sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(80px, 10vw, 140px);
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ UTILITY ============ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section-pad { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 1px 12px rgba(26, 22, 37, 0.06); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.logo-img-sm {
  height: 22px;
}
.nav-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--purple-deep); transform: translateY(-1px); }

/* ============ HERO ============ */
.hero {
  padding-top: calc(64px + clamp(60px, 8vw, 120px));
  padding-bottom: clamp(60px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 80px;
  right: -120px;
  width: 340px;
  height: 340px;
  border: 3px solid var(--purple-light);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: var(--coral-light);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.trust-pill .star { color: #F5A623; font-size: 13px; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 780px;
  margin-bottom: 24px;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--purple);
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 30px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(123, 97, 255, 0.25);
}
.btn-primary:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(123, 97, 255, 0.3);
}
.btn-secondary {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 14px 8px;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--purple); }
.btn-secondary svg { display: inline-block; vertical-align: middle; margin-left: 4px; transition: transform 0.2s; }
.btn-secondary:hover svg { transform: translateY(2px); }

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.platform-strip .sep { width: 4px; height: 4px; background: var(--border); border-radius: 50%; }
.platform-strip span { display: flex; align-items: center; gap: 5px; }

/* ============ SECTION LABELS ============ */
.section-label {
  font-family: var(--font-subheading);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ============ PROBLEM SECTION ============ */
.problem-section { background: var(--warm-white); }
.problem-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  max-width: 650px;
  margin-bottom: 56px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.pain-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 22, 37, 0.06);
}
.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.pain-card:nth-child(1) .pain-icon { background: var(--coral-light); color: var(--coral); }
.pain-card:nth-child(2) .pain-icon { background: var(--sky-light); color: var(--sky); }
.pain-card:nth-child(3) .pain-icon { background: var(--purple-light); color: var(--purple); }
.pain-card h3 {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.pain-card p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

/* ============ SOLUTION SECTION ============ */
.solution-section { position: relative; }
.solution-section::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 40px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--purple-light) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.6;
  pointer-events: none;
}
.solution-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
}
.solution-intro {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 56px;
  line-height: 1.65;
}

/* Comparison box */
.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(26, 22, 37, 0.05);
}
.comp-side { padding: clamp(32px, 4vw, 48px); }
.comp-before { background: #F9F7F4; }
.comp-after { background: var(--purple-deep); color: #fff; }
.comp-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comp-before .comp-label { color: var(--text-muted); }
.comp-after .comp-label { color: rgba(255,255,255,0.7); }
.comp-label i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.comp-before .comp-label i { background: var(--coral); }
.comp-after .comp-label i { background: #A8FF9B; }
.comp-side h3 {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 16px;
  line-height: 1.25;
}
.comp-side p { font-size: 16px; line-height: 1.65; opacity: 0.88; }
.comp-before p { color: var(--text-secondary); }
.comp-steps { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.comp-step { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.comp-step .num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}
.comp-result {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comp-result .arrow { font-size: 18px; }

/* ============ SKILL LIBRARY ============ */
.library-section { background: var(--warm-white); position: relative; }
.library-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: 60px;
  width: 160px;
  height: 160px;
  border: 3px solid var(--sky-light);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.library-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  max-width: 600px;
  margin-bottom: 16px;
}
.lib-intro {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.65;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.category-card {
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--cream);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 22, 37, 0.06);
}
.cat-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.cat-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cat-strategic .cat-dot { background: var(--purple); }
.cat-comms .cat-dot { background: var(--coral); }
.cat-ops .cat-dot { background: var(--pink); }
.cat-pm .cat-dot { background: var(--sky); }
.cat-header h3 { font-family: var(--font-subheading); font-weight: 700; font-size: 20px; line-height: 1.2; }
.audience-group { margin-bottom: 48px; }
.audience-group:last-child { margin-bottom: 0; }
.audience-label {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple);
  margin-bottom: 20px;
}
.category-grid-pm {
  grid-template-columns: 1fr;
  max-width: 50%;
}
.skill-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.skill-list li { padding-left: 0; display: flex; flex-direction: column; gap: 2px; }
.skill-name { font-weight: 600; font-size: 15px; color: var(--text-primary); }
.skill-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ============ HOW IT WORKS ============ */
.how-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  max-width: 550px;
  margin-bottom: 20px;
}
.how-intro {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 56px;
  line-height: 1.65;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.step-card { text-align: left; }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--purple-light);
  color: var(--purple);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step-card h3 { font-family: var(--font-subheading); font-weight: 700; font-size: 20px; margin-bottom: 4px; line-height: 1.25; }
.step-time { font-size: 13px; font-weight: 600; color: var(--purple); margin-bottom: 10px; }
.step-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.no-friction-box {
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.06), rgba(242, 115, 74, 0.06));
  border: 2px solid var(--purple);
  border-radius: 16px;
  padding: 36px 44px;
  text-align: center;
  font-size: 19px;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 4px 24px rgba(123, 97, 255, 0.12);
}
.no-friction-box strong { color: var(--purple); }

/* ============ SOCIAL PROOF ============ */
.proof-section { background: var(--warm-white); position: relative; overflow: hidden; }
.proof-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -100px;
  width: 260px;
  height: 260px;
  background: var(--coral-light);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
}
.proof-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  max-width: 600px;
  margin-bottom: 16px;
}
.testimonials-embed {
  width: 90vw;
  max-width: 90vw;
  margin: 0 auto;
}
.testimonials-embed iframe {
  width: 100%;
  min-height: 300px;
}
.stats-row { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 48px; align-items: baseline; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: clamp(32px, 4vw, 44px); color: var(--purple); line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }
.stat-stars { font-size: 14px; color: #F5A623; margin-top: 6px; }

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 22, 37, 0.06);
}
.tq { font-size: 32px; font-family: var(--font-display); color: var(--purple-light); line-height: 1; }
.testimonial-card blockquote { font-size: 16px; line-height: 1.65; color: var(--text-secondary); flex: 1; font-style: italic; }
.testimonial-author { display: flex; flex-direction: column; }
.testimonial-author strong { font-size: 15px; color: var(--text-primary); font-weight: 600; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ============ FINAL CTA ============ */
.cta-section { text-align: center; }
.cta-box {
  background: var(--purple-deep);
  border-radius: 24px;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 64px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border: 3px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -20px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.cta-box h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
}
.cta-box p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  line-height: 1.6;
}
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 34px;
  background: #fff;
  color: var(--purple);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
  position: relative;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.cta-email { margin-top: 20px; font-size: 14px; opacity: 0.7; position: relative; }
.cta-email a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ============ FOOTER ============ */
footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-links { display: flex; gap: 28px; align-items: center; }
.footer-links a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--purple); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .steps-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(32px, 7vw, 44px); }
  .comparison-box { grid-template-columns: 1fr; }
  .stats-row { gap: 24px; }
  .testimonials { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-grid-pm { max-width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .steps-row { grid-template-columns: 1fr; }
  .no-friction-box { padding: 24px 20px; font-size: 16px; }
}
