:root {
  --bg: #f6fdf7;
  --bg-2: #ebf6e9;
  --primary: #4d9a5a;
  --primary-dark: #245b37;
  --primary-deep: #143d26;
  --text: #183f2b;
  --muted: #587560;
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 18px 40px rgba(20, 61, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(77, 154, 90, 0.16), transparent 24%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.18), transparent 45%),
    radial-gradient(circle at top right, rgba(76, 175, 80, 0.14), transparent 28%);
  pointer-events: none;
  z-index: 0;
}

.hero {
  padding: 24px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 12px 18px;
  background: rgba(246, 253, 247, 0.84);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(77, 154, 90, 0.12);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(20, 61, 38, 0.08);
}

.nav-links {
  display: flex;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

.nav-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
}

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

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.stats div {
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 16px;
  border-radius: 16px;
  min-width: 110px;
  box-shadow: 0 10px 24px rgba(22, 80, 43, 0.08);
  border: 1px solid rgba(77, 154, 90, 0.08);
}

.stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.stats span {
  font-size: 0.9rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  background: rgba(76, 175, 80, 0.15);
  color: var(--primary-dark);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
}

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

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
}

.btn-secondary {
  color: var(--primary-dark);
  background: white;
  border: 1px solid rgba(76, 175, 80, 0.15);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hologram-monitor {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  perspective: 1200px;
}

.monitor-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(77, 154, 90, 0.08), rgba(77, 154, 90, 0.12));
  border: 1px solid rgba(77, 154, 90, 0.3);
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 
    0 0 40px rgba(77, 154, 90, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  animation: float 5s ease-in-out infinite;
}

.monitor-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hologram-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(77, 154, 90, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 154, 90, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridScroll 6s linear infinite;
}

.data-point {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 154, 90, 0.8), rgba(77, 154, 90, 0.3));
  box-shadow: 0 0 16px rgba(77, 154, 90, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.data-1 {
  top: 25%;
  left: 30%;
  animation-delay: 0s;
}

.data-2 {
  top: 60%;
  right: 25%;
  animation-delay: 0.4s;
}

.data-3 {
  bottom: 20%;
  left: 45%;
  animation-delay: 0.8s;
}

.scan-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(77, 154, 90, 0.8), transparent);
  top: 50%;
  animation: scan 3s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(77, 154, 90, 0.6);
}

.corner-accent {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(77, 154, 90, 0.4);
}

.top-left {
  top: 12px;
  left: 12px;
  border-right: transparent;
  border-bottom: transparent;
}

.top-right {
  top: 12px;
  right: 12px;
  border-left: transparent;
  border-bottom: transparent;
}

.bottom-left {
  bottom: 12px;
  left: 12px;
  border-right: transparent;
  border-top: transparent;
}

.bottom-right {
  bottom: 12px;
  right: 12px;
  border-left: transparent;
  border-top: transparent;
}

.monitor-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(77, 154, 90, 0.2), transparent 70%);
  animation: glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gridScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(40px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

@keyframes scan {
  0% {
    top: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 40px rgba(77, 154, 90, 0.2);
  }
  50% {
    box-shadow: 0 0 60px rgba(77, 154, 90, 0.4);
  }
}

.animate-up {
  animation: fadeUp 0.8s ease both;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 40px;
  position: relative;
}

.features:has(.card:hover) .card:not(:hover) {
  opacity: 0.55;
}

.features .card {
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.showcase-text {
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(239,248,238,0.95));
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(77, 154, 90, 0.12);
}

.showcase-list {
  display: grid;
  gap: 12px;
}

.showcase-list div {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(255, 255, 255, 0.95));
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--text);
  font-weight: 600;
  border: 1px solid rgba(77, 154, 90, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.showcase-list div:hover {
  transform: translateX(4px);
  border-color: rgba(77, 154, 90, 0.28);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.18), rgba(255, 255, 255, 0.98));
}

.card {
  background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,248,238,0.96));
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.3s ease;
  border: 1px solid rgba(77, 154, 90, 0.1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(77,154,90,0.08), transparent 45%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 48px rgba(20, 61, 38, 0.18), inset 0 1px 0 rgba(255,255,255,0.8);
  border-color: rgba(77, 154, 90, 0.24);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(77, 154, 90, 0.13);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background: rgba(77, 154, 90, 0.24);
  transform: scale(1.1);
}

.card h3 {
  margin-top: 0;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--primary);
}

.case-studies {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: rgba(255, 255, 255, 0.86);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(77, 154, 90, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(22, 80, 43, 0.14);
}

.cta {
  max-width: 940px;
  margin: 0 auto 40px;
  padding: 36px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.14), rgba(255, 255, 255, 0.94));
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(77, 154, 90, 0.12);
}

.contact-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,248,238,0.95));
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(77, 154, 90, 0.12);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: #fafffa;
}

.contact-form button {
  border: none;
  cursor: pointer;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thank-you-card {
  max-width: 640px;
  width: 100%;
  text-align: center;
  padding: 40px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.14), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow);
  border: 1px solid rgba(76, 175, 80, 0.16);
}

.success-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.14);
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: white;
  font-size: 0.95rem;
}

.thank-you-card h1 {
  margin-bottom: 12px;
}

.thank-you-card p {
  color: var(--muted);
  line-height: 1.7;
}

.thank-you-highlights {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
}

.thank-you-highlights div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-weight: 600;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.dynamic-text {
  transition: opacity 0.3s ease;
}

.dynamic-text.fade-out {
  opacity: 0;
}

.dynamic-text.fade-in {
  animation: fadeTextIn 0.4s ease forwards;
}

@keyframes fadeTextIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 860px) {
  .hero-grid,
  .features,
  .showcase,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 16px;
  }

  .nav {
    border-radius: 18px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .stats {
    flex-direction: column;
  }

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