/* ══════════════════════════════════════════════
   Frescio — Shared Design System (Light Theme)
   Outfit font, #22c55e accent, clean whites
══════════════════════════════════════════════ */

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

:root {
  --g1: #22c55e;
  --g2: #16a34a;
  --g3: #15803d;
  --bg:   #ffffff;
  --bg2:  #f8fafc;
  --bg3:  #f1f5f9;
  --border: #e2e8f0;
  --text:   #0f172a;
  --muted:  #64748b;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.07), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.07), 0 2px 6px rgba(15,23,42,0.03);
  --shadow-lg: 0 20px 40px rgba(15,23,42,0.07), 0 4px 12px rgba(15,23,42,0.04);
  --radius: 20px;
  --radius-sm: 12px;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ──────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.site-nav.scrolled { background: rgba(255,255,255,0.97); box-shadow: var(--shadow-sm); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-text { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-links a.nav-active { color: var(--text); background: var(--bg2); }

.nav-cta {
  background: var(--g1); color: #fff;
  padding: 9px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--g2); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--muted); text-decoration: none;
  font-size: 15px; font-weight: 500;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); }

/* ── LAYOUT ───────────────────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.pt-nav { padding-top: 68px; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s cubic-bezier(0.16,1,0.3,1), box-shadow .2s, background .2s;
}
.btn:active { transform: scale(0.97); }
.btn-green { background: var(--g1); color: #fff; }
.btn-green:hover { background: var(--g2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,197,94,0.28); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--g1); background: rgba(34,197,94,0.05); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ── TYPOGRAPHY ───────────────────────────────────────── */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--g1); margin-bottom: 14px;
  display: block;
}
.h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; letter-spacing: -2.5px; line-height: 1.05; }
.h2 { font-size: clamp(28px, 4.5vw, 48px); font-weight: 900; letter-spacing: -2px; line-height: 1.1; }
.h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; letter-spacing: -0.8px; line-height: 1.2; }
.lead { font-size: 17px; color: var(--muted); line-height: 1.8; max-width: 52ch; }
.green { color: var(--g1); }
.muted { color: var(--muted); }

/* ── REVEAL ANIMATION ─────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes badgePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes scanMove { 0%{top:8%} 100%{top:88%} }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(0.16,1,0.3,1), transform .6s cubic-bezier(0.16,1,0.3,1); }
.reveal.on { opacity: 1; transform: none; }
.rd1 { transition-delay: .08s; }
.rd2 { transition-delay: .16s; }
.rd3 { transition-delay: .24s; }

/* ── BADGE ────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
  border-radius: 50px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: var(--g2);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g1); flex-shrink: 0; animation: badgePulse 2s infinite; }

/* ── TAG ──────────────────────────────────────────────── */
.tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--g2); border: 1px solid rgba(34,197,94,.22);
  border-radius: 50px; padding: 3px 10px; background: rgba(34,197,94,0.07);
}

/* ── SECTION DIVIDER ──────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── MARQUEE ──────────────────────────────────────────── */
.marquee-outer { padding: 56px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; gap: 12px; animation: marquee 32s linear infinite; width: max-content; }
.marquee-outer:hover .marquee-track { animation-play-state: paused; }
.m-item {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 50px; padding: 9px 18px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  white-space: nowrap; flex-shrink: 0;
}
.m-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--g1); flex-shrink: 0; }
.m-item span { color: var(--g2); }

/* ── STATS SECTION ────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.stat-item {
  padding: 52px 32px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 56px; font-weight: 900; letter-spacing: -3px; line-height: 1; color: var(--text); }
.stat-unit { font-size: 26px; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; font-weight: 500; }

/* ── FAQ ACCORDION ────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-family: inherit;
  font-size: 16px; font-weight: 600; color: var(--text); text-align: left;
  transition: color .2s;
}
.faq-q:hover { color: var(--g2); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; transition: transform .3s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: currentColor; border-radius: 2px; }
.faq-icon::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.faq-icon::after { width: 2px; height: 12px; top: 4px; left: 9px; transition: transform .3s, opacity .3s; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height .35s cubic-bezier(0.16,1,0.3,1);
}
.faq-a-inner { padding: 0 0 22px; font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 52px 40px 36px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  background: var(--bg2);
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo-text { font-size: 18px; font-weight: 800; color: var(--text); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--muted); opacity: 0.7; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .site-footer { padding: 40px 20px 28px; }
}
@media (max-width: 600px) {
  .site-nav { padding: 0 16px; }
}
