/* ============================================
   Homepage — Page-Specific Styles
   ============================================ */

/* ---- Hero ---- */

.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.home-hero h1 {
  font-size: var(--text-7xl);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.home-hero h1 .highlight {
  color: var(--accent-orange);
}

.home-hero .lead {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 580px;
}

.home-hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero background gradient orbs */
.home-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-slow 8s ease-in-out infinite;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -250px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-slow 10s ease-in-out infinite reverse;
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: var(--space-2xl);
  }
  .home-hero h1 {
    font-size: var(--text-5xl);
  }
  .home-hero .lead {
    font-size: var(--text-lg);
  }
}

@media (max-width: 480px) {
  .home-hero h1 {
    font-size: var(--text-4xl);
  }
  .home-hero__actions {
    flex-direction: column;
  }
  .home-hero__actions .btn {
    width: 100%;
  }
}

/* ---- Stat Bar ---- */

.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat-bar .stat__number {
  font-size: var(--text-5xl);
}

@media (max-width: 768px) {
  .stat-bar {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .stat-bar .stat {
    padding: var(--space-md);
  }
  .stat-bar .stat__number {
    font-size: var(--text-4xl);
  }
}

/* ---- Problem Block ---- */

.problem-block {
  max-width: 800px;
}

.problem-block h2 {
  margin-bottom: var(--space-lg);
}

.problem-block p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.problem-block p:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* ---- How It Works Steps ---- */

.steps {
  counter-reset: step-counter;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-xl);
  align-items: start;
  position: relative;
}

.step + .step {
  margin-top: var(--space-2xl);
}

.step__number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-orange-glow);
  border: 2px solid var(--accent-orange);
  border-radius: 50%;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--accent-orange);
  flex-shrink: 0;
}

/* Connecting line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 80px;
  left: 31px;
  width: 2px;
  height: calc(100% - 16px);
  background: linear-gradient(to bottom, var(--accent-orange), transparent);
}

.step h3 {
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: var(--text-base);
}

@media (max-width: 480px) {
  .step {
    grid-template-columns: 48px 1fr;
    gap: var(--space-md);
  }
  .step__number {
    width: 48px;
    height: 48px;
    font-size: var(--text-lg);
  }
  .step:not(:last-child)::after {
    left: 23px;
    top: 60px;
  }
}

/* ---- Benefits Cards ---- */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.benefit-card {
  padding: var(--space-2xl);
}

.benefit-card .card__icon {
  width: 56px;
  height: 56px;
  font-size: var(--text-2xl);
}

.benefit-card h3 {
  font-size: var(--text-xl);
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Trust Bar ---- */

.trust-section {
  background: var(--bg-secondary);
}

.trust-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.trust-category h6 {
  margin-bottom: var(--space-md);
  text-align: center;
}

/* ---- Social Proof / Quote ---- */

.quote-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text-primary);
  line-height: var(--leading-snug);
  font-style: italic;
  margin-bottom: var(--space-lg);
  position: relative;
}

.quote-block blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent-orange);
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
  font-style: normal;
}

.quote-block cite {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-style: normal;
}

@media (max-width: 768px) {
  .quote-block blockquote {
    font-size: var(--text-xl);
  }
}

/* ---- Integration Logos ---- */

.integration-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
}

.integration-logos span {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.integration-logos span:hover {
  opacity: 1;
  color: var(--text-secondary);
}
