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

:root {
  --green-dark: #779f4a;
  --green-light: #93c266;
  --navy: #0e2640;
  --black: #201d1d;
  --off-white: #eeeeef;
  --white: #ffffff;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(14, 38, 64, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(147, 194, 102, 0.15);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--off-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-logo .x-accent {
  color: var(--green-light);
}

.nav-logo .header-logo {
  width: 150px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(238, 238, 239, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--green-light);
}

.nav-cta {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 8px 22px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--green-light) !important;
  color: var(--black) !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--black) 50%, #0c1e30 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(119, 159, 74, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(147, 194, 102, 0.15);
  border: 1px solid rgba(147, 194, 102, 0.4);
  color: var(--green-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 12px;
}

.hero-title .accent {
  color: var(--green-light);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(238, 238, 239, 0.45);
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(238, 238, 239, 0.65);
  max-width: 480px;
  margin-bottom: 40px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-primary:hover {
  background: var(--green-light);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 36px;
  text-decoration: none;
  border: 1px solid rgba(238, 238, 239, 0.3);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition:
    border-color 0.2s,
    color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--green-light);
  color: var(--green-light);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device {
  width: 100%;
  max-width: 480px;
  background: rgba(14, 38, 64, 0.6);
  border: 1px solid rgba(147, 194, 102, 0.2);
  border-radius: 4px;
  padding: 28px;
  position: relative;
}

.device-header {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.device-header::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.metric-card {
  background: rgba(14, 38, 64, 0.8);
  border: 1px solid rgba(238, 238, 239, 0.08);
  padding: 16px;
  border-radius: 2px;
}

.metric-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(238, 238, 239, 0.4);
  margin-bottom: 6px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--off-white);
  line-height: 1;
}

.metric-value.ok {
  color: var(--green-light);
}
.metric-value.warn {
  color: #e8a020;
}

.metric-unit {
  font-size: 12px;
  color: rgba(238, 238, 239, 0.4);
  margin-left: 2px;
}

.metric-status {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.status-ok {
  color: var(--green-light);
}
.status-warn {
  color: #e8a020;
}

.truck-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(238, 238, 239, 0.08);
  font-size: 11px;
  color: rgba(238, 238, 239, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.truck-info span:last-child {
  color: var(--green-light);
  font-weight: 600;
}

/* STATS STRIP */
.stats-strip {
  background: var(--navy);
  padding: 48px 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-top: 2px solid var(--green-dark);
}

.stat-item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(238, 238, 239, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(238, 238, 239, 0.5);
}

/* SECTIONS SHARED */
section {
  padding: 100px 5%;
}

.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: "";
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--green-dark);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--off-white);
  margin-bottom: 20px;
}

.section-title .accent {
  color: var(--green-light);
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(238, 238, 239, 0.6);
  max-width: 540px;
}

/* HOW IT WORKS */
.how-section {
  background: #161212;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(238, 238, 239, 0.07);
  position: relative;
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: rgba(119, 159, 74, 0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  transition: color 0.3s;
}

.step:hover .step-num {
  color: var(--green-light);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--off-white);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(238, 238, 239, 0.55);
}

/* Feature boxes */
.feature-boxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-box {
  background: rgba(14, 38, 64, 0.5);
  border: 1px solid rgba(147, 194, 102, 0.15);
  border-left: 3px solid var(--green-dark);
  padding: 20px 24px;
  border-radius: 2px;
  transition: border-left-color 0.2s;
}

.feature-box:hover {
  border-left-color: var(--green-light);
  background: rgba(14, 38, 64, 0.7);
}

.feature-box h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--off-white);
  margin-bottom: 4px;
}

.feature-box p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(238, 238, 239, 0.5);
}

/* WHO BENEFITS */
.audience-section {
  background: var(--black);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  border: 1px solid rgba(238, 238, 239, 0.07);
}

.audience-card {
  padding: 48px 36px;
  background: #161212;
  border-right: 1px solid rgba(238, 238, 239, 0.07);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.audience-card:hover::before {
  transform: scaleX(1);
}
.audience-card:hover {
  background: rgba(14, 38, 64, 0.3);
}
.audience-card:last-child {
  border-right: none;
}

.audience-icon {
  width: 52px;
  height: 52px;
  background: rgba(147, 194, 102, 0.1);
  border: 1px solid rgba(147, 194, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.audience-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green-light);
  fill: none;
  stroke-width: 1.5;
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--off-white);
  margin-bottom: 16px;
}

.audience-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience-card ul li {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(238, 238, 239, 0.55);
  padding-left: 16px;
  position: relative;
}

.audience-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--green-light);
}

/* FEATURES GRID */
.features-section {
  background: var(--navy);
}

.features-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}

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

.feat-card {
  background: rgba(14, 38, 64, 0.6);
  border: 1px solid rgba(238, 238, 239, 0.07);
  padding: 28px 24px;
  transition:
    border-color 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}

.feat-card:hover {
  border-color: rgba(147, 194, 102, 0.4);
  transform: translateY(-3px);
}

.feat-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--green-light);
  fill: none;
  stroke-width: 1.5;
}

.feat-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--off-white);
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(238, 238, 239, 0.5);
}

/* TESTIMONIAL */
.testimonial-section {
  background: var(--green-dark);
  padding: 80px 5%;
}

.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
}

.star {
  color: var(--green-light);
  font-size: 20px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 28px;
  font-style: normal;
}

.testimonial-author {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* CTA */
.cta-section {
  background: var(--black);
  padding: 120px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(119, 159, 74, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-section .section-title {
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 0.95;
}

.cta-section .section-desc {
  max-width: 500px;
  margin: 0 auto 40px;
  text-align: center;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* FOOTER */
footer {
  background: var(--navy);
  padding: 48px 5%;
  border-top: 1px solid rgba(238, 238, 239, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--off-white);
  text-decoration: none;
}

.footer-logo .x-accent {
  color: var(--green-light);
}
.footer-logo .logo {
  width: 100px;
  height: auto;
}
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(238, 238, 239, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 12px;
  color: rgba(238, 238, 239, 0.3);
}

/* DIAGONAL DIVIDER */
.divider {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.divider svg {
  display: block;
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }
  .hero-visual {
    margin-top: 48px;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .audience-card {
    border-right: none;
    border-bottom: 1px solid rgba(238, 238, 239, 0.07);
  }
  .features-intro {
    grid-template-columns: 1fr;
  }
  .features-cards {
    grid-template-columns: 1fr 1fr;
  }
  nav .nav-links {
    display: none;
  }
}
