/* ============ Design tokens ============ */
:root {
  --green-500: #0f9d58;
  --green-600: #0c8a4d;
  --green-400: #1bb46b;
  --green-300: #34c77f;

  --bg: #ffffff;
  --bg-soft: #fafbfb;
  --bg-grad-1: #f4faf6;
  --bg-grad-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f6f4;
  --border: #e6ebe8;
  --text: #14211b;
  --text-soft: #5d6b64;
  --text-mute: #8a958f;
  --gold: #f0a92b;

  --shadow-sm: 0 1px 2px rgba(20, 33, 27, .06), 0 2px 8px rgba(20, 33, 27, .05);
  --shadow-md: 0 6px 20px rgba(20, 33, 27, .08), 0 2px 6px rgba(20, 33, 27, .05);
  --shadow-lg: 0 24px 60px rgba(15, 157, 88, .14), 0 8px 24px rgba(20, 33, 27, .08);
  --shadow-green: 0 12px 28px rgba(15, 157, 88, .35);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --maxw: 1120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html[data-theme="dark"] {
  --bg: #0d1411;
  --bg-soft: #111a16;
  --bg-grad-1: #11231a;
  --bg-grad-2: #0d1411;
  --surface: #151f1a;
  --surface-2: #1b2620;
  --border: #233029;
  --text: #eaf2ed;
  --text-soft: #a7b4ac;
  --text-mute: #7f8d85;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
}

/* ============ Base ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
h1,h2,h3 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; line-height: 1.15; letter-spacing: -.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }

/* ============ Loader ============ */
.loader {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(120% 100% at 50% 0%, var(--bg-grad-1), var(--bg-grad-2));
  transition: opacity .5s var(--ease), visibility .5s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader__icon { position: relative; display: grid; place-items: center; }
.loader__icon img { border-radius: 22px; box-shadow: var(--shadow-lg); }
.loader__ring {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 3px solid rgba(15,157,88,.18); border-top-color: var(--green-500);
  animation: spin 0.9s linear infinite;
}
.loader__name { font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 18px; }
.loader__bar { width: 180px; height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; border-radius: 99px;
  background: linear-gradient(90deg, var(--green-400), var(--green-600)); animation: load 1.1s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* ============ Navigation ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .4s;
}
.nav.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 16px; }
.nav__brand img { border-radius: 9px; }
.nav__links { display: none; gap: 26px; }
.nav__links a { color: var(--text-soft); font-weight: 500; font-size: 14.5px; position: relative; transition: color .2s; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--green-500); transition: width .25s var(--ease); border-radius:2px;}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); cursor: pointer;
  transition: transform .2s, background .2s;
}
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Plus Jakarta Sans"; font-weight: 700; cursor: pointer; border: none;
  border-radius: 99px; transition: transform .2s var(--ease), box-shadow .25s var(--ease), filter .2s;
  white-space: nowrap;
}
.btn svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--green { background: linear-gradient(135deg, var(--green-400), var(--green-600)); color: #fff; box-shadow: var(--shadow-green); }
.btn--green:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: 0 18px 38px rgba(15,157,88,.45); }
.btn--green:active { transform: translateY(-1px) scale(.99); }
.btn--light { background: #fff; color: var(--green-600); box-shadow: var(--shadow-md); }
.btn--light:hover { transform: translateY(-3px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 17px; }

.pulse { position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(15,157,88,.5); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(15,157,88,0);} 100%{ box-shadow: 0 0 0 0 rgba(15,157,88,0);} }

/* ============ Hero ============ */
.hero {
  position: relative; padding: 56px 0 40px;
  background: radial-gradient(120% 90% at 80% -10%, var(--bg-grad-1), var(--bg-grad-2) 60%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero__icon-wrap { position: relative; }
.hero__icon { width: 128px; height: 128px; border-radius: 30px; box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__eyebrow { color: var(--green-600); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hero__title { font-size: clamp(34px, 7vw, 56px); font-weight: 800; margin-top: 6px; }
.hero__subtitle { color: var(--text-soft); font-size: clamp(16px, 3.5vw, 20px); margin-top: 8px; max-width: 520px; }

.stats { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin-top: 6px; }
.stats__item { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; }
.stats__value { display: inline-flex; align-items: center; gap: 4px; font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 17px; color: var(--text); }
.stats__label { font-size: 12px; color: var(--text-mute); font-weight: 500; }
.stats__divider { width: 1px; height: 30px; background: var(--border); }
.star { fill: var(--gold); stroke: none; }
.stats__ic { fill: none; stroke: var(--green-500); stroke-width: 2; }

.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.hero__cta-note { font-size: 13px; color: var(--text-mute); }

/* ============ Sections ============ */
.section { padding: 56px 0; }
.section__head { text-align: center; margin-bottom: 34px; }
.section__title { font-size: clamp(24px, 5vw, 34px); font-weight: 800; }
.section__sub { color: var(--text-soft); margin-top: 8px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

/* ============ Screenshots ============ */
.shots { overflow-x: auto; padding: 8px 0 18px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
.shots__track { display: flex; gap: 24px; padding: 10px 20px 6px; width: max-content; }
.shot {
  scroll-snap-align: center; flex: none; width: 250px; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.shot:hover { transform: translateY(-10px); box-shadow: 0 34px 70px rgba(15,157,88,.22); }
.shot img { width: 100%; height: auto; display: block; }

/* ============ About ============ */
.about { padding: 36px; text-align: center; }
.about__text { color: var(--text-soft); font-size: 17px; max-width: 720px; margin: 16px auto 0; }

/* ============ Features ============ */
.features { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature { padding: 26px 24px; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--bg-grad-1), color-mix(in srgb, var(--green-400) 18%, transparent)); }
.feature__ic svg { fill: none; stroke: var(--green-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--text-soft); font-size: 15px; }

/* ============ Reviews ============ */
.reviews { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review { padding: 24px; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 800; font-family: "Plus Jakarta Sans"; background: var(--a, var(--green-500)); }
.review__name { font-weight: 700; font-size: 15px; }
.review__date { color: var(--text-mute); font-size: 12.5px; }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; margin-bottom: 8px; }
.review__text { color: var(--text-soft); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq__plus::before, .faq__plus::after { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); background: var(--green-600); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__plus::before { width: 14px; height: 2.4px; }
.faq__plus::after { width: 2.4px; height: 14px; }
.faq__item[open] .faq__plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease); }
.faq__item[open] .faq__a { padding: 0 22px 20px; max-height: 200px; }
.faq__a p { color: var(--text-soft); }

/* ============ CTA band ============ */
.cta-band {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  padding: 44px 28px; border-radius: var(--radius-xl); color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  box-shadow: var(--shadow-green); position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.18), transparent 50%); }
.cta-band h2 { font-size: clamp(22px, 4vw, 30px); position: relative; }
.cta-band p { opacity: .9; margin-top: 6px; position: relative; }
.cta-band .btn { position: relative; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 36px 0; margin-top: 20px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans"; font-weight: 700; }
.footer__brand img { border-radius: 8px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--text-soft); font-size: 14.5px; transition: color .2s; }
.footer__links a:hover { color: var(--green-600); }
.footer__copy { color: var(--text-mute); font-size: 13.5px; }

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 10px; padding: 14px 20px; z-index: 200;
  background: var(--text); color: var(--bg); border-radius: 14px; box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: 14.5px; opacity: 0; transition: transform .45s var(--ease), opacity .35s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { fill: none; stroke: var(--green-400); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (min-width: 700px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .cta-band { flex-direction: row; justify-content: space-between; text-align: left; padding: 40px 48px; }
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 84px 0 60px; }
  .hero__inner { flex-direction: row; text-align: left; gap: 48px; }
  .hero__body { align-items: flex-start; }
  .hero__subtitle { margin-left: 0; }
  .stats { justify-content: flex-start; }
  .hero__cta { align-items: flex-start; }
  .hero__icon { width: 168px; height: 168px; }
}

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