/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  /* Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-card: #F9FAFB;
  --bg-surface: #F3F4F6;
  --bg-accent: #EFF6FF;

  /* Text */
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-body: #4B5563;
  --text-muted: #6B7280;
  --text-hint: #9CA3AF;

  /* Accent */
  --color-cta: #F97316;
  --color-cta-hover: #EA580C;
  --color-success: #059669;
  --color-danger: #DC2626;
  --color-metric: #EA580C;

  /* Border */
  --border-default: #E5E7EB;
  --border-accent: #D1D5DB;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  /* Font */
  --font: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Sticky CTA bg */
  --sticky-bg: rgba(255, 255, 255, 0.95);

  /* SVG icon color */
  --icon-color: #6B7280;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --bg-primary: #0D0D0F;
  --bg-card: #141418;
  --bg-surface: #1C1C22;
  --bg-accent: #1E293B;

  --text-primary: #F9FAFB;
  --text-secondary: #E5E7EB;
  --text-body: #D1D5DB;
  --text-muted: #9CA3AF;
  --text-hint: #6B7280;

  --color-cta: #F97316;
  --color-cta-hover: #FB923C;
  --color-success: #10B981;
  --color-danger: #EF4444;
  --color-metric: #F97316;

  --border-default: #1F2937;
  --border-accent: #374151;

  --sticky-bg: rgba(13, 13, 15, 0.95);
  --icon-color: #9CA3AF;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-cta);
  text-decoration: none;
}

a:hover {
  color: var(--color-cta-hover);
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
}

p {
  margin-bottom: 16px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 48px 0;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--color-cta);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
  font-family: var(--font);
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  color: #fff;
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-cta);
  border: 1.5px solid var(--color-cta);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
  font-family: var(--font);
}

.btn-secondary:hover {
  background: rgba(249, 115, 22, 0.1);
  color: var(--color-cta);
  transform: scale(1.02);
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 48px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero__bullets {
  list-style: none;
  margin-bottom: 32px;
}

.hero__bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-body);
  font-size: 15px;
}

.hero__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--color-cta);
  border-radius: 50%;
}

.hero__cta {
  margin-bottom: 16px;
}

.hero__trust {
  font-size: 13px;
  color: var(--text-hint);
}

.hero__trust span {
  margin: 0 6px;
}

/* ===== PROBLEM ===== */
.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.problem-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.problem-card__text {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
}

.section-title {
  margin-bottom: 24px;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

.transition-text {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.transition-text strong {
  color: var(--color-cta);
  font-weight: 500;
}

/* ===== CASE STUDY ===== */
.case-study {
  background: var(--bg-card);
}

.case-study__label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.case-study__story {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.metric-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.metric-box__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.metric-box__value {
  font-size: 26px;
  font-weight: 600;
  color: var(--color-metric);
  margin-bottom: 4px;
}

.metric-box__note {
  font-size: 12px;
  color: var(--text-hint);
}

.result-box {
  background: var(--bg-accent);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.result-box__item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 15px;
}

.result-box__item:last-child {
  margin-bottom: 0;
}

.result-box__icon {
  color: var(--color-success);
  font-size: 18px;
  flex-shrink: 0;
}

/* ===== CONTENTS ===== */
.content-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.content-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  font-size: 20px;
}

.content-item__body h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.content-item__body p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}

.highlight-box {
  background: var(--bg-accent);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 8px;
  text-align: center;
}

.highlight-box__icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.highlight-box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.highlight-box strong {
  color: var(--color-cta);
}

/* ===== WHO IS IT FOR ===== */
.yes-list,
.no-list {
  list-style: none;
  margin-bottom: 24px;
}

.yes-list li,
.no-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
}

.yes-list li::before {
  content: '✓';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  color: var(--color-success);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.no-list__title {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.no-list li::before {
  content: '✗';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-danger);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.no-list li {
  color: var(--text-hint);
  font-size: 14px;
}

/* ===== PRICING ===== */
.pricing {
  text-align: center;
}

.pricing__block {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  margin-bottom: 24px;
}

.price-old {
  font-size: 22px;
  color: var(--text-hint);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.price-new {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-cta);
  margin-bottom: 24px;
}

.pricing__compare {
  text-align: left;
  margin-bottom: 28px;
}

.pricing__compare li {
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
}

.pricing__compare li:last-child {
  border-bottom: none;
  color: var(--color-cta);
  font-weight: 500;
}

.pricing__cta {
  margin-bottom: 20px;
}

.pricing__cta .btn-primary {
  width: 100%;
  max-width: 400px;
  padding: 18px 32px;
  font-size: 18px;
}

.shopier-embed {
  margin: 28px auto;
  max-width: 480px;
  text-align: center;
}

.shopier-buy-btn {
  width: 100%;
  padding: 18px 32px;
  font-size: 17px;
  display: block;
}

.trust-signals {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-hint);
  margin-bottom: 20px;
}

.trust-signals span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.guarantee-box {
  background: var(--bg-accent);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
}

.guarantee-box strong {
  color: var(--color-cta);
  font-weight: 500;
}

/* ===== ABOUT ===== */
.about__profile {
  text-align: center;
  margin-bottom: 24px;
}

.about__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--color-cta);
  margin: 0 auto 16px;
  object-fit: cover;
  background: var(--bg-card);
}

.about__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.about__signals {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about__signals li {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 18px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item__question:hover {
  background: var(--bg-surface);
}

.faq-item__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s;
  color: var(--text-hint);
}

.faq-item.active .faq-item__arrow {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 400px;
}

.faq-item__answer-inner {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
  padding: 64px 0;
}

.final-cta h2 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 32px;
}

.final-cta__whatsapp {
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.final-cta__whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-cta);
  font-weight: 500;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transition: background 0.3s, border-color 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.theme-toggle:hover {
  border-color: var(--border-accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.theme-toggle .icon-sun,
[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle {
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid var(--border-default);
  font-size: 13px;
  color: var(--text-hint);
}

/* ===== STICKY CTA BAR (Mobile) ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--sticky-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-top: 1px solid var(--border-default);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

/* ===== WHATSAPP WIDGET ===== */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  cursor: pointer;
}

.wa-widget__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s;
  border: none;
  cursor: pointer;
}

.wa-widget__btn:hover {
  transform: scale(1.1);
}

.wa-widget__btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.wa-widget__tooltip {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-body);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.wa-widget:hover .wa-widget__tooltip,
.wa-widget__tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.wa-widget.bounce .wa-widget__btn {
  animation: wa-bounce 0.6s ease;
}

/* ===== EXIT INTENT POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 16px;
}

.popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
}

.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-hint);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 4px;
}

.popup__close:hover {
  color: var(--text-primary);
}

.popup h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.popup p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.popup .btn-primary {
  width: 100%;
  margin-bottom: 12px;
}

.popup__alt {
  font-size: 14px;
  color: var(--text-hint);
}

/* ===== THANK YOU PAGE ===== */
.thankyou {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.thankyou__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.thankyou h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.thankyou__subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
}

.thankyou__block {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}

.thankyou__block h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.thankyou__block p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.thankyou__block .btn-primary,
.thankyou__block .btn-secondary {
  font-size: 14px;
  padding: 12px 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  section { padding: 40px 0; }

  .hero {
    padding: 60px 0 40px;
    min-height: auto;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .metric-box {
    padding: 16px 12px;
  }

  .metric-box__value {
    font-size: 22px;
  }

  .price-new {
    font-size: 40px;
  }

  .about__signals {
    flex-direction: column;
  }

  .sticky-cta {
    display: block;
  }

  .wa-widget {
    bottom: 80px;
  }

  .final-cta h2 {
    font-size: 20px;
  }

  .popup {
    padding: 32px 20px;
  }
}

@media (min-width: 769px) {
  .container {
    padding: 0 24px;
  }

  section {
    padding: 80px 0;
  }

  .hero {
    padding: 120px 0 80px;
  }
}
