/* Page-level styles: hero, sections, pricing, footer */

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

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 80px;
  background:
    radial-gradient(70% 60% at 50% 10%, rgba(255, 106, 0, 0.1), transparent),
    radial-gradient(50% 40% at 80% 80%, rgba(139, 92, 246, 0.08), transparent),
    var(--bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: linear-gradient(180deg, #fff 30%, #b9b9c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 36px;
}

.hero-prompt {
  display: flex;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  transition: border-color 0.15s;
}

.hero-prompt:focus-within {
  border-color: var(--accent);
}

.hero-prompt input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
  min-width: 0;
}

.hero-prompt input::placeholder {
  color: var(--text-faint);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

/* ---------- Sections ---------- */

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-alt {
  max-width: none;
  background: var(--bg-raised);
  border-block: 1px solid var(--border);
}

.section-alt > * {
  max-width: 1160px;
  margin-inline: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-sub {
  color: var(--text-dim);
  margin-top: 8px;
}

/* ---------- How it works ---------- */

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

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.how-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.how-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 10px 0 8px;
}

.how-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.07), var(--bg-card));
  box-shadow: 0 8px 40px rgba(255, 106, 0, 0.12);
}

.price-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.price {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 12px 0 20px;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-faint);
}

.price-card ul {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.price-card li {
  padding: 7px 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.price-card li:last-child {
  border-bottom: none;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-tag {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-top: 10px;
}

.footer-tag a {
  color: var(--accent-soft);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-legal {
  max-width: 1160px;
  margin: 0 auto;
  color: var(--text-faint);
  font-size: 0.78rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero-prompt {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 14px;
  }

  .hero-prompt input {
    padding: 10px;
  }

  .section {
    padding: 64px 18px;
  }
}
