/* Shared component styles for every page. Moved from the original index.html <style> block (commit 6cbe1b7). */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif;
  background: #E7F7F4;
  color: #000;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV ─── */
.nav-glass {
  background: rgba(231,247,244,0.82);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(229,229,234,0.55);
}
.nav-link {
  color: #3C3C43;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.24px;
  text-decoration: none;
  transition: color 150ms ease;
}
.nav-link:hover { color: #20C897; }
.nav-link:focus-visible { outline: 2px solid #20C897; outline-offset: 3px; border-radius: 4px; }

/* ─── BUTTONS ─── */
.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #249689 0%, #20C897 100%);
  color: #fff;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-decoration: none;
  padding: 11px 24px;
  box-shadow: 0 2px 4px rgba(32,200,151,0.32), 0 6px 20px rgba(32,200,151,0.20);
  transition: transform 150ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 150ms cubic-bezier(0.22,1,0.36,1);
  cursor: pointer;
  border: none;
}
.btn-green:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 4px 8px rgba(32,200,151,0.38), 0 14px 36px rgba(32,200,151,0.26);
}
.btn-green:active { transform: scale(0.97); box-shadow: none; }
.btn-green:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #0a0a0a;
  color: #fff;
  border-radius: 14px;
  padding: 12px 20px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22), 0 1px 2px rgba(0,0,0,0.16);
  transition: transform 150ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 150ms cubic-bezier(0.22,1,0.36,1),
              background 150ms ease;
}
.app-btn:hover {
  background: #1c1c1c;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(0,0,0,0.26), 0 2px 5px rgba(0,0,0,0.18);
}
.app-btn:active { transform: scale(0.97); }
.app-btn:focus-visible { outline: 2px solid #20C897; outline-offset: 3px; }

.app-btn-white {
  background: rgba(255,255,255,0.96);
  color: #000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.14), 0 1px 3px rgba(0,0,0,0.10);
}
.app-btn-white:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
}

.app-btn-green {
  background: linear-gradient(135deg, #249689 0%, #20C897 100%);
  box-shadow: 0 2px 4px rgba(32,200,151,0.32), 0 6px 20px rgba(32,200,151,0.20);
}
.app-btn-green:hover {
  background: linear-gradient(135deg, #249689 0%, #20C897 100%);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 4px 8px rgba(32,200,151,0.38), 0 14px 36px rgba(32,200,151,0.26);
}
.app-btn-green:active { transform: scale(0.97); box-shadow: none; }
.app-btn-green:focus-visible { outline-color: #000; }

.btn-label-sm { font-size: 10px; font-weight: 400; opacity: 0.70; line-height: 1; }
.btn-label-lg { font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: -0.2px; }

/* ─── SECTION CHIP ─── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(32,200,151,0.13);
  color: #249689;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ─── PHONE FRAME ─── */
.phone {
  position: relative;
  width: 222px;
  height: 462px;
  background: #111;
  border-radius: 42px;
  padding: 14px 10px;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 2px rgba(255,255,255,0.04),
    0 24px 64px rgba(32,200,151,0.28),
    0 8px 28px rgba(0,0,0,0.24);
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #111;
  border-radius: 20px;
  z-index: 10;
}
.phone-lg {
  width: 290px;
  height: 604px;
  border-radius: 54px;
  padding: 17px 13px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 2px rgba(255,255,255,0.04),
    0 44px 100px rgba(32,200,151,0.34),
    0 14px 44px rgba(0,0,0,0.28);
}
.phone-lg::before {
  top: 22px;
  width: 90px;
  height: 26px;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #e8faf5;
  border-radius: 30px;
  overflow: hidden;
}
.phone-lg .phone-screen { border-radius: 39px; }

/* ─── FEATURE CARD ─── */
.feat-card {
  background: #fff;
  border-radius: 22px;
  padding: 34px 26px;
  border: 1px solid rgba(229,229,234,0.75);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 4px 18px rgba(32,200,151,0.09);
  transition: transform 280ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 280ms cubic-bezier(0.22,1,0.36,1);
}
.feat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 4px 8px rgba(32,200,151,0.18), 0 22px 52px rgba(0,0,0,0.09);
}

/* ─── TESTIMONIAL CARD ─── */
.testi-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 26px;
  border: 1px solid rgba(229,229,234,0.75);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 18px rgba(32,200,151,0.07);
  transition: transform 280ms cubic-bezier(0.22,1,0.36,1);
}
.testi-card:hover { transform: translateY(-4px); }

/* ─── STEP BADGE ─── */
.step-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #20C897, #19DB8A);
  color: #fff;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(32,200,151,0.38);
  flex-shrink: 0;
}

/* ─── STAT NUMBER ─── */
.stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 44px;
  font-weight: 800;
  color: #20C897;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 380ms cubic-bezier(0.22,1,0.36,1),
              transform 380ms cubic-bezier(0.22,1,0.36,1);
}
.reveal.on { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 80ms; }
.d2 { transition-delay: 160ms; }
.d3 { transition-delay: 240ms; }

/* ─── HERO PHONE FLOAT ─── */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
.phone-float { animation: float 5.5s ease-in-out infinite; }

/* ─── FOOTER LINK ─── */
.foot-link {
  color: #8E8E93;
  font-size: 13px;
  text-decoration: none;
  transition: color 150ms ease;
}
.foot-link:hover { color: #20C897; }
.foot-link:focus-visible { outline: 2px solid #20C897; border-radius: 4px; outline-offset: 2px; }

/* ─── WAVE ─── */
.wave { display: block; width: 100%; }


/* ═══════════ Added for the old-site migration ═══════════ */

/* ─── NAV: current page + mobile menu ─── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 9999px;
  background: #20C897;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms cubic-bezier(0.22,1,0.36,1);
}
.nav-link:hover::after { transform: scaleX(0.5); }
.nav-link[aria-current="page"] { color: #249689; font-weight: 600; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link:active { opacity: 0.7; }

.menu-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #3C3C43;
  transition: transform 150ms cubic-bezier(0.22,1,0.36,1), opacity 150ms ease;
}
.menu-btn:hover { opacity: 0.7; }
.menu-btn:active { transform: scale(0.92); }
.menu-btn:focus-visible { outline: 2px solid #20C897; outline-offset: 2px; }

.mobile-menu { display: none; border-top: 1px solid rgba(229,229,234,0.55); }
.mobile-menu.open { display: block; animation: menu-in 250ms cubic-bezier(0.22,1,0.36,1); }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu .nav-link { display: block; padding: 12px 0; font-size: 17px; }
.mobile-menu .nav-link::after { display: none; }

/* ─── LINK (inline text link) ─── */
.text-link {
  color: #249689;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(32,200,151,0.4);
  text-underline-offset: 4px;
  transition: color 150ms ease, opacity 150ms ease;
}
.text-link:hover { color: #20C897; }
.text-link:active { opacity: 0.7; }
.text-link:focus-visible { outline: 2px solid #20C897; outline-offset: 3px; border-radius: 4px; }

/* ─── QR CARD (feat-card surface) ─── */
.qr-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 22px;
  padding: 24px 24px 20px;
  border: 1px solid rgba(229,229,234,0.75);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 4px 18px rgba(32,200,151,0.09);
  text-decoration: none;
  transition: transform 280ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 280ms cubic-bezier(0.22,1,0.36,1);
}
.qr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(32,200,151,0.18), 0 22px 52px rgba(0,0,0,0.09);
}
.qr-card:active { transform: scale(0.98); }
.qr-card:focus-visible { outline: 2px solid #20C897; outline-offset: 4px; }
.qr-card img { width: 176px; height: 176px; border-radius: 12px; }
.qr-card span { font-size: 15px; font-weight: 600; color: #249689; letter-spacing: -0.24px; }

/* ─── "or" divider ─── */
.or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #8E8E93;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.or-divider::before, .or-divider::after { content: ''; height: 1px; width: 40px; background: #E5E5EA; }

/* ─── PHONE MOCKUP IMAGE (asset already includes its frame) ─── */
/* Shadow sits on the wrapper so the clip-path on the image does not cut it off. */
.mockup {
  filter: drop-shadow(0 24px 40px rgba(32,200,151,0.26)) drop-shadow(0 8px 16px rgba(0,0,0,0.14));
}
/* Clips the white corners around the phone in the old Framer mockup PNGs. */
.mockup-img {
  display: block;
  height: auto;
  clip-path: inset(1% 3.4% 0 0.7% round 15% / 7.5%);
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-float { animation: none; }
}

/* ─── FORM CARD (feat-card surface, no hover lift) ─── */
.form-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  border: 1px solid rgba(229,229,234,0.75);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 4px 18px rgba(32,200,151,0.09);
}

/* ─── FORM FIELDS ─── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field + .field { margin-top: 20px; }
.field-label { font-size: 15px; font-weight: 600; color: #000; letter-spacing: -0.24px; }
.input {
  width: 100%;
  font: inherit;
  font-size: 16px; /* 16px stops iOS from zooming on focus */
  color: #000;
  background: #fff;
  border: 1px solid #E5E5EA;
  border-radius: 12px;
  padding: 12px 16px;
  appearance: none;
  -webkit-appearance: none;
}
.input::placeholder { color: #8E8E93; }
.input:hover { border-color: #C7C7CC; }
.input:focus {
  outline: none;
  border-color: #20C897;
  box-shadow: 0 0 0 3px rgba(32,200,151,0.20);
}
.input:user-invalid { border-color: #FF3B30; }
.input:user-invalid:focus { box-shadow: 0 0 0 3px rgba(255,59,48,0.16); }
textarea.input { min-height: 132px; resize: vertical; line-height: 1.5; }
select.input {
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238E8E93' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
select.input:invalid { color: #8E8E93; }
select.input option { color: #000; }

.btn-block { width: 100%; justify-content: center; }

.form-status { font-size: 13px; line-height: 1.5; color: #3C3C43; margin-top: 16px; text-align: center; }
.form-status:empty { display: none; }

/* ─── SOCIAL BUTTON (feat-card surface, round) ─── */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 32px;
  background: #fff;
  color: #20C897;
  border: 1px solid rgba(229,229,234,0.75);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 4px 18px rgba(32,200,151,0.09);
  transition: transform 280ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 280ms cubic-bezier(0.22,1,0.36,1);
}
.social-btn svg { width: 52px; height: 52px; transition: transform 280ms cubic-bezier(0.22,1,0.36,1); }
.social-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(32,200,151,0.18), 0 22px 52px rgba(0,0,0,0.09);
}
.social-btn:hover svg { transform: scale(1.06); }
.social-btn:active { transform: scale(0.96); }
.social-btn:focus-visible { outline: 2px solid #20C897; outline-offset: 4px; }
