@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  --af-bg: #fff7ed;
  --af-bg2: #eff6ff;
  --af-accent: #f59e0b;
  --af-accent2: #6366f1;
  --af-text: #7c2d12;
  --af-muted: #9a6b4f;
  --af-card: #fff;
  --af-line: rgba(16, 185, 129, 0.18);
  --af-shadow: 0 16px 36px rgba(6, 95, 70, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.af-body {
  margin: 0;
  min-height: 100vh;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--af-text);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(16, 185, 129, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 8%, rgba(14, 165, 233, 0.2), transparent 50%),
    linear-gradient(180deg, var(--af-bg) 0%, #fff 45%, var(--af-bg2) 100%);
}
.af-wrap { width: min(1000px, calc(100% - 32px)); margin: 0 auto; }
.af-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 18px 0 8px; flex-wrap: wrap;
}
.af-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.af-brand img { height: 48px; width: auto; max-width: 150px; object-fit: contain; }
.af-brand strong { display: block; font-family: Sora, sans-serif; font-size: 1.15rem; }
.af-brand small { color: var(--af-muted); font-size: .8rem; font-weight: 600; }
.af-nav a {
  color: var(--af-muted); text-decoration: none; font-weight: 700;
  margin-left: 12px; font-size: .9rem;
}
.af-nav a:hover { color: var(--af-accent); }

.af-hero {
  position: relative; padding: 48px 0 40px; text-align: center; overflow: hidden;
}
.af-hero-bleed {
  position: absolute; inset: -10% -5% auto; height: 100%;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.8), transparent 65%),
    radial-gradient(circle at 20% 50%, rgba(16,185,129,.2), transparent 40%),
    radial-gradient(circle at 80% 40%, rgba(14,165,233,.18), transparent 42%);
  pointer-events: none;
}
.af-hero-inner {
  position: relative; z-index: 1; width: min(640px, calc(100% - 32px)); margin: 0 auto;
  animation: afIn .65s cubic-bezier(.22,1,.36,1) both;
}
@keyframes afIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.af-hero-brand {
  margin: 0 0 8px; font-family: Sora, sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(120deg, #065f46, #0ea5e9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.af-hero h1 {
  margin: 0 0 12px; font-family: Sora, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 700; color: var(--af-text);
}
.af-hero-sub {
  margin: 0 auto 16px; max-width: 480px; color: var(--af-muted); line-height: 1.55; font-size: 1.05rem;
}
.af-hero-pill {
  display: inline-block; margin-bottom: 18px; padding: 8px 16px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.15); color: #047857; font-weight: 700; font-size: .95rem;
}
.af-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 14px; }
.af-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 12px; font-weight: 800; text-decoration: none;
  font-size: .95rem; transition: transform .15s ease, box-shadow .15s ease;
}
.af-btn.primary {
  background: linear-gradient(135deg, #10b981, #059669); color: #fff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
}
.af-btn.primary:hover { transform: translateY(-2px); }
.af-btn.ghost {
  background: #fff; color: #0f766e; border: 1px solid var(--af-line);
}
.af-hint { margin: 0; font-size: .88rem; color: var(--af-muted); }
.af-hint a { color: #0ea5e9; font-weight: 700; text-decoration: none; }

.af-how, .af-section { padding: 28px 0 20px; }
.af-how h2, .af-section h2 {
  margin: 0 0 6px; font-family: Sora, sans-serif; font-size: 1.4rem; text-align: center;
}
.lead {
  text-align: center; margin: 0 auto 22px; color: var(--af-muted); max-width: 520px;
}
.af-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
  justify-content: center;
  justify-items: stretch;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  counter-reset: st;
  list-style: none;
}
.af-step {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  padding: 16px 12px;
  background: var(--af-card);
  border-radius: 16px;
  border: 1px solid var(--af-line);
  box-shadow: var(--af-shadow);
  animation: afIn .55s ease both;
}
.af-step:nth-child(2) { animation-delay: .06s; }
.af-step:nth-child(3) { animation-delay: .12s; }
.af-step:nth-child(4) { animation-delay: .18s; }
.af-step::before {
  counter-increment: st; content: counter(st);
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 50%;
  font-family: Sora, sans-serif; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--af-accent), #0ea5e9);
}
.af-step strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.af-step span { color: var(--af-muted); font-size: .88rem; line-height: 1.4; display: block; }

.af-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px;
}
.af-prod {
  background: #fff; border: 1px solid var(--af-line); border-radius: 16px;
  padding: 14px; text-align: center; box-shadow: var(--af-shadow);
}
.af-prod img {
  width: 88px; height: 88px; object-fit: cover; border-radius: 12px;
  margin-bottom: 10px; background: #f0fdf4;
}
.af-prod strong { display: block; font-size: .98rem; margin-bottom: 4px; }
.af-prod .price { color: #059669; font-weight: 800; }

.af-cta-box {
  text-align: center; padding: 32px 20px; border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #ecfdf5 100%);
  border: 1px solid var(--af-line); box-shadow: var(--af-shadow);
}
.af-cta-box h2 { margin: 0 0 8px; font-family: Sora, sans-serif; }
.af-cta-box p { margin: 0 0 16px; color: var(--af-muted); }
.af-cta-box .af-hint { margin-top: 14px; }

.af-foot {
  padding: 36px 0 28px; text-align: center; color: var(--af-muted); font-size: .88rem;
}
.af-foot a { color: #0ea5e9; font-weight: 700; text-decoration: none; }

@media (max-width: 800px) {
  .af-steps { grid-template-columns: repeat(auto-fit, minmax(160px, 220px)); }
}
@media (max-width: 520px) {
  .af-steps { grid-template-columns: minmax(0, 1fr); max-width: 320px; }
  .af-step { max-width: 100%; }
  .af-nav a { margin-left: 8px; font-size: .8rem; }
}
