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

:root {
  --green: #2afa64;
  --green-dim: #1fd855;
  --green-glow: rgba(74, 222, 128, 0.15);
  --dark: #0d0f0e;
  --dark2: #111413;
  --dark3: #161a18;
  --card: #141918;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ede9;
  --muted: #8a9e8d;
  --red: #ff5c5c;
  --red-glow: rgba(255, 92, 92, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: "Gilroy-Regular", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── TICKER BAND ── */
.ticker-band {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: var(--green);
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.ticker-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  animation: tickerScroll var(--ticker-duration, 40s) linear infinite;
}

.ticker-content span {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 0 1.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-sep {
  color: rgba(0, 0, 0, 0.25) !important;
  letter-spacing: 0 !important;
  padding: 0 !important;
  font-size: 0.55rem !important;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(13, 15, 14, 0.85);
  backdrop-filter: blur(14px);
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  width: 322px;
  height: 40px;
}

.logo-icon {
  display: none;
  width: 32px;
  height: 30px;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--green);
  border-radius: 2px;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 12rem 4rem 6rem;
  overflow: hidden;
}

#hero .hero-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  filter: saturate(1.2) contrast(1.05) brightness(0.85);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 70% 50%,
      rgba(42, 250, 100, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 60% at 20% 80%,
      rgba(42, 250, 100, 0.07) 0%,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(13, 15, 14, 0.6) 0%,
      rgba(10, 18, 13, 0.65) 100%
    );
  z-index: 1;
}

/* animated grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.4) 70%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--green);
}

h1 {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
  animation: fadeUp 0.8s 0.1s ease both;
}

h1 em {
  font-style: normal;
  color: var(--green);
  display: block;
  text-shadow: 0 0 60px rgba(42, 250, 100, 0.35);
}

.hero-desc {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 480px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 1rem;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
}

.badge svg {
  color: var(--green);
  flex-shrink: 0;
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}

.btn-primary {
  font-family: "Gilroy-Heavy", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--green);
  padding: 0.85rem 2rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 100px;
  transition:
    background 0.2s,
    transform 0.2s;
}

.btn-primary:hover {
  background: #5ffb8a;
  transform: translateY(-2px);
}

.btn-secondary {
  font-family: "Gilroy-Heavy", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.85rem 2rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 100px;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.form-jump-band {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}

.form-jump-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.form-jump-copy {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.form-jump-link {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.form-jump-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 200%;
  }
}

/* ── SECTION SHARED ── */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.section-label {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.section-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--green);
}

h2 {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

h2 span {
  color: var(--green);
}

/* ── WHAT WE DO ── */
#what {
  background: var(--dark2);
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.what-text p {
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.usp-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.usp-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  font-size: 1.1rem;
  color: var(--text);
  transition: background 0.2s;
}

.usp-list li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.usp-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.usp-icon svg {
  color: #0d0f0e;
}

.what-visual {
  position: relative;
}

.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.stat-card {
  transition:
    border-color 0.25s,
    transform 0.25s;
}

.stat-card:hover {
  border-color: rgba(42, 250, 100, 0.3);
  transform: translateY(-3px);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-num {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.stat-prefix,
.stat-suffix {
  font-size: 0.5em;
  color: var(--green);
  vertical-align: baseline;
  display: inline-block;
}

.stat-value {
  display: inline-block;
  min-width: 1ch;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── COMPARE ── */
#compare {
  background: var(--dark);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}
.compare-col {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.compare-bad {
  border-top: 3px solid var(--red);
}
.compare-good {
  border: 2px solid rgba(42, 250, 100, 0.4);
  border-top: 3px solid var(--green);
}
.compare-header {
  margin-bottom: 0.5rem;
}
.compare-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Gilroy-Heavy", sans-serif;
}
.compare-badge--bad {
  background: var(--red-glow);
  color: var(--red);
  border: 1px solid rgba(255, 92, 92, 0.25);
}
.compare-badge--good {
  background: var(--green-glow);
  color: var(--green);
  border: 1px solid rgba(42, 250, 100, 0.25);
}
.compare-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 1.5rem;
  line-height: 1.5;
  max-width: 320px;
}
.compare-nodes {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
}
.compare-node {
  flex: 1;
  padding: 0.85rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: 220px;
}
.compare-node--bad {
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.35);
  color: var(--red);
}
.compare-node--good {
  background: rgba(42, 250, 100, 0.08);
  border: 1px solid rgba(42, 250, 100, 0.35);
  color: var(--green);
}
.compare-node-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0;
  position: relative;
}
.compare-connector::before {
  content: "";
  width: 1px;
  height: 20px;
  background: var(--border);
}
.compare-connector::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  margin-top: 2px;
}
.compare-farm {
  width: 80%;
  padding: 1rem 1.5rem;
  background: var(--green);
  color: var(--dark);
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  text-align: center;
}
.compare-output {
  padding: 0.85rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
.compare-output--bad {
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-weight: 600;
}
.compare-output--good {
  background: var(--green);
  border: 1px solid var(--green);
  color: var(--dark);
  font-weight: 600;
}
.compare-outputs {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
}
.compare-outputs .compare-output {
  flex: 1;
  max-width: 220px;
}
.compare-controller {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.compare-controller-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.compare-controller-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark2);
}
.compare-side-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* ── REVENUE ── */
#revenue {
  background: var(--dark2);
}
.revenue-equation {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 3rem;
}
.revenue-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.revenue-card--highlight {
  border-color: rgba(42, 250, 100, 0.25);
  box-shadow: 0 0 40px rgba(42, 250, 100, 0.08);
}
.revenue-num {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.revenue-card--highlight .revenue-num {
  color: var(--red);
}
.revenue-unit {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.revenue-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.5rem;
  max-width: 220px;
}
.revenue-op {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 0.5rem;
}

/* ── SCHEMA / HOW IT WORKS ── */
#schema {
  background: var(--dark);
}

.schema-wrap {
  margin-top: 3rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.schema-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.schema-title {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
  text-align: center;
}

.flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-node {
  flex: 1;
  min-width: 130px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.flow-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 28px;
  color: var(--green);
  font-size: 1.2rem;
  z-index: 2;
}

.flow-icon-wrap {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border);
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  position: relative;
}

.flow-icon-wrap svg {
  color: var(--green);
}

.flow-label {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.flow-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.flow-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

.outputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.output-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 1.2rem 1rem;
  text-align: center;
}

.output-card .output-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.output-card .output-name {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
}

.output-card .output-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ── VIDEO ── */
#video {
  background: var(--dark2);
}

.video-wrap {
  margin-top: 2.5rem;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── GALLERY ── */
#gallery {
  background: var(--dark);
}

.gallery-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 16/9;
  overflow: hidden;
  border: none;
  position: relative;
  z-index: 1;
  transition: overflow 0s 0.45s;
  padding: 6px;
}

.gallery-item:hover {
  overflow: visible;
  z-index: 10;
  transition: overflow 0s 0s;
}

.gallery-item img {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  filter: brightness(0.82) saturate(0.8);
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.4s ease;
  display: block;
  cursor: zoom-in;
}

.gallery-item:first-child img {
  transform-origin: left center;
}

.gallery-item:last-child img {
  transform-origin: right center;
}

.gallery-item:hover img {
  transform: scale(1.8);
  filter: brightness(1.05) saturate(1.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13, 15, 14, 0.85));
  padding: 1.5rem 1rem 0.75rem;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* placeholder gallery items */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── LEAD FORM ── */
#contact {
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(42, 250, 100, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: formGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes formGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

.contact-center {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.contact-center p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-center .section-label {
  justify-content: center;
}

.contact-center .section-label::before {
  display: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

label {
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea,
select {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  background: rgba(42, 250, 100, 0.04);
  box-shadow: 0 0 0 3px rgba(42, 250, 100, 0.1);
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 80, 80, 0.5);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--card) inset;
  -webkit-text-fill-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

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

.btn-submit {
  font-family: "Gilroy-Heavy", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--green);
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  border-radius: 100px;
  transition:
    background 0.2s,
    transform 0.2s;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-submit {
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  animation: btnShimmer 3s ease-in-out infinite;
}

.btn-submit:hover {
  background: #5ffb8a;
  transform: translateY(-2px);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
}

#lead-form {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

#lead-form.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.success-msg {
  display: none;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--green);
  font-family: "Gilroy-Heavy", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  position: relative;
}

.success-msg.visible {
  display: block;
  animation: fadeUp 0.5s ease both;
}

.success-msg p {
  margin-top: 1rem;
  color: var(--green);
}

/* SVG checkmark draw animation */
.success-check {
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto;
}

.success-circle {
  stroke: var(--green);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  fill: none;
  animation: drawCircle 0.6s 0.1s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-tick {
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: drawTick 0.35s 0.55s ease forwards;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawTick {
  to {
    stroke-dashoffset: 0;
  }
}

/* Particle burst */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  top: 36px;
  left: 50%;
  pointer-events: none;
  animation: particleBurst 0.9s ease-out forwards;
}

@keyframes particleBurst {
  0% {
    transform: translate(-50%, 0) translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0) translate(var(--px), var(--py)) scale(0);
    opacity: 0;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-link {
  font-size: 0.78rem;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.05em;
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .gallery-item {
    overflow: hidden;
    transition: none;
  }

  .gallery-item:hover {
    overflow: hidden;
    z-index: 1;
  }

  .gallery-item:hover img {
    transform: scale(1);
    filter: brightness(1) saturate(1);
    box-shadow: none;
    cursor: default;
  }
}

/* ── TABLET ── */
@media (max-width: 900px) {
  .ticker-band {
    height: 28px;
  }
  .ticker-track span {
    font-size: 0.7rem;
    padding: 0 1.2rem;
  }
  nav {
    top: 28px;
    padding: 1rem 1.5rem;
  }
  .section-inner {
    padding: 4rem 1.5rem;
  }
  #hero {
    padding: 10rem 1.5rem 4rem;
  }
  .hero-content {
    max-width: 100%;
  }
  h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
  }
  .hero-desc {
    max-width: 100%;
    font-size: 1.15rem;
  }
  .what-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .outputs {
    grid-template-columns: 1fr 1fr;
  }
  .schema-wrap {
    padding: 2rem 1.5rem;
  }
  footer {
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-center {
    max-width: 100%;
  }
  .form-jump-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .revenue-equation {
    flex-wrap: wrap;
    justify-content: center;
  }
  .revenue-card {
    flex: 1 1 calc(50% - 3rem);
    min-width: 200px;
  }
}

@media (max-width: 700px) {
  .logo-full {
    display: none;
  }

  .logo-icon {
    display: block;
  }
}

/* ── MOBILE ── */
@media (max-width: 540px) {
  .ticker-band {
    height: 26px;
  }
  .ticker-track span {
    font-size: 0.65rem;
    padding: 0 1rem;
  }
  nav {
    top: 26px;
    padding: 0.8rem 1rem;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  .section-inner {
    padding: 3rem 1rem;
  }
  #hero {
    padding: 9rem 1rem 3rem;
  }
  h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .hero-badges {
    gap: 0.5rem;
  }
  .badge {
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
  }

  .what-text p {
    font-size: 1.05rem;
  }
  .usp-list li {
    font-size: 1rem;
    padding: 0.9rem 1rem;
  }
  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }
  .stat-num {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.82rem;
  }
  .schema-wrap {
    padding: 1.5rem 1rem;
  }
  .flow {
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
  }
  .flow-node {
    max-width: 100%;
    width: 100%;
    padding-bottom: 0.5rem;
  }
  .flow-node:not(:last-child)::after {
    content: "↓";
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    right: auto;
    bottom: -2.4rem;
    font-size: 1.4rem;
  }
  .outputs {
    grid-template-columns: 1fr;
  }
  .output-card {
    padding: 1rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    aspect-ratio: 16/9;
    overflow: hidden;
  }
  .gallery-item img {
    transform: scale(1);
    filter: brightness(0.9) saturate(0.9);
  }
  .gallery-item:hover {
    overflow: hidden;
  }
  .gallery-item:hover img {
    transform: scale(1);
    filter: brightness(0.9) saturate(0.9);
  }
  .contact-center {
    max-width: 100%;
  }
  label {
    font-size: 0.78rem;
  }
  input,
  textarea,
  select {
    font-size: 0.95rem;
    padding: 0.7rem;
  }
  footer {
    padding: 1.5rem 1rem;
    gap: 0.5rem;
  }
  .footer-copy {
    font-size: 0.85rem;
  }
  .form-jump-inner {
    padding: 0 1rem;
  }
  .form-jump-band {
    padding: 1.5rem 0;
  }
  .compare-col {
    padding: 1.5rem 1rem;
  }
  .compare-nodes {
    flex-direction: column;
    align-items: center;
  }
  .compare-node {
    max-width: 100%;
    width: 100%;
  }
  .compare-farm {
    width: 100%;
  }
  .compare-outputs {
    flex-direction: column;
    align-items: center;
  }
  .compare-outputs .compare-output {
    max-width: 100%;
    width: 100%;
  }
  .compare-controller {
    flex-direction: column;
  }
  .revenue-equation {
    flex-direction: column;
    align-items: center;
  }
  .revenue-card {
    width: 100%;
    min-width: 0;
    padding: 2rem 1.5rem;
  }
  .revenue-op {
    padding: 0.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
