/* =============================================
   KindScreen — Main Stylesheet
   Aesthetic: Warm editorial, organic/natural,
   refined yet approachable. Lora + DM Sans.
   ============================================= */

:root {
  --green: #1a6b4a;
  --green-dark: #114433;
  --green-light: #e8f5ef;
  --green-mid: #2d8a60;
  --cream: #faf8f3;
  --warm-white: #ffffff;
  --ink: #1c1c1a;
  --ink-mid: #4a4a45;
  --ink-light: #8a8a82;
  --border: rgba(28,28,26,0.1);
  --border-strong: rgba(28,28,26,0.18);
  --amber: #b87400;
  --amber-light: #fef3db;
  --red-light: #fceaea;
  --red: #a32d2d;
  --radius: 12px;
  --radius-lg: 18px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ---- UTILITIES ---- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

a { text-decoration: none; color: inherit; }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,243,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--ink);
}
.logo span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 14px; color: var(--ink-mid); font-weight: 400;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--green); color: white !important;
  padding: 8px 18px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--green); color: white;
  padding: 13px 28px; border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  transition: background 0.15s, transform 0.1s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-primary.btn-large { padding: 16px 36px; font-size: 16px; }

.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--ink-mid);
  padding: 13px 20px; border-radius: 100px;
  font-size: 15px; font-weight: 400;
  transition: color 0.15s;
  border: none; cursor: pointer;
}
.btn-ghost:hover { color: var(--ink); }

/* ---- HERO ---- */
.hero {
  padding: 80px 2rem 100px;
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 4rem; align-items: center;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green); font-weight: 500;
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 600; line-height: 1.15;
  margin-bottom: 1.25rem; color: var(--ink);
}
.hero-headline em { color: var(--green); font-style: italic; }
.hero-sub {
  font-size: 17px; color: var(--ink-mid);
  line-height: 1.7; max-width: 480px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink-light);
  flex-wrap: wrap;
}
.hero-trust span { display: inline-flex; align-items: center; }

/* ---- FLOATING CARDS ---- */
.hero-visual { position: relative; height: 400px; }
.card-float {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: 0 4px 24px rgba(28,28,26,0.08);
  animation: floatCard 6s ease-in-out infinite;
}
.card-float.card-1 { top: 20px; right: 0; width: 280px; animation-delay: 0s; }
.card-float.card-2 { top: 160px; right: 160px; width: 190px; animation-delay: 2s; }
.card-float.card-3 { top: 280px; right: 20px; width: 240px; animation-delay: 4s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.avatar-sm { font-size: 24px; }
.card-name { font-size: 13px; font-weight: 500; }
.card-tag { font-size: 11px; color: var(--ink-light); }
.card-score { display: flex; align-items: center; gap: 12px; }
.score-ring {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2.5px solid var(--green); color: var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.score-ring.score-green { border-color: var(--green); color: var(--green); }
.score-n { font-size: 15px; font-weight: 600; line-height: 1; }
.score-l { font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.6; }
.score-text strong { display: block; font-size: 13px; font-weight: 500; }
.score-text span { font-size: 11px; color: var(--ink-light); }

.generic-label { font-size: 11px; color: var(--ink-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.generic-content { display: flex; flex-direction: column; gap: 6px; }
.generic-row { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.generic-row.muted { color: var(--ink-light); font-style: italic; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-g { background: #4caf50; }

.rec-pill {
  display: inline-block; margin: 3px 3px 0 0;
  padding: 4px 10px; border-radius: 100px;
  font-size: 11px; background: var(--green-light); color: var(--green-dark);
}
.rec-pill.warn { background: var(--amber-light); color: #6b4500; }

/* ---- PROBLEM ---- */
.problem { background: white; padding: 80px 0; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.problem-text h2 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 600;
  margin-bottom: 1.25rem; line-height: 1.3;
}
.problem-text p { font-size: 16px; color: var(--ink-mid); line-height: 1.75; margin-bottom: 1rem; }

.problem-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare-col { padding: 20px; border-radius: var(--radius); }
.compare-old { background: #f8f5f0; border: 1px solid var(--border); }
.compare-new { background: var(--green-light); border: 1px solid rgba(26,107,74,0.2); }
.compare-label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; color: var(--ink-mid); }
.compare-new .compare-label { color: var(--green); }
.compare-col ul { list-style: none; }
.compare-col ul li { font-size: 13px; color: var(--ink-mid); padding: 5px 0; border-bottom: 1px solid var(--border); line-height: 1.5; }
.compare-col ul li:last-child { border-bottom: none; }
.compare-new ul li { color: var(--green-dark); }

/* ---- HOW IT WORKS ---- */
.how { padding: 90px 0; }
.section-label {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green); font-weight: 500; margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600;
  margin-bottom: 3rem; line-height: 1.25;
}
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.step-arrow { font-size: 24px; color: var(--ink-light); padding-top: 2.5rem; padding-inline: 1.5rem; }
.step { padding: 28px; background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.step-num { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); font-weight: 500; margin-bottom: 12px; }
.step h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-mid); line-height: 1.7; }

/* ---- FEATURES ---- */
.features { background: white; padding: 90px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--cream); border: 1px solid var(--border);
  transition: border-color 0.15s, transform 0.15s;
}
.feature-card:hover { border-color: var(--green); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--ink-mid); line-height: 1.7; }

/* ---- CTA ---- */
.cta-section { padding: 100px 0; }
.cta-inner {
  background: var(--green); border-radius: 24px;
  padding: 60px; text-align: center; color: white;
}
.cta-inner h2 { font-family: var(--font-display); font-size: 32px; font-weight: 600; margin-bottom: 1rem; }
.cta-inner p { font-size: 16px; opacity: 0.85; margin-bottom: 2rem; }
.cta-inner .btn-primary { background: white; color: var(--green); }
.cta-inner .btn-primary:hover { background: var(--cream); }

/* ---- FOOTER ---- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 50px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; margin-bottom: 2rem; flex-wrap: wrap; gap: 2rem; }
.footer-brand .logo { color: white; }
.footer-brand .logo span { color: #6ecfa0; }
.footer-brand p { font-size: 13px; margin-top: 6px; opacity: 0.6; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-comparison { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 50px 1.25rem 60px; }
  .hero-headline { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 36px 24px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---- FADE-IN ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-inner > * { animation: fadeUp 0.6s ease both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.35s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.45s; }
