:root {
  --navy: #061b2f;
  --navy-light: #0a2540;
  --green: #66ad21;
  --green-hover: #5a9a1c;
  --green-bright: #8ec045;
  --teal: #2db8c4;
  --text: #07162c;
  --text-muted: #64748b;
  --bg-light: #f1f5f9;
  --white: #ffffff;
  --container: 1180px;
  --header-h: 58px;
  --radius: 8px;
  --shadow: 0 5px 18px rgba(10, 35, 60, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 28px;
  width: auto;
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.login-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.login-link:hover {
  color: var(--green-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

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

.btn-green {
  background: var(--green);
  color: var(--white);
  padding: 0.7rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-green:hover {
  background: var(--green-hover);
}

.btn-outline {
  background: var(--white);
  color: var(--text);
  border: 1px solid #94a3b8;
  padding: 0.7rem 1.5rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: 0.2s;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy);
  padding: 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 1rem;
  font-weight: 700;
}

.mobile-nav.open {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 58%;
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    var(--white) 68%,
    rgba(255, 255, 255, 0.82) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 3rem;
  max-width: 520px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

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

.hero h2 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.hero h2 .live {
  color: var(--teal);
}

.hero p {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.feature-item {
  font-size: 0.75rem;
  font-weight: 800;
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.5rem;
  color: var(--green);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-header-row h2 {
  font-size: 1.5rem;
  font-weight: 900;
}

.link-green {
  color: var(--green);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
}

.link-green:hover {
  text-decoration: underline;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.step {
  position: relative;
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.75rem;
  top: 2.5rem;
  color: #cbd5e1;
  font-size: 1.25rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--navy);
}

.step h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Scenario cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
}

.card-image {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.card-icon {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--white);
  padding: 4px;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  font-size: 0.875rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.benefit-card img,
.benefit-card .benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.benefit-card h3 {
  font-size: 0.875rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Ecosystem */
.ecosystem {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.eco-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.eco-card img {
  height: 96px;
  width: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.eco-card h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.eco-card p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.eco-plus {
  display: none;
}

/* GreenLab */
.greenlab {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

.greenlab-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
}

.greenlab-label {
  display: inline-block;
  color: var(--green-bright);
  font-size: 0.8125rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.greenlab h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.greenlab h2 .accent {
  color: var(--green-bright);
}

.greenlab p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.greenlab-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--green-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details {
  margin-top: 2rem;
  font-weight: 800;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-details a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-details a:hover {
  color: var(--green-bright);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.875rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form textarea {
  grid-column: 1 / -1;
  min-height: 100px;
  resize: vertical;
}

.contact-form .btn {
  grid-column: 1 / -1;
  padding: 0.9rem;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
}

.form-mock-badge {
  grid-column: 1 / -1;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: -0.25rem;
}

.form-success {
  grid-column: 1 / -1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  display: none;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

.form-success.visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  font-size: 0.75rem;
}

.footer-brand img {
  height: 28px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 1;
}

.footer-col h4 {
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-col p {
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
}

.newsletter {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  margin-top: 1rem;
  overflow: hidden;
}

.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem;
  color: var(--white);
  font-size: 0.75rem;
}

.newsletter button {
  background: transparent;
  border: none;
  color: var(--white);
  padding: 0 1rem;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Responsive */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .login-link {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .cards-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero::before {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
  }

  .hero-bg {
    width: 100%;
    opacity: 0.35;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .cards-grid,
  .benefits-grid,
  .ecosystem,
  .greenlab-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
