/* Landing page */

.hero-pro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(20px, 3vw, 36px) 0 clamp(52px, 6vw, 86px);
}

.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 20px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(27, 133, 156, 0.12);
}

.hero-content h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--text);
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 72%, var(--brand-yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content .lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 32px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

/* Let grid children shrink below their content size (prevents mobile overflow) */
.hero-pro > * { min-width: 0; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
}

.trust-chip svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-glow {
  position: absolute;
  inset: 10% 0 10% 10%;
  background: radial-gradient(circle, rgba(27, 133, 156, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-card-stack {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.preview-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 253, 255, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(37, 183, 70, 0.06), transparent 32%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
  animation: float-in 0.6s ease both;
}

.preview-card:nth-child(2) { animation-delay: 0.1s; margin-left: 24px; }
.preview-card:nth-child(3) { animation-delay: 0.2s; margin-left: 48px; }

@keyframes float-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.preview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.preview-card-head strong {
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.preview-card-head .badge { flex-shrink: 0; }

.preview-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.preview-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-subtle);
  margin-top: 14px;
  overflow: hidden;
}

.preview-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.stat-tile {
  text-align: center;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-tile strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand);
  margin-bottom: 4px;
}

.stat-tile span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.step-card {
  position: relative;
  padding: 28px 24px 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 133, 156, 0.22);
  box-shadow: var(--shadow);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.api-section {
  margin-top: 16px;
}

.cta-card {
  margin-top: 8px;
}

.cta-card .card-header {
  padding-bottom: 8px;
}

@media (max-width: 960px) {
  .hero-pro { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .preview-card:nth-child(2),
  .preview-card:nth-child(3) { margin-left: 0; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .stats-strip { grid-template-columns: 1fr; }
}


