:root {
  --primary: #0f9d72;
  --primary-dark: #087857;
  --primary-light: #e8f7f1;
  --background: #f7f9f8;
  --surface: #ffffff;
  --text: #17201d;
  --text-light: #68736e;
  --border: #e5ebe7;
  --shadow: 0 18px 55px rgba(23, 32, 29, 0.07);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(15, 157, 114, 0.45);
  outline-offset: 4px;
}

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

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

.section {
  padding: 105px 0;
}

/* Navigation */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 235, 231, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.7px;
  white-space: nowrap;
}

.logo-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(15, 157, 114, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-links > a:not(.btn) {
  color: #56615c;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links > a:not(.btn):hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */

.btn {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 6px 16px rgba(15, 157, 114, 0.15);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 9px 22px rgba(15, 157, 114, 0.2);
}

.btn-secondary {
  color: var(--text);
  background: white;
  border-color: var(--border);
}

.btn-secondary:hover {
  color: var(--primary-dark);
  border-color: var(--primary);
}

.nav-cta {
  min-height: 43px;
  padding: 10px 16px;
  font-size: 12px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 100px;
  background:
    radial-gradient(
      ellipse at 85% 15%,
      rgba(15, 157, 114, 0.09),
      transparent 38%
    ),
    linear-gradient(180deg, #ffffff 0%, #f7f9f8 100%);
}

.hero::before {
  position: absolute;
  top: 60px;
  right: -150px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(15, 157, 114, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 68px;
}

.hero-content {
  max-width: 550px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero .eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(15, 157, 114, 0.15);
  border-radius: 30px;
  background: rgba(232, 247, 241, 0.8);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(39px, 4.7vw, 61px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -3px;
}

.hero h1 span,
.section-heading h2 span,
.how-content h2 span,
.final-cta h2 span {
  color: var(--primary);
}

.hero-description {
  max-width: 490px;
  margin-top: 23px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.hero-note {
  margin-top: 17px;
  color: #78827d;
  font-size: 11px;
}

/* Dashboard preview */

.hero-visual {
  position: relative;
  padding: 15px;
}

.preview-card {
  position: relative;
  z-index: 1;
  padding: 26px;
  border: 1px solid rgba(229, 235, 231, 0.9);
  border-radius: 22px;
  background: white;
  box-shadow: 0 25px 75px rgba(23, 32, 29, 0.11);
  transform: rotate(1deg);
}

.preview-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.preview-label {
  color: var(--text-light);
  font-size: 10px;
  font-weight: 600;
}

.preview-topbar h2 {
  margin-top: 5px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.4;
}

.preview-status {
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 700;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  padding: 23px 0;
}

.metric-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #edf0ee;
  border-radius: 12px;
  background: #ffffff;
}

.metric-card > span,
.metric-card small {
  display: block;
  color: var(--text-light);
  font-size: 10px;
}

.metric-card strong {
  display: block;
  margin: 9px 0 4px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.35;
}

.metric-card small {
  font-size: 9px;
  line-height: 1.6;
}

.metric-highlight {
  background: #f0faf6;
  border-color: #d8f0e5;
}

.metric-highlight strong {
  color: var(--primary-dark);
}

.preview-bottom {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  color: #68736e;
  font-size: 10px;
  line-height: 1.6;
}

.preview-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.floating-note {
  position: absolute;
  right: -8px;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
}

.floating-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 800;
}

.floating-note strong,
.floating-note div > span {
  display: block;
}

.floating-note strong {
  font-size: 11px;
}

.floating-note div > span {
  margin-top: 3px;
  color: var(--text-light);
  font-size: 10px;
}

/* Benefits strip */

.benefit-strip {
  padding: 27px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.benefit-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #46514b;
  font-size: 12px;
  font-weight: 700;
}

.benefit-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 800;
}

/* Section headings */

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

.section-heading h2,
.how-content h2 {
  margin-top: 15px;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 800;
  line-height: 1.23;
  letter-spacing: -1.8px;
}

.section-heading > p,
.how-content > p {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.9;
}

/* Features */

.features-section {
  background: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}

.feature-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #cce9dc;
  box-shadow: 0 18px 40px rgba(23, 32, 29, 0.06);
}

.feature-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 14px;
  font-size: 23px;
  font-weight: 700;
}

.sales-icon,
.profit-icon,
.goals-icon {
  background: #e8f7f1;
  color: #087857;
}

.expenses-icon {
  background: #fff3e7;
  color: #a75c16;
}

.products-icon {
  background: #edf0ff;
  color: #5159b9;
}

.reports-icon {
  background: #f9eaf5;
  color: #a23d84;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.feature-card p {
  margin-top: 11px;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.9;
}

/* How it works */

.how-section {
  background: var(--background);
}

.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 95px;
}

.how-content > p {
  margin-bottom: 27px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: white;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover {
  transform: translateX(4px);
  border-color: #cce9dc;
}

.step-number {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.step h3 {
  font-size: 14px;
  font-weight: 800;
}

.step p {
  margin-top: 6px;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.8;
}

/* Pricing */

.pricing-section {
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px;
  max-width: 850px;
  margin: 0 auto;
}

.pricing-card {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
}

.pricing-card-pro {
  position: relative;
  border: 1.5px solid var(--primary);
  box-shadow: 0 15px 45px rgba(15, 157, 114, 0.09);
}

.plan-label {
  display: inline-block;
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.pricing-card h3 {
  margin-top: 15px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.plan-description {
  min-height: 65px;
  margin-top: 9px;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.8;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 27px 0 30px;
  list-style: none;
}

.plan-features li {
  color: #46514b;
  font-size: 12px;
}

.plan-features li::first-letter {
  color: var(--primary);
}

.pricing-btn {
  width: 100%;
}

.pricing-note {
  margin-top: 25px;
  color: var(--text-light);
  font-size: 11px;
  text-align: center;
}

/* FAQ */

.faq-section {
  background: var(--background);
}

.faq-container {
  max-width: 790px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: white;
}

.faq-item summary {
  position: relative;
  padding: 20px 30px 20px 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--primary);
  font-size: 21px;
  font-weight: 400;
  content: "+";
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 22px;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.9;
}

/* Final CTA */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: #103c2f;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.final-cta::before {
  top: -190px;
  left: -80px;
}

.final-cta::after {
  right: -100px;
  bottom: -230px;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 730px;
  text-align: center;
}

.final-cta .eyebrow {
  color: #a8e8d0;
}

.final-cta h2 {
  margin-top: 17px;
  color: white;
  font-size: clamp(31px, 4.5vw, 47px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1.8px;
}

.final-cta h2 span {
  color: #7ce0b7;
}

.final-cta p {
  max-width: 540px;
  margin: 17px auto 27px;
  color: #c4d9d0;
  font-size: 13px;
  line-height: 1.9;
}

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

.btn-white:hover {
  background: var(--primary-light);
}

/* Footer */

.footer {
  padding: 36px 0 27px;
  border-top: 1px solid var(--border);
  background: white;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 19px;
}

.footer-logo {
  font-size: 15px;
}

.footer-logo .logo-icon {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  font-size: 18px;
}

.footer-content > p {
  color: var(--text-light);
  font-size: 11px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  color: #56615c;
  font-size: 11px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-content .copyright {
  width: 100%;
  padding-top: 21px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  text-align: center;
}

/* Tablet */

@media (max-width: 1000px) {
  .nav-links {
    gap: 17px;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(37px, 5vw, 51px);
  }

  .hero-visual {
    padding: 8px;
  }

  .preview-card {
    padding: 20px;
  }

  .metric-card {
    padding: 13px;
  }

  .how-grid {
    gap: 50px;
  }

  .feature-card {
    padding: 23px;
  }
}

/* Mobile navigation */

@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 76px 0;
  }

  .navbar {
    min-height: 72px;
  }

  .logo {
    gap: 9px;
    font-size: 16px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    border-bottom: 1px solid var(--border);
    background: white;
    box-shadow: 0 16px 30px rgba(23, 32, 29, 0.07);
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
  }

  .nav-links > a:not(.btn) {
    padding: 13px 4px;
    border-bottom: 1px solid #f0f2f1;
    font-size: 13px;
  }

  .nav-links .login-link {
    border-bottom: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 9px;
  }

  /* Hero mobile */

  .hero {
    padding: 65px 0 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-content {
    max-width: 570px;
    margin-inline: auto;
    text-align: center;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(37px, 8vw, 53px);
    letter-spacing: -2px;
  }

  .hero-description {
    margin-inline: auto;
    font-size: 13px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-note {
    font-size: 10px;
  }

  .hero-visual {
    width: min(100%, 480px);
    margin: 0 auto;
    padding: 0 5px 28px;
  }

  .preview-card {
    padding: 22px;
    transform: none;
  }

  .floating-note {
    right: 0;
    bottom: 0;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .benefit-grid > div {
    justify-content: flex-start;
    font-size: 11px;
  }

  /* Features mobile */

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2,
  .how-content h2 {
    font-size: clamp(29px, 6vw, 38px);
    letter-spacing: -1.3px;
  }

  .section-heading > p,
  .how-content > p {
    font-size: 12px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .feature-card {
    padding: 20px 17px;
    border-radius: 15px;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    border-radius: 12px;
    font-size: 20px;
  }

  .feature-card h3 {
    font-size: 13px;
    line-height: 1.5;
  }

  .feature-card p {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.8;
  }

  /* How it works mobile */

  .how-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .how-content {
    text-align: center;
  }

  .steps-list {
    gap: 12px;
  }

  .step {
    gap: 15px;
    padding: 19px;
  }

  /* Pricing mobile */

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 470px;
    gap: 17px;
  }

  .pricing-card {
    padding: 28px;
  }

  .plan-description {
    min-height: auto;
  }

  .plan-features {
    gap: 13px;
    margin: 24px 0;
  }

  /* FAQ mobile */

  .faq-item {
    padding-inline: 17px;
  }

  .faq-item summary {
    padding-block: 18px;
    font-size: 12px;
  }

  .faq-item p {
    font-size: 11px;
  }

  /* CTA mobile */

  .final-cta {
    padding: 72px 0;
  }

  .final-cta h2 {
    font-size: clamp(30px, 6vw, 39px);
    letter-spacing: -1.2px;
  }

  .final-cta p {
    font-size: 12px;
  }

  /* Footer mobile */

  .footer-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-content .copyright {
    margin-top: 5px;
  }
}

/* Small phones */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .preview-card {
    padding: 15px;
  }

  .preview-topbar h2 {
    font-size: 13px;
  }

  .preview-status {
    font-size: 9px;
  }

  .metric-card {
    padding: 11px;
  }

  .metric-card strong {
    font-size: 13px;
  }

  .metric-card small {
    font-size: 9px;
  }

  .floating-note {
    right: -2px;
    padding: 11px 13px;
  }

  .feature-card {
    padding: 16px 13px;
  }

  .feature-card h3 {
    font-size: 12px;
  }

  .feature-card p {
    font-size: 10px;
  }

  .benefit-grid > div {
    gap: 8px;
    font-size: 10px;
  }

  .benefit-icon {
    width: 30px;
    height: 30px;
  }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.dashboard-preview {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 157, 114, 0.12);
  box-shadow: 0 24px 60px rgba(23, 32, 29, 0.12);
}

.dashboard-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}