:root {
  --background: #f9fafb;
  --surface: #ffffff;
  --muted: #f1f5f4;
  --text: #111111;
  --subtle: #666b73;
  --border: #e6e8eb;
  --green: #2f7d32;
  --green-dark: #28712c;
  --green-soft: #e9f7e8;
  --shadow: 0 22px 70px rgba(16, 24, 40, 0.08);
  --shadow-soft: 0 12px 35px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(249, 252, 249, 0.86);
  display: flex;
  inset: 0 0 auto;
  justify-content: space-between;
  padding: 19px 30px;
  position: fixed;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 19px;
  font-weight: 800;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: #111;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 17px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

.brand-mark svg {
  fill: none;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 21px;
}

.nav-links {
  display: flex;
  gap: 42px;
  margin-left: 80px;
}

.nav-links a,
.sign-in {
  color: #5e6670;
  font-size: 15px;
  font-weight: 500;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 28px;
}

.sign-in {
  color: #111;
}

.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 17px;
  font-weight: 600;
  gap: 12px;
  justify-content: center;
  min-height: 60px;
  padding: 0 36px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.btn:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.btn-small {
  font-size: 15px;
  min-height: 46px;
  padding: 0 24px;
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-secondary,
.btn-light {
  background: white;
  border: 1px solid var(--border);
  color: #111;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.hero {
  background:
    radial-gradient(circle at 72% 10%, rgba(219, 246, 255, 0.78), transparent 33%),
    radial-gradient(circle at 49% 18%, rgba(228, 250, 224, 0.85), transparent 24%),
    linear-gradient(180deg, #fbfdfb 0%, #f7f8fa 68%, #eef6fb 100%);
  overflow: hidden;
  padding: 112px 64px 84px;
}

.hero-copy {
  margin: 0 auto;
  max-width: 1060px;
  text-align: center;
}

.eyebrow,
.section-heading > p,
.split-heading p,
.kicker {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  background: var(--green-soft);
  border: 1px solid #d5efcf;
  border-radius: 999px;
  display: inline-flex;
  letter-spacing: 0;
  margin-bottom: 36px;
  padding: 9px 18px;
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(48px, 3.3vw, 66px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 28px;
}

h1 span {
  color: var(--green);
}

.hero-copy > p {
  color: #69717b;
  font-size: 20px;
  line-height: 1.7;
  margin: 0 auto 42px;
  max-width: 820px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.hero-copy small {
  color: #777f88;
  display: block;
  font-size: 14px;
  margin-top: 20px;
}

.dashboard-hero {
  border-radius: 20px;
  margin: 34px auto 0;
  max-width: 1580px;
  position: relative;
  width: min(92vw, 1580px);
}

.dashboard-hero img {
  border-radius: 20px;
  width: 100%;
}

.metric-card,
.stat,
.cta-stat {
  align-items: center;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 16px;
  padding: 20px 24px;
}

.metric-card {
  position: absolute;
  transform: translate3d(0, var(--float-y, 0), 0);
  will-change: transform;
}

.metric-card span,
.stat span,
.cta-stat span {
  color: #7b838b;
  display: block;
  font-size: 15px;
}

.metric-card strong,
.stat strong,
.cta-stat strong {
  display: block;
  font-size: 25px;
  margin-top: 4px;
}

.metric-card em {
  color: var(--green);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
}

.metric-icon {
  align-items: center;
  background: var(--green-soft);
  border-radius: 17px;
  color: var(--green);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.metric-icon svg {
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 25px;
}

.metric-left {
  left: -28px;
  top: 11%;
}

.metric-right {
  right: -28px;
  top: 23%;
}

.metric-bottom {
  bottom: 8%;
  right: 0;
}

.logos {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 64px 52px;
  text-align: center;
}

.logos > p {
  color: #717985;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-row {
  color: #9aa1aa;
  display: grid;
  font-size: 15px;
  font-weight: 800;
  gap: 28px;
  grid-template-columns: repeat(6, 1fr);
  letter-spacing: 0.06em;
  margin: 42px auto 52px;
  max-width: 1320px;
}

.quote-row,
.feature-grid,
.testimonial-grid,
.pricing-grid,
.benefit-grid {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1230px;
}

.quote-row {
  grid-template-columns: repeat(3, 1fr);
}

.quote-row article,
.feature-grid article,
.testimonial-grid article,
.price-card,
.benefit-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 2px 0 rgba(16, 24, 40, 0.01);
  padding: 28px;
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(var(--lift, 0));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.quote-row article:hover,
.feature-grid article:hover,
.testimonial-grid article:hover,
.price-card:hover,
.benefit-grid article:hover {
  --lift: -4px;
  border-color: rgba(47, 125, 50, 0.22);
  box-shadow: var(--shadow-soft);
}

.quote-row p {
  font-size: 18px;
  margin-bottom: 18px;
}

.quote-row small {
  color: #818891;
}

.section {
  background: var(--background);
  padding: 116px 52px;
}

.section.muted {
  background: #f1f5f4;
}

.section-heading {
  margin: 0 auto 64px;
  max-width: 760px;
  text-align: center;
}

.section-heading h2,
.split-heading h2,
.demo h2,
.cta h2 {
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.13;
  margin-bottom: 18px;
}

.section-heading > span,
.demo-content > div > p,
.cta p {
  color: #707782;
  font-size: 19px;
  line-height: 1.65;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-icon {
  align-items: center;
  background: #eef7ec;
  border-radius: 16px;
  color: var(--green);
  display: flex;
  font-size: 24px;
  font-weight: 800;
  height: 54px;
  justify-content: center;
  margin-bottom: 24px;
  width: 54px;
}

.feature-grid h3,
.benefit-grid h3,
.price-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.feature-grid p,
.benefit-grid p,
.price-card p,
.testimonial-grid p {
  color: #69717b;
  line-height: 1.7;
}

.feature-grid a {
  color: var(--green);
  display: inline-block;
  font-weight: 700;
  margin-top: 10px;
}

.workflow {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1232px;
  position: relative;
}

.workflow-step {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 116px;
  position: relative;
  text-align: center;
}

.workflow-icon {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  color: var(--green);
  display: grid;
  height: 64px;
  justify-items: center;
  place-items: center;
  position: relative;
  transform: translate3d(var(--move-x, 0), var(--move-y, 0), 0);
  transition: transform 180ms ease, box-shadow 180ms ease;
  width: 64px;
  z-index: 2;
}

.workflow-icon svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 24px;
}

.workflow-icon strong {
  align-items: center;
  background: #111;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  position: absolute;
  right: -8px;
  top: -8px;
  width: 24px;
}

.workflow-step > span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
}

.workflow-step > small {
  color: #78808b;
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.workflow-step i {
  background: linear-gradient(90deg, rgba(47, 125, 50, 0.2), rgba(47, 125, 50, 0.42), rgba(47, 125, 50, 0.2));
  height: 1px;
  left: 50%;
  position: absolute;
  top: 32px;
  width: 100%;
  z-index: 1;
}

.workflow-step:hover .workflow-icon {
  box-shadow: 0 18px 44px rgba(47, 125, 50, 0.15);
  transform: translate3d(var(--move-x, 0), calc(var(--move-y, 0) - 6px), 0);
}

.tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 34px;
}

.tabs button {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #5e6670;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 14px 25px;
}

.tabs button:first-child {
  background: #111;
  color: white;
}

.dashboard-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 1180px;
  overflow: hidden;
  padding: 16px;
}

.dashboard-panel img {
  border-radius: 16px;
}

.split-heading {
  margin: 0 auto 44px;
  max-width: 1230px;
}

.split-heading h2 {
  max-width: 760px;
}

.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-grid article {
  min-height: 150px;
}

.testimonials {
  background: var(--background);
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 275px;
}

.testimonial-grid article > div {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.testimonial-grid strong {
  align-items: center;
  background: #111;
  border-radius: 50%;
  color: white;
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.testimonial-grid span {
  font-weight: 800;
}

.testimonial-grid small {
  color: #747d86;
  display: block;
  font-weight: 500;
  margin-top: 3px;
}

.pricing-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  min-height: 470px;
  padding: 34px;
  position: relative;
}

.price-card.popular {
  border: 2px solid var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-12px);
}

.badge {
  background: var(--green);
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 14px;
  position: absolute;
  right: 24px;
  top: 24px;
}

.price {
  font-size: 39px;
  font-weight: 800;
  margin: 28px 0;
}

.price small {
  color: #767e86;
  font-size: 17px;
  font-weight: 600;
}

.price-card ul {
  color: #59616a;
  line-height: 2;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.price-card li::before {
  color: var(--green);
  content: "✓";
  font-weight: 800;
  margin-right: 12px;
}

.price-card > a {
  align-items: center;
  background: #111;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
}

.popular > a {
  background: var(--green);
}

.demo-content {
  display: grid;
  gap: 58px;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  max-width: 1230px;
}

form {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 34px;
}

input,
select {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: #111;
  font: inherit;
  min-height: 56px;
  padding: 0 18px;
  width: 100%;
}

form button {
  background: var(--green);
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  grid-column: 1 / -1;
  min-height: 58px;
}

.demo-preview {
  align-self: center;
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.demo-preview img {
  width: 100%;
}

.demo-preview .stat {
  bottom: 24px;
  position: absolute;
}

.demo-preview .stat:first-of-type {
  left: 24px;
}

.demo-preview .stat:last-of-type {
  right: 24px;
}

.cta {
  align-items: center;
  color: white;
  display: flex;
  justify-content: center;
  min-height: 460px;
  overflow: hidden;
  padding: 84px 32px;
  position: relative;
  text-align: center;
}

.cta::after {
  background: linear-gradient(90deg, rgba(8, 17, 12, 0.78), rgba(9, 42, 18, 0.54));
  content: "";
  inset: 0;
  position: absolute;
}

.cta > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.cta-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
}

.cta .btn-secondary,
.cta .btn-light {
  border-color: rgba(255, 255, 255, 0.32);
}

.cta-stat {
  color: #111;
  position: absolute;
  z-index: 1;
}

.cta-stat-left {
  bottom: 76px;
  left: 13%;
}

.cta-stat-right {
  right: 13%;
  top: 74px;
}

footer {
  background: #111;
  color: #fff;
  padding: 76px 52px 34px;
}

.footer-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 2.1fr repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1230px;
}

.footer-logo .brand-mark {
  background: #fff;
  color: #111;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
  margin: 22px 0;
  max-width: 340px;
}

.subscribe {
  display: flex;
  max-width: 360px;
}

.subscribe input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 999px 0 0 999px;
  color: white;
}

.subscribe button {
  background: var(--green);
  border: 0;
  border-radius: 0 999px 999px 0;
  color: white;
  font-weight: 800;
  padding: 0 22px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.socials a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

footer h4 {
  margin: 0 0 18px;
}

footer a {
  color: rgba(255, 255, 255, 0.66);
  display: block;
  margin: 13px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.56);
  display: flex;
  justify-content: space-between;
  margin: 64px auto 0;
  max-width: 1230px;
  padding-top: 28px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 132px 24px 64px;
  }

  .header-actions {
    gap: 12px;
  }

  .sign-in {
    display: none;
  }

  .logo-row,
  .feature-grid,
  .benefit-grid,
  .testimonial-grid,
  .pricing-grid,
  .demo-content,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quote-row,
  .workflow {
    display: grid;
    grid-template-columns: 1fr;
  }

  .workflow-step {
    align-items: flex-start;
    flex-direction: row;
    gap: 16px;
    min-height: 80px;
    text-align: left;
  }

  .workflow-step i {
    display: none;
  }

  .workflow-step > span {
    margin-top: 6px;
  }

  .workflow-step > small {
    bottom: 14px;
    left: 80px;
    position: absolute;
  }

  .metric-card,
  .cta-stat {
    display: none;
  }

  .demo-content {
    gap: 32px;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 16px;
  }

  .brand-mark {
    height: 34px;
    width: 34px;
  }

  .btn {
    font-size: 15px;
    min-height: 50px;
    padding: 0 22px;
  }

  .btn-small {
    padding: 0 16px;
  }

  .hero-actions,
  .tabs,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy > p,
  .section-heading > span,
  .demo-content > div > p,
  .cta p {
    font-size: 17px;
  }

  .section,
  .logos,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo-row,
  .feature-grid,
  .benefit-grid,
  .testimonial-grid,
  .pricing-grid,
  .demo-content,
  .footer-grid,
  form {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    margin-top: 52px;
  }

  .price-card.popular {
    transform: none;
  }

  .demo-preview .stat {
    display: none;
  }

  .subscribe {
    display: grid;
  }

  .subscribe input,
  .subscribe button {
    border-radius: 999px;
  }
}
