/* ============================================================
   LANDING PAGE — Light-theme hero + quiz modal
   Matches index.html global header/footer while using the
   design from landing mockups (1.png / 2.png).
   ============================================================ */

/* ---- Header overrides for light landing page ---- */
.landing-page #header {
  background: #fff;
  border-bottom: 1px solid rgba(12, 33, 36, 0.08);
  box-shadow: none;
}

.landing-page #header .logo-white {
  display: none !important;
}

.landing-page #header .logo-dark {
  display: inline-block !important;
}

.landing-page #header #nav ul li a {
  color: #0c2124;
}

.landing-page #header #nav ul li a:hover,
.landing-page #header.sticky #nav ul li a:hover {
  color: #1C7C8A;
}

.landing-page #header .menu-toggle {
  color: #0c2124;
}

.landing-page #header a.btn-white {
  background: #0c2124 !important;
  color: #fff !important;
}

.landing-page #header a.btn-white:hover {
  background: #1C7C8A !important;
  color: #fff !important;
}

/* ---- Hero ---- */
.landing-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: linear-gradient(180deg, #f2f7f7 0%, #ffffff 60%);
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(177, 227, 88, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.landing-hero .container {
  position: relative;
  z-index: 2;
}

.landing-hero__content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.landing-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a4044;
  background: #eef3f3;
  border: 1px solid rgba(12, 33, 36, 0.06);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.landing-hero__tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #B1E358;
}

.landing-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0c2124;
  margin-bottom: 24px;
}

.landing-hero h1 em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #0c2124;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0c2124;
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.32em;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 12px;
  transform: translateY(-4px);
}

.price-badge .sep {
  opacity: 0.5;
}

.landing-hero__lead {
  font-size: 18px;
  line-height: 1.65;
  color: #2a4044;
  max-width: 620px;
  margin: 0 auto 36px;
}

.landing-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.landing-hero__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.landing-hero__actions .btn-dark {
  background: #0c2124;
  color: #fff;
}

.landing-hero__actions .btn-dark:hover {
  background: #1C7C8A;
  transform: translateY(-2px);
}

.landing-hero__actions .btn-dark svg {
  transition: transform 0.2s ease;
}

.landing-hero__actions .btn-dark:hover svg {
  transform: translateX(3px);
}

.landing-hero__actions .btn-outline {
  background: #fff;
  color: #0c2124;
  border: 1px solid #d1dcdc;
}

.landing-hero__actions .btn-outline:hover {
  background: #f2f5f6;
  border-color: #b8c5c6;
}

.landing-hero__checks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.landing-hero__checks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2a4044;
}

.landing-hero__checks svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- Included section ---- */
.landing-included {
  padding: 100px 0;
  background: #fff;
}

.landing-included .head-wrapper {
  text-align: center;
  margin-bottom: 56px;
}

.landing-included .head-wrapper h2 {
  color: #0c2124;
  margin-bottom: 12px;
}

.landing-included .head-wrapper p {
  color: #5a6b6d;
  max-width: 560px;
  margin: 0 auto;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.included-card {
  background: #fff;
  border: 1px solid #e2e8ea;
  border-radius: 22px;
  padding: 32px;
  transition: all 0.25s ease;
}

.included-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  border-color: rgba(28, 124, 138, 0.18);
}

.included-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(177, 227, 88, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #0c2124;
}

.included-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0c2124;
}

.included-card p {
  font-size: 15px;
  color: #5a6b6d;
  line-height: 1.6;
}

/* ---- Quiz modal ---- */
.quiz-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.quiz-overlay.active {
  display: flex;
}

.quiz-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  color: #0c2124;
  position: relative;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-header {
  padding: 32px 32px 0;
  text-align: center;
}

.quiz-header .progress-bar {
  height: 4px;
  background: #e2e8ea;
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
}

.quiz-header .progress-fill {
  height: 100%;
  background: #B1E358;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.quiz-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0c2124;
}

.quiz-header p {
  font-size: 15px;
  color: #5a6b6d;
}

.quiz-body {
  padding: 24px 32px 32px;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.quiz-question {
  font-size: 16px;
  font-weight: 600;
  color: #0c2124;
  margin-bottom: 16px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #f5f7f8;
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px;
  color: #0c2124;
}

.quiz-option:hover {
  border-color: #1C7C8A;
  background: #fff;
}

.quiz-option.selected {
  border-color: #B1E358;
  background: rgba(177, 227, 88, 0.08);
}

.quiz-option .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.quiz-option.selected .check {
  background: #B1E358;
  border-color: #B1E358;
}

.quiz-option.selected .check::after {
  content: '✓';
  color: #0c2124;
  font-size: 12px;
  font-weight: 700;
}

.quiz-option.multi .check {
  border-radius: 6px;
}

.quiz-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8ea;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: #0c2124;
  background: #f5f7f8;
  transition: border-color 0.2s;
}

.quiz-input:focus {
  outline: none;
  border-color: #1C7C8A;
  background: #fff;
}

.quiz-input::placeholder {
  color: #9aa6a9;
}

.quiz-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8ea;
}

.quiz-back {
  padding: 12px 20px;
  background: none;
  border: 1px solid #e2e8ea;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #5a6b6d;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-back:hover {
  background: #f5f7f8;
}

.quiz-next {
  padding: 12px 28px;
  background: #0c2124;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-next:hover {
  background: #1C7C8A;
}

.quiz-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f7f8;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #5a6b6d;
  transition: all 0.2s;
  z-index: 10;
}

.close-btn:hover {
  background: #e2e8ea;
  color: #0c2124;
}

/* ---- Loading page ---- */
.loading-page {
  display: none;
  min-height: 100vh;
  background: #0c2124;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
}

.loading-page.active {
  display: flex;
}

.sheep-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 40px;
}

.sheep-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: ringSpin 2s linear infinite;
}

.sheep-ring circle {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.sheep-ring .ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}

.sheep-ring .ring-spin {
  stroke: #B1E358;
  stroke-dasharray: 70 160;
}

.sheep-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sheep-body-group {
  animation: sheepBob 2s ease-in-out infinite;
  transform-origin: 100px 165px;
}

.sheep-shadow {
  animation: shadowPulse 2s ease-in-out infinite;
  transform-origin: 100px 170px;
}

.sheep-eye {
  animation: eyeBlink 4s ease-in-out infinite;
  transform-origin: center;
}

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

@keyframes sheepBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shadowPulse {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(0.85); opacity: 0.12; }
}

@keyframes eyeBlink {
  0%, 45%, 55%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

.loading-page h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.loading-page .loading-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin-bottom: 32px;
}

.countdown {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 48px;
  font-weight: 700;
  color: #B1E358;
  margin-bottom: 24px;
}

.loading-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(177, 227, 88, 0.3);
  animation: dotPulse 1.5s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.3s; }
.loading-dots span:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotPulse {
  0%, 100% { background: rgba(177, 227, 88, 0.3); }
  50% { background: #B1E358; }
}

/* ---- Success page ---- */
.success-page {
  display: none;
  min-height: 100vh;
  background: #0c2124;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
}

.success-page.active {
  display: flex;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #B1E358;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: #0c2124;
}

.success-page h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.success-page .success-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.6;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #3c4043;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  border: 1px solid #dadce0;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.success-footer {
  margin-top: 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .included-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .landing-hero {
    padding: 120px 0 60px;
  }

  .landing-hero h1 {
    font-size: 38px;
  }

  .price-badge {
    font-size: 0.4em;
    margin-left: 0;
    margin-top: 12px;
    display: inline-flex;
  }

  .landing-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-hero__actions .btn {
    width: 100%;
  }

  .landing-hero__checks {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .quiz-modal {
    border-radius: 16px;
  }

  .quiz-header,
  .quiz-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}
