/* ============================================================
   GETTIN' BETTER — BASE STYLES (Light-first redesign)
   base.css
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 18px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

img, picture, video, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ── Headings — Light context (default) ──────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted-light);
  line-height: 1.7;
}

strong {
  font-weight: 700;
  color: var(--text-heading);
}

/* ── Dark Sections (.bg-dark) — Hero, Pricing, Footer ────────── */
.bg-dark {
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark strong {
  color: var(--accent);
}

.bg-dark p,
.bg-dark li {
  color: var(--text-muted);
}

/* ── Section Alt Background ──────────────────────────────────── */
.bg-section-alt {
  background-color: var(--bg-section-alt);
}

/* ── Legacy compat: .bg-vainilla (same as page default now) ──── */
.bg-vainilla {
  background-color: var(--bg-page);
  color: var(--text-body);
  border-top: 1px solid var(--bg-section-alt);
  border-bottom: 1px solid var(--bg-section-alt);
}

.bg-vainilla h1,
.bg-vainilla h2,
.bg-vainilla h3,
.bg-vainilla h4,
.bg-vainilla strong {
  color: var(--text-heading);
}

.bg-vainilla p,
.bg-vainilla li {
  color: var(--text-muted-light);
}

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 5rem 0;
}

.container--sm {
  max-width: 800px;
}

/* ── Section helpers ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(255, 154, 118, 0.10);
  border: 1px solid rgba(255, 154, 118, 0.22);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

/* Section label on dark backgrounds */
.bg-dark .section-label {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(255, 154, 118, 0.22);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-heading);
}

.section-title--gradient {
  background: linear-gradient(135deg, var(--text-heading) 20%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gradient on dark bg */
.bg-dark .section-title--gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  max-width: 650px;
}

.bg-dark .section-subtitle {
  color: var(--text-muted);
}

.section-subtitle.center {
  margin-inline: auto;
  text-align: center;
}

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }

/* ── Animations (bidirectional reveal) ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.14s; }
.delay-3 { transition-delay: 0.20s; }
.delay-4 { transition-delay: 0.28s; }

/* ── Utility ─────────────────────────────────────────────────── */
.text-center   { text-align: center; }
.text-accent   { color: var(--accent); }
.text-muted-c  { color: var(--text-muted-light); }
.text-white    { color: #fff; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-6 { margin-top: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col    { flex-direction: column; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Responsive base ─────────────────────────────────────────── */
@media (max-width: 767px) {
  html { font-size: 16px; }
  .container { padding: 3.5rem 0; }
  .section-title { font-size: 1.8rem; }
}

