/* ============================================================
   FitPlan — Main Stylesheet
   ============================================================ */

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

:root {
  --green:       #1a8a4a;
  --green-light: #e8f7ee;
  --green-dark:  #0f5c31;
  --orange:      #f97316;
  --red:         #e53e3e;
  --yellow:      #f6c90e;
  --text:        #1a1a2e;
  --muted:       #666;
  --border:      #e0e0e0;
  --bg:          #fafaf8;
  --white:       #fff;
  --radius:      14px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hind', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

h1,h2,h3,.logo-text,.btn-header,.btn-primary,.btn-ghost,
.btn-plan,.btn-header,.badge,.stag,.snum,.pnum,.pname {
  font-family: 'Baloo 2', sans-serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.tc { text-align: center; }
.section { padding: 60px 20px; }

/* ---- LANG BAR ---- */
.lang-bar {
  background: #1a1a2e;
  padding: 8px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.lang-icon { color: rgba(255,255,255,0.5); font-size: 14px; }
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  padding: 4px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Hind', sans-serif;
  transition: all .2s;
}
.lang-btn.active,
.lang-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---- HEADER ---- */
.header {
  background: var(--white);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green), #2ec27e);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text { font-size: 22px; font-weight: 800; color: var(--green-dark); line-height: 1; }
.logo-tag  { font-size: 11px; color: var(--muted); }
.btn-header {
  background: var(--orange);
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s;
  white-space: nowrap;
}
.btn-header:hover { background: #e05a05; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(155deg, #0a3d20 0%, #1a8a4a 55%, #2ec27e 100%);
  padding: 64px 20px 80px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -60px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.badge {
  display: inline-block;
  background: var(--yellow);
  color: #7a3e00;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 b { color: var(--yellow); font-weight: 800; }

.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: clamp(15px, 2.5vw, 18px);
  max-width: 540px;
  margin: 0 auto 28px;
}

.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 15px 34px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(249,115,22,0.5); }

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); }

.stats {
  display: flex;
  gap: 36px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.sn { font-family: 'Baloo 2', sans-serif; font-size: 28px; font-weight: 800; color: #fff; }
.sl { font-size: 12px; color: rgba(255,255,255,0.72); }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--green-dark);
  padding: 14px 24px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.ti {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 500;
}

/* ---- SECTION TAGS & HEADINGS ---- */
.stag {
  display: inline-block;
  background: #fff3e0;
  color: #c05400;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}
.sec-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---- PAIN SECTION ---- */
.pain-section { background: #fff7f7; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.pain-card {
  background: var(--white);
  border: 1.5px solid #fde8e8;
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  position: relative;
}
.px {
  position: absolute; top: 14px; right: 14px;
  color: var(--red);
  font-size: 18px; font-weight: 800;
}
.pain-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--red); }
.pain-card p  { font-size: 13px; color: var(--muted); }

/* ---- HOW IT WORKS ---- */
.how-section { background: var(--green-light); }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 36px;
  flex-wrap: wrap;
}
.step { text-align: center; padding: 20px 16px; max-width: 220px; }
.snum {
  width: 48px; height: 48px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin: 0 auto 14px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--green-dark); }
.step p  { font-size: 13px; color: var(--muted); }
.step-arrow {
  font-size: 24px; color: var(--green);
  padding-top: 30px;
  flex-shrink: 0;
}

/* ---- PRICING ---- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 36px;
  align-items: start;
}
.pcard {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 28px 22px;
  position: relative;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  text-align: left;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.pcard.popular { border-color: var(--green); box-shadow: 0 8px 32px rgba(26,138,74,0.18); }
.pop-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff;
  padding: 5px 18px; border-radius: 20px;
  font-family: 'Baloo 2', sans-serif; font-size: 13px; font-weight: 700;
  white-space: nowrap;
}
.ptier {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); font-weight: 600; margin-bottom: 6px;
}
.pname  { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.pamount {
  display: flex; align-items: baseline; gap: 2px;
  color: var(--green); margin-bottom: 4px;
}
.pnum   { font-size: 44px; font-weight: 800; line-height: 1; }
.pper   { font-size: 14px; color: var(--muted); }
.poriginal { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-bottom: 18px; }
.pfeats { margin-bottom: 22px; }
.pfeats li { font-size: 14px; padding: 7px 0; border-bottom: 1px solid #f5f5f5; display: flex; gap: 8px; }
.pfeats li:last-child { border: none; }
.btn-plan {
  width: 100%; padding: 13px;
  border-radius: 50px; border: 2px solid var(--green);
  background: transparent; color: var(--green);
  font-size: 16px; font-weight: 800; cursor: pointer;
  transition: all .2s;
}
.btn-plan:hover              { background: var(--green); color: #fff; }
.btn-plan-green              { background: var(--green); color: #fff; border-color: var(--green); }
.btn-plan-green:hover        { background: var(--green-dark); }
.btn-plan-orange             { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-plan-orange:hover       { background: #e05a05; }

/* ---- TESTIMONIALS ---- */
.testi-section { background: var(--green-light); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.tcard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: left;
}
.rbadge {
  display: inline-block;
  background: #dcfce7; color: #166534;
  border: 1px solid #bbf7d0;
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; margin-bottom: 8px;
  font-family: 'Baloo 2', sans-serif;
}
.tstars { color: var(--yellow); font-size: 16px; margin-bottom: 10px; }
.ttext  { font-size: 14px; color: #333; line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.tauthor { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tname { font-weight: 700; font-size: 15px; }
.tloc  { font-size: 12px; color: var(--muted); }
.ttag  {
  display: inline-block;
  background: var(--green-light); color: var(--green-dark);
  padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}

/* ---- FAQ ---- */
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left;
  padding: 16px 20px;
  background: transparent; border: none; cursor: pointer;
  font-family: 'Hind', sans-serif; font-size: 15px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
}
.faq-q:hover { background: #f8f8f8; }
.farr { transition: transform .3s; font-size: 14px; color: var(--green); flex-shrink: 0; }
.faq-item.open .farr { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 20px; font-size: 14px; color: var(--muted); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 20px 16px; }
.disclaimer-text {
  font-size: 12px; color: #aaa;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px; margin-top: 6px; line-height: 1.7;
}

/* ---- FINAL CTA ---- */
.final-cta {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 72px 20px;
  text-align: center;
}
.final-cta h2 { color: #fff; font-size: clamp(24px,4vw,38px); margin-bottom: 14px; }
.final-cta p  { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 500px; margin: 0 auto 28px; }
.urgency {
  display: inline-block;
  background: rgba(249,115,22,0.18);
  border: 1px solid rgba(249,115,22,0.45);
  color: #fed7aa;
  padding: 8px 22px; border-radius: 30px;
  font-size: 14px; font-weight: 600;
  margin-bottom: 22px;
}

/* ---- FOOTER ---- */
footer {
  background: #1a1a2e;
  padding: 28px 20px;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}
.footer-links {
  display: flex; gap: 20px; justify-content: center;
  margin-bottom: 10px; flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,0.55); transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ---- FLOATING BUTTON ---- */
.float-btn {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--orange); color: #fff;
  padding: 13px 22px;
  border-radius: 50px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px; font-weight: 800;
  box-shadow: 0 6px 24px rgba(249,115,22,0.5);
  z-index: 998;
  animation: floatbounce 2.2s ease-in-out infinite;
}
@keyframes floatbounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .step-arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .trust-bar { gap: 14px; }
  .stats { gap: 22px; }
  .price-grid { grid-template-columns: 1fr; }
  .header { padding: 12px 16px; }
  .btn-header { padding: 8px 16px; font-size: 13px; }
}
