/* Home Page Styles */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(circle at 12% 18%, rgba(0, 214, 143, 0.18), transparent 45%),
    radial-gradient(circle at 88% 5%, rgba(114, 242, 212, 0.15), transparent 55%);
  opacity: 0.85;
}

.hero::after {
  background: linear-gradient(
      115deg,
      transparent 0%,
      rgba(0, 214, 143, 0.08) 8%,
      rgba(0, 214, 143, 0.28) 20%,
      rgba(114, 242, 212, 0.35) 32%,
      rgba(0, 214, 143, 0.12) 45%,
      transparent 58%
    );
  background-size: 320% 100%;
  mix-blend-mode: screen;
  opacity: 0.7;
  animation: battery-flow 9s linear infinite;
}

.hero__content {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(340px, 1fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero__copy {
  display: grid;
  gap: 1.6rem;
  align-content: start;
  text-align: left;
}

.hero__copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.7rem, 5.5vw, 4rem);
  line-height: 1.05;
}

.hero__copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
}

.hero__cta {
  display: grid;
  gap: 1.75rem;
  align-content: start;
  align-items: stretch;
}

.hero__form {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 24px;
  background: rgba(10, 23, 31, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: left;
  width: 100%;
  max-width: 560px;
}

.hero__form .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.hero__form button {
  justify-self: start;
  padding: 0.85rem 2rem;
}

.hero__form input,
.hero__form select,
.hero__form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(4, 12, 20, 0.8);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero__form input:focus-visible,
.hero__form select:focus-visible,
.hero__form textarea:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 214, 143, 0.2);
}

.hero__form-note {
  color: var(--secondary);
  font-size: 0.9rem;
  min-height: 1.25rem;
}

.hero__form-note[data-tone="error"] {
  color: #fca5a5;
}

.hero__form-note[data-tone="success"] {
  color: var(--primary);
}

.hero__form-note[data-tone="info"] {
  color: var(--secondary);
}

.hero__popular {
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
  justify-items: start;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__tags button {
  border: 1px solid rgba(114, 242, 212, 0.25);
  background: rgba(7, 21, 30, 0.9);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: border 0.2s ease, transform 0.2s ease;
}

.hero__tags button:hover,
.hero__tags button:focus-visible {
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.section-heading {
  width: min(960px, 90vw);
  margin: 0 auto 3rem;
  text-align: center;
  display: grid;
  gap: 0.75rem;
}

.section-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--secondary);
  text-transform: uppercase;
}

.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
}

.feature-grid {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--card);
  border-radius: 26px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 30px rgba(4, 12, 20, 0.55);
  display: grid;
  gap: 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(114, 242, 212, 0.35);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 214, 143, 0.12);
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.feature-icon img {
  width: 32px;
  height: 32px;
}

.feature-card p {
  color: var(--muted);
}

.why-grid {
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: rgba(7, 21, 30, 0.9);
  border-radius: 24px;
  padding: 1.8rem;
  border: 1px solid rgba(0, 214, 143, 0.12);
  display: grid;
  gap: 0.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 214, 143, 0.35);
}

.why-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.why-card p {
  color: var(--muted);
}

.stats {
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(135deg, rgba(0, 214, 143, 0.15), rgba(114, 242, 212, 0.08));
  padding: 2.25rem;
  border-radius: 24px;
  border: 1px solid rgba(114, 242, 212, 0.25);
  text-align: center;
  display: grid;
  gap: 0.4rem;
  box-shadow: 0 18px 32px rgba(4, 12, 20, 0.45);
}

.stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
}

.stat-label {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero__copy {
    align-content: center;
    justify-items: center;
  }

  .hero__copy p {
    margin: 0 auto;
  }

  .hero__cta {
    justify-items: center;
  }

  .hero__form {
    width: min(100%, 520px);
  }

  .offerings-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 540px) {
  .hero__form {
    padding: 1.25rem;
  }

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

  .hero__form button {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 480px) {
  .hero__copy p {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .hero__copy h1 {
    font-size: 2rem;
  }

  .hero__form {
    gap: 1rem;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }
}

