/* ==========================================================================
   FitAF Peptide Calc — THEME
   Design tokens lifted from the FitAF coaching funnel
   (book-your-free-strategy-call.html). Cyan neon on dark navy, DM Sans,
   pulsing glows. Keep all brand visuals defined here.
   ========================================================================== */

:root {
  /* Brand */
  --cyan: #00FFF2;
  --cyan-soft: rgba(0, 255, 242, 0.45);
  --cyan-faint: rgba(0, 255, 242, 0.10);
  --cyan-line: rgba(0, 255, 242, 0.22);

  /* Backgrounds */
  --bg: #060913;
  --bg-2: #080d1a;
  --bg-3: #0a0f1e;
  --bg-footer: #040710;
  --card: linear-gradient(145deg, #0f1525 0%, #0b1020 100%);
  --card-2: linear-gradient(135deg, #131828 0%, #0e1220 100%);
  --glass: rgba(255, 255, 255, 0.04);

  /* Accents */
  --orange: #ff7a50;
  --gold: #f5c842;
  --green: #34d399;
  --red: #ff5d6c;

  /* Text */
  --white: #ffffff;
  --t-1: #c5cce0;
  --t-2: #9ba3bc;
  --t-3: #7c849e;
  --t-4: #6b7494;
  --t-faint: #3a4260;

  /* Lines */
  --line: #1e2236;
  --line-2: #1e2a40;

  /* Radii / spacing */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 0 60px rgba(0, 255, 242, 0.07), 0 24px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 28px rgba(0, 255, 242, 0.5), 0 18px 46px rgba(0, 0, 0, 0.4);

  --font: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Animations ---------- */
@keyframes cyanPulse {
  0%, 100% { box-shadow: 0 0 28px rgba(0,255,242,.7), 0 0 60px rgba(0,255,242,.25), 0 18px 46px rgba(0,0,0,.4); }
  50%      { box-shadow: 0 0 55px rgba(0,255,242,.95), 0 0 90px rgba(0,255,242,.4), 0 18px 46px rgba(0,0,0,.4); }
}
@keyframes logoEnergyPulse {
  0%, 100% { filter: drop-shadow(0 0 2px rgb(0,255,242)) drop-shadow(0 0 4px rgba(0,255,242,.3)) drop-shadow(0 0 22px rgba(0,255,242,.24)); }
  50%      { filter: drop-shadow(0 0 2px rgb(0,255,242)) drop-shadow(0 0 6px rgba(0,255,242,.55)) drop-shadow(0 0 30px rgba(0,255,242,.45)); }
}
@keyframes dotBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(0,255,242,.14) 0%, transparent 60%),
    radial-gradient(ellipse 800px 600px at 50% 120%, rgba(0,255,242,.05) 0%, transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; }
h1, h2, h3 { font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
input, select, textarea, button { font-family: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: var(--r);
  background: linear-gradient(to bottom, rgba(0,255,242,.6), rgba(0,255,242,.25));
  border: 2px solid var(--cyan); color: var(--white);
  font-size: 16px; font-weight: 900; letter-spacing: -.01em;
  box-shadow: 0 0 20px rgba(0,255,242,.3);
  cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0,255,242,.55); }
.btn:active { transform: translateY(0); }
.btn--pulse { animation: cyanPulse 3.5s ease-in-out infinite; }
.btn--block { width: 100%; }
.btn--ghost {
  background: var(--glass); border: 1px solid var(--line-2); box-shadow: none;
  font-weight: 700; color: var(--t-1);
}
.btn--ghost:hover { border-color: var(--cyan-line); box-shadow: 0 0 18px rgba(0,255,242,.18); transform: translateY(-1px); }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: var(--r-sm); }
.btn--danger { border-color: rgba(255,93,108,.7); background: linear-gradient(to bottom, rgba(255,93,108,.35), rgba(255,93,108,.12)); box-shadow: none; }

/* ---------- Inputs ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--t-3); }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; background: var(--glass);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--white); font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--t-faint); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--cyan-soft); box-shadow: 0 0 0 3px rgba(0,255,242,.08); }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300FFF2' stroke-width='3'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ---------- Cards / surfaces ---------- */
.card {
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 22px;
}
.card--glow { border-color: var(--cyan-line); box-shadow: 0 0 50px rgba(0,255,242,.10), 0 24px 50px rgba(0,0,0,.5); }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--cyan-line); color: var(--cyan);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0,255,242,.05);
}
.chip {
  display: inline-block; padding: 4px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); color: var(--t-2);
  font-size: 12px; font-weight: 600; background: var(--glass);
}
.chip--rx { border-color: rgba(255,122,80,.5); color: var(--orange); background: rgba(255,122,80,.07); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: dotBlink 1.6s infinite; }

/* ---------- Eyebrow ---------- */
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); }

/* ---------- Logo ---------- */
.logo-pulse { animation: logoEnergyPulse 3s ease-in-out infinite; }

/* ---------- Utility ---------- */
.text-dim { color: var(--t-3); }
.text-cyan { color: var(--cyan); }
.muted { color: var(--t-3); font-size: 14px; line-height: 1.6; }
.divider { height: 1px; background: var(--line); border: 0; margin: 18px 0; }
.fade-up { animation: fadeUp .35s ease both; }
