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

:root {
  --green-dark: #1B3A2A;
  --green-main: #2D5A3D;
  --green-mid: #3D7A52;
  --green-light: #E8F0E4;
  --green-pale: #F4F9F2;
  --gold: #D4A843;
  --gold-light: #FFF8E7;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --red: #EF4444;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--green-pale);
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* === HEADER === */
.header {
  background: var(--white);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header img {
  height: 36px;
}

/* === MAIN CONTAINER === */
.main {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* === HERO === */
.hero {
  text-align: center;
  padding: 32px 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-main);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.hero p {
  font-size: 15px;
  color: var(--gray-600);
  max-width: 380px;
  margin: 0 auto;
}

/* === TRUST BAR === */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
  margin-bottom: 8px;
}

.trust-item {
  text-align: center;
}

.trust-item .number {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-main);
}

.trust-item .label {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === PROGRESS BAR === */
.progress-container {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.progress-info .step-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-main);
}

.progress-info .step-count {
  font-size: 12px;
  color: var(--gray-400);
}

.progress-track {
  height: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-main), var(--green-mid));
  border-radius: var(--radius-full);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 20%;
}

/* === QUIZ CARD === */
.quiz-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  animation: fadeSlideUp 0.4s ease;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-card.hidden {
  display: none;
}

.quiz-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.quiz-card .subtitle {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

/* === FORM ELEMENTS === */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  color: var(--gray-800);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

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

.option-btn.selected {
  border-color: var(--green-main);
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 500;
}

.option-btn .icon {
  font-size: 20px;
  flex-shrink: 0;
}

.option-btn .check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--gray-200);
  border-radius: 6px;
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.option-btn.selected .check {
  background: var(--green-main);
  border-color: var(--green-main);
}

.option-btn.selected .check::after {
  content: '✓';
  color: white;
  font-size: 13px;
  font-weight: 700;
}

/* Radio style */
.radio-btn .check {
  border-radius: 50%;
}

.radio-btn.selected .check {
  border-radius: 50%;
}

/* Slider */
.slider-container {
  padding: 10px 0 20px;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 8px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  margin: 20px 0 8px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--green-main) 0%, var(--green-mid) 50%);
  border-radius: var(--radius-full);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  background: var(--white);
  border: 3px solid var(--green-main);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
}

.slider-value {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--green-main);
  margin-bottom: 4px;
}

.slider-desc {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
}

/* === BUTTONS === */
.btn-next {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--green-main), var(--green-mid));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

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

.btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-back {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--gray-400);
  border: none;
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
}

/* === ANALYSIS SCREEN === */
.analysis-screen {
  text-align: center;
  padding: 40px 24px;
}

.analysis-screen.hidden {
  display: none;
}

.analysis-spinner {
  width: 80px;
  height: 80px;
  border: 4px solid var(--gray-100);
  border-top-color: var(--green-main);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.analysis-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.analysis-subtitle {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.analysis-progress {
  height: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  max-width: 280px;
  margin: 0 auto;
}

.analysis-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-main), var(--green-mid), var(--gold));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.3s ease;
}

.analysis-steps {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.analysis-step {
  font-size: 13px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.analysis-step.active {
  opacity: 1;
  color: var(--green-main);
  font-weight: 500;
}

.analysis-step.done {
  opacity: 0.7;
  color: var(--gray-600);
}

/* === RESULT SCREEN === */
.result-screen {
  animation: fadeSlideUp 0.5s ease;
}

.result-screen.hidden {
  display: none;
}

.result-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  color: white;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.result-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.result-score {
  font-size: 56px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.result-score span {
  font-size: 24px;
}

.result-label {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.result-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.result-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.result-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.result-benefits {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
}

.result-benefits li .b-icon {
  width: 24px;
  height: 24px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* === PROMO === */
.promo-card {
  background: linear-gradient(135deg, var(--gold-light), #FFF2D0);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '🎉';
  position: absolute;
  top: -4px;
  right: 8px;
  font-size: 32px;
  opacity: 0.3;
}

.promo-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.promo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.promo-code-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 12px;
}

.promo-code-box:active {
  transform: scale(0.97);
}

.promo-code {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 3px;
}

.promo-copy {
  font-size: 12px;
  color: var(--gray-400);
}

.promo-timer {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 4px;
}

.promo-timer b {
  color: var(--red);
}

.copied-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green-dark);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.copied-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* === CTA === */
.cta-btn {
  display: block;
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--green-main), var(--green-mid));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-bottom: 12px;
  animation: pulse-cta 2s infinite;
  letter-spacing: 0.3px;
}

@keyframes pulse-cta {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.3);
  }

  50% {
    box-shadow: 0 4px 28px rgba(45, 90, 61, 0.5);
  }
}

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

.cta-sub {
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

/* === REVIEWS === */
.reviews-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.reviews-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.review-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.review-item:last-child {
  border-bottom: none;
}

.review-stars {
  color: #FBBF24;
  font-size: 14px;
  margin-bottom: 6px;
}

.review-text {
  font-size: 13px;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 4px;
}

.review-author {
  font-size: 12px;
  color: var(--gray-400);
}

/* === FOOTER === */
.footer {
  text-align: center;
  padding: 24px 16px;
  border-top: 1px solid var(--gray-200);
  margin-top: 16px;
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 12px;
  color: var(--gray-400);
  text-decoration: none;
}

.footer-copy {
  font-size: 11px;
  color: var(--gray-400);
}

/* === WINNER CARD === */
.winner-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  color: white;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.winner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: shimmer 3s infinite;
}

.winner-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.winner-name {
  font-size: 28px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.winner-tagline {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.winner-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}
.winner-stat { text-align: center; }
.ws-num { font-size: 18px; font-weight: 800; }
.ws-label { font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* === COMPARISON TABLE === */
.comparison-table {
  margin-top: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.comp-row.comp-header {
  background: var(--gray-50);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comp-cell {
  padding: 10px 8px;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
}

.comp-label {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 12px;
}

.comp-them {
  color: var(--gray-400);
  justify-content: center;
  text-align: center;
}

.comp-us {
  color: var(--green-main);
  font-weight: 600;
  justify-content: center;
  text-align: center;
}

.comp-us.highlight {
  background: var(--green-pale);
}

.comp-note {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 8px;
  font-style: italic;
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
  .main {
    max-width: 520px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .trust-bar {
    gap: 40px;
  }
}