/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #1B6B4A;
  --color-primary-dark: #145239;
  --color-primary-light: #E8F5EE;
  --color-accent: #E8734A;
  --color-accent-hover: #D4623B;
  --color-dark: #1A1F2E;
  --color-text: #3D4555;
  --color-text-light: #6B7280;
  --color-bg: #FAFBFC;
  --color-white: #FFFFFF;
  --color-border: #E5E7EB;
  --color-star: #F5A623;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-button: 'Montserrat', var(--font-sans);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--color-dark);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 8px 0;
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-bar__item svg { opacity: .7; }

/* ===== Header ===== */
.header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__icon {
  width: 38px;
  height: 38px;
  background: var(--color-primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.logo__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-dark);
}

.logo__text strong { font-weight: 700; }

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: color .2s;
}

.nav a:hover { color: var(--color-primary); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }

.btn--primary {
  background: var(--color-primary);
  color: white;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Download CTA group */
.download-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.download-cta--sm {
  gap: 10px;
}

/* Download buttons */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-primary-dark);
  border-radius: 10px;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-button);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(27, 107, 74, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.download-btn:hover {
  transform: translateY(-3px);
  background: var(--color-primary-dark);
  border-color: #0F3D2A;
  box-shadow: 0 8px 24px rgba(27, 107, 74, 0.45);
}

.download-btn:active {
  transform: translateY(-1px);
  background: #0F3D2A;
  box-shadow: 0 3px 10px rgba(27, 107, 74, 0.3);
}

.download-btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

.download-btn--lg {
  padding: 16px 32px;
  font-size: 18px;
}

/* ===== Hero ===== */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--color-primary-light) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(27,107,74,.15);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.highlight {
  color: var(--color-primary);
  position: relative;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.hero__features svg { color: var(--color-primary); flex-shrink: 0; }

.hero__cta { margin-bottom: 28px; }

.hero__cta-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 10px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatars { display: flex; }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid white;
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }
.avatar--sm { width: 40px; height: 40px; font-size: 13px; margin-left: 0; }

.stars {
  color: var(--color-star);
  font-size: 14px;
  letter-spacing: 1px;
}

.hero__social-proof span { font-size: 13px; color: var(--color-text-light); }

/* Before/After Card */
.before-after-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.before-after-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.verified-badge--overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-sm);
}

.time-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
}

.before-after-card__image {
  position: relative;
}

.before-after-card__image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.ba-labels {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.ba-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 12px;
  border-radius: 6px;
}

.ba-label--before {
  background: rgba(0,0,0,.65);
  color: white;
}

.ba-label--after {
  background: var(--color-primary);
  color: white;
}

.before-after-card__footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
}

.stat {
  padding: 16px;
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.stat:last-child { border-right: none; }

.stat__value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
}

.stat__label {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ===== Press ===== */
.press {
  padding: 32px 0;
  background: white;
  border-bottom: 1px solid var(--color-border);
}

.press__label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.press__logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.press__logos span {
  font-size: 16px;
  font-weight: 700;
  color: #C5C9D0;
  letter-spacing: -.3px;
}

/* ===== Sections ===== */
.section { padding: 80px 0; }

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--color-dark);
  margin-bottom: 14px;
}

.section__header p {
  color: var(--color-text-light);
  font-size: 16px;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
}

.step__number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-primary);
}

.step h3 {
  font-size: 18px;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* ===== Results ===== */
.results { background: white; }

.results__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.result-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.result-card__image-wrap {
  position: relative;
}

.result-card__image-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.result-card__image-wrap--compact img {
  aspect-ratio: 16/9;
}

.result-card__body { padding: 24px; }

.result-card__stats {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--color-primary);
}

.result-card__quote {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 18px;
  line-height: 1.65;
  font-style: italic;
}

.result-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-card__author strong {
  display: block;
  font-size: 14px;
  color: var(--color-dark);
}

.result-card__author span {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ===== Trust Section ===== */
.trust-section { background: var(--color-primary-light); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background: white;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.trust-card__icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.trust-card h3 {
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== Reviews ===== */
.reviews { background: white; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--color-bg);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.review-card .stars { margin-bottom: 14px; }

.review-card p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--color-text);
}

.review-card__author {
  font-size: 13px;
  color: var(--color-text-light);
}

.review-card__author strong { color: var(--color-dark); }

.verified-user {
  display: block;
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 4px;
}

.trustpilot-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.trustpilot-badge__score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trustpilot-badge__rating {
  font-weight: 700;
  color: var(--color-dark);
}

.trustpilot-badge__label {
  font-size: 14px;
  color: var(--color-text-light);
}

/* ===== Download ===== */
.download { background: var(--color-dark); }

.download__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.download__content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  color: white;
  margin-bottom: 14px;
}

.download__content > p {
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
  font-size: 16px;
}

.download__features {
  margin-bottom: 28px;
}

.download__features li {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  padding: 6px 0;
}

.download__buttons {
  margin-bottom: 16px;
}

.download__secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* App Preview */
.app-preview {
  background: #2A3040;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.app-preview__bar {
  background: #1E2330;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
}

.app-preview__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4A5068;
}

.app-preview__bar span:first-child { background: #FF5F57; }
.app-preview__bar span:nth-child(2) { background: #FFBD2E; }
.app-preview__bar span:nth-child(3) { background: #28CA41; }

.app-preview__content {
  display: flex;
  min-height: 280px;
}

.app-preview__sidebar {
  width: 130px;
  background: #232838;
  padding: 16px 0;
}

.app-preview__nav-item {
  padding: 10px 16px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.app-preview__nav-item--active {
  color: white;
  background: rgba(27,107,74,.3);
  border-left: 3px solid var(--color-primary);
}

.app-preview__main {
  flex: 1;
  padding: 20px;
}

.app-preview__stat-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.app-stat__label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.app-stat__value {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.app-stat__value--green { color: #4ADE80; }

.app-preview__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.chart-bar {
  flex: 1;
  background: rgba(255,255,255,.1);
  border-radius: 4px 4px 0 0;
  transition: height .3s;
}

.chart-bar--current { background: var(--color-primary); }

.app-preview__today {
  background: rgba(27,107,74,.2);
  border: 1px solid rgba(27,107,74,.3);
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.8);
}

.app-preview__today strong { color: #4ADE80; }

/* ===== FAQ ===== */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.faq__item summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--color-text-light);
  transition: transform .2s;
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.65;
  padding-right: 32px;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.6);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand p {
  margin-top: 12px;
  font-size: 14px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__links h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer__links a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  transition: color .2s;
}

.footer__links a:hover { color: white; }

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
}

.footer__disclaimer {
  margin-top: 8px;
  font-size: 11px !important;
  opacity: .5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform .3s;
}

.modal.active .modal__content { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-light);
  cursor: pointer;
}

.modal__icon {
  width: 72px;
  height: 72px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-primary);
}

.modal h3 {
  font-size: 22px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.modal p { color: var(--color-text-light); font-size: 15px; }

.modal__progress {
  height: 6px;
  background: var(--color-border);
  border-radius: 100px;
  margin: 24px 0 16px;
  overflow: hidden;
}

.modal__progress-bar {
  height: 100%;
  width: 0;
  background: var(--color-primary);
  border-radius: 100px;
  transition: width 5s linear;
}

.modal.active .modal__progress-bar { width: 100%; }

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero__grid,
  .download__card,
  .results__grid {
    grid-template-columns: 1fr;
  }

  .steps,
  .trust-grid,
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .nav { display: none; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .trust-bar__inner { gap: 12px; }
  .footer__links { grid-template-columns: 1fr; }
  .trustpilot-badge { flex-direction: column; text-align: center; }

  .download-cta:not(.download-cta--sm) {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
