/* ===== FOCUSMATE STYLES ===== */
:root {
  --cream: #faf8f4;
  --cream-dark: #f2ede4;
  --lavender: #e8e4f8;
  --lavender-mid: #c5bdf0;
  --lavender-deep: #7c6fd4;
  --blue-soft: #ddeeff;
  --blue-mid: #6aaee8;
  --green-soft: #ddf2e8;
  --green-mid: #4caf82;
  --peach: #fde8dc;
  --peach-mid: #f0a07a;
  --text-dark: #1a1825;
  --text-mid: #4a4560;
  --text-light: #8b87a0;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 4px 24px rgba(124,111,212,0.10);
  --shadow-card: 0 2px 16px rgba(30,20,80,0.08);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
em { font-style: italic; }
p { color: var(--text-mid); }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-cream { background: var(--cream-dark); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { margin-top: 0.75rem; font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.75rem 1.75rem;
  border-radius: 100px; font-weight: 500; font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,111,212,0.18); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lavender-deep); color: var(--white); }
.btn-primary:hover { background: #6b5ec0; }
.btn-ghost { background: transparent; color: var(--lavender-deep); border: 1.5px solid var(--lavender-mid); }
.btn-ghost:hover { background: var(--lavender); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* ===== NAV ===== */
.nav-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,111,212,0.08);
}
.nav-container {
  display: flex; align-items: center; gap: 2rem;
  max-width: 1120px; margin: 0 auto; padding: 0 1.5rem;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.1rem; color: var(--text-dark); }
.logo-icon { font-size: 1.3rem; }
.logo-text { font-family: var(--font-display); }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a { color: var(--text-mid); font-size: 0.95rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--lavender-deep); }
.nav-cta { margin-left: 1rem; }
.nav-burger { display: none; font-size: 1.4rem; color: var(--text-mid); padding: 0.4rem; }
.nav-mobile {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 1rem 1.5rem 1.5rem; background: var(--cream);
  border-top: 1px solid var(--lavender);
}
.nav-mobile a { padding: 0.65rem 0; color: var(--text-mid); font-size: 1rem; border-bottom: 1px solid var(--lavender); }
.nav-mobile .btn { margin-top: 0.75rem; text-align: center; }
.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }
}

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center; padding: 6rem 0 4rem; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--cream) 0%, var(--lavender) 40%, var(--peach) 70%, var(--cream) 100%);
  background-size: 400% 400%;
  animation: heroGrad 12s ease infinite;
}
@keyframes heroGrad {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-badge {
  display: inline-block; background: var(--white); color: var(--lavender-deep);
  padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.85rem; font-weight: 500;
  border: 1px solid var(--lavender-mid); margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.hero-title { margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.15rem; max-width: 520px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-note { font-size: 0.85rem; color: var(--text-light); }
.hero-cards {
  position: absolute; right: 2rem; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1rem; z-index: 1;
}
.float-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem; display: flex; align-items: center; gap: 0.6rem;
  box-shadow: var(--shadow-card); font-size: 0.9rem; font-weight: 500;
  color: var(--text-dark); max-width: 220px;
  animation: floatCard 4s ease-in-out infinite;
}
.float-card.fc1 { animation-delay: 0s; }
.float-card.fc2 { animation-delay: 1.3s; }
.float-card.fc3 { animation-delay: 2.6s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fc-emoji { font-size: 1.3rem; }

@media (max-width: 900px) {
  .hero-cards { display: none; }
  .hero { min-height: auto; }
}

/* ===== PHILOSOPHY STRIP ===== */
.philosophy-strip { background: var(--lavender-deep); padding: 1.25rem 0; overflow: hidden; }
.strip-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.strip-item { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.strip-div { color: rgba(255,255,255,0.4); font-size: 1.2rem; }

/* ===== JOURNEY FLOW ===== */
.journey-flow { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; }
.journey-step { flex: 1; min-width: 160px; text-align: center; padding: 1.5rem 1rem; }
.journey-arrow { font-size: 1.5rem; color: var(--lavender-mid); align-self: center; padding: 0 0.25rem; flex-shrink: 0; }
.js-num { font-size: 0.75rem; font-weight: 600; color: var(--lavender-mid); letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.js-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.journey-step h3 { margin-bottom: 0.5rem; }

@media (max-width: 700px) {
  .journey-flow { flex-direction: column; align-items: center; }
  .journey-arrow { transform: rotate(90deg); }
}

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.fc-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature-card h3 { margin-bottom: 0.5rem; }

/* ===== COMPARE ===== */
.two-col-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.compare-col { background: var(--white); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-card); }
.compare-col h3 { margin-bottom: 1.25rem; }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.compare-col li { font-size: 0.95rem; line-height: 1.5; }
.col-bad { border-top: 4px solid #f0c0b0; }
.col-good { border-top: 4px solid var(--green-mid); }

@media (max-width: 640px) {
  .two-col-compare { grid-template-columns: 1fr; }
}

/* ===== AGE CARDS ===== */
.age-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.age-card {
  background: var(--white); border-radius: var(--radius-md); padding: 2rem 1.5rem;
  text-align: center; box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}
.age-card:hover { transform: translateY(-4px); }
.age-emoji { font-size: 2.5rem; margin-bottom: 0.75rem; }
.age-range { font-weight: 600; color: var(--lavender-deep); margin-bottom: 0.5rem; font-size: 1.05rem; }

/* ===== PROMISE GRID ===== */
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.promise-card {
  background: var(--lavender); border-radius: var(--radius-md); padding: 1.5rem;
  display: flex; align-items: center;
}
.promise-quote { font-family: var(--font-display); font-size: 1.05rem; color: var(--lavender-deep); font-style: italic; }
.promise-note { text-align: center; font-size: 1rem; }

/* ===== CTA SECTION ===== */
.section-cta { background: linear-gradient(135deg, var(--lavender) 0%, var(--peach) 100%); }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner p { margin-bottom: 2rem; font-size: 1.05rem; }
.cta-note { margin-top: 1rem; font-size: 0.85rem; color: var(--text-light); }

/* ===== FOOTER ===== */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-inner { display: flex; gap: 4rem; flex-wrap: wrap; padding-bottom: 3rem; }
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 0.75rem; display: inline-flex; }
.footer-brand p { font-size: 0.9rem; margin-top: 0.5rem; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.fl-col { display: flex; flex-direction: column; gap: 0.6rem; }
.fl-col strong { color: var(--white); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.25rem; }
.fl-col a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.fl-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 0; text-align: center; }
.footer-bottom p { font-size: 0.85rem; }

/* ===== PAGE HERO ===== */
.page-hero { padding: 6rem 0 3rem; }
.page-hero-inner { max-width: 640px; }
.page-hero-inner h1 { margin-bottom: 1rem; }
.page-hero-inner .hero-sub { font-size: 1.1rem; }

/* ===== TWO COL ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-text h2 { margin-bottom: 1rem; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ===== PHILOSOPHY BLOCK ===== */
.philosophy-block { background: var(--white); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-card); }
.pb-row { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--lavender); }
.pb-row:last-child { border-bottom: none; }
.pb-from { flex: 1; color: var(--text-light); font-size: 0.95rem; text-decoration: line-through; }
.pb-arrow { color: var(--lavender-mid); font-size: 1.1rem; }
.pb-to { flex: 1; color: var(--lavender-deep); font-weight: 600; font-size: 0.95rem; }

/* ===== SAFETY GRID ===== */
.safety-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.safety-card { background: var(--white); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-card); }
.sc-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.safety-card h3 { margin-bottom: 0.5rem; }
.crisis-box { background: var(--peach); border-radius: var(--radius-md); padding: 2rem; }
.crisis-box h3 { margin-bottom: 0.5rem; }
.crisis-links { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.crisis-links span { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); }

/* ===== PRIVACY LIST ===== */
.privacy-list { display: flex; flex-direction: column; gap: 0.75rem; }
.pl-item { font-size: 1rem; color: var(--text-mid); padding: 0.75rem 1rem; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.pricing-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card); position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.pricing-card.featured { background: var(--lavender-deep); color: var(--white); transform: scale(1.03); }
.pricing-card.featured p, .pricing-card.featured .pricing-feature { color: rgba(255,255,255,0.8); }
.pricing-card.featured h3, .pricing-card.featured .pricing-price { color: var(--white); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--peach-mid); color: var(--white); font-size: 0.75rem; font-weight: 600; padding: 0.3rem 1rem; border-radius: 100px; white-space: nowrap; }
.pricing-plan { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lavender-deep); margin-bottom: 0.5rem; }
.pricing-card.featured .pricing-plan { color: rgba(255,255,255,0.7); }
.pricing-price { font-family: var(--font-display); font-size: 2.8rem; margin: 0.5rem 0; }
.pricing-price span { font-size: 1rem; font-family: var(--font-body); }
.pricing-desc { font-size: 0.9rem; margin-bottom: 1.5rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.pricing-feature { font-size: 0.9rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.pricing-feature::before { content: '✓'; color: var(--green-mid); font-weight: 700; flex-shrink: 0; }
.pricing-card.featured .pricing-feature::before { color: #b8f4d4; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; }
.cd-icon { font-size: 1.4rem; flex-shrink: 0; }
.cd-text strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.15rem; }
.cd-text span { font-size: 0.9rem; }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-card); }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-dark); margin-bottom: 0.4rem; }
.form-input, .form-textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--lavender);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem;
  background: var(--cream); color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--lavender-deep); background: var(--white); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-success { text-align: center; padding: 2rem; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== APP PAGE ===== */
.app-page { background: var(--cream); min-height: 100vh; }
.app-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,111,212,0.1);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem; height: 60px;
}
.app-nav-right { display: flex; align-items: center; gap: 0.75rem; }
.app-user-chip { display: flex; align-items: center; gap: 0.5rem; background: var(--lavender); padding: 0.35rem 0.85rem; border-radius: 100px; font-size: 0.85rem; font-weight: 500; color: var(--lavender-deep); }
.app-screen { display: none; padding: 1.5rem 0 7rem; }
.app-screen.active { display: block; }
.app-container { max-width: 600px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== AUTH GATE ===== */
.auth-gate { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 60px); padding: 2rem 1.25rem; }
.auth-box { background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem; max-width: 420px; width: 100%; box-shadow: var(--shadow-soft); }
.auth-logo { font-size: 2.5rem; text-align: center; margin-bottom: 0.5rem; }
.auth-box h2 { text-align: center; margin-bottom: 0.4rem; }
.auth-box > p { text-align: center; font-size: 0.9rem; margin-bottom: 1.5rem; }
.auth-tabs { display: flex; background: var(--cream); border-radius: 100px; padding: 4px; margin-bottom: 1.5rem; }
.auth-tab { flex: 1; padding: 0.5rem; border-radius: 100px; font-size: 0.9rem; font-weight: 500; color: var(--text-light); transition: all var(--transition); }
.auth-tab.active { background: var(--white); color: var(--lavender-deep); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.auth-form { display: flex; flex-direction: column; gap: 0.85rem; }
.auth-input {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--lavender);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem;
  background: var(--cream); color: var(--text-dark); transition: border-color var(--transition); outline: none;
}
.auth-input:focus { border-color: var(--lavender-deep); background: var(--white); }
.auth-label { font-size: 0.85rem; font-weight: 500; color: var(--text-mid); margin-bottom: -0.4rem; }
.auth-msg { font-size: 0.85rem; text-align: center; min-height: 1.2rem; }
.auth-msg.error { color: #c0392b; }
.auth-msg.success { color: var(--green-mid); }
.auth-safe-note { margin-top: 1.25rem; font-size: 0.8rem; color: var(--text-light); text-align: center; }
.hidden { display: none !important; }

/* ===== HOME / CHECK-IN ===== */
.home-greeting { margin-bottom: 1.75rem; }
.home-greeting h2 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.checkin-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-card); margin-bottom: 1.5rem; }
.checkin-section { margin-bottom: 1.25rem; }
.checkin-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  padding: 0.45rem 1rem; border-radius: 100px;
  border: 1.5px solid var(--lavender); background: var(--cream);
  font-size: 0.88rem; font-weight: 500; color: var(--text-mid);
  transition: all var(--transition); cursor: pointer;
}
.pill:hover { border-color: var(--lavender-mid); background: var(--lavender); }
.pill.selected { background: var(--lavender-deep); border-color: var(--lavender-deep); color: var(--white); }

/* ===== WHAT HELPS ===== */
.what-helps { margin-bottom: 2rem; }
.what-helps h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.help-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.help-card {
  background: var(--white); border-radius: var(--radius-md); padding: 1.25rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem;
  box-shadow: var(--shadow-card); text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1.5px solid transparent; cursor: pointer;
}
.help-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--lavender-mid); }
.hc-emoji { font-size: 1.5rem; }
.help-card strong { font-size: 0.95rem; color: var(--text-dark); }
.help-card span { font-size: 0.8rem; color: var(--text-light); }

/* ===== JOURNEY MINI ===== */
.journey-mini { background: var(--lavender); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 2rem; }
.journey-mini h4 { margin-bottom: 1rem; font-size: 1rem; }
.jm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 0.75rem; }
.jm-stat { text-align: center; }
.jm-num { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--lavender-deep); }
.jm-label { font-size: 0.75rem; color: var(--text-mid); }
.jm-note { font-size: 0.8rem; color: var(--text-mid); text-align: center; }

/* ===== CARD ===== */
.card { background: var(--white); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-card); margin-bottom: 1rem; }
.screen-sub { font-size: 0.95rem; margin-bottom: 1rem; }
.back-btn { background: none; border: none; color: var(--lavender-deep); font-size: 0.9rem; font-weight: 500; margin-bottom: 1rem; cursor: pointer; display: flex; align-items: center; gap: 0.3rem; padding: 0; }
.back-btn:hover { opacity: 0.75; }

/* ===== STEPS ===== */
.steps-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0; }
.step-item { display: flex; align-items: center; gap: 0.75rem; background: var(--cream); border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.9rem; }
.step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--lavender-deep); color: var(--white); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.steps-cta { margin-top: 1.25rem; }
.success-card { text-align: center; }
.success-emoji { font-size: 3rem; margin-bottom: 0.75rem; }
.success-card h3 { margin-bottom: 0.5rem; }

/* ===== FOCUS TIMER ===== */
.focus-mode { display: flex; flex-direction: column; align-items: center; padding: 2rem 0; gap: 1rem; }
.focus-task-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); }
.focus-task-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-dark); text-align: center; }
.focus-timer { font-family: var(--font-display); font-size: 4rem; color: var(--lavender-deep); letter-spacing: -2px; }
.focus-timer-ring { position: relative; width: 160px; height: 160px; margin: -4.5rem 0; }
.ring-svg { width: 160px; height: 160px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--lavender); stroke-width: 8; }
.ring-prog { fill: none; stroke: var(--lavender-deep); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1s linear; }
.focus-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.duration-grid { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.dur-btn { padding: 0.5rem 1.1rem; border-radius: 100px; border: 1.5px solid var(--lavender); background: var(--cream); font-size: 0.9rem; font-weight: 500; color: var(--text-mid); cursor: pointer; transition: all var(--transition); }
.dur-btn:hover, .dur-btn.selected { background: var(--lavender-deep); border-color: var(--lavender-deep); color: var(--white); }

/* ===== DISTRACTION ===== */
.distraction-header { text-align: center; margin-bottom: 1.25rem; }
.distraction-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
.distraction-cta { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.reflect-options { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; justify-content: center; }

/* ===== CAN'T START ===== */
.option-list { display: flex; flex-direction: column; gap: 0.5rem; }
.option-btn { width: 100%; text-align: left; padding: 0.85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--lavender); background: var(--cream); font-size: 0.9rem; color: var(--text-dark); cursor: pointer; transition: all var(--transition); }
.option-btn:hover { border-color: var(--lavender-deep); background: var(--lavender); }
.option-btn.selected { border-color: var(--lavender-deep); background: var(--lavender); }

/* ===== CONFIDENCE ===== */
.conf-tabs { display: flex; background: var(--white); border-radius: 100px; padding: 4px; margin-bottom: 1.5rem; box-shadow: var(--shadow-card); }
.conf-tab { flex: 1; padding: 0.5rem; border-radius: 100px; font-size: 0.85rem; font-weight: 500; color: var(--text-light); transition: all var(--transition); }
.conf-tab.active { background: var(--lavender-deep); color: var(--white); }
.conf-panel { display: none; }
.conf-panel.active { display: block; }
.micro-actions { display: flex; flex-direction: column; gap: 0.85rem; }
.micro-action-card { background: var(--white); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 1rem; cursor: pointer; transition: all var(--transition); border: 1.5px solid transparent; }
.micro-action-card:hover { border-color: var(--lavender-mid); transform: translateX(4px); }
.mac-emoji { font-size: 1.5rem; flex-shrink: 0; }
.mac-text strong { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.mac-text span { font-size: 0.82rem; color: var(--text-light); }
.mac-done { margin-left: auto; font-size: 1.3rem; color: var(--green-mid); flex-shrink: 0; }
.app-input { width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--lavender); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem; background: var(--cream); color: var(--text-dark); transition: border-color var(--transition); outline: none; }
.app-input:focus { border-color: var(--lavender-deep); background: var(--white); }
.app-textarea { resize: vertical; min-height: 100px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-dark); margin-bottom: 0.4rem; }
.small-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.5rem; }
.evidence-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.evidence-item { background: var(--cream); border-radius: var(--radius-sm); padding: 1rem; }
.evidence-item .ei-cat { font-size: 0.75rem; font-weight: 600; color: var(--lavender-deep); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.evidence-item .ei-text { font-size: 0.9rem; color: var(--text-dark); }
.evidence-item .ei-date { font-size: 0.75rem; color: var(--text-light); margin-top: 0.25rem; }
.domain-cards { display: flex; flex-direction: column; gap: 1rem; }
.domain-card { background: var(--white); border-radius: var(--radius-sm); padding: 1rem 1.25rem; box-shadow: var(--shadow-card); }
.domain-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.domain-bar { height: 8px; background: var(--lavender); border-radius: 100px; overflow: hidden; margin-bottom: 0.35rem; }
.domain-fill { height: 100%; background: var(--lavender-deep); border-radius: 100px; transition: width 1s ease; }
.domain-desc { font-size: 0.78rem; color: var(--text-light); }

/* ===== RESET ===== */
.reset-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.reset-card { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem 1.25rem; box-shadow: var(--shadow-card); text-align: center; cursor: pointer; transition: all var(--transition); border: 1.5px solid transparent; }
.reset-card:hover { border-color: var(--lavender-mid); transform: translateY(-2px); }
.rc-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.reset-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.reset-card p { font-size: 0.8rem; }
.reset-progress-bar { height: 6px; background: var(--lavender); border-radius: 100px; overflow: hidden; margin: 1.25rem 0; }
.reset-fill { height: 100%; background: var(--green-mid); border-radius: 100px; width: 0%; transition: width 0.5s ease; }

/* ===== PROGRESS / JOURNEY ===== */
.progress-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.prog-stat { background: var(--white); border-radius: var(--radius-md); padding: 1.25rem; text-align: center; box-shadow: var(--shadow-card); }
.prog-stat-num { font-family: var(--font-display); font-size: 2rem; color: var(--lavender-deep); display: block; }
.prog-stat-label { font-size: 0.78rem; color: var(--text-light); }
.journey-14 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.4rem; margin: 1rem 0; }
.j14-day { aspect-ratio: 1; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 600; background: var(--cream); color: var(--text-light); border: 1.5px solid var(--lavender); }
.j14-day.done { background: var(--lavender-deep); color: var(--white); border-color: var(--lavender-deep); }
.j14-day.today { background: var(--peach); color: var(--text-dark); border-color: var(--peach-mid); }

/* ===== SAFETY BANNER ===== */
.safety-banner { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.safety-inner { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.safety-inner h3 { margin-bottom: 0.75rem; }
.safety-resources { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0; }
.safety-link { display: block; padding: 0.6rem 1rem; background: var(--peach); border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--text-dark); }

/* ===== BOTTOM NAV ===== */
.app-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(250,248,244,0.97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(124,111,212,0.1);
  display: none; justify-content: space-around; padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
}
.app-page .app-bottom-nav { display: flex; }
.bnav-btn { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-size: 0.7rem; color: var(--text-light); transition: color var(--transition); background: none; border: none; cursor: pointer; }
.bnav-btn span:first-child { font-size: 1.3rem; }
.bnav-btn.active { color: var(--lavender-deep); }
.bnav-btn:hover { color: var(--lavender-deep); }

/* ===== FOCUS PAGE (non-app) ===== */
.focus-features { display: flex; flex-direction: column; gap: 1.5rem; }
.focus-feature-row { display: flex; gap: 1.5rem; align-items: flex-start; background: var(--white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-card); }
.ffr-icon { font-size: 2rem; flex-shrink: 0; }
.ffr-text h3 { margin-bottom: 0.35rem; }

/* ===== TESTIMONIALS / QUOTES ===== */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.quote-card { background: var(--white); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-card); border-left: 4px solid var(--lavender-mid); }
.quote-text { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--text-dark); margin-bottom: 0.75rem; }
.quote-attr { font-size: 0.82rem; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.faq-q { width: 100%; text-align: left; padding: 1.25rem 1.5rem; font-size: 0.95rem; font-weight: 500; color: var(--text-dark); display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; }
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--lavender-deep); transition: transform var(--transition); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--text-mid); }

/* ===== JOURNEY PAGE ===== */
.journey-days { display: flex; flex-direction: column; gap: 1.25rem; }
.journey-day-card { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-card); display: flex; gap: 1.25rem; align-items: flex-start; }
.jd-num { width: 44px; height: 44px; border-radius: 50%; background: var(--lavender); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.1rem; color: var(--lavender-deep); flex-shrink: 0; }
.jd-content h3 { margin-bottom: 0.3rem; font-size: 1rem; }
.jd-content p { font-size: 0.88rem; }
.jd-phase { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lavender-deep); margin-bottom: 0.35rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .help-cards { grid-template-columns: 1fr; }
  .reset-cards { grid-template-columns: 1fr; }
  .progress-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .jm-stats { grid-template-columns: repeat(3, 1fr); }
  .focus-timer { font-size: 3rem; }
}
