/* ============================================
   SOLOSTACK AI — STYLESHEET
   Clean, modern, light aesthetic
   Fonts: Syne (headings) + DM Sans (body)
   ============================================ */

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

:root {
    --white: #ffffff;
    --off-white: #f8f7f4;
    --surface: #f2f1ee;
    --border: #e4e2dc;
    --border-dark: #ccc9c0;
    --text: #1a1916;
    --text-2: #4a4840;
    --text-3: #807d74;
    --accent: #5b52e8;
    --accent-light: #ede9ff;
    --accent-dark: #3d36c4;
    --accent-2: #f0863a;
    --green: #22c55e;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.07);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.13);
    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo-mark span {
  display: block;
  background: var(--accent);
  border-radius: 2px;
  height: 4px;
}

.logo-mark span:nth-child(1) { width: 22px; }
.logo-mark span:nth-child(2) { width: 17px; opacity: 0.7; }
.logo-mark span:nth-child(3) { width: 12px; opacity: 0.45; }

.logo-mark.small span { height: 3px; }
.logo-mark.small span:nth-child(1) { width: 16px; }
.logo-mark.small span:nth-child(2) { width: 12px; }
.logo-mark.small span:nth-child(3) { width: 8px; }

.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.logo-text em {
  font-style: normal;
  color: var(--accent);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 18px;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--accent);
  color: white;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -150px;
  right: -100px;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-2);
  bottom: -100px;
  left: -80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.3;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-sub em {
  font-style: italic;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-3);
}

.hero-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tool-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.1px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px rgba(91, 82, 232, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(91, 82, 232, 0.4);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  padding: 0 0 64px;
}

.how-steps {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}

.step-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.step-text span {
  font-size: 13px;
  color: var(--text-3);
}

.how-divider {
  width: 1px;
  height: 40px;
  background: var(--border-dark);
  flex-shrink: 0;
}

/* ============================================
   QUIZ SECTION
   ============================================ */
.quiz-section {
  padding: 16px 0 80px;
}

.quiz-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.quiz-header {
  padding: 36px 40px 24px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.quiz-header h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 6px;
}

.quiz-header p {
  font-size: 14px;
  color: var(--text-3);
}

.progress-bar {
  height: 4px;
  background: var(--surface);
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  transition: width 0.4s ease;
  width: 0%;
}

.progress-label {
  padding: 10px 40px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border);
}

.quiz-body {
  padding: 36px 40px 40px;
  min-height: 340px;
}

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

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

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

.q-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
  margin-bottom: 24px;
  line-height: 1.3;
}

/* Grid options (Q1, Q3) */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  font-family: var(--font-body);
}

.option-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.option-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(91,82,232,0.12);
}

.option-icon {
  font-size: 22px;
  margin-bottom: 4px;
}

.option-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.option-card span {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.4;
}

/* List options (Q2, Q4) */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  font-family: var(--font-body);
  width: 100%;
}

.option-row:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.option-row.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(91,82,232,0.12);
}

.option-letter {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
  font-family: var(--font-head);
  transition: var(--transition);
}

.option-row.selected .option-letter,
.option-row:hover .option-letter {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.option-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-row strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.option-row span {
  font-size: 13px;
  color: var(--text-3);
}

/* ============================================
   EMAIL STEP
   ============================================ */
.email-step {
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
  padding: 16px 0;
}

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

.email-step h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 10px;
}

.email-step p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 28px;
  line-height: 1.6;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.email-form input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.email-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,82,232,0.12);
}

.email-note {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 0 !important;
}

/* ============================================
   RESULTS
   ============================================ */
.results-wrap {
  animation: fadeIn 0.4s ease;
}

.results-header {
  text-align: center;
  margin-bottom: 28px;
}

.results-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.results-header h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text);
  margin-bottom: 8px;
}

.results-header p {
  font-size: 15px;
  color: var(--text-2);
}

.results-tools {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.result-tool {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.result-tool:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.tool-emoji {
  font-size: 28px;
  flex-shrink: 0;
}

.tool-info {
  flex: 1;
}

.tool-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.tool-info span {
  font-size: 13px;
  color: var(--text-3);
}

.tool-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--accent-light);
  color: var(--accent);
  flex-shrink: 0;
  white-space: nowrap;
}

.results-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.results-footer p {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 16px;
}

.results-footer .btn {
  font-size: 14px;
  padding: 11px 22px;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.proof {
  padding: 64px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.proof-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 28px;
}

.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.proof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}

.proof-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 12px;
  font-style: italic;
}

.proof-card cite {
  font-size: 12px;
  color: var(--text-3);
  font-style: normal;
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-disclosure {
  max-width: 600px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

.footer-disclosure strong {
  color: var(--text-2);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.footer-links a:hover {
  color: var(--accent);
}

.footer-sep {
  font-size: 12px;
  color: var(--border-dark);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  .hero { padding: 56px 0 52px; }
  .hero-title { letter-spacing: -1px; }

  .how-steps { flex-direction: column; padding: 24px; gap: 12px; }
  .how-divider { width: 100%; height: 1px; }

  .quiz-header { padding: 24px 20px 18px; }
  .quiz-header h2 { font-size: 20px; }
  .progress-label { padding: 10px 20px; }
  .quiz-body { padding: 24px 20px 28px; }
  .q-title { font-size: 18px; }

  .options-grid { grid-template-columns: 1fr; }

  .proof-cards { grid-template-columns: 1fr; }

  .result-tool { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .nav-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
}

.tool-cta {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 4px;
    display: block;
}