/* ============================================================
   M. WELS — "A Lighter You" — Main Stylesheet
   Brand Colors: Blue #1A8BC4 | Red #CC0000 | White #FFFFFF
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #1A8BC4;        /* M. Wels Blue */
  --primary-dark: #1473A8;
  --primary-light: #3AA8DC;
  --accent: #CC0000;         /* M. Wels Red */
  --accent-dark: #AA0000;
  --accent-light: #E83030;
  --dark: #0D1A22;
  --dark-2: #122030;
  --dark-3: #1A2D3D;
  --mid: #4A6070;
  --light-1: #F4F8FB;
  --light-2: #E2EDF5;
  --white: #FFFFFF;
  --text-main: #0D1A22;
  --text-muted: #5A7080;
  --text-light: #90A8B8;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #1A8BC4;

  /* Group Colors */
  --group-A: #1A8BC4;
  --group-B: #8B5CF6;
  --group-C: #CC0000;
  --group-D: #22C55E;
  --group-E: #F59E0B;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(26,139,196,.08);
  --shadow-md: 0 8px 24px rgba(26,139,196,.12);
  --shadow-lg: 0 16px 48px rgba(26,139,196,.15);
  --shadow-red: 0 0 40px rgba(204,0,0,.2);
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ---- Utilities ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-badge {
  display: inline-block;
  background: rgba(26,139,196,.1);
  color: var(--primary);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 100px;
  margin-bottom: 12px; border: 1px solid rgba(26,139,196,.2);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.section-title em { font-family: var(--font-display); font-style: italic; color: var(--accent); font-weight: 600; }
.section-sub { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.req { color: var(--accent); }
.hint { font-size: 0.82rem; color: var(--text-muted); font-weight: 400; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,139,196,.35); }
.btn--secondary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(204,0,0,.3); }
.btn--ghost { background: transparent; color: var(--text-main); border-color: var(--light-2); }
.btn--ghost:hover { background: var(--light-1); border-color: var(--primary); color: var(--primary); }
.btn--accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(204,0,0,.3); }
.btn--white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--white:hover { background: var(--light-1); transform: translateY(-2px); }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--calc { display: flex; margin: 20px auto 0; }
.pulse-anim { animation: pulse 2.5s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(26,139,196,.4); } 50%{ box-shadow: 0 0 0 14px rgba(26,139,196,0); } }
.bounce { animation: bounce 1.5s infinite; }
@keyframes bounce { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(6px); } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 12px 0; background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px); border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.nav.scrolled { border-bottom-color: var(--light-2); box-shadow: 0 2px 16px rgba(26,139,196,.1); }
.nav__inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 52px; width: auto; object-fit: contain; }
.nav__logo-fallback { display: flex; align-items: center; gap: 2px; }
.logo-icon-text { font-size: 1.4rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.logo-main-text { font-size: 1.4rem; font-weight: 900; color: var(--primary); letter-spacing: 1px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.nav__links a:hover { color: var(--primary); }
.nav__cta { background: var(--primary); color: var(--white) !important; padding: 9px 20px; border-radius: var(--radius); transition: var(--transition) !important; }
.nav__cta:hover { background: var(--primary-dark) !important; box-shadow: 0 4px 14px rgba(26,139,196,.35); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 24px 80px;
  background: linear-gradient(160deg, #fff 50%, #EEF7FC 100%);
  position: relative; overflow: hidden;
  max-width: 1160px; margin: 0 auto;
  flex-wrap: wrap; gap: 48px;
}
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.shape { position: absolute; border-radius: 50%; }
.shape-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(26,139,196,.07) 0%, transparent 70%); top: -80px; right: -100px; animation: float 10s ease-in-out infinite; }
.shape-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(204,0,0,.05) 0%, transparent 70%); bottom: 60px; right: 250px; animation: float 12s ease-in-out infinite reverse; }
.shape-3 { width: 250px; height: 250px; background: radial-gradient(circle, rgba(26,139,196,.05) 0%, transparent 70%); bottom: -30px; left: 80px; animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0) rotate(0deg); } 50%{ transform: translateY(-22px) rotate(4deg); } }

.hero__content { flex: 1; min-width: 300px; max-width: 600px; position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,139,196,.1); color: var(--primary);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 8px 16px; border-radius: 100px;
  margin-bottom: 24px; border: 1px solid rgba(26,139,196,.2);
}
.hero__title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.08; margin-bottom: 20px; letter-spacing: -1px; }
.hero__sub { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.75; max-width: 500px; }
.hero__sub strong { color: var(--primary); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.stat__num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.stat__label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--light-2); }

/* Hero Visual */
.hero__visual { flex: 1; min-width: 280px; display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.hero__logo-display { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero__logo-img { width: 240px; height: auto; object-fit: contain; filter: drop-shadow(0 8px 24px rgba(26,139,196,.2)); }
.hero__card-stack { position: relative; width: 280px; height: 200px; }
.hcard {
  position: absolute; background: var(--white); border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow-lg); display: flex;
  flex-direction: column; gap: 10px; transition: var(--transition);
}
.hcard--back { width: 200px; top: 0; left: 0; transform: rotate(-7deg) translateY(10px); background: linear-gradient(135deg, #EEF7FC, #D0EAF7); border: 1px solid rgba(26,139,196,.2); z-index: 1; }
.hcard--mid { width: 200px; top: 12px; left: 24px; transform: rotate(-2deg); background: linear-gradient(135deg, #FFF0F0, #FFD6D6); border: 1px solid rgba(204,0,0,.15); z-index: 2; }
.hcard--front { width: 220px; bottom: 0; right: 0; z-index: 3; border: 2px solid rgba(26,139,196,.25); background: white; }
.hcard__icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; }
.hcard--back .hcard__icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.hcard--mid .hcard__icon { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.hcard__label { font-weight: 700; font-size: 0.92rem; color: var(--text-main); }
.hcard__badge { background: var(--success); color: white; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; display: inline-block; }

.hero__scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.8rem; z-index: 1; }

/* ============================================================
   FEATURES / HOW IT WORKS
   ============================================================ */
.features { padding: 100px 0; background: var(--light-1); }
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative; border: 1px solid var(--light-2); transition: var(--transition);
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(26,139,196,.25); }
.feature-card__step {
  position: absolute; top: 20px; right: 20px; font-size: 2.8rem; font-weight: 900;
  color: rgba(26,139,196,.06); line-height: 1; font-style: italic;
  font-family: var(--font-display);
}
.feature-card__icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* ============================================================
   GROUPS SECTION
   ============================================================ */
.groups-section { padding: 100px 0; background: var(--dark); }
.groups-section .section-badge { background: rgba(26,139,196,.2); color: var(--primary-light); }
.groups-section .section-title { color: var(--white); }
.groups-section .section-sub { color: rgba(255,255,255,.55); }

.groups__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.group-card {
  background: var(--dark-3); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 28px 24px;
  position: relative; overflow: hidden; transition: var(--transition);
}
.group-card:hover { transform: translateY(-4px); border-color: rgba(26,139,196,.4); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.group-card--featured { border-color: var(--accent); background: linear-gradient(145deg, #1e0505, #2a0808); }
.group-card--featured:hover { border-color: var(--accent); box-shadow: 0 20px 40px rgba(204,0,0,.25); }
.group-card__ribbon {
  position: absolute; top: 16px; right: -8px;
  background: var(--primary); color: white; font-size: 0.68rem;
  font-weight: 700; padding: 4px 14px 4px 10px; text-transform: uppercase;
  letter-spacing: 0.8px; clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%);
}
.group-card__ribbon--red { background: var(--accent); }
.group-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.group-badge {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; color: white; flex-shrink: 0;
}
.group-badge--A { background: var(--group-A); }
.group-badge--B { background: var(--group-B); }
.group-badge--C { background: var(--group-C); }
.group-badge--D { background: var(--group-D); }
.group-badge--E { background: var(--group-E); }
.group-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.group-card p { color: rgba(255,255,255,.5); font-size: 0.87rem; line-height: 1.65; margin-bottom: 16px; }
.group-card__features { display: flex; flex-direction: column; gap: 8px; }
.group-card__features li { color: rgba(255,255,255,.65); font-size: 0.83rem; display: flex; align-items: center; gap: 8px; }
.group-card__features i { color: var(--primary-light); font-size: 0.72rem; flex-shrink: 0; }

.group-card__cta { margin-top: 18px; display: grid; gap: 10px; }
.group-card__price { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.group-card__btn { width: 100%; justify-content: center; }
.group-direct-note { text-align: center; margin-top: 24px; color: rgba(255,255,255,.72); }

.results-cta-card {
  margin-top: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px;
}
.results-cta-card h4 { margin-bottom: 8px; }
.results-cta-price { font-size: 1.35rem; font-weight: 800; margin: 10px 0 14px; color: var(--primary-light); }
.results-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 100px 0; background: var(--white); }
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tcard { background: var(--light-1); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--light-2); transition: var(--transition); }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tcard--featured { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-color: transparent; }
.tcard--featured p { color: rgba(255,255,255,.92); }
.tcard__stars { color: var(--accent); margin-bottom: 16px; font-size: 0.88rem; }
.tcard--featured .tcard__stars { color: #FFD700; }
.tcard p { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 24px; font-style: italic; }
.tcard__author { display: flex; align-items: center; gap: 14px; }
.tcard__avatar { width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.tcard--featured .tcard__avatar { background: rgba(255,255,255,.25); }
.tcard__author strong { display: block; font-size: 0.92rem; }
.tcard__author span { font-size: 0.8rem; color: var(--text-muted); }
.tcard--featured .tcard__author span { color: rgba(255,255,255,.65); }

/* ============================================================
   AFFILIATE TEASER SECTION
   ============================================================ */
.affiliate-teaser { padding: 100px 0; background: white; border-top: 1px solid var(--light-2); }
.affiliate-teaser__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.aff-teaser-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.aff-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(26,139,196,.08); color: var(--primary); border: 1px solid rgba(26,139,196,.18); border-radius: 100px; padding: 7px 14px; font-size: 0.82rem; font-weight: 600; }
.aff-pill i { font-size: 0.75rem; }
.aff-teaser-right { display: flex; justify-content: center; }
.aff-teaser-cards { position: relative; width: 300px; height: 280px; }
.atc { position: absolute; background: white; border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; border: 1px solid var(--light-2); transition: var(--transition); animation: float 6s ease-in-out infinite; }
.atc--1 { top: 0; left: 0; animation-delay: 0s; width: 230px; }
.atc--2 { top: 90px; right: 0; animation-delay: 1.5s; width: 240px; }
.atc--3 { bottom: 20px; left: 10px; animation-delay: 3s; width: 235px; }
.atc--center { top: 50%; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border: none; flex-direction: column; text-align: center; animation: none; gap: 4px; padding: 18px 22px; z-index: 10; box-shadow: 0 12px 32px rgba(26,139,196,.4); }
.atc__icon { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-light)); display: flex; align-items: center; justify-content: center; color: white; font-size: 0.85rem; flex-shrink: 0; }
.atc--1 .atc__icon { background: linear-gradient(135deg, #22C55E, #16A34A); }
.atc--3 .atc__icon { background: linear-gradient(135deg, #F59E0B, #D97706); }
.atc__info strong { display: block; font-size: 0.82rem; font-weight: 700; }
.atc__info span { font-size: 0.75rem; color: var(--success); font-weight: 600; }
.atc__big-num { font-size: 1.6rem; font-weight: 900; color: white; }
.atc__big-label { font-size: 0.72rem; color: rgba(255,255,255,.8); }
@media (max-width: 900px) {
  .affiliate-teaser__inner { grid-template-columns: 1fr; }
  .aff-teaser-right { display: none; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); padding: 64px 0; }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: white; margin-bottom: 8px; }
.cta-banner__text h2 em { font-family: var(--font-display); font-style: italic; }
.cta-banner__text p { color: rgba(255,255,255,.8); font-size: 1rem; }

/* ============================================================
   REGISTER SECTION
   ============================================================ */
.register-section { padding: 100px 0 80px; background: var(--light-1); }

/* --- Progress Bar --- */
.progress-container { margin-bottom: 40px; }
.progress-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 20px; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.ps-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--light-2); border: 2px solid var(--light-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-muted); transition: var(--transition); z-index: 1;
}
.progress-step span { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); transition: var(--transition); white-space: nowrap; }
.progress-step.active .ps-circle { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 4px 16px rgba(26,139,196,.4); }
.progress-step.active span { color: var(--primary); }
.progress-step.completed .ps-circle { background: var(--success); border-color: var(--success); color: white; }
.progress-step.completed span { color: var(--success); }
.progress-connector { width: 60px; height: 2px; background: var(--light-2); transition: var(--transition); margin-bottom: 20px; }
.progress-connector.active { background: var(--primary); }
.progress-connector.completed { background: var(--success); }
.progress-bar-track { height: 6px; background: var(--light-2); border-radius: 100px; overflow: hidden; margin-bottom: 12px; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 100px; transition: width .5s cubic-bezier(.4,0,.2,1); width: 0%; }
.progress-label { text-align: center; font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* --- Form Wrapper --- */
.form-wrapper {
  max-width: 720px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius-xl); padding: 48px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--light-2);
}

/* --- Form Steps --- */
.form-step { display: none; animation: fadeInUp .35s ease; }
.form-step.active { display: block; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.step-header { text-align: center; margin-bottom: 36px; }
.step-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: white; margin: 0 auto 16px;
}
.step-header h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.step-header p { color: var(--text-muted); }

/* --- Form Elements --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 2px solid var(--light-2);
  border-radius: var(--radius); font-size: 0.95rem; color: var(--text-main);
  background: var(--light-1); transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 4px rgba(26,139,196,.1);
}
.form-group input.error, .form-group select.error { border-color: var(--danger); }
.error-msg { font-size: 0.8rem; color: var(--danger); font-weight: 500; min-height: 18px; }
.inline-inputs { display: flex; gap: 10px; }
.inline-inputs input { flex: 1; }

/* --- Radio & Checkbox --- */
.radio-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-option { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; }
.radio-option input[type="radio"] { display: none; }
.radio-custom { width: 18px; height: 18px; border: 2px solid var(--light-2); border-radius: 50%; background: var(--light-1); transition: var(--transition); flex-shrink: 0; position: relative; }
.radio-option input:checked + .radio-custom { border-color: var(--primary); background: var(--primary); }
.radio-option input:checked + .radio-custom::after { content: ''; position: absolute; width: 6px; height: 6px; background: white; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); }

.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 8px; }
.checkbox-option { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.88rem; padding: 10px 14px; border: 2px solid var(--light-2); border-radius: var(--radius); transition: var(--transition); }
.checkbox-option:hover { border-color: var(--primary); background: rgba(26,139,196,.04); }
.checkbox-option input[type="checkbox"] { display: none; }
.checkbox-custom { width: 18px; height: 18px; border: 2px solid var(--light-2); border-radius: 4px; background: var(--light-1); transition: var(--transition); flex-shrink: 0; position: relative; }
.checkbox-option input:checked + .checkbox-custom { border-color: var(--primary); background: var(--primary); }
.checkbox-option input:checked + .checkbox-custom::after { content: '✓'; position: absolute; top: -1px; left: 2px; font-size: 0.75rem; color: white; font-weight: 700; }
.checkbox-option:has(input:checked) { border-color: var(--primary); background: rgba(26,139,196,.07); }

/* --- Activity Cards --- */
.activity-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 10px; }
.activity-card { cursor: pointer; }
.activity-card input[type="radio"] { display: none; }
.activity-card__inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 10px; border: 2px solid var(--light-2); border-radius: var(--radius);
  text-align: center; transition: var(--transition); background: var(--light-1);
}
.activity-card__inner:hover { border-color: var(--primary); background: rgba(26,139,196,.05); }
.activity-card input:checked + .activity-card__inner { border-color: var(--primary); background: rgba(26,139,196,.09); }
.activity-card__icon { font-size: 1.5rem; color: var(--text-muted); transition: var(--transition); }
.activity-card input:checked + .activity-card__inner .activity-card__icon { color: var(--primary); }
.activity-card__inner strong { font-size: 0.82rem; font-weight: 700; color: var(--text-main); }
.activity-card__inner span { font-size: 0.72rem; color: var(--text-muted); }

/* --- Goal Cards --- */
.goal-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 10px; }
.goal-card { cursor: pointer; }
.goal-card input[type="radio"] { display: none; }
.goal-card__inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 12px; border: 2px solid var(--light-2); border-radius: var(--radius-lg);
  text-align: center; transition: var(--transition); background: var(--light-1);
}
.goal-card__inner:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.goal-card input:checked + .goal-card__inner { border-color: var(--primary); background: rgba(26,139,196,.08); box-shadow: 0 4px 16px rgba(26,139,196,.15); }
.goal-card__inner i { font-size: 1.8rem; color: var(--primary); }
.goal-card__inner strong { font-size: 0.88rem; font-weight: 700; color: var(--text-main); }
.goal-card__inner span { font-size: 0.75rem; color: var(--text-muted); }

/* --- Day Selector --- */
.day-selector { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.day-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--light-2);
  background: var(--light-1); font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: var(--transition); color: var(--text-main);
}
.day-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,139,196,.06); }
.day-btn.active { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 4px 12px rgba(26,139,196,.35); }

/* --- Form Nav --- */
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--light-2); }

/* ============================================================
   BMI DISPLAY
   ============================================================ */
.bmi-display { background: var(--light-1); border-radius: var(--radius-lg); padding: 28px; margin: 24px 0; border: 2px solid var(--light-2); animation: fadeInUp .3s ease; }
.bmi-display__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 20px; justify-content: center; }
.bmi-result { text-align: center; flex: 1; min-width: 160px; }
.bmi-number { font-size: 3.5rem; font-weight: 900; line-height: 1; color: var(--dark); }
.bmi-category { font-size: 1rem; font-weight: 700; margin: 4px 0; }
.bmi-desc { font-size: 0.82rem; color: var(--text-muted); max-width: 240px; margin: 6px auto 0; line-height: 1.5; }
.bmi-scale { margin-top: 12px; }
.bmi-scale__bar { display: flex; border-radius: var(--radius); overflow: hidden; height: 26px; }
.bmi-seg { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 0.63rem; font-weight: 600; text-align: center; line-height: 1.25; color: white; }
.bmi-seg--under { background: #3B82F6; }
.bmi-seg--normal { background: #22C55E; }
.bmi-seg--over { background: #F59E0B; }
.bmi-seg--obese { background: #EF4444; }
.bmi-pointer-track { position: relative; height: 12px; }
.bmi-pointer { position: absolute; top: 2px; width: 12px; height: 12px; background: var(--dark); border: 2px solid white; border-radius: 50%; transform: translateX(-50%); transition: left .5s ease; box-shadow: var(--shadow-sm); }
.cat-underweight { color: #3B82F6; }
.cat-normal { color: #22C55E; }
.cat-overweight { color: #F59E0B; }
.cat-obese { color: #EF4444; }

/* ============================================================
   RESULTS SECTION
   ============================================================ */
.results-wrapper { animation: fadeInUp .4s ease; }
.results-header { text-align: center; padding: 16px 0 32px; border-bottom: 1px solid var(--light-2); margin-bottom: 32px; }
.results-header .mwels-logo-result { height: 56px; width: auto; margin: 0 auto 20px; }
.results-header h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.results-header p { color: var(--text-muted); }

.group-assignment {
  display: flex; align-items: center; gap: 20px; padding: 24px;
  border-radius: var(--radius-lg); margin-bottom: 24px; flex-wrap: wrap;
}
.ga-badge { width: 80px; height: 80px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 900; color: white; flex-shrink: 0; }
.ga-text h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.ga-text .ga-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.ga-text .ga-bmi { font-size: 0.82rem; color: var(--text-muted); }
.ga-text .ga-bmi strong { color: var(--text-main); }

.plan-section { margin-bottom: 24px; }
.plan-section h4 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; color: var(--dark); }
.plan-section h4 i { color: var(--primary); }
.plan-card { background: var(--light-1); border-radius: var(--radius); padding: 20px 22px; border-left: 4px solid var(--primary); }
.plan-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-main); line-height: 1.5; }
.plan-list li::before { content: '→'; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.plan-list-diet li::before { content: '🥗'; flex-shrink: 0; }

/* WhatsApp Buttons */
.whatsapp-section { background: linear-gradient(135deg, #f0faf5, #dcfce7); border-radius: var(--radius-lg); padding: 28px; border: 1px solid rgba(34,197,94,.2); margin-bottom: 24px; }
.whatsapp-section h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; color: var(--dark); }
.whatsapp-section h4 i { color: #22C55E; }
.whatsapp-section p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.wa-buttons { display: flex; flex-direction: column; gap: 12px; }
.wa-btn {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  background: #25D366; color: white; border-radius: var(--radius);
  font-weight: 700; font-size: 0.92rem; cursor: pointer; border: none;
  transition: var(--transition); text-decoration: none;
}
.wa-btn:hover { background: #1DA851; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,211,102,.3); color: white; }
.wa-btn--general { background: #128C7E; }
.wa-btn--general:hover { background: #0f7065; }
.wa-btn--coach { background: #075E54; }
.wa-btn--coach:hover { background: #054d43; }
.wa-btn i { font-size: 1.3rem; }
.wa-btn-text strong { display: block; font-size: 0.92rem; }
.wa-btn-text span { font-size: 0.75rem; opacity: .85; }

.coach-note { background: rgba(26,139,196,.07); border: 1px solid rgba(26,139,196,.2); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 24px; display: flex; align-items: flex-start; gap: 12px; font-size: 0.85rem; color: var(--text-muted); }
.coach-note i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.coach-note strong { color: var(--primary); }

.restart-area { text-align: center; padding-top: 20px; border-top: 1px solid var(--light-2); }
.restart-area p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: var(--white); padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer__logo-img { height: 48px; width: auto; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__brand p { color: rgba(255,255,255,.45); font-size: 0.88rem; line-height: 1.6; }
.footer__brand p em { color: rgba(255,255,255,.65); }
.footer__links h4, .footer__contact h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: rgba(255,255,255,.45); font-size: 0.88rem; transition: var(--transition); }
.footer__links a:hover { color: var(--primary-light); }
.footer__contact p { color: rgba(255,255,255,.45); font-size: 0.88rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer__contact i { color: var(--primary-light); width: 16px; }
.footer__bottom { text-align: center; padding: 20px 0; color: rgba(255,255,255,.25); font-size: 0.8rem; }
.footer__bottom em { color: rgba(255,255,255,.4); font-style: italic; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px 24px; border-top: 1px solid var(--light-2); box-shadow: var(--shadow-md); gap: 16px; }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }
  .nav { position: relative; }
  .nav.scrolled { position: fixed; }
  .hero { flex-direction: column; text-align: center; min-height: auto; padding-top: 100px; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__sub { margin: 0 auto 36px; }
  .hero__logo-display { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .form-wrapper { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .progress-connector { width: 28px; }
  .progress-step span { font-size: 0.6rem; }
  .goal-cards { grid-template-columns: 1fr 1fr; }
  .activity-cards { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .form-nav { flex-direction: column-reverse; gap: 12px; }
  .form-nav .btn { width: 100%; justify-content: center; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .group-assignment { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero__card-stack { display: none; }
  .groups__grid { grid-template-columns: 1fr; }
  .hero__logo-img { width: 180px; }
}


/* ============================================================
   TRANSFORMATION TESTIMONIALS
   ============================================================ */
.transformations { padding: 100px 0; background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%); }
.transformations__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.trans-card {
  background: #fff; border: 1px solid var(--light-2); border-radius: 28px; overflow: hidden;
  box-shadow: 0 18px 45px rgba(8, 30, 52, 0.08); transition: var(--transition);
}
.trans-card:hover { transform: translateY(-6px); box-shadow: 0 24px 55px rgba(8, 30, 52, 0.12); }
.trans-card__media {
  position: relative; background: radial-gradient(circle at top, rgba(26,139,196,.12), rgba(26,139,196,.03) 45%, transparent 80%), linear-gradient(180deg, #fbfdff 0%, #eef7fc 100%);
  padding: 18px 18px 0;
}
.trans-card__media img {
  display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.08));
}
.trans-card__split {
  position: absolute; left: 50%; top: 14px; bottom: 16px; width: 1px; border-left: 1px dashed rgba(26,139,196,.28);
}
.trans-card__label {
  position: absolute; top: 16px; padding: 7px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.trans-card__label--before { left: 16px; background: rgba(0,0,0,.75); color: #fff; }
.trans-card__label--after { right: 16px; background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #fff; }
.trans-card__body { padding: 22px; }
.trans-card__topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.trans-card__topline h3 { font-size: 1.08rem; margin: 0; }
.trans-card__program { color: var(--primary); font-weight: 700; font-size: 0.82rem; }
.trans-card__quote { color: var(--text-muted); line-height: 1.7; font-size: 0.92rem; margin-bottom: 18px; }
.trans-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.trans-stat { background: var(--light-1); border: 1px solid var(--light-2); border-radius: 18px; padding: 12px; text-align: center; }
.trans-stat strong { display: block; font-size: 1rem; color: var(--dark); }
.trans-stat span { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; }
.trans-card__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.trans-card__author { display: flex; align-items: center; gap: 10px; }
.trans-card__avatar {
  width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.trans-card__footer small { color: var(--text-muted); display: block; }
.transformations__cta { margin-top: 34px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.transformation-page-hero {
  padding: 130px 24px 70px; background: linear-gradient(160deg, #fff 0%, #eef7fc 100%);
}
.transformation-page-hero__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.transformation-page-hero p { color: var(--text-muted); max-width: 700px; margin: 0 auto; }
.note-strip {
  margin-top: 22px; display: inline-flex; gap: 8px; align-items: center; border: 1px solid rgba(26,139,196,.2);
  background: rgba(26,139,196,.06); color: var(--primary); padding: 10px 16px; border-radius: 999px; font-size: 0.84rem; font-weight: 700;
}
@media (max-width: 700px) {
  .trans-card__stats { grid-template-columns: 1fr; }
  .trans-card__topline { flex-direction: column; }
  .trans-card__media { padding: 16px 12px 0; }
  .trans-card__label { font-size: 0.65rem; padding: 6px 10px; }
}
