/* =========================================================
   Quikle AI Readiness Scorecard — styles.css
   Brand: #0A0A0A | #00F2FF | #FF5F5F | Inter
   Pre-Suasion: Rule 2 (Background Priming) — dark, teal-accent
   ========================================================= */

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

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

:root {
  --bg:        #0A0A0A;
  --bg-card:   #111111;
  --bg-hover:  #161616;
  --teal:      #00F2FF;
  --teal-dim:  rgba(0, 242, 255, 0.15);
  --teal-glow: rgba(0, 242, 255, 0.4);
  --coral:     #FF5F5F;
  --coral-dim: rgba(255, 95, 95, 0.15);
  --white:     #FFFFFF;
  --grey-100:  #E8E8E8;
  --grey-300:  #A0A0A0;
  --grey-500:  #555555;
  --grey-700:  #2A2A2A;
  --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
p  { color: var(--grey-100); font-size: 1.05rem; }
a  { color: var(--teal); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }

/* ── Hero Background Visual (Rule 2 — Background Priming) ── */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  opacity: 0.07;
}

/* ── Landing / Hero ── */
#landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  display: block;
}

.headline-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.hero-headline {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-headline span { color: var(--teal); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--grey-100);
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero-proof {
  font-size: 0.9rem;
  color: var(--grey-300);
  margin-bottom: 40px;
}

.hero-proof strong { color: var(--teal); }

/* ── Intro Copy Block ── */
.intro-block {
  background: var(--bg-card);
  border: 1px solid var(--grey-700);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 40px;
  text-align: left;
}

.intro-block p {
  font-size: 1rem;
  color: var(--grey-100);
  line-height: 1.75;
  margin-bottom: 12px;
}

.intro-block p:last-child { margin-bottom: 0; }

/* ── CTA Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.01em;
  box-shadow: 0 0 32px rgba(255, 95, 95, 0.25);
  text-align: center;
}

.btn-primary:hover {
  background: #ff7070;
  transform: translateY(-2px);
  box-shadow: 0 6px 40px rgba(255, 95, 95, 0.4);
  color: var(--white);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--teal);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--teal-dim);
  color: var(--teal);
}

/* ── Quiz Container ── */
#quiz-wrapper {
  display: none;
  min-height: 100vh;
  padding: 40px 20px 80px;
}

.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.quiz-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--teal);
}

.quiz-step-counter {
  font-size: 0.85rem;
  color: var(--grey-300);
  font-weight: 500;
}

/* ── Progress Bar ── */
.progress-bar-wrap {
  width: 100%;
  height: 4px;
  background: var(--grey-700);
  border-radius: 2px;
  margin-bottom: 48px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #00c8d4);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px var(--teal-glow);
  width: 0%;
}

/* ── Question Card ── */
.question-card {
  display: none;
  animation: fadeSlideIn 0.4s ease;
}

.question-card.active { display: block; }

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

.question-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.question-text {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.4;
}

/* ── Answer Options ── */
.options-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-item {
  background: var(--bg-card);
  border: 1.5px solid var(--grey-700);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.97rem;
  color: var(--grey-100);
  user-select: none;
}

.option-item:hover {
  border-color: var(--teal);
  background: var(--teal-dim);
  color: var(--white);
}

.option-item.selected {
  border-color: var(--teal);
  background: var(--teal-dim);
  color: var(--white);
}

.option-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--grey-500);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.option-item.selected .option-indicator {
  border-color: var(--teal);
  background: var(--teal);
}

.option-item.selected .option-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
}

.quiz-next-btn {
  margin-top: 28px;
  display: none;
  padding: 16px 40px;
  font-size: 1rem;
}

.quiz-next-btn.visible { display: inline-block; }

/* ── Email Gate ── */
#email-gate {
  display: none;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.email-gate-card {
  background: var(--bg-card);
  border: 1px solid var(--grey-700);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.gate-lock-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.email-gate-card h2 { margin-bottom: 12px; }

.email-gate-card p {
  font-size: 0.95rem;
  color: var(--grey-300);
  margin-bottom: 28px;
}

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

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-field {
  flex: 1;
  min-width: 200px;
}

.form-field input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--grey-700);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.97rem;
  color: var(--white);
  font-family: var(--font);
  transition: border-color var(--transition);
  outline: none;
}

.form-field input::placeholder { color: var(--grey-500); }

.form-field input:focus { border-color: var(--teal); }

.email-form .btn-primary { width: 100%; font-size: 1rem; padding: 16px; }

.privacy-note {
  font-size: 0.78rem;
  color: var(--grey-500);
  margin-top: 10px;
}

/* ── Buffer / Analysing Screen ── */
#buffer-screen {
  display: none;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px 20px;
}

.buffer-inner { max-width: 400px; }

.buffer-icon {
  font-size: 2.8rem;
  margin-bottom: 28px;
  animation: pulse 1.5s ease-in-out infinite;
}

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

.buffer-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--white);
}

.buffer-inner p {
  font-size: 0.95rem;
  color: var(--grey-300);
  margin-bottom: 32px;
}

.buffer-progress-wrap {
  width: 100%;
  height: 3px;
  background: var(--grey-700);
  border-radius: 2px;
  overflow: hidden;
}

.buffer-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #00c8d4);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--teal-glow);
  animation: bufferLoad 3s linear forwards;
  width: 0%;
}

@keyframes bufferLoad {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Results Page ── */
#results-page {
  display: none;
  min-height: 100vh;
  padding: 60px 20px 100px;
}

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

.score-display {
  margin: 0 auto 24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 0 40px var(--teal-glow);
}

.score-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}

.score-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tier-badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tier-badge.survival { background: rgba(255, 95, 95, 0.15); color: var(--coral); border: 1px solid var(--coral); }
.tier-badge.growth   { background: rgba(255, 200, 0, 0.12); color: #FFD700; border: 1px solid #FFD700; }
.tier-badge.scale    { background: var(--teal-dim); color: var(--teal); border: 1px solid var(--teal); }

.results-headline {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 16px;
}

.results-copy-card {
  background: var(--bg-card);
  border: 1px solid var(--grey-700);
  border-radius: var(--radius-lg);
  padding: 36px 36px;
  margin-bottom: 28px;
  text-align: left;
}

.results-copy-card p {
  font-size: 1rem;
  color: var(--grey-100);
  line-height: 1.8;
  margin-bottom: 16px;
}

.results-copy-card p:last-child { margin-bottom: 0; }

.results-copy-card .highlight-stat {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 0;
  border-top: 1px solid var(--grey-700);
  border-bottom: 1px solid var(--grey-700);
  margin: 16px 0;
}

.results-cta-block {
  text-align: center;
  padding: 40px 0 0;
}

.results-cta-block .kinship-line {
  font-size: 0.95rem;
  color: var(--grey-300);
  font-style: italic;
  margin-bottom: 20px;
}

.results-cta-block .btn-primary { font-size: 1.05rem; padding: 18px 44px; }

.results-cta-block .urgency-line {
  font-size: 0.82rem;
  color: var(--grey-500);
  margin-top: 12px;
}

/* ── Waitlist Page ── */
#waitlist-page {
  display: none;
  min-height: 100vh;
  padding: 60px 20px 100px;
}

.waitlist-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  text-align: center;
  margin-bottom: 14px;
}

.waitlist-headline {
  text-align: center;
  margin-bottom: 14px;
}

.waitlist-sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--grey-300);
  max-width: 580px;
  margin: 0 auto 20px;
}

.tribe-signal {
  text-align: center;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--teal);
  margin-bottom: 56px;
}

/* ── Offer Section ── */
.offer-card {
  background: var(--bg-card);
  border: 1.5px solid var(--grey-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}

.offer-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--grey-700);
  text-align: center;
}

.offer-header h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 6px; }
.offer-header p  { font-size: 0.9rem; color: var(--grey-300); }

.value-stack {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-700);
  gap: 16px;
}

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

.value-name {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.value-check { color: var(--teal); font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.value-name-text { font-weight: 600; color: var(--white); font-size: 0.97rem; }
.value-name-desc { font-size: 0.82rem; color: var(--grey-300); margin-top: 3px; }

.value-price {
  color: var(--grey-300);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.total-value-row {
  padding: 20px 32px;
  background: rgba(0, 242, 255, 0.05);
  border-top: 1px solid var(--teal-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.total-amount {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--teal);
  text-decoration: line-through;
  text-decoration-color: var(--grey-500);
  opacity: 0.7;
}

/* ── Pricing Block ── */
.pricing-block {
  background: linear-gradient(135deg, #111 0%, #151515 100%);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: 0 0 60px rgba(0, 242, 255, 0.08);
}

.pricing-block .founding-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.pricing-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.price-option {
  background: var(--bg);
  border: 1px solid var(--grey-700);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.price-option.featured { border-color: var(--teal); background: var(--teal-dim); }

.price-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}

.price-desc {
  font-size: 0.82rem;
  color: var(--grey-300);
  margin-top: 5px;
}

/* ── Strategic Cut (Rule 12) ── */
.strategic-cut {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--grey-700);
  border-bottom: 1px solid var(--grey-700);
}

.strategic-cut span { color: var(--teal); }

.pricing-block .urgency-hard {
  font-size: 0.88rem;
  color: var(--grey-300);
  margin-bottom: 24px;
}

.pricing-block .urgency-hard strong { color: var(--coral); }

.waitlist-form {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.waitlist-form input {
  background: var(--bg);
  border: 1.5px solid var(--grey-700);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.97rem;
  color: var(--white);
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.waitlist-form input::placeholder { color: var(--grey-500); }
.waitlist-form input:focus { border-color: var(--teal); }

.waitlist-form .btn-primary { font-size: 1.05rem; padding: 18px; width: 100%; }

.secondary-cta-line {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--grey-300);
}

.secondary-cta-line a { color: var(--teal); font-weight: 600; }

/* ── Success / Thank You ── */
#success-screen {
  display: none;
  min-height: 50vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 20px;
}

.success-icon { font-size: 3rem; margin-bottom: 20px; }
.success-screen h2 { margin-bottom: 12px; }
.success-screen p { color: var(--grey-300); max-width: 440px; margin: 0 auto 24px; }

/* ── Footer ── */
footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--grey-700);
  margin-top: 60px;
}

footer p { font-size: 0.82rem; color: var(--grey-500); }
footer a { color: var(--grey-300); }

/* ── Utility ── */
.hidden { display: none !important; }
.show { display: flex !important; }
.show-block { display: block !important; }
.text-teal { color: var(--teal); }
.text-coral { color: var(--coral); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .intro-block { padding: 24px 20px; }
  .email-gate-card { padding: 32px 24px; }
  .results-copy-card { padding: 28px 22px; }
  .value-stack { padding: 16px 20px; }
  .total-value-row { padding: 16px 20px; }
  .pricing-block { padding: 32px 22px; }
  .pricing-options { flex-direction: column; }
  .price-option { min-width: unset; }
  .form-row { flex-direction: column; }
  .form-field { min-width: unset; }
  .quiz-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  .btn-primary { padding: 15px 28px; font-size: 0.95rem; }
}
