/* ─── Reset & base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a4a30;
  --indigo:     #52b788;
  --indigo-dark:#3a9268;
  --cyan:       #80d4aa;
  --text:       #1a2e22;
  --body:       #445c4e;
  --muted:      #78968a;
  --surface:    #f3faf6;
  --border:     #d8ede3;
  --blue-light: #e8f7ef;
  --white:      #ffffff;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 2px 8px rgba(26,74,48,.08);
  --shadow:     0 8px 32px rgba(26,74,48,.12);
  --shadow-lg:  0 24px 64px rgba(26,74,48,.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ─── Typography ───────────────────────────────────────────────────── */
h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
}
.contact-hero h1 { color: var(--white); }
h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
}
h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.section-title { text-align: center; margin-bottom: 10px; }
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 60px;
}

/* ─── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .2s, transform .15s, background .15s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(82,183,136,.35);
}
.btn--primary:hover {
  background: var(--indigo-dark);
  box-shadow: 0 6px 20px rgba(82,183,136,.45);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.3);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--indigo);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { box-shadow: var(--shadow); }

.btn--sm  { padding: 7px 16px; font-size: .82rem; }
.btn--lg  { padding: 14px 32px; font-size: 1rem; }

/* ─── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.nav__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.04em;
  text-decoration: none;
}
.nav__logo-img {
  height: 45px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  text-decoration: none;
  color: var(--body);
  font-size: .88rem;
  font-weight: 500;
  transition: color .15s;
}
.nav__links a:hover { color: var(--indigo); }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--white);
  padding: 104px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Subtle green gradient hint */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 10% 80%,  rgba(82,183,136,.1)  0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 15%,  rgba(82,183,136,.07) 0%, transparent 55%);
  pointer-events: none;
}

/* Leaf pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/leaf-pattern.svg') center / cover no-repeat;
  pointer-events: none;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(82,183,136,.12);
  color: var(--indigo-dark);
  border: 1px solid rgba(82,183,136,.3);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__sub {
  color: var(--body);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 500px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Override ghost button for light hero */
.hero .btn--ghost {
  color: var(--indigo-dark);
  border-color: rgba(82,183,136,.45);
}
.hero .btn--ghost:hover {
  background: rgba(82,183,136,.08);
  border-color: var(--indigo);
  color: var(--indigo-dark);
}

.hero__visual { display: flex; justify-content: center; }
.hero__screenshot-frame {
  width: 100%;
  max-width: 500px;
}

.hero__screenshot-frame img { width: 100%; display: block; filter: drop-shadow(0 16px 40px rgba(0,0,0,.18)); }
.hero__screenshot-placeholder {
  display: none;
  height: 280px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,.25);
  font-size: .85rem;
  padding: 20px;
}

/* ─── Value props ──────────────────────────────────────────────────── */
.value-props { background: var(--white); }

.vp-row { padding: 96px 0; border-bottom: 1px solid var(--border); }
.vp-row--alt { background: var(--surface); }

.vp-row__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.vp-row__inner--reverse { direction: rtl; }
.vp-row__inner--reverse > * { direction: ltr; }

.value-prop__number {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--indigo);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.vp-row__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -.025em;
}

.vp-row__text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.vp-row__image { display: flex; align-items: center; justify-content: center; }
.vp-row__image img { width: 100%; max-width: 480px; height: auto; filter: drop-shadow(0 16px 40px rgba(0,0,0,.12)); }

.vp-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-light), #d1fae5);
  border: 2px dashed rgba(82,183,136,.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .vp-row { padding: 64px 0; }
  .vp-row__inner,
  .vp-row__inner--reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .vp-row__image { order: -1; }
}

/* ─── Contact page ─────────────────────────────────────────────────── */
.contact-hero {
  background: var(--navy);
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(82,183,136,.35), transparent);
  pointer-events: none;
}
.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/leaf-pattern-light.svg') center / cover no-repeat;
  pointer-events: none;
}
.contact-hero > * { position: relative; z-index: 1; }
.contact-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  position: relative;
}
.contact-hero p {
  color: rgba(255,255,255,.65);
  margin-top: 12px;
  font-size: 1.05rem;
  position: relative;
}

.contact-body { padding: 72px 0; background: var(--surface); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: 1.4rem; margin-bottom: 12px; }
.contact-info p  { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 32px; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--body);
}
.contact-detail-item span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(82,183,136,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: 28px; }
.form-submit .btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--text);
}
.form-success .check { font-size: 2.5rem; margin-bottom: 12px; }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
}

/* ─── Steps ────────────────────────────────────────────────────────── */
.steps { background: var(--surface); padding: 104px 0; }

.steps__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 680px;
  margin-inline: auto;
}
.steps__list::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--indigo), rgba(82,183,136,.1));
}

.step {
  display: flex;
  gap: 28px;
  padding-bottom: 44px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }

.step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--surface), 0 4px 16px rgba(82,183,136,.35);
}

.step__body { padding-top: 14px; }
.step__body h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step__body p  { color: var(--muted); font-size: .95rem; }

/* ─── Features ─────────────────────────────────────────────────────── */
.features { padding: 104px 0; background: var(--white); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(82,183,136,.12), rgba(128,212,170,.08));
  border: 1px solid rgba(82,183,136,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-card h3 { margin-bottom: 8px; }
.feature-card p  { color: var(--muted); font-size: .93rem; line-height: 1.65; }

/* ─── Tech stack ───────────────────────────────────────────────────── */
.tech {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(82,183,136,.2), transparent);
  pointer-events: none;
}
.tech .section-title {
  color: var(--white);
  position: relative;
}
.tech .section-sub {
  color: rgba(255,255,255,.45);
  position: relative;
  margin-bottom: 40px;
}

.tech__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.pill {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .15s, border-color .15s;
}
.pill:hover {
  background: rgba(82,183,136,.2);
  border-color: rgba(82,183,136,.4);
  color: var(--white);
}

/* ─── Access CTA ───────────────────────────────────────────────────── */
.access {
  padding: 104px 0;
  background: var(--surface);
  text-align: center;
}
.access__inner h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.access__inner p {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}
.access__ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.access .btn--primary { box-shadow: 0 4px 20px rgba(82,183,136,.4); }

/* ─── Footer ───────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer .nav__logo { color: var(--white); font-size: 1.2rem; }
.footer .nav__logo-img { height: 56px; }
.footer__copy { color: rgba(255,255,255,.35); font-size: .82rem; }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__sub  { max-width: 100%; }
  .hero__ctas { justify-content: center; }
  .hero__visual { order: -1; }

  .nav__links li:not(:last-child) { display: none; }

  .steps__list::before { display: none; }
  .step { gap: 16px; }
}
