/* WAPI — landing page styles (extends app.css) */

.hero {
  padding: 76px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 134, 54, .28), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  color: var(--green-bright);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 12.5px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(30px, 5.4vw, 52px);
  max-width: 900px;
  margin-bottom: 18px;
}

.hero .lead {
  font-size: 19px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13.5px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-facts span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
}

.pricing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
}

.plan:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.plan-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(35, 134, 54, .35), var(--shadow);
}

.plan h3 {
  margin: 0;
  font-size: 17px;
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.plan-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-features li::before {
  content: "✓";
  color: var(--green-bright);
  font-weight: 700;
  flex: none;
}

.plan .btn {
  margin-top: 6px;
}

.engine-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.engine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.engine-head h3 {
  margin: 0;
  font-size: 17px;
}

.engine-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

.engine-card.is-active {
  border-color: var(--green);
}

.how {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: how;
}

.how-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}

.how-item::before {
  counter-increment: how;
  content: counter(how);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.how-item h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.how-item p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

.quickstart pre {
  max-width: 100%;
}

.api-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-row {
  margin-top: 18px;
}

.btn-row .btn {
  margin-top: 0;
}

@media (max-width: 700px) {
  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 30px;
  }

  .plan-price {
    font-size: 28px;
  }
}
