/* ============================================================
   Athena Faber — Golden Circle layout + animations, indigo palette
   Type:  Poppins   Color: purple-forward (violet/indigo/fuchsia)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-tint: #f8faff;           /* faint blue tint (matches v1) */
  --text: #0a0a0a;
  --muted: #7e879c;            /* blue-gray secondary text */
  --accent: #6366f1;            /* indigo (matches v1) */
  --accent-dark: #4f46e5;       /* indigo hover */
  --accent-2: #818cf8;          /* lighter indigo */
  --accent-rgb: 99, 102, 241;
  --line: rgba(0, 0, 0, 0.08);

  /* glow blobs — indigo / fuchsia / sky (matches v1) */
  --g-violet: rgba(99, 102, 241, 0.55);   /* indigo */
  --g-fuchsia: rgba(217, 70, 239, 0.45);
  --g-indigo: rgba(56, 189, 248, 0.55);   /* sky */
  --g-light: rgba(129, 140, 248, 0.5);

  --r: 20px;
  --r-sm: 12px;
  --wrap: min(1120px, 92vw);
  --narrow: min(760px, 92vw);

  --font: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { width: var(--narrow); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.45); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { border-color: var(--accent-dark); color: var(--accent-dark); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(13, 10, 24, 0.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-light { color: var(--text); font-weight: 500; margin-left: -0.04em; }
.brand-logo {
  width: 40px; height: 40px;
  object-fit: contain; display: block;
  filter: drop-shadow(1px 0 0 var(--accent))
          drop-shadow(-1px 0 0 var(--accent))
          drop-shadow(0 1px 0 var(--accent))
          drop-shadow(0 -1px 0 var(--accent))
          drop-shadow(0 0 1px rgba(var(--accent-rgb), 0.6));
}

.site-nav { display: flex; gap: 1.75rem; }
.site-nav a { font-size: 0.95rem; font-weight: 400; color: var(--muted); transition: color 0.15s ease; }
.site-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tint { background: var(--bg-tint); }

.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--accent); margin: 0 0 1rem; }
.section-head { max-width: 100%; margin-bottom: 3rem; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--text); margin: 0 0 1.25rem; }
.body { font-size: 1.05rem; color: var(--muted); margin: 0 0 1.1rem; }
.name-accent { color: var(--accent); font-weight: 600; }
.note-inline { font-size: 0.82rem; color: var(--muted); text-align: center; margin: 1.5rem 0 0; font-style: italic; }

/* ---------- Hero (stephaniecor.com style) ---------- */
.hero {
  width: var(--wrap); margin: 0 auto;
  padding: 100px 0 80px; min-height: 86vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 32px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-label::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex-shrink: 0; }
.hero-h1 {
  margin: 0; font-size: clamp(3rem, 8vw, 7.2rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 0.7s 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.swap-word {
  display: inline-block; color: var(--accent); min-width: 3ch;
  transition: opacity 200ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.swap-word.out { opacity: 0; transform: translateY(-18px); }
.swap-word.in { animation: wordIn 380ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-lead {
  max-width: 58ch; margin: 36px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.22rem); color: var(--muted); line-height: 1.68;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.7s 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.7s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-stats {
  display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.stat { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid rgba(var(--accent-rgb), 0.2); padding-left: 14px; }
.stat-n { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.stat-l { font-size: 0.76rem; color: var(--muted); font-weight: 500; }

@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* glow blob (final CTA section) */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.7; pointer-events: none; z-index: 0; }
.glow-cta { width: 520px; height: 520px; background: var(--g-light); top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.5; }
.cta-section > .wrap { position: relative; z-index: 1; }

/* ---------- Logo marquee ---------- */
.marquee-section { padding: 2.5rem 0 3rem; border-block: 1px solid var(--line); overflow: hidden; }
.marquee-label { text-align: center; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin: 0 0 1.75rem; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll-logos 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-word {
  flex: 0 0 auto; font-weight: 500; font-size: 0.78rem; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
  padding: 0 28px; transition: opacity 0.3s ease; user-select: none;
}
.logo-word:hover { opacity: 0.7; }

/* ---------- Cards ---------- */
.group-label { font-size: 1.1rem; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; margin: 2.5rem 0 1.25rem; }
.group-label:first-of-type { margin-top: 0; }
.group-label--icon { display: flex; align-items: center; gap: 0.65rem; font-size: 1.35rem; color: var(--text); }
.group-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  background: rgba(var(--accent-rgb), 0.1); color: var(--accent);
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1); color: var(--accent);
  margin-bottom: 1.1rem;
}
.card-grid { display: grid; gap: 1.25rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.4); box-shadow: 0 18px 40px rgba(var(--accent-rgb), 0.14); }
.card.plain { background: transparent; }
.card-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.card-kicker { font-size: 0.92rem; font-weight: 500; color: var(--accent); margin: 0 0 0.85rem; }
.card-body { font-size: 1rem; color: var(--muted); margin: 0; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: rgba(var(--accent-rgb), 0.1); padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 1rem; }

/* ---------- Process: animated accent line under heading ---------- */
.flow-divider {
  display: block; height: 3px; width: 100%; max-width: 520px; border-radius: 999px; margin-top: 1.5rem;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.15), var(--accent), rgba(var(--accent-rgb), 0.15));
  background-size: 200% 100%;
  animation: flowLine 2.8s ease-in-out infinite;
}
@keyframes flowLine { 0% { background-position: 150% 0; } 100% { background-position: -150% 0; } }

/* ---------- Process steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem 1.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(var(--accent-rgb), 0.14); }
.step-num { display: inline-block; font-size: 0.9rem; font-weight: 700; color: var(--accent); letter-spacing: 0.05em; margin-bottom: 0.9rem; }
.step-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.step-body { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Testimonials carousel ---------- */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(.4, 0, .2, 1); }
.quote {
  flex: 0 0 100%; margin: 0; padding: 2.5rem; background: var(--bg);
  border: 1px solid rgba(var(--accent-rgb), 0.4); border-radius: var(--r);
}
.quote blockquote { margin: 0 0 1.5rem; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.4; font-weight: 500; letter-spacing: -0.015em; }
.quote figcaption { display: flex; flex-direction: column; gap: 0.15rem; }
.quote-name { font-weight: 600; }
.quote-role { font-size: 0.9rem; color: var(--muted); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.carousel-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), 0.4); background: var(--bg); color: var(--accent); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; transition: background 0.2s ease, transform 0.2s ease; }
.carousel-dot.active { background: var(--accent); transform: scale(1.25); }

/* ---------- FAQ accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--bg); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1.05rem; font-weight: 600; color: var(--text);
  padding: 1.25rem 1.5rem;
}
.faq-icon { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { height: 0; overflow: hidden; transition: height 0.2s ease-out; }
.faq-a p { margin: 0; padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: 1rem; }

/* ---------- Founder ---------- */
.founder-card {
  display: flex; gap: 2.5rem; align-items: flex-start;
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: var(--r); padding: 2.5rem;
}
.founder-avatar {
  flex: 0 0 auto; width: 200px; height: 200px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 3px solid var(--bg);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35);
}
.founder-body { flex: 1; min-width: 0; }
.founder-name-row { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.2rem; }
.founder-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.founder-role { color: var(--accent); font-weight: 500; margin: 0 0 1rem; }
.founder-bio { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.25rem; }
.founder-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.5rem; }
.founder-tags li {
  font-size: 0.8rem; font-weight: 500; color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  padding: 0.35rem 0.8rem; border-radius: 999px;
}
.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.06);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.icon-link:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(var(--accent-rgb), 0.12);
  transform: translateY(-2px);
}

/* ---------- CTA / Footer ---------- */
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-cta.center { justify-content: center; }
.cta-section { position: relative; overflow: hidden; background: var(--bg-tint); }
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { font-size: 0.92rem; color: var(--muted); transition: color 0.15s ease; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- Keyframes (from Golden Circle) ---------- */
@keyframes fade-in { 0% { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-logos { 0% { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: 0.4; } }

/* ---------- Reveal on scroll (GC feel: 10px rise, 0.5s ease-out) ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; transition-delay: var(--reveal-delay, 0s); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 0.85rem 5vw; width: 100%; }
  .header-actions .btn-ghost { display: none; }
  .card-grid.two, .card-grid.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; text-align: center; padding: 2rem; }
  .founder-tags { justify-content: center; }
  .founder-name-row { justify-content: center; }
  .hero { min-height: 70vh; padding: 60px 0 40px; }
  .hero-stats { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .flow-divider { animation: none; }
  .hero-label, .hero-h1, .hero-lead, .hero-actions, .hero-stats { opacity: 1; transform: none; animation: none; }
  .swap-word { transition: none; }
  .btn:hover, .card:hover, .step:hover { transform: none; }
}

/* ---------- Contact form ---------- */
.contact-form {
  margin: 2.25rem auto 0;
  max-width: 600px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.82rem; font-weight: 600; color: var(--text);
  letter-spacing: -0.01em;
}
.field-opt { color: var(--muted); font-weight: 400; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.98rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}
.contact-submit { align-self: flex-start; margin-top: 0.25rem; }
.contact-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
#form-feedback { margin: 0.25rem 0 0; font-size: 0.9rem; min-height: 1.2em; }
.form-feedback-error { color: #dc2626; }

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-submit { align-self: stretch; }
}
