/* =====================================================
   POSITIVE KEYWORD — style.css
   Clean, modern. HostGator-ready (no build step).
   ===================================================== */

/* --- Reset & Base ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #6366f1;
  --primary-dark:  #4f52c9;
  --accent-warm:   #f59e0b;
  --bg:            #ffffff;
  --bg-alt:        #f8f8fc;
  --border:        #e5e7eb;
  --text:          #111827;
  --muted:         #6b7280;
  --card-bg:       #ffffff;
  --radius-card:   24px;
  --radius-btn:    999px;
  --shadow-card:   0 2px 18px rgba(99,102,241,.08);
  --shadow-elev:   0 8px 40px rgba(99,102,241,.18);
  --gradient-hero: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --gradient-soft: linear-gradient(160deg, #f0f0ff 0%, #fdf4ff 100%);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
          'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Utility --------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hidden { display: none !important; }

/* --- Buttons --------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-elev); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--bg-alt); border-color: #c4b5fd; }

.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Header ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link { display: flex; align-items: center; }

/* ===== LOGO 320px width as requested ===== */
.logo-img {
  width: 320px;
  height: auto;
  object-fit: contain;
}

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.main-nav a:hover { color: var(--text); }

.header-cta { padding: 8px 18px; font-size: 14px; }

/* --- Hero ------------------------------------------ */
.hero-section {
  background: var(--gradient-soft);
  padding: 80px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 24px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ede9fe;
  color: #5b21b6;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}
.badge-icon { width: 24px; height: 24px; border-radius: 6px; }

.hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.check-badge {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-img-wrap { position: relative; }
.hero-glow {
  position: absolute;
  inset: -16px;
  border-radius: 32px;
  background: var(--gradient-hero);
  opacity: .25;
  filter: blur(40px);
  z-index: 0;
}
.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-elev);
  display: block;
}

/* --- Sections -------------------------------------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header.center { text-align: center; margin: 0 auto 48px; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent-warm);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.section-sub {
  color: var(--muted);
  margin-top: 12px;
  font-size: 16px;
}

/* --- Why us cards ---------------------------------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: all .25s ease;
}
.card:hover { box-shadow: var(--shadow-elev); transform: translateY(-3px); }
.card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.card p { color: var(--muted); line-height: 1.65; font-size: 15px; }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.icon-blue { background: var(--gradient-hero); }
.icon-purple { background: linear-gradient(135deg, #a855f7, #ec4899); }

/* --- Method steps ---------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: box-shadow .2s;
}
.step-card:hover { box-shadow: var(--shadow-card); }
.step-card h3 { font-size: 17px; font-weight: 700; margin: 8px 0 4px; }
.step-card p { color: var(--muted); font-size: 14px; }

.step-num {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
}
.step-blue { background: var(--primary); }
.step-warm { background: var(--accent-warm); }

.loop-note {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* --- Stats ----------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
}
.stat-num {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.stat-label { color: var(--muted); font-size: 15px; }

/* --- Quiz ------------------------------------------ */
.quiz-container { max-width: 680px; }

.quiz-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 44px;
  box-shadow: var(--shadow-elev);
}

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}
.progress-fill {
  height: 100%;
  background: var(--gradient-hero);
  border-radius: 999px;
  transition: width .4s ease;
}

.quiz-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.quiz-question { font-size: 22px; font-weight: 700; margin-bottom: 24px; line-height: 1.35; }

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

.quiz-opt {
  text-align: left;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s ease;
  color: var(--text);
}
.quiz-opt:hover {
  background: #f5f3ff;
  border-color: #c4b5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(99,102,241,.12);
}

/* --- Result / Form --------------------------------- */
.result-icon {
  font-size: 44px;
  width: 72px; height: 72px;
  background: var(--gradient-hero);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

.result-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

.result-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.65;
}

/* Lead form */
.lead-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }

.form-group input,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: border-color .15s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Success message */
.form-success {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  width: 56px; height: 56px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 auto 14px;
}
.form-success h4 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 15px; }

/* Restart */
.restart-btn {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font);
}
.restart-btn:hover { color: var(--text); }

/* Submit loading state */
.btn:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* --- Footer ---------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo { width: 120px; height: auto; object-fit: contain; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-email a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-email a:hover { color: var(--primary); }

/* --- Responsive ------------------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-wrap { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .logo-img { width: 200px; }
  .main-nav { display: none; }
  .quiz-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
