:root {
  --leaf: #207a4c;
  --leaf-dark: #0e3f2a;
  --field: #d5a84d;
  --sky: #d9ecf2;
  --ink: #14211b;
  --muted: #5f6e66;
  --paper: #fbfaf4;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(14, 63, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(5, 28, 19, 0.16);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--leaf-dark);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0;
  overflow: hidden;
}

.brand-mark img {
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #263d32;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover {
  background: rgba(32, 122, 76, 0.1);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 132px max(24px, calc((100vw - 1120px) / 2)) 46px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2200&q=82");
  background-position: center;
  background-size: cover;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 30, 19, 0.86) 0%, rgba(7, 30, 19, 0.58) 48%, rgba(7, 30, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(14, 63, 42, 0.7), rgba(14, 63, 42, 0.02) 45%);
}

.hero-content {
  width: min(760px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--field);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions,
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action,
.notify-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.primary-action:hover,
.secondary-action:hover,
.notify-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.primary-action,
.notify-form button {
  background: var(--field);
  color: #211707;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
}

.launch-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 46px;
  width: min(340px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.launch-panel span,
.status-pill {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(213, 168, 77, 0.2);
  color: #ffe09a;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-panel strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.15;
}

.launch-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.section,
.apps-section,
.contact-section {
  padding: 92px max(24px, calc((100vw - 1120px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1.15fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.network-copy h2,
.contact-card h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading.light {
  color: var(--white);
}

.service-showcase {
  position: relative;
}

.service-controls {
  position: absolute;
  top: -82px;
  right: 0;
  display: flex;
  gap: 10px;
}

.service-nav {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(14, 63, 42, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--leaf-dark);
  box-shadow: 0 12px 26px rgba(14, 63, 42, 0.1);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.service-nav:hover {
  transform: translateY(-3px);
  background: var(--leaf-dark);
  color: var(--white);
}

.service-track {
  display: grid;
  grid-auto-columns: calc((100% - 32px) / 3);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 34px;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.service-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 28px 90px rgba(14, 63, 42, 0.24);
}

.service-card img {
  height: 220px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card div {
  padding: 20px;
}

.service-card span {
  color: var(--leaf);
  font-weight: 900;
}

.service-card h3,
.app-copy h3 {
  margin: 8px 0 8px;
  font-size: 1.35rem;
}

.service-card p,
.app-copy p,
.network-copy p,
.contact-card p {
  color: var(--muted);
  line-height: 1.65;
}

.service-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 12px;
}

.service-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 63, 42, 0.22);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.service-dot.is-active {
  width: 28px;
  background: var(--leaf);
}

.apps-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(213, 168, 77, 0.18), transparent 28%),
    linear-gradient(135deg, #0c2f20, #155d3d 55%, #0c2f20);
}

.app-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.phone-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 26px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.16);
  transition: transform 320ms ease, border-color 320ms ease, background 320ms ease;
}

.phone-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.15);
}

.phone-shell {
  position: relative;
  min-height: 420px;
  border: 10px solid #0a1711;
  border-radius: 34px;
  background: #0a1711;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: rotate(-3deg);
  animation: floatPhone 5s ease-in-out infinite;
}

.customer-phone .phone-shell {
  transform: rotate(3deg);
  animation-delay: -1.8s;
}

.phone-top {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0a1711;
}

.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 23px;
}

.phone-screen img {
  height: 100%;
  object-fit: cover;
}

.app-ui {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.app-ui span {
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-ui h3 {
  margin: 6px 0 8px;
}

.app-ui p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.app-copy .status-pill {
  color: #211707;
  background: var(--field);
}

.network-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(180deg, var(--paper), #eef6ea);
}

.flow-board {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: center;
  min-height: 240px;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.flow-node {
  display: grid;
  min-height: 112px;
  place-items: center;
  border-radius: 8px;
  background: #edf7f0;
  color: var(--leaf-dark);
  font-weight: 900;
  text-align: center;
}

.flow-node.center {
  background: var(--leaf-dark);
  color: var(--white);
}

.flow-line {
  height: 4px;
  background: linear-gradient(90deg, var(--field), var(--leaf));
  transform-origin: left center;
  animation: growLine 2.8s ease-in-out infinite;
}

.contact-section {
  background-image:
    linear-gradient(90deg, rgba(10, 47, 32, 0.88), rgba(10, 47, 32, 0.62)),
    url("https://images.unsplash.com/photo-1495107334309-fcf20504a5ab?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.notify-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--leaf-dark);
  font-weight: 900;
}

.notify-form input {
  flex: 1 1 220px;
  min-height: 50px;
  border: 1px solid #cdd9d1;
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
}

.form-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--leaf);
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-header[data-reveal] {
  transform: translate(-50%, -18px);
}

.site-header[data-reveal].is-visible {
  transform: translate(-50%, 0);
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes floatPhone {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes growLine {
  0%,
  100% {
    transform: scaleX(0.25);
    opacity: 0.45;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 900px;
  }

  .launch-panel {
    position: static;
    margin-top: 34px;
  }

  .section-heading,
  .app-showcase,
  .network-section,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .service-controls {
    position: static;
    justify-content: flex-end;
    margin: -14px 0 14px;
  }

  .service-track {
    grid-auto-columns: minmax(280px, 78%);
  }

  .phone-card {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    width: min(300px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand {
    font-size: 0.92rem;
  }

  .hero,
  .section,
  .apps-section,
  .contact-section {
    padding-inline: 18px;
  }

  .hero {
    min-height: 860px;
    padding-top: 112px;
  }

  .service-track {
    grid-auto-columns: 88%;
  }

  .service-card img {
    height: 190px;
  }

  .phone-card,
  .contact-card,
  .flow-board {
    padding: 20px;
  }

  .flow-board {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flow-line {
    width: 4px;
    height: 38px;
    justify-self: center;
    transform-origin: center top;
  }
}
