/* ==========================================================================
   Zones of Genius — Main Stylesheet
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Zone colors */
  --genius: #2C4A2E;
  --genius-light: #3D6B40;
  --genius-bg: #E2EBD9;
  --excellence: #C49A20;
  --excellence-light: #D4AA30;
  --excellence-bg: #FDF5DC;
  --competence: #D4792A;
  --competence-light: #E08A3A;
  --competence-bg: #FDF0E2;
  --incompetence: #D4644E;
  --incompetence-light: #E07060;
  --incompetence-bg: #FFF0ED;

  /* Base colors */
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #F0F5EC;
  --bg-deep: #E2EBD9;
  --bg-accent: #D6E4CA;
  --white: #FAFDF7;
  --forest: #2C4A2E;
  --forest-light: #3D6B40;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1100px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
}

a {
  color: var(--forest);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- View Switching ---------- */
.view {
  display: none;
}

.view.active {
  display: block;
}

/* Auth-based visibility */
.auth-only {
  display: none;
}

body.logged-in .auth-only {
  display: block;
}

body.logged-in .guest-only {
  display: none;
}

/* ---------- Navigation ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: white;
  font-weight: 400;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover {
  color: white;
}

.nav-links .btn-nav {
  background: var(--forest);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.nav-links .btn-nav:hover {
  background: var(--forest-light);
  transform: translateY(-1px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.45) 65%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.hero-video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 400;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: #F0C060;
}

.hero p {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 36px;
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta input[type="email"] {
  padding: 14px 24px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  width: 300px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}

.hero-cta input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero-cta input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--forest);
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-deep);
  color: var(--forest);
  border: 1px solid var(--bg-accent);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-download:hover {
  background: var(--bg-accent);
  transform: translateY(-1px);
}

.btn-download svg {
  width: 18px;
  height: 18px;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Auth Message ---------- */
.auth-message {
  text-align: center;
  padding: 48px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.auth-message .icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.auth-message h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--forest);
}

.auth-message p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.6;
}

.auth-message .email-highlight {
  font-weight: 600;
  color: var(--text);
}

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--forest);
  border-radius: 2px;
  margin: 0 auto 40px;
  opacity: 0.3;
}

/* ---------- Framework Section ---------- */
.framework-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 40px;
}

.framework-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 16px;
  color: var(--forest);
}

.framework-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 16px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.65;
}

.framework-intro a {
  color: var(--forest);
  text-decoration: underline;
}

.framework-intro strong {
  color: var(--text);
}

.framework-closing {
  text-align: center;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  max-width: 640px;
  margin: 36px auto 0;
}

.framework-apply {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 640px;
  margin: 16px auto 0;
}

.zone-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.zone-strip .zone-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 16px 16px;
  text-align: center;
  border-top: 4px solid;
  transition: transform 0.2s;
}

.zone-strip .zone-card:hover {
  transform: translateY(-2px);
}

.zone-strip .zone-card .zone-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.zone-strip .zone-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.zone-strip .zone-card p {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-light);
}

/* Zone card color variants (homepage) */
.zone-strip .zone-card.genius { border-color: var(--genius); }
.zone-strip .zone-card.genius h3 { color: var(--genius); }

.zone-strip .zone-card.excellence { border-color: var(--excellence); }
.zone-strip .zone-card.excellence h3 { color: var(--excellence); }

.zone-strip .zone-card.competence { border-color: var(--competence); }
.zone-strip .zone-card.competence h3 { color: var(--competence); }

.zone-strip .zone-card.incompetence { border-color: var(--incompetence); }
.zone-strip .zone-card.incompetence h3 { color: var(--incompetence); }

/* ---------- Mode Section ---------- */
.mode-section {
  padding: var(--section-padding);
  background: var(--bg);
}

.mode-section h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 12px;
  color: var(--forest);
}

.mode-section .section-subtitle {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.mode-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.mode-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 2px solid var(--bg-accent);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.mode-card:hover {
  border-color: var(--forest);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 74, 46, 0.1);
}

.mode-card .mode-icon {
  font-size: 1.25rem;
  margin-left: 6px;
  vertical-align: middle;
}

.mode-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.mode-card .mode-time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--forest);
  background: rgba(44, 74, 46, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.mode-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.mode-card.active {
  border-color: var(--forest);
  background: var(--bg-deep);
}

.mode-card .mode-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--genius-bg);
  color: var(--genius);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Deep Dive Section ---------- */
.deep-dive-header {
  padding: 100px 0 24px;
}

.deep-dive-section {
  padding: 0 0 80px;
}

.deep-dive-section > .container {
  max-width: 680px;
  margin: 0 auto;
}

.deep-dive-reminder {
  position: sticky;
  top: 56px;
  z-index: 90;
  margin: 0 0 16px;
  padding: 10px 0 12px;
  background: var(--bg);
}

.deep-dive-reminder-inner {
  padding: 14px 20px;
  background: var(--bg-deep);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
  text-align: center;
  border: 1px solid var(--bg-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.deep-dive-section .zone-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 20px;
  border: none;
  border-left: 4px solid transparent;
  text-align: left;
  transition: transform 0.2s;
}
.deep-dive-section .zone-card:hover { transform: translateX(3px); }

.deep-dive-section .zone-genius  { border-left-color: var(--genius); }
.deep-dive-section .zone-excellence { border-left-color: var(--excellence); }
.deep-dive-section .zone-competence { border-left-color: var(--competence); }
.deep-dive-section .zone-incompetence { border-left-color: var(--incompetence); }

.deep-dive-section .zone-header { margin-bottom: 10px; }

.deep-dive-section .zone-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.deep-dive-section .zone-genius  .zone-label { color: var(--genius);       background: var(--genius-bg); }
.deep-dive-section .zone-excellence .zone-label { color: var(--excellence);  background: var(--excellence-bg); }
.deep-dive-section .zone-competence .zone-label { color: var(--competence);  background: var(--competence-bg); }
.deep-dive-section .zone-incompetence .zone-label { color: var(--incompetence); background: var(--incompetence-bg); }

.deep-dive-section .zone-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.deep-dive-section .zone-card .zone-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
  margin: 8px 0 0;
}

.deep-dive-section .zone-input-area { display: block; }

.deep-dive-section .zone-textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  resize: vertical;
  margin-top: 14px;
  transition: border-color 0.2s;
  outline: none;
}

.deep-dive-section .zone-textarea:focus {
  border-color: var(--forest-light);
  background: var(--white);
}

.deep-dive-section .zone-textarea::placeholder {
  color: #b5b5b5;
  font-size: 13px;
}

.save-status {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 6px;
  min-height: 20px;
  opacity: 0.7;
}

.save-status.saving {
  color: var(--excellence);
}

.save-status.saved {
  color: var(--genius);
}

/* ---------- Save / Generate Section ---------- */
.save-section {
  padding: 48px 0 80px;
  text-align: center;
}

.save-section .btn-primary {
  background: var(--forest);
  color: var(--white);
  padding: 16px 40px;
  font-size: 1.1rem;
}

.save-section .btn-primary:hover {
  background: var(--forest-light);
}

.save-section p {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ---------- Daily Response Page ---------- */
.daily-response-page {
  padding: 100px 0 80px;
  min-height: 100vh;
}

.daily-response-page h1 {
  font-size: 2.25rem;
  color: var(--forest);
  margin-bottom: 8px;
}

.daily-response-page .day-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* Progress dots */
.progress-section {
  margin-bottom: 48px;
}

.progress-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-accent);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.progress-dot.completed {
  background: var(--genius);
  border-color: var(--genius);
  color: #fff;
}

.progress-dot.current {
  border-color: var(--forest);
  color: var(--forest);
  box-shadow: 0 0 0 4px rgba(44, 74, 46, 0.12);
}

.progress-dot.future {
  opacity: 0.5;
}

.progress-label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Daily question card */
.daily-question-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.daily-question-card .question-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--forest);
  margin-bottom: 24px;
}

.daily-question-card .zone-textarea {
  min-height: 180px;
}

.daily-question-card .btn-primary {
  margin-top: 20px;
  background: var(--forest);
  color: var(--white);
}

.daily-question-card .btn-primary:hover {
  background: var(--forest-light);
}

/* Past responses accordion */
.past-responses {
  margin-top: 48px;
}

.past-responses h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--forest);
}

.past-response-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--bg-accent);
}

.past-response-header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s;
}

.past-response-header:hover {
  background: var(--bg-deep);
}

.past-response-header .chevron {
  transition: transform 0.3s;
  font-size: 0.85rem;
  color: var(--text-light);
}

.past-response-item.open .chevron {
  transform: rotate(180deg);
}

.past-response-body {
  display: none;
  padding: 0 20px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.past-response-item.open .past-response-body {
  display: block;
}

/* ---------- Daily Preview (home page) ---------- */
.daily-preview {
  padding: var(--section-padding);
  background: var(--bg);
}

.daily-preview .preview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.daily-preview h2 {
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 16px;
}

.daily-preview > .container > .preview-layout > div:first-child > p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.daily-preview ul {
  list-style: none;
  margin-bottom: 24px;
}

.daily-preview ul li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.daily-preview ul li::before {
  content: '→ ';
  color: var(--genius);
  font-weight: 600;
}

/* Phone frame — prototype style with visible border */
.phone-frame {
  background: #fff;
  border-radius: 40px;
  padding: 24px 20px 20px;
  border: 6px solid #1a1a1a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  max-width: 340px;
  margin: 0 auto;
  position: relative;
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 14px;
  margin: -4px auto 20px;
}

.phone-content {
  padding: 0 8px 8px;
}

.day-badge {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 90%;
}

.bubble-incoming {
  background: #EBEBEB;
  border-bottom-left-radius: 4px;
}

.bubble-outgoing {
  background: var(--forest-light);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.voice-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(44, 74, 46, 0.12);
  border-radius: 18px;
  margin-left: auto;
  max-width: 70%;
  margin-bottom: 12px;
}

.voice-waves {
  display: flex;
  gap: 2px;
  align-items: center;
}

.voice-waves span {
  display: block;
  width: 3px;
  background: var(--forest-light);
  border-radius: 2px;
  animation: wave 0.8s ease-in-out infinite;
}

.voice-waves span:nth-child(1) { height: 8px; animation-delay: 0s; }
.voice-waves span:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.voice-waves span:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.voice-waves span:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.voice-waves span:nth-child(5) { height: 10px; animation-delay: 0.4s; }
.voice-waves span:nth-child(6) { height: 14px; animation-delay: 0.15s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.voice-label {
  font-size: 13px;
  color: var(--forest-light);
  font-weight: 500;
}

/* ---------- Results / Summary Section ---------- */
.summary-section {
  padding: 100px 0 80px;
  min-height: 100vh;
}

.summary-section h1 {
  font-size: 2.5rem;
  color: var(--forest);
  margin-bottom: 8px;
}

.summary-section .section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* Zones map visualization */
.zones-map {
  margin-bottom: 48px;
}

.zones-map h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 24px;
}

.zones-map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.zone-map-item {
  border-radius: var(--border-radius-lg);
  padding: 28px 24px;
  position: relative;
}

.zone-map-item h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 400;
}

.zone-map-item ul {
  list-style: none;
  padding: 0;
}

.zone-map-item ul li {
  padding: 4px 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.zone-map-item ul li::before {
  content: '• ';
  font-weight: 600;
}

.zone-map-item.genius { background: var(--genius-bg); color: var(--genius); }
.zone-map-item.excellence { background: var(--excellence-bg); color: var(--excellence); }
.zone-map-item.competence { background: var(--competence-bg); color: var(--competence); }
.zone-map-item.incompetence { background: var(--incompetence-bg); color: var(--incompetence); }

/* Narrative section */
.narrative-section {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  margin-bottom: 48px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.narrative-section h2 {
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 20px;
}

.narrative-section .narrative-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.narrative-section .narrative-text p {
  margin-bottom: 16px;
}

/* Download / Export buttons */
.export-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Three paths section */
.paths-section {
  margin-top: 56px;
}

.paths-section h2 {
  font-size: 1.75rem;
  color: var(--forest);
  margin-bottom: 8px;
  text-align: center;
}

.paths-section .section-subtitle {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 36px;
}

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

.path-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
}

.path-card:hover {
  border-color: var(--forest);
  transform: translateY(-4px);
}

.path-card .path-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.path-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 8px;
  font-weight: 400;
}

.path-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---------- About Section ---------- */
.about-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px 60px;
}

.about-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--forest);
}

.about-intro {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
}

.about-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}

.about-photo-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-accent);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-light);
  overflow: hidden;
}

.about-card .about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  text-align: left;
  margin-bottom: 16px;
}

.about-linkedin-wrapper {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-accent);
  text-align: center;
}

.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 600;
}

.about-linkedin:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
footer {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 40px 24px;
  border-top: 1px solid var(--bg-accent);
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

footer a {
  color: var(--forest);
}

/* ---------- Loading Overlay ---------- */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 245, 236, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--bg-accent);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}

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

.loading-overlay p {
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--forest);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
}

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

.toast.error {
  background: var(--incompetence);
}

.toast.success {
  background: var(--genius);
}

/* ---------- Progress Bar (top of page) ---------- */
.top-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--forest);
  z-index: 200;
  transition: width 0.4s ease;
}

/* ---------- Verify Section ---------- */
.verify-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.verify-section .auth-message {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 56px 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px 0;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta input[type="email"] {
    width: 100%;
  }

  .zone-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .daily-preview .preview-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .zones-map-grid {
    grid-template-columns: 1fr;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.btn-nav) {
    display: none;
  }

  .deep-dive-section h1,
  .daily-response-page h1,
  .summary-section h1 {
    font-size: 2rem;
  }

  .framework-section h2,
  .mode-section h2 {
    font-size: 1.75rem;
  }

  .narrative-section {
    padding: 28px 20px;
  }

  .daily-question-card {
    padding: 28px 20px;
  }

  .export-buttons {
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .zone-strip {
    grid-template-columns: 1fr;
  }

  .zone-card {
    padding: 24px 20px;
  }

  .mode-card {
    padding: 28px 20px;
  }

  .progress-dots {
    gap: 6px;
  }

  .progress-dot {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .phone-frame {
    width: 240px;
  }

  .container {
    padding: 0 16px;
  }

  footer .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
