/* =========================================================
   Little Seeds English (Hạt Mầm) — Landing Page Styles
   ========================================================= */

:root {
  --green-950: #0b2e1b;
  --green-900: #0f3d24;
  --green-800: #155230;
  --green-700: #1f6b3a;
  --green-500: #3f9a45;
  --green-300: #8cc63f;
  --leaf-100: #e7f3dc;
  --leaf-50: #f3f9ee;
  --sun: #f6c23e;
  --sun-100: #fff3cf;
  --coral: #ec5a4f;
  --coral-100: #fde3e0;
  --sky: #3d9ad9;
  --sky-100: #dcefff;
  --cream: #fffbf2;
  --ink: #17251c;
  --muted: #56665c;
  --line: #e2eadc;
  --white: #ffffff;

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(15, 61, 36, .06);
  --shadow: 0 12px 32px -8px rgba(15, 61, 36, .16);
  --shadow-lg: 0 30px 60px -20px rgba(15, 61, 36, .28);

  --container: 1200px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--green-900);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-700);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.btn--primary { box-shadow: 0 10px 24px -10px rgba(31, 107, 58, .7); }
.btn--primary:hover { background: var(--green-800); box-shadow: 0 14px 28px -10px rgba(31, 107, 58, .8); }
.btn--ghost { --bg: transparent; --fg: var(--green-800); border-color: rgba(31, 107, 58, .25); }
.btn--ghost:hover { background: var(--white); border-color: var(--green-700); }
.btn--sun { --bg: var(--sun); --fg: var(--green-950); box-shadow: 0 10px 24px -10px rgba(246, 194, 62, .8); }
.btn--sun:hover { background: #ffd35a; }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--lg { padding: .95em 1.7em; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 251, 242, .7);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 6px 24px -12px rgba(15, 61, 36, .25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--green-700); }
.brand__text small { font-size: .74rem; font-weight: 600; color: var(--green-500); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: var(--green-300); }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  padding: 6px 0;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav__links a:not(.btn):hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--green-700); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}
.nav__toggle span { display: block; height: 2px; background: var(--green-900); border-radius: 2px; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 64px) 0 150px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(61, 154, 217, .14), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(140, 198, 63, .18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #f6faef 100%);
}
.hero__sun { position: absolute; width: 220px; top: 60px; left: -70px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__hills { position: absolute; left: 0; bottom: -1px; width: 100%; height: 120px; }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-300); box-shadow: 0 0 0 4px rgba(140, 198, 63, .25); }

.hl {
  position: relative;
  color: var(--green-700);
  white-space: nowrap;
  z-index: 0;
}
.hl::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: .08em;
  height: .32em;
  background: var(--sun);
  opacity: .55;
  border-radius: 6px;
  z-index: -1;
}

.lead { font-size: 1.13rem; color: var(--muted); max-width: 560px; }
.lead em { font-style: normal; font-weight: 600; color: var(--green-700); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }

.hero__stats { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.hero__stats li { padding: 0 28px; border-left: 1px solid var(--line); }
.hero__stats li:first-child { padding-left: 0; border-left: 0; }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--green-700); line-height: 1.1; }
.hero__stats span { font-size: .86rem; color: var(--muted); }

.hero__visual { position: relative; }
.hero__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  transform: rotate(1.2deg);
}
.hero__photo img { width: 100%; aspect-ratio: 3 / 2.15; object-fit: cover; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .92rem; color: var(--green-900); line-height: 1.25; }
.float-card small { font-size: .78rem; color: var(--muted); }
.float-card--tl { top: -22px; left: -34px; }
.float-card--br { bottom: 54px; right: -30px; animation-delay: -3s; }
.float-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; }
.float-card__icon svg { width: 24px; height: 24px; }
.float-card__icon--red { background: var(--coral-100); color: #e62117; }
.float-card__icon--green { background: var(--leaf-100); color: var(--green-700); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__motto {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 92%;
  text-align: center;
  padding: 12px 24px;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.3;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.hero__motto small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .76rem; color: var(--green-300); letter-spacing: .02em; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tint { background: var(--leaf-50); }
.section--dark {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(140, 198, 63, .18), transparent 60%),
    linear-gradient(160deg, var(--green-900), var(--green-950));
  color: #d7e8d9;
}

.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: #b9d2bf; }

.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 14px;
}
.kicker--light { color: var(--sun); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.split--center { align-items: center; }
.split__copy p { color: var(--muted); }
.split__copy strong { color: var(--green-800); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--leaf-50);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-card p { margin: 0; font-size: .95rem; color: var(--muted); }
.stat-card__num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--green-700); line-height: 1.1; margin-bottom: 6px; }
.stat-card--sun { background: var(--sun-100); border-color: #f6e3a6; }
.stat-card--sun .stat-card__num { color: #b07d00; }
.stat-card--sky { background: var(--sky-100); border-color: #c4e1f7; }
.stat-card--sky .stat-card__num { color: #1f6fa8; }
.stat-card--coral { background: var(--coral-100); border-color: #f6c8c3; }
.stat-card--coral .stat-card__num { color: #c43a30; }

/* Feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.feature {
  padding: 36px 30px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.feature__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; margin-bottom: 22px; }
.feature__icon svg { width: 30px; height: 30px; }
.feature__icon--sun { background: var(--sun-100); color: #b07d00; }
.feature__icon--coral { background: var(--coral-100); color: var(--coral); }
.feature__icon--green { background: var(--leaf-100); color: var(--green-700); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 46px; left: 12%; right: 12%;
  border-top: 2px dashed var(--green-300);
  z-index: 0;
}
.step { position: relative; text-align: center; padding: 0 8px; z-index: 1; }
.step__icon {
  display: grid; place-items: center;
  width: 92px; height: 92px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-700);
  border: 2px solid var(--leaf-100);
  box-shadow: var(--shadow);
}
.step__icon svg { width: 38px; height: 38px; }
.step__num {
  position: absolute;
  top: -6px; left: calc(50% + 22px);
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--green-950);
  font-family: var(--font-display);
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Product rows ---------- */
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; margin-bottom: 110px; }
.product:last-child { margin-bottom: 0; }
.product--reverse .product__copy { order: 2; }
.product__copy h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 800; }
.product__copy > p { color: var(--muted); font-size: 1.05rem; }

.tag { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; margin-bottom: 14px; }
.tag--green { background: var(--leaf-100); color: var(--green-700); }
.tag--sky { background: var(--sky-100); color: #1f6fa8; }
.tag--coral { background: var(--coral-100); color: #c43a30; }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 34px; font-size: .98rem; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.product__mock { position: relative; }
.product__mock::before {
  content: "";
  position: absolute;
  inset: 8% -4% -6% 6%;
  background: linear-gradient(135deg, var(--leaf-100), var(--sky-100));
  border-radius: 40px;
  z-index: 0;
  transform: rotate(-2deg);
}
.product__mock > * { position: relative; z-index: 1; }

/* Browser mock (Admin) */
.browser { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f4f6f3; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 14px; flex: 1; padding: 4px 12px; background: var(--white); border-radius: 8px; font-size: .74rem; color: var(--muted); }

.dash { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; font-size: .8rem; }
.dash__side { background: var(--green-900); color: #b9d2bf; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.dash__logo { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 14px; padding: 0 8px; }
.dash__logo b { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--green-300), var(--green-500)); }
.dash__side span { padding: 8px 10px; border-radius: 8px; }
.dash__side span.is-active { background: rgba(140, 198, 63, .2); color: #fff; font-weight: 600; }
.dash__main { padding: 18px 20px; background: #fbfcfa; }
.dash__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dash__head small { display: block; color: var(--muted); font-size: .7rem; }
.dash__head strong { font-size: .98rem; color: var(--green-900); }
.dash__btn { background: var(--green-700); color: #fff; padding: 7px 12px; border-radius: 8px; font-weight: 600; font-size: .74rem; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dash__kpis div { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.dash__kpis b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--green-700); line-height: 1.1; }
.dash__kpis small { color: var(--muted); font-size: .7rem; }
.dash__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dash__list li { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.dash__list li div { flex: 1; min-width: 0; }
.dash__list b { display: block; font-size: .8rem; color: var(--ink); }
.dash__list small { color: var(--muted); font-size: .7rem; }
.thumb { position: relative; width: 58px; height: 36px; border-radius: 6px; flex: none; }
.thumb::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 0; height: 0;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateX(2px);
}
.thumb--a { background: linear-gradient(135deg, #f6c23e, #ec5a4f); }
.thumb--b { background: linear-gradient(135deg, #3d9ad9, #8cc63f); }
.thumb--c { background: linear-gradient(135deg, #8cc63f, #1f6b3a); }
.pill { font-style: normal; font-size: .66rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pill--ok { background: var(--leaf-100); color: var(--green-700); }
.pill--draft { background: var(--sun-100); color: #9a6c00; }

/* TV mock */
.tv { max-width: 560px; margin: 0 auto; }
.tv__screen { background: #111; border-radius: 18px; padding: 14px; box-shadow: var(--shadow-lg); border: 3px solid #2b2b2b; }
.tv__top { display: flex; justify-content: space-between; color: #fff; font-size: .78rem; font-weight: 600; padding: 2px 4px 10px; }
.tv__live { color: #ff6b5f; }
.tv__video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #8fd3ff 0%, #c8ecff 55%, #8cc63f 55%, #5aa83c 100%);
  display: grid; place-items: center;
}
.tv__shapes { position: absolute; inset: 0; }
.tv__shapes i { position: absolute; border-radius: 50%; }
.tv__shapes .c1 { width: 22%; aspect-ratio: 1; background: var(--coral); left: 12%; bottom: 22%; }
.tv__shapes .c2 { width: 16%; aspect-ratio: 1; background: var(--sun); left: 44%; bottom: 30%; border-radius: 22%; transform: rotate(12deg); }
.tv__shapes .c3 { width: 0; height: 0; border-radius: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 86px solid var(--sky); right: 12%; bottom: 24%; }
.tv__play { position: relative; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--green-700); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.tv__play svg { width: 32px; height: 32px; margin-left: 4px; }
.tv__play--sm { width: 44px; height: 44px; }
.tv__play--sm svg { width: 20px; height: 20px; margin-left: 3px; }
.tv__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.tv__steps span { text-align: center; font-size: .72rem; font-weight: 600; color: #9aa59d; background: #1e1e1e; padding: 8px 4px; border-radius: 8px; }
.tv__steps .done { color: var(--green-300); }
.tv__steps .now { background: var(--green-500); color: #fff; }
.tv__stand { width: 34%; height: 18px; margin: 0 auto; background: linear-gradient(#2b2b2b, #444); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }

/* Phone mock */
.product__mock--phones { display: flex; justify-content: center; }
.phone {
  width: 290px;
  padding: 12px;
  background: #111;
  border-radius: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #111; border-radius: 0 0 14px 14px; z-index: 2; }
.app { background: var(--cream); border-radius: 34px; padding: 44px 18px 22px; min-height: 520px; }
.app__hello small { display: block; color: var(--muted); font-size: .78rem; }
.app__hello strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-900); }
.app__card { margin: 16px 0 18px; padding: 14px; border-radius: 18px; background: var(--green-700); color: #fff; }
.app__card small { color: var(--green-300); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.app__card strong { display: block; font-size: 1rem; margin: 2px 0 10px; }
.app__video { aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(135deg, #f6c23e, #ec5a4f 60%, #3d9ad9); display: grid; place-items: center; }
.app__label { display: block; font-weight: 700; font-size: .8rem; color: var(--green-900); margin-bottom: 8px; }
.app__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app__chips span { padding: 12px; border-radius: 14px; font-weight: 700; font-size: .9rem; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.app__chips span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; }
.app__chips .r::before { background: var(--coral); }
.app__chips .b::before { background: var(--sky); }
.app__chips .y::before { background: var(--sun); }
.app__chips .g::before { background: var(--green-500); }
.app__streak { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--sun-100); font-size: .82rem; font-weight: 600; color: #7a5600; }

/* ---------- Impact (dark) ---------- */
.impact {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s ease, transform .25s ease;
}
.impact:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.impact h3 { color: #fff; }
.impact p { margin: 0; font-size: .95rem; color: #b9d2bf; }
.impact__num { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--sun); line-height: 1; margin-bottom: 18px; }

.note {
  display: flex; align-items: flex-start; gap: 16px;
  margin-top: 40px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: rgba(140, 198, 63, .12);
  border: 1px solid rgba(140, 198, 63, .3);
}
.note svg { width: 26px; height: 26px; color: var(--coral); flex: none; margin-top: 2px; }
.note p { margin: 0; color: #d7e8d9; }
.note strong { color: #fff; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 230px 230px 230px;
  gap: 18px;
}
.gallery__item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--leaf-50);
  box-shadow: var(--shadow-sm);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.gallery__item--big { grid-column: span 3; grid-row: span 2; }
.gallery__item--tall { grid-row: span 3; grid-column: 4; }
.gallery__item--tall img { object-position: top; }
.gallery__item:nth-child(3) { grid-column: 1; grid-row: 3; }
.gallery__item:nth-child(4) { grid-column: 2; grid-row: 3; }
.gallery__item:nth-child(5) { grid-column: 3; grid-row: 3; }
.gallery__cap {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--green-900);
  font-size: .82rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ---------- Roadmap ---------- */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.roadmap::before {
  content: "";
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green-500) 0%, var(--green-500) 56%, var(--line) 70%);
}
.phase { position: relative; padding: 64px 26px 28px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.phase::before {
  content: "";
  position: absolute; top: 14px; left: 26px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--line);
}
.phase--done::before { background: var(--green-500); border-color: var(--leaf-100); }
.phase--now::before { background: var(--sun); border-color: var(--sun-100); box-shadow: 0 0 0 6px rgba(246, 194, 62, .25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(246, 194, 62, 0); } }
.phase__badge { position: absolute; top: 12px; right: 20px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green-500); }
.phase--now { border-color: var(--sun); }
.phase h3 { margin-bottom: 2px; }
.phase small { display: block; font-weight: 600; color: var(--green-500); margin-bottom: 12px; font-size: .85rem; }
.phase--now small { color: #b07d00; }
.phase p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Use of funds ---------- */
.legend { list-style: none; padding: 0; margin: 28px 0 10px; display: grid; gap: 12px; }
.legend li {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  grid-template-areas: "dot label pct" "dot sub pct";
  column-gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--leaf-50);
  border: 1px solid var(--line);
}
.legend i { grid-area: dot; width: 16px; height: 16px; border-radius: 5px; background: var(--c); }
.legend span { grid-area: label; font-weight: 600; color: var(--green-900); }
.legend small { grid-area: sub; color: var(--muted); font-size: .84rem; }
.legend b { grid-area: pct; font-family: var(--font-display); font-size: 1.5rem; color: var(--green-700); }
.fineprint { font-size: .82rem; color: var(--muted); font-style: italic; }

.donut-wrap { display: grid; place-items: center; }
.donut {
  width: min(400px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--green-500) 0 40%, var(--sky) 40% 70%, var(--sun) 70% 90%, var(--coral) 90% 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transform: rotate(-90deg) scale(.9);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), opacity .8s ease;
}
.donut-wrap.is-visible .donut { transform: rotate(0) scale(1); opacity: 1; }
.donut__hole {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  display: grid; place-content: center;
  text-align: center;
  box-shadow: inset 0 4px 20px rgba(15, 61, 36, .08);
}
.donut__hole strong { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--green-700); line-height: 1; }
.donut__hole span { color: var(--muted); font-size: .9rem; max-width: 140px; }

/* ---------- Support ---------- */
.support {
  display: flex; flex-direction: column;
  padding: 32px 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.support:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-300); }
.support p { color: var(--muted); font-size: .95rem; flex: 1; }
.support__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; }
.support__icon svg { width: 28px; height: 28px; }
.support__icon--green { background: var(--leaf-100); color: var(--green-700); }
.support__icon--sky { background: var(--sky-100); color: #1f6fa8; }
.support__icon--sun { background: var(--sun-100); color: #b07d00; }
.support__icon--coral { background: var(--coral-100); color: var(--coral); }
.link-arrow { font-weight: 700; color: var(--green-700); text-decoration: none; font-size: .95rem; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- CTA / Contact ---------- */
.cta {
  position: relative;
  padding: 110px 0;
  color: #d7e8d9;
  background:
    radial-gradient(600px 400px at 0% 100%, rgba(140, 198, 63, .22), transparent 60%),
    radial-gradient(500px 360px at 100% 0%, rgba(246, 194, 62, .14), transparent 60%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
}
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cta h2 { color: #fff; }
.cta__copy p { color: #b9d2bf; font-size: 1.08rem; }

.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list li > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--sun); }
.contact-list svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: #9dbba6; font-size: .8rem; }
.contact-list a { color: #fff; font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.contact-list a:hover { color: var(--sun); }

.form {
  background: var(--white);
  color: var(--ink);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}
.form h3 { font-size: 1.6rem; margin: 0 0 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--green-900); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  font-size: .96rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fbfcfa;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(63, 154, 69, .15); background: #fff; }
.form input.is-invalid { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(236, 90, 79, .12); }
.form__status { margin: 0; min-height: 1.4em; font-size: .92rem; font-weight: 600; text-align: center; }
.form__status.is-ok { color: var(--green-700); }
.form__status.is-error { color: var(--coral); }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: #9dbba6; padding: 70px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__brand p { margin: 18px 0 0; font-size: .94rem; }
.footer__brand em { color: var(--green-300); }
.footer__links { display: flex; gap: 72px; }
.footer__links h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer__links a { display: block; text-decoration: none; padding: 4px 0; font-size: .94rem; }
.footer__links a:hover { color: var(--sun); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .8rem; color: #73917c; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 40px;
  background: rgba(8, 26, 16, .88);
  backdrop-filter: blur(6px);
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #e3efe5; margin-top: 16px; font-size: .95rem; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 2rem; line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }
.reveal--delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .donut { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .roadmap::before { display: none; }
  .float-card--tl { left: -10px; }
  .float-card--br { right: -10px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: #fff;
    box-shadow: 0 20px 30px -20px rgba(15, 61, 36, .3);
    transform: translateY(-120%);
    transition: transform .35s ease;
    z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }

  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 130px; }
  .hero__grid,
  .split,
  .product,
  .cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .product--reverse .product__copy { order: 0; }
  .product { margin-bottom: 80px; }
  .hero__visual { max-width: 640px; margin: 0 auto; width: 100%; }

  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 220px; }
  .gallery__item--big { grid-column: 1 / -1; grid-row: span 2; }
  .gallery__item--tall { grid-column: 2; grid-row: span 2; }
  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5) { grid-column: auto; grid-row: auto; }
  .gallery__item:nth-child(5) { grid-column: 1 / -1; }

  .section { padding: 84px 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), 100% - 32px); }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero__stats li { padding: 0 10px; }
  .hero__stats strong { font-size: 1.35rem; }
  .hero__stats span { display: block; font-size: .74rem; line-height: 1.35; }
  .float-card { padding: 8px 12px 8px 8px; }
  .float-card--tl { top: -18px; left: -6px; }
  .float-card--br { bottom: 64px; right: -6px; }
  .float-card__icon { width: 34px; height: 34px; }
  .hero__motto { font-size: .92rem; padding: 10px 16px; }
  .stat-grid,
  .cards-4,
  .roadmap,
  .steps,
  .form__row { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .form { padding: 26px; }
  .footer__links { gap: 40px; }
  .gallery { grid-auto-rows: 180px; }
}
