/* ===========================
   FitMamisab — Warm Editorial Theme
   =========================== */

:root {
  --bg: #FDF8F6;
  --bg-alt: #F5EDE8;
  --fg: #2D2926;
  --fg-muted: #7A6E69;
  --accent: #C9645A;
  --accent-warm: #E8A098;
  --accent-light: #F5DDD9;
  --blush: #F0D8D4;
  --cream-dark: #E8D8D0;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 100, 90, 0.12);
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* --- 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 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.05;
}

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

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

.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--fg-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: var(--cream-dark); }

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

.product-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 40px rgba(45, 41, 38, 0.08), 0 1px 4px rgba(45, 41, 38, 0.04);
  border: 1px solid rgba(200, 100, 90, 0.1);
}

.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(--accent); 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: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }

.card-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--fg); margin-bottom: 8px; }
.card-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; margin-bottom: 12px; }
.card-price { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--accent); }

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

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

.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--blush);
  line-height: 1.5;
  margin-bottom: 28px;
}

.manifesto-attr {
  font-size: 0.85rem;
  color: rgba(240, 216, 212, 0.6);
  letter-spacing: 0.05em;
}

/* --- 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: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--fg); }

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

.product-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s ease;
}

.product-item:hover { transform: translateY(-4px); }
.product-item--featured { background: var(--accent); border-color: var(--accent); }

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

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

.product-name {
  font-size: 1.3rem;
  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(--bg-alt);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

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

/* --- Process --- */
.process {
  background: var(--bg-alt);
  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: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--blush);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 12px;
}

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

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

/* --- Closing --- */
.closing {
  background: var(--accent);
  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;
}

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

.closing-statement {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
}

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

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-warm);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(240, 216, 212, 0.5);
  font-style: italic;
}

.footer-meta p { font-size: 0.8rem; color: rgba(240, 216, 212, 0.4); }

/* --- 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; }
}

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