:root {
  --green: #11d97a;
  --green-deep: #0bb866;
  --orange: #ff7a3c;
  --ink: #0c1410;
  --body: #5b6b62;
  --bg: #ffffff;
  --bg-soft: #f5f8f6;
  --bg-mint: #eefbf4;
  --line: #d3ddd6;
  --line-strong: #b9c6bd;
  --radius: 22px;
  --shadow-sm: 0 4px 20px rgba(12, 20, 16, 0.06);
  --shadow-lg: 0 30px 80px rgba(12, 20, 16, 0.14);
  --max: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
p { color: var(--body); }
a { text-decoration: none; color: inherit; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--bg-mint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.grad {
  background: linear-gradient(110deg, var(--green), var(--green-deep) 60%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--solid {
  background: var(--green);
  color: #04220f;
  box-shadow: 0 10px 26px rgba(17, 217, 122, 0.35);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(17, 217, 122, 0.45); }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover { transform: translateY(-2px); background: var(--bg-soft); border-color: #98a99f; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.brand__logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; display: block; }
.brand__name { letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; color: var(--body); }
.nav__links a:hover { color: var(--ink); }
.nav .btn--solid { margin-left: 4px; }

/* HERO */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.hero__title { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 900; }
.hero__sub { font-size: 1.18rem; margin: 22px 0 30px; max-width: 30ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { font-size: .9rem; margin-top: 18px; color: var(--body); }

.hero__media { position: relative; }

/* Animated phone stage (crossfading AI-composed stills) */
.phone-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}
.phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.phone-shot.is-active {
  opacity: 1;
  transform: scale(1);
}
/* moving light sweep across the stage */
.phone-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: var(--radius);
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 150% 0;
  mix-blend-mode: screen;
  animation: shine 7s ease-in-out infinite;
}
.hero__glow {
  position: absolute;
  inset: -12% -8% -18% -8%;
  z-index: 1;
  background: radial-gradient(60% 60% at 70% 40%, rgba(17,217,122,.30), transparent 70%),
              radial-gradient(50% 50% at 30% 80%, rgba(255,122,60,.20), transparent 70%);
  filter: blur(34px);
  animation: glowpulse 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50%      { transform: translateY(-16px) rotate(0.4deg); }
}
@keyframes glowpulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
@keyframes shine {
  0%, 60%, 100% { background-position: 150% 0; }
  80%           { background-position: -50% 0; }
}

/* STRIP */
.strip {
  text-align: center;
  padding: 26px 24px 40px;
  color: var(--body);
  font-weight: 500;
}

/* SECTION HEAD */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

/* FEATURES */
.features { max-width: var(--max); margin: 0 auto; padding: 60px 24px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(12, 20, 16, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 38px rgba(12, 20, 16, 0.12);
}
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card__icon--green { background: var(--bg-mint); }
.card__icon--orange { background: #fff0e8; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { font-size: .98rem; }

/* HOW */
.how {
  background: var(--bg-soft);
  padding: 80px 0;
  margin-top: 30px;
}
.steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
}
.step__num {
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(120deg, var(--green), var(--orange));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }

/* WEB DASHBOARD */
.webapp { max-width: var(--max); margin: 0 auto; padding: 90px 24px 30px; }
.section-sub { max-width: 60ch; margin: 16px auto 0; font-size: 1.08rem; }
.browser {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #0c1410;
  max-width: 1000px;
  margin: 0 auto;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #f3f6f4;
  border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 12px; height: 12px; border-radius: 50%; background: #d6dcd9; }
.browser__dots i:nth-child(1) { background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }
.browser__url {
  font-size: .85rem;
  color: var(--body);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 14px;
  flex: 1;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}
.browser__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 809;
  background: #0a0a0a;
}
.wslide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity .7s ease, transform .7s ease;
}
.wslide.is-active { opacity: 1; transform: scale(1); }

/* carousel tab labels */
.webapp-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto 22px;
}
.wtab {
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--body);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.wtab:hover { color: var(--ink); border-color: var(--line-strong); }
.wtab.is-active {
  color: #04220f;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 8px 20px rgba(17, 217, 122, 0.30);
}
.stat-row {
  max-width: 1000px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
}
.stat__num { display: block; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; }
.stat__label { display: block; margin-top: 4px; color: var(--body); font-weight: 500; }

/* SHOWCASE */
.showcase {
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.showcase__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.showcase__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  color: var(--ink);
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--green);
  color: #04220f;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}

/* PRICING */
.pricing { max-width: var(--max); margin: 0 auto; padding: 90px 24px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.price {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.price:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 38px rgba(12, 20, 16, 0.12);
}
.price--featured {
  position: relative;
  border-color: var(--green);
  box-shadow: 0 22px 54px rgba(17, 217, 122, 0.22);
}
.price--featured:hover {
  border-color: var(--green);
  box-shadow: 0 28px 64px rgba(17, 217, 122, 0.30);
}
.price__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #04220f;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(17, 217, 122, 0.35);
}
.price__name { font-size: 1.4rem; }
.price__tag { font-size: .95rem; margin-top: 6px; min-height: 44px; }
.price__amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 12px 0 2px;
}
.price__cur { font-size: 1.5rem; font-weight: 800; align-self: flex-start; margin-top: .35em; }
.price__per { font-size: 1rem; font-weight: 600; color: var(--body); }
.price__btn { width: 100%; margin: 20px 0 24px; }
.price .ticks { margin-top: 0; }
.price .ticks li { font-weight: 500; font-size: .96rem; color: var(--body); }
.price .ticks li:first-child { font-weight: 700; color: var(--ink); }
.price__foot { text-align: center; color: var(--body); font-size: .9rem; margin-top: 30px; }

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price__tag { min-height: 0; }
}

/* CTA */
.cta { padding: 30px 24px 100px; }
.cta__inner {
  max-width: var(--max);
  margin: 0 auto;
  background: linear-gradient(135deg, #07271a, #0c1410 70%);
  border-radius: 32px;
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__inner::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(17,217,122,.25), transparent 70%);
}
.cta__inner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); position: relative; }
.cta__inner p { color: #b9c9c0; margin: 14px 0 30px; position: relative; }
.cta__inner .hero__cta { justify-content: center; position: relative; }
.cta__inner .btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.cta__inner .btn--ghost:hover { background: rgba(255,255,255,.16); }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 36px 24px; }
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer p { font-size: .9rem; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__sub { max-width: none; }
  .hero__media { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 36px; }
  .showcase__media { max-width: 420px; margin: 0 auto; }
  .stat-row { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .btn { width: 100%; }
  .nav .btn--solid { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-stage, .phone-shine, .hero__glow { animation: none; }
  html { scroll-behavior: auto; }
}
