/* ================================================================
   Levrg — pages.css
   Page-specific blocks: hero, waveform, stats, industries, pipeline,
   compare, live card, pricing, contact, prose, blog, feature grid,
   vertical pills.
   ================================================================ */

/* ============================================================
   HERO (Home and inner heroes)
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  padding-top: 100px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-family: var(--sans);
  font-size: clamp(40px, 6.5vw, 86px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 920px;
  margin-bottom: 30px;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
}
.hero p.sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero .btn-row { justify-content: center; margin-bottom: 90px; }

.hero.hero-inner {
  min-height: auto;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero.hero-inner h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  margin-bottom: 24px;
}
.hero.hero-inner p.sub { margin-bottom: 0; }

/* ============================================================
   WAVEFORM (Home hero)
   ============================================================ */
.waveform-section {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.waveform-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.waveform-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wave-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}
.wave-bars span {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12));
  animation: wave 1.4s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { height: 8px; opacity: 0.4; }
  50%      { height: var(--h, 40px); opacity: 1; }
}
.talk-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 44px;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1) inset,
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 8px rgba(8, 8, 8, 0.9);
  transition: transform 0.25s var(--ease);
}
.talk-pill:hover { transform: scale(1.04); }
.talk-pill::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip-wrap { padding: 0 var(--pad-x) !important; }
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: var(--max);
  margin: 40px auto 0;
}
.stat {
  padding: 48px 32px;
  border-right: 1px solid var(--border);
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.stat .num span { color: var(--accent); }
.stat .lbl {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ============================================================
   INDUSTRIES GRID (Home)
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.industry-card {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 91, 31, 0), transparent);
  transition: background 0.3s;
}
.industry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 91, 31, 0.35);
  background: var(--bg-card-hi);
}
.industry-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.industry-card .i-icon {
  font-size: 24px;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}
.industry-card h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--text);
}
.industry-card p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ============================================================
   VERTICAL PILLS (Product page)
   ============================================================ */
.vertical-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}
.vertical-pill {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.vertical-pill:hover {
  border-color: rgba(255, 91, 31, 0.4);
  color: var(--text);
  background: rgba(255, 91, 31, 0.05);
}

/* ============================================================
   PIPELINE (how it works)
   ============================================================ */
.pipeline {
  position: relative;
  padding: 60px 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  overflow: hidden;
}
.pipeline::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(255, 91, 31, 0.18), transparent 70%);
  pointer-events: none;
}
.pipe-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
  position: relative;
}
.stage {
  padding: 24px 20px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: left;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.stage:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.stage .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.stage h4 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.stage p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.stage .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 91, 31, 0.1);
  border: 1px solid rgba(255, 91, 31, 0.25);
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 15px;
}
.pipe-flow {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pipe-flow span { color: var(--accent); }

/* ============================================================
   COMPARE CARDS (Why Levrg)
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-card {
  padding: 40px 36px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
}
.compare-card.them { opacity: 0.65; }
.compare-card.us {
  border-color: rgba(255, 91, 31, 0.35);
  background: linear-gradient(180deg, rgba(255, 91, 31, 0.06), rgba(255, 91, 31, 0.01));
  box-shadow: 0 0 60px rgba(255, 91, 31, 0.08);
}
.compare-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.compare-card.us .compare-tag { color: var(--accent); }
.compare-card h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.compare-card h3 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}
.compare-card .who {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.compare-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.compare-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  margin-top: 3px;
}
.compare-card.us .compare-list li { color: var(--text); }
.compare-card.us .compare-list li::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ============================================================
   LIVE CARD (TCB teaser on Home)
   ============================================================ */
.live-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
}
.live-left {
  padding: 56px 48px;
  border-right: 1px solid var(--border);
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 91, 31, 0.12);
  border: 1px solid rgba(255, 91, 31, 0.3);
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.live-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.live-left h3 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.live-left h3 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}
.live-left .where {
  font-size: 14px;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.live-left p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 18px;
}
.live-right {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  background: linear-gradient(180deg, rgba(255, 91, 31, 0.04), transparent);
}
.live-stat { display: flex; flex-direction: column; gap: 6px; }
.live-stat .v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.live-stat .v span { color: var(--accent); }
.live-stat .l {
  font-size: 13px;
  color: var(--text-dim);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  text-align: center;
  padding: 140px var(--pad-x) 80px;
  position: relative;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 91, 31, 0.18), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.cta-final h2 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 880px;
  margin: 0 auto 24px;
}
.cta-final h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-final p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 40px;
}
.cta-final .btn-row { justify-content: center; }

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: rgba(255, 91, 31, 0.35);
  background: linear-gradient(180deg, rgba(255, 91, 31, 0.06), rgba(255, 91, 31, 0.01));
  box-shadow: 0 0 60px rgba(255, 91, 31, 0.08);
  position: relative;
}
.price-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -11px;
  left: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.price-card .tagline {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.price-amount {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.price-amount .currency {
  font-family: var(--sans);
  font-style: normal;
  font-size: 24px;
  color: var(--text-dim);
  vertical-align: super;
  margin-right: 4px;
}
.price-amount .period {
  font-family: var(--sans);
  font-style: normal;
  font-size: 14px;
  color: var(--text-dim);
}
.price-card .note {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 32px;
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.price-features li::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 91, 31, 0.15);
  border: 1px solid rgba(255, 91, 31, 0.4);
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-6' stroke='%23ff5b1f' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.price-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card-hi);
  box-shadow: 0 0 0 3px rgba(255, 91, 31, 0.15);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .btn { align-self: flex-start; margin-top: 10px; }

.contact-info {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
}
.contact-info h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.contact-info .info-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .info-block:last-child { border-bottom: none; }
.contact-info .info-label {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.contact-info .info-value {
  font-size: 15px;
  color: var(--text);
}
.contact-info .info-value a { color: var(--accent); }

/* ============================================================
   BLOG LIST
   ============================================================ */
.blog-empty {
  padding: 80px 40px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.015);
}
.blog-empty h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.blog-empty h3 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}
.blog-empty p {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   PROSE (Privacy / Terms / About)
   ============================================================ */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 60px 0 18px;
  letter-spacing: -0.015em;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}
.prose h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 32px 0 12px;
  color: var(--text);
}
.prose p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.prose ul {
  margin: 0 0 24px 0;
  padding-left: 0;
}
.prose ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 10px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(255, 91, 31, 0.3);
}
.prose a:hover { border-bottom-color: var(--accent); }
.prose .updated {
  font-size: 13px;
  color: var(--text-faint);
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   FEATURE GRID (Product page)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-card);
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.feature-card .f-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 91, 31, 0.1);
  border: 1px solid rgba(255, 91, 31, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 18px;
}
.feature-card h4 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .hero { padding-top: 60px; }
  .hero .btn-row { margin-bottom: 60px; }

  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--border); padding: 36px 24px; }
  .stat:nth-child(odd)  { border-right: 1px solid var(--border); }
  .stat:nth-child(even) { border-right: none; }

  .pipe-stages { grid-template-columns: 1fr 1fr; gap: 14px; }
  .compare { grid-template-columns: 1fr; }

  .live-card { grid-template-columns: 1fr; }
  .live-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 40px 32px;
  }
  .live-right { padding: 40px 32px; }

  .talk-pill { padding: 16px 32px; font-size: 15px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

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

@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  .pipe-stages { grid-template-columns: 1fr; }
  .stat .num { font-size: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pipeline { padding: 40px 20px; }
  .vertical-pill { padding: 8px 14px; font-size: 12px; }
}
