/* AdLocal — main stylesheet */
/* Vibe: warm, teacher-friendly, vibrant without being corporate */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;1,9..144,400&family=Satoshi:wght@400;500;600&display=swap');

:root {
  --bg:        #1c1510;
  --bg-mid:    #251d17;
  --bg-card:   #2f251d;
  --accent:    #f97316;        /* warm orange */
  --accent-lt: #fb923c;
  --accent-glow: rgba(249,115,22,0.18);
  --gold:      #fbbf24;
  --text:      #f5ede3;
  --text-muted:#a8947e;
  --border:    rgba(249,115,22,0.15);
  --radius:    14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(28,21,16,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav .inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.logo-dot { color: var(--accent); }
nav .cta-nav {
  background: var(--accent); color: #fff;
  border: none; padding: 10px 22px; border-radius: 50px;
  font-family: 'Satoshi', sans-serif; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}
nav .cta-nav:hover { background: var(--accent-lt); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-glow); border: 1px solid var(--border);
  color: var(--accent-lt); padding: 6px 16px;
  border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 28px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px; margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff; font-family: 'Satoshi', sans-serif; font-weight: 600;
  font-size: 1rem; padding: 14px 32px; border-radius: 50px;
  border: none; cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none; display: inline-block;
  box-shadow: 0 4px 24px rgba(249,115,22,0.3);
}
.btn-primary:hover {
  background: var(--accent-lt); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,115,22,0.4);
}

.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.12);
  font-family: 'Satoshi', sans-serif; font-weight: 500; font-size: 1rem;
  padding: 14px 28px; border-radius: 50px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }

/* ── SOCIAL PROOF STRIP ── */
.social-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  margin-top: 80px;
  background: var(--bg-mid);
}
.social-strip p {
  color: var(--text-muted); font-size: 0.92rem;
}
.social-strip strong { color: var(--accent-lt); }

/* ── HOW IT WORKS ── */
.section { padding: 100px 0; }
.section-label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 520px; line-height: 1.7;
}

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px; margin-top: 60px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,0.35);
}
.step::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.step:hover::after { opacity: 1; }

.step-num {
  font-family: 'Fraunces', serif; font-size: 3.5rem; font-weight: 700;
  color: var(--accent-glow); line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.step h3 {
  font-family: 'Satoshi', sans-serif; font-weight: 600;
  font-size: 1.15rem; margin-bottom: 10px; color: var(--text);
}
.step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* ── FEATURES ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-top: 60px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(249,115,22,0.3); }
.feature-icon {
  font-size: 1.6rem; margin-bottom: 14px; display: block;
}
.feature-card h4 {
  font-family: 'Satoshi', sans-serif; font-weight: 600;
  font-size: 1.05rem; margin-bottom: 8px; color: var(--text);
}
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ── PRICING ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; margin-top: 60px; align-items: start;
}
.plan {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px;
  position: relative; transition: transform 0.2s, border-color 0.2s;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(249,115,22,0.15);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 16px; border-radius: 50px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Satoshi', sans-serif; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 10px;
}
.plan-price {
  font-family: 'Fraunces', serif; font-size: 3rem; font-weight: 700;
  color: var(--text); line-height: 1; margin-bottom: 6px;
}
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.plan-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li {
  padding: 8px 0; color: var(--text-muted); font-size: 0.92rem;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plan-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan .btn-primary, .plan .btn-ghost { width: 100%; text-align: center; }

/* ── PRICING NOTE ── */
.pricing-note {
  margin-top: 40px;
  padding: 20px 28px;
  background: rgba(249,115,22,0.06);
  border: 1px solid rgba(249,115,22,0.15);
  border-radius: var(--radius-sm);
  text-align: center;
}
.pricing-note p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}
.pricing-note strong {
  color: var(--text);
}

/* ── FAQ ── */
.faq-list {
  margin-top: 48px;
  max-width: 720px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item summary {
  padding: 20px 0;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212'; /* minus sign */
}
.faq-item summary:hover { color: var(--accent-lt); }
.faq-item p {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ── WAITLIST FORM ── */
.waitlist-section {
  padding: 100px 0 120px;
  position: relative; text-align: center;
}
.waitlist-section::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 60px 48px;
  max-width: 640px; margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

#waitlist-form { margin-top: 36px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 14px;
}
.form-row.full { grid-template-columns: 1fr; }

.form-field label {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase;
}
.form-field input, .form-field select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: 'Satoshi', sans-serif; font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; appearance: none; -webkit-appearance: none;
}
.form-field input::placeholder { color: rgba(168,148,126,0.5); }
.form-field input:focus, .form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23a8947e' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  cursor: pointer;
}
.form-field select option { background: #2f251d; color: var(--text); }

#form-submit {
  width: 100%; margin-top: 20px;
  padding: 16px; font-size: 1.05rem;
}
#form-msg {
  margin-top: 14px; font-size: 0.9rem; min-height: 20px;
  transition: opacity 0.2s;
}
#form-msg.success { color: #4ade80; }
#form-msg.error   { color: #f87171; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  text-align: center;
}
footer .footer-logo {
  font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 700;
  color: var(--text); text-decoration: none;
  display: inline-block; margin-bottom: 12px;
}
footer p { color: var(--text-muted); font-size: 0.88rem; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .waitlist-box { padding: 36px 24px; }
  .hero { padding: 120px 0 80px; }
  nav .cta-nav { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; }
