/* ===========================
   FitMamisab — Cozy Sage Brand
   "The least intimidating corner of the fitness internet."
   Soft digital nostalgia, digitally cozy, emotionally intelligent.
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Color palette */
  --primary-sage: #A8C3A0;
  --light-sage: #DDE8D8;
  --cream-bg: #FAF9F6;
  --dusty-forest: #6E8B74;
  --soft-glow: #EEF5EA;
  --accent-lavender: #CFC6E8;

  /* Extended palette */
  --sage-dark: #8BA886;
  --sage-border: rgba(168, 195, 160, 0.25);
  --sage-glow: rgba(168, 195, 160, 0.18);
  --fg: #4A5750;
  --fg-muted: #7A8F84;
  --white: #FFFFFF;
  --shadow-soft: 0 4px 24px rgba(110, 139, 116, 0.08);
  --shadow-card: 0 2px 16px rgba(110, 139, 116, 0.06), 0 1px 4px rgba(110, 139, 116, 0.04);
  --shadow-glow: 0 0 20px rgba(168, 195, 160, 0.2);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream-bg);
  color: var(--fg);
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.01em;
}

/* Lowercase styling for headings */
h1, h2, h3 {
  text-transform: lowercase;
}

/* --- Sparkle Decorative Elements --- */
.sparkle {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--primary-sage);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.6;
}
.sparkle-sm { width: 8px; height: 8px; }
.sparkle-lg { width: 16px; height: 16px; opacity: 0.4; }

/* --- Pixel-style border accents --- */
.pixel-border {
  border: 2px solid var(--primary-sage);
  image-rendering: pixelated;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sage-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-sage);
  background: var(--light-sage);
  padding: 6px 14px;
  border-radius: 24px;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-sage);
}
.stat-label { font-size: 0.78rem; color: var(--fg-muted); margin-top: 2px; font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--light-sage); }

/* Product card stack */
.hero-card-stack {
  position: relative;
  height: 420px;
}

.product-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--sage-border);
}

.card-1 { top: 0; left: 0; width: 75%; }
.card-2 { top: 100px; right: 0; width: 80%; }
.card-3 { bottom: 0; left: 10%; width: 85%; background: var(--primary-sage); border-color: transparent; }
.card-3 .card-title, .card-3 .card-desc, .card-3 .card-price { color: white; }
.card-3 .card-label { color: rgba(255,255,255,0.7); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }

.card-title { font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.card-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.55; margin-bottom: 12px; }
.card-price { font-family: 'Nunito', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--primary-sage); }

/* --- Manifesto --- */
.manifesto {
  background: var(--dusty-forest);
  padding: 100px 40px;
}

.manifesto-inner { max-width: 820px; margin: 0 auto; }

.manifesto-quote {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--light-sage);
  line-height: 1.5;
  margin-bottom: 28px;
}

.manifesto-attr {
  font-size: 0.85rem;
  color: rgba(221, 232, 216, 0.55);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* --- Products --- */
.products {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.products-header { text-align: center; margin-bottom: 64px; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-sage);
  margin-bottom: 12px;
  display: inline-block;
  background: var(--light-sage);
  padding: 4px 12px;
  border-radius: 24px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--fg); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-item {
  background: var(--white);
  border: 1.5px solid var(--sage-border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.product-item--featured {
  background: var(--primary-sage);
  border-color: var(--primary-sage);
}

.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dusty-forest);
  background: var(--light-sage);
  padding: 4px 10px;
  border-radius: 24px;
  margin-bottom: 16px;
}

.product-item--featured .product-tag {
  background: rgba(255,255,255,0.25);
  color: white;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--fg);
}

.product-item--featured .product-name,
.product-item--featured .product-desc,
.product-item--featured .product-features li { color: white; }
.product-item--featured .product-features li { opacity: 0.85; }

.product-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; margin-bottom: 24px; }

.product-features { list-style: none; margin-bottom: 28px; }

.product-features li {
  font-size: 0.85rem;
  color: var(--fg);
  padding: 6px 0;
  border-bottom: 1px solid var(--soft-glow);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary-sage);
  border-radius: 50%;
  flex-shrink: 0;
}

.product-item--featured .product-features li::before { background: rgba(255,255,255,0.6); }

.product-price {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-sage);
}

.product-item--featured .product-price { color: white; }

/* --- Buttons (global) --- */
.btn-primary {
  display: inline-block;
  background: var(--primary-sage);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 24px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  background: var(--sage-dark);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--primary-sage);
  color: var(--dusty-forest);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--primary-sage);
  color: white;
}

.btn-full { width: 100%; text-align: center; }

/* --- Process --- */
.process {
  background: var(--soft-glow);
  padding: 100px 40px;
}

.process-header {
  text-align: center;
  margin-bottom: 72px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
}

.step { flex: 1; }

.step-num {
  font-family: 'Nunito', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--light-sage);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 12px;
  text-transform: lowercase;
}

.step-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--light-sage), var(--primary-sage));
  flex-shrink: 0;
  margin: 0 24px;
  margin-top: -40px;
}

/* ===========================
   Homepage — Hero Section
   =========================== */
.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  background: var(--cream-bg);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(168, 195, 160, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.sparkle-trio {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 32px;
}

.home-hero-headline {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.home-hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 40px;
}

.home-hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.home-cta-primary {
  background: var(--primary-sage);
  font-size: 1.1rem;
  padding: 18px 40px;
}

.home-cta-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(168, 195, 160, 0.35);
}

/* ===========================
   Homepage — Who This Is For
   =========================== */
.home-who {
  background: var(--soft-glow);
  padding: 100px 40px;
}

.home-who-inner {
  max-width: 860px;
  margin: 0 auto;
}

.home-who-heading {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--fg);
  margin: 16px 0 56px;
  text-transform: lowercase;
}

.who-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

.who-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--sage-border);
  border-radius: 16px;
  padding: 20px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.who-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.who-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-sage);
  border-radius: 12px;
}

.who-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
}

.who-text-em {
  color: var(--fg-muted);
  font-weight: 400;
  font-style: italic;
}

.who-reinforce {
  text-align: center;
  padding-top: 8px;
}

.who-reinforce-text {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--dusty-forest);
  margin-bottom: 28px;
  font-style: italic;
}

.home-who-cta {
  font-size: 1rem;
}

/* ===========================
   Homepage — Featured Products
   =========================== */
.home-products {
  padding: 100px 40px;
  background: var(--cream-bg);
}

.home-products-inner { max-width: 860px; margin: 0 auto; }

.home-products-heading-row {
  text-align: center;
  margin-bottom: 56px;
}

.home-products-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--fg);
  margin-top: 12px;
}

.home-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.home-product-card {
  background: var(--cream-bg);
  border: 1.5px solid var(--sage-border);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.home-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 28px rgba(110, 139, 116, 0.12), 0 2px 8px rgba(110, 139, 116, 0.06);
}

.home-product-card--primary {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 3px rgba(168, 195, 160, 0.12), var(--shadow-card);
}

.home-product-label-row { margin-bottom: 20px; }

.home-product-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 24px;
}

.home-product-badge--free {
  background: var(--light-sage);
  color: var(--dusty-forest);
}

.home-product-badge--paid {
  background: var(--cream-bg);
  border: 1.5px solid var(--sage-border);
  color: var(--fg-muted);
}

.home-product-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 14px;
  line-height: 1.25;
}

.home-product-card--primary .home-product-title { color: var(--dusty-forest); }

.home-product-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  flex: 1;
}

.home-product-cta {
  align-self: flex-start;
  font-size: 0.95rem;
  padding: 12px 28px;
}

.home-product-card--primary .home-product-cta {
  background: var(--primary-sage);
}

.home-product-card--primary .home-product-cta:hover {
  background: var(--sage-dark);
  box-shadow: var(--shadow-glow);
}

/* ===========================
   Homepage — About Sabrina
   =========================== */
.home-about {
  padding: 100px 40px;
  background: #EEF5EA;
}

.home-about-inner { max-width: 860px; margin: 0 auto; }

.home-about-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.home-about-avatar {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-sage);
}

.home-about-avatar svg { display: block; }

.home-about-content { flex: 1; }

.home-about-bio {
  font-size: 1.05rem;
  color: var(--fg);
  line-height: 1.75;
  margin: 16px 0 28px;
  max-width: 560px;
}

.home-about-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-about-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dusty-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(110, 139, 116, 0.3);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.home-about-link:hover {
  color: var(--primary-sage);
  text-decoration-color: var(--primary-sage);
}

.home-about-sep {
  color: var(--sage-border);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 600px) {
  .home-hero { padding: 90px 24px 64px; }
  .home-who { padding: 72px 24px; }
  .who-card { padding: 16px 20px; gap: 14px; }
  .who-text { font-size: 0.95rem; }
  .home-hero-ctas { gap: 12px; }
  .home-products { padding: 72px 24px; }
  .home-products-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-product-card { padding: 28px 24px; }
  .home-about { padding: 72px 24px; }
  .home-about-layout { flex-direction: column; align-items: center; gap: 32px; text-align: center; }
  .home-about-bio { margin-left: auto; margin-right: auto; }
  .home-about-links { justify-content: center; }
}

@media (max-width: 480px) {
  .home-cta-primary { font-size: 0.95rem; padding: 16px 28px; }
}

/* --- Closing --- */
.closing {
  background: var(--primary-sage);
  padding: 100px 40px;
  text-align: center;
}

.closing-inner { max-width: 760px; margin: 0 auto; }

.closing-headline {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: 28px;
  line-height: 1.2;
  text-transform: lowercase;
}

.closing-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 32px;
}

.closing-statement {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}

/* --- Footer --- */
.footer {
  background: var(--dusty-forest);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--light-sage);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(221, 232, 216, 0.45);
  font-weight: 500;
}

.footer-meta p { font-size: 0.8rem; color: rgba(221, 232, 216, 0.35); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 100px; }
  .hero-card-stack { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
  .nav-inner { padding: 16px 24px; }
  .hero, .products, .process { padding-left: 24px; padding-right: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

/* ===========================
   Homepage — Work With Me
   Understated, premium, limited
   =========================== */
.home-work {
  padding: 80px 40px;
  background: var(--cream-bg);
  border-top: 1px solid var(--sage-border);
  text-align: center;
}

.home-work-inner { max-width: 580px; margin: 0 auto; }

.home-work-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 12px 0 20px;
}

.home-work-copy {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.home-work-cta {
  font-size: 0.95rem;
  padding: 12px 28px;
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-divider { display: none; }
  .home-work { padding: 60px 24px; }
}