/* ============================================
   ClearNote — ADHD-Friendly Therapy Notes
   Design: Warm, editorial, human.
   Not clinical. Not cold. Intentional.
   ============================================ */

:root {
  --bg: #F7F4EF;
  --bg-warm: #EFE9DF;
  --fg: #1A1A18;
  --accent: #4A7C59;
  --accent-light: #6B9E78;
  --accent-glow: rgba(74, 124, 89, 0.15);
  --terracotta: #C96A3B;
  --muted: #6B6862;
  --border: #D9D4CA;
  --card-bg: #FFFFFF;
  --tag-bg: rgba(74, 124, 89, 0.1);
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201, 106, 59, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-left {}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--tag-bg);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
}

/* HERO CARD */
.hero-right {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-card {
  position: relative;
  width: 100%;
  max-width: 440px;
}
.note-mock {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.note-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.note-body {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--fg);
}
.note-line { margin-bottom: 6px; }
.note-line--header {
  font-weight: 600;
  color: var(--fg);
  font-size: 0.78rem;
}
.mt-2 { margin-top: 10px; }
.note-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.note-badge {
  background: var(--tag-bg);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.note-time {
  font-size: 0.72rem;
  color: var(--muted);
}
.hero-pulse {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(74,124,89,0.15) 0%, transparent 70%);
  filter: blur(12px);
}

/* PROBLEM SECTION */
.problem {
  background: var(--fg);
  padding: 80px 32px;
  color: #F7F4EF;
}
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}
.problem-stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.problem-stat:first-child { padding-left: 0; }
.problem-stat:last-child { padding-right: 0; }
.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #F7F4EF;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(247,244,239,0.55);
  line-height: 1.4;
}
.problem-divider {
  width: 1px;
  height: 60px;
  background: rgba(247,244,239,0.15);
  flex-shrink: 0;
}
.problem-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.problem-quote blockquote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  color: #F7F4EF;
  margin-bottom: 16px;
}
.problem-quote cite {
  font-size: 0.82rem;
  color: rgba(247,244,239,0.4);
  font-style: normal;
}

/* FEATURES */
.features {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-header {
  text-align: center;
  margin-bottom: 72px;
}
.features-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.features-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-card {
  background: var(--card-bg);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: #FAFAF8; }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--tag-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* DIFFERENCE */
.difference {
  background: var(--bg-warm);
  padding: 100px 32px;
}
.diff-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.diff-header { margin-bottom: 64px; }
.diff-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.diff-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.diff-header h2 em {
  font-style: normal;
  color: var(--terracotta);
}
.diff-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.diff-col {
  background: var(--card-bg);
  padding: 48px 44px;
}
.diff-col-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  display: block;
}
.diff-col ul { list-style: none; }
.diff-col li {
  font-size: 0.92rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.diff-col li:last-child { border-bottom: none; }
.diff-col li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}
.diff-col--them li::before { background: var(--muted); }
.diff-col--them { opacity: 0.8; }
.diff-col--us li { font-weight: 500; }

/* CTA */
.cta-section {
  padding: 100px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,124,89,0.12) 0%, transparent 60%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}
.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,106,59,0.08) 0%, transparent 60%);
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
}
.cta-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-content p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
  background: var(--bg);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fg);
  display: block;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  gap: 24px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { display: none; }
  .hero-headline { font-size: 2.6rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .diff-comparison { grid-template-columns: 1fr; }
  .problem-stat-row { flex-direction: column; gap: 32px; }
  .problem-divider { display: none; }
  .problem-stat { padding: 0; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 12px 20px; }
  .nav-tagline { display: none; }
  .hero { padding: 90px 20px 60px; }
  .hero-headline { font-size: 2.2rem; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 24px; }
  .difference { padding: 60px 20px; }
  .diff-col { padding: 36px 28px; }
  .cta-section { padding: 60px 20px; }
  .footer { padding: 40px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* Selection color */
::selection { background: rgba(74,124,89,0.2); }

/* Smooth scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }