:root {
  --eco-bg-top: #060b12;
  --eco-bg-bottom: #03050a;
  --eco-panel: rgba(11, 17, 27, 0.9);
  --eco-panel-soft: rgba(15, 24, 38, 0.75);
  --eco-border: rgba(132, 151, 188, 0.25);
  --eco-text: #f4f8ff;
  --eco-text-soft: rgba(230, 238, 255, 0.78);
  --eco-blue: #0ea5e9;
  --eco-green: #10b981;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

.eco-body {
  color: var(--eco-text);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(1000px 650px at 12% 12%, rgba(20, 58, 105, 0.45) 0%, transparent 60%),
    radial-gradient(1000px 800px at 88% 0%, rgba(6, 182, 212, 0.16) 0%, transparent 50%),
    linear-gradient(180deg, var(--eco-bg-top) 0%, var(--eco-bg-bottom) 100%);
  overflow-x: hidden;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.eco-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
}

.eco-header-legal {
  position: static;
}

.eco-logo {
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.eco-logo-blue {
  color: var(--eco-blue);
  text-shadow: 0 0 22px rgba(14, 165, 233, 0.65);
}

.eco-logo-green {
  color: var(--eco-green);
  text-shadow: 0 0 22px rgba(16, 185, 129, 0.45);
}

.eco-login-link {
  text-decoration: none;
  color: var(--eco-text);
  border: 1px solid var(--eco-border);
  background: rgba(7, 15, 24, 0.68);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.eco-login-link:hover {
  transform: translateY(-1px);
  background: rgba(17, 29, 45, 0.82);
}

.eco-main {
  position: relative;
  z-index: 10;
}

.eco-hero {
  min-height: 100vh;
  padding: 8.4rem 1rem 4rem;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-content {
  width: min(920px, 100%);
  transition: transform 0.35s ease-out;
}

.hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 9.5vw, 6.2rem);
  line-height: 0.95;
}

.hero-content p {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(1.08rem, 3.2vw, 1.65rem);
  color: var(--eco-text-soft);
}

.accent-green {
  color: var(--eco-green);
  font-weight: 700;
}

.eco-cta {
  display: inline-block;
  margin-top: 2rem;
  border: 0;
  border-radius: 14px;
  padding: 0.95rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5fcff;
  background: linear-gradient(120deg, #0ea5e9 0%, #10b981 100%);
  box-shadow: 0 12px 38px rgba(14, 165, 233, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.eco-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 44px rgba(16, 185, 129, 0.35);
}

.hero-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-links a {
  color: #9ad8ff;
  text-decoration: none;
  font-size: 0.96rem;
}

.hero-links a:hover {
  text-decoration: underline;
}

.eco-legal-body {
  color: var(--eco-text);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #080d15 0%, #050910 100%);
}

.legal-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.legal-card {
  border: 1px solid var(--eco-border);
  background: var(--eco-panel);
  border-radius: 16px;
  padding: 1.2rem;
}

.legal-card h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.legal-card h2 {
  margin-bottom: 0.4rem;
  color: var(--eco-green);
  font-size: 1.2rem;
}

.legal-card section {
  margin-bottom: 1rem;
}

.legal-card p,
.legal-card li {
  color: var(--eco-text-soft);
  line-height: 1.55;
}

.legal-muted {
  margin-top: -0.2rem;
}

.legal-card ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.legal-back {
  margin-top: 1.2rem;
}

.legal-back a {
  color: #9ad8ff;
}

.pulse {
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.66;
  }
}

@media (max-width: 640px) {
  .eco-header {
    padding: 0.85rem 0.9rem;
  }

  .eco-logo {
    font-size: 1.4rem;
  }

  .eco-login-link {
    font-size: 0.88rem;
    padding: 0.48rem 0.75rem;
  }

  .eco-hero {
    padding-top: 7rem;
  }
}
