:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #b9c2c0;
  --accent: #00b783;
  --accent-soft: rgba(0, 183, 131, 0.15);
  --card: #0a0f0d;
  --card-border: rgba(0, 183, 131, 0.35);
  --max: 1300px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lexend", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 64px 24px 0;
}
.logo img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ---------- Hero ---------- */
.logo-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 64px;
}
.hero {
  position: relative;
  padding: 80px 0 80px;
  isolation: isolate;
  overflow: hidden;
  min-height: 90dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__aurora {
  position: absolute;
  background-image: radial-gradient(
    ellipse at top center,
    var(--accent),
    transparent 100%
  );
  inset: 0;
  opacity: 0.95;
  z-index: -1;
  pointer-events: none;
  aspect-ratio: 16 / 9;
  opacity: 0.1;
}
.hero__effect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/top-texture.png");
  background-repeat: no-repeat;
  background-position: 80% 60%;
  background-size: 150% auto;
  opacity: 0.95;
  z-index: -1;
  pointer-events: none;
  aspect-ratio: 16 / 9;
}
.hero__inner {
  margin-top: auto;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero__title .thin,
.hero__title .bold {
  display: block;
}
.thin {
  font-weight: 300;
}
.bold {
  font-weight: 700;
}

.hero__lead {
  color: #dfe6e4;
  font-size: 1rem;
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
  justify-content: end;
}
.hero__note {
  font-size: 0.8rem;
  color: #a9b2b0;
}

.hero__content {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  padding-bottom: 36px;
}

.hero__content .right {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn--light {
  background: #ffffff;
  color: #0a0a0a;
}
.btn--light:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(0, 183, 131, 0.08);
  border: 1px solid rgba(0, 183, 131, 0.35);
  color: #d6efe5;
  font-size: 0.82rem;
  font-weight: 300;
}
.hero__pill strong {
  color: #fff;
  font-weight: 600;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ---------- Stats ---------- */
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 28px 36px;
  /* Semi-transparent background */
  background: rgba(255, 255, 255, 0.05);

  /* The frosted glass effect */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Thin white border for the "edge" reflection */
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Depth with a soft shadow */
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.37);

  /* Aesthetic styling */
  border-radius: 12px;
}
.stats li {
  text-align: left;
  padding: 4px 10%;
  border-bottom: 2px solid transparent;
  position: relative;
}
.stats li strong {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
}
.stats li span {
  display: block;
  font-size: 0.78rem;
  color: #b9c2c0;
  margin-top: 14px;
  position: relative;
}
.stats li span::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

/* ---------- About ---------- */
.about {
  padding: 100px 0 300px 0;
  margin-bottom: -200px;
  background: #fff;
  color: #000;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid rgba(0, 183, 131, 0.5);
  border-radius: 999px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.about .eyebrow {
  background-color: var(--accent);
  color: #fff;
}
.eyebrow--dot {
  border: none;
  padding: 0;
  color: var(--accent);
}
.eyebrow--dot::before {
  content: "•";
  margin-right: 6px;
}

.about__intro h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin: 22px 0;
}
.about__intro p {
  color: #000;
  font-size: 0.95rem;
  max-width: 360px;
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature__icon {
  width: 44px;
  height: auto;
  flex-shrink: 0;
}
.feature h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #000;
}
.feature p {
  color: #000;
  font-size: 0.9rem;
  max-width: 380px;
}

/* ---------- Governance ---------- */
.governance {
  padding: 40px 0 100px;
}
.governance__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 44px 56px;
  border-radius: 14px;
  background: #050807;
  border: 1px solid rgba(0, 183, 131, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 183, 131, 0.05), 0 30px 80px rgba(0, 0, 0, 0.5);
}
.governance__card h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 400;
  margin: 8px 0 18px;
  letter-spacing: -0.01em;
}
.governance__text p {
  color: #b9c2c0;
  font-size: 0.88rem;
  max-width: 560px;
  margin-bottom: 24px;
}
.badges {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.governance__shield {
  width: 130px;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6));
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(
      ellipse 70% 60% at 50% 100%,
      rgba(0, 183, 131, 0.35),
      transparent 70%
    ),
    #000;
}
.cta__inner * {
  z-index: 1;
  position: relative;
}
.cta__watermark {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 183, 131, 0.5);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  width: 120%;
  opacity: 0.3;
}
.cta__watermark svg {
  width: 100%;
  aspect-ratio: 5 / 1;
  height: 100%;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  padding-top: 80px;
}
.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 300;
}
.cta h2 .thin,
.cta h2 .bold {
  display: block;
}
.cta__action p {
  color: #c8d0ce;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.cta__action .btn {
  margin-bottom: 10px;
}
.cta__action .hero__note {
  display: block;
}

/* =========================
   MODAL
========================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  border-radius: 24px;
  overflow: hidden;
  background: #050807;
  border: 1px solid rgba(0, 183, 131, 0.25);
  z-index: 2;
  overflow: auto;
}

.modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.modal__info {
  padding: 72px 56px;
  background: radial-gradient(
      circle at top left,
      rgba(0, 183, 131, 0.22),
      transparent 50%
    ),
    #07100d;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.modal__info h2 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 28px;
  font-weight: 300;
}

.modal__info p {
  color: #b9c2c0;
  margin-bottom: 32px;
  max-width: 420px;
}

.modal__benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #dce4e2;
  font-size: 0.92rem;
}

.modal__form-wrapper {
  padding: 56px;
  display: flex;
  align-items: center;
}

.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #dce4e2;
}

.form-group input:not([type="checkbox"]),
.form-group select {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  padding: 0 18px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: 0.2s ease;
}

.form-group input:not([type="checkbox"]):focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 183, 131, 0.12);
}

.form-group select option {
  color: #1a1f1e;
  background: #fff;
}

.form-submit {
  width: 100%;
  border: none;
  margin-top: 12px;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  z-index: 3;
  transition: 0.2s ease;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.error {
  display: block;
  color: #ff7d7d;
  font-size: 0.78rem;
  margin-top: 8px;
  min-height: 16px;
}

.form-consent {
  margin-top: -4px;
  margin-bottom: 16px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  color: #8a9794;
  font-size: 0.72rem;
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: 0.15s ease;
  position: relative;
}

.consent-label input[type="checkbox"]:hover {
  border-color: var(--accent);
}

.consent-label input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.consent-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.consent-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.consent-link:hover {
  opacity: 0.85;
}

.form-consent .error {
  font-size: 0.7rem;
  margin-top: 6px;
  padding-left: 23px;
}

/* SUCCESS */

.modal__success {
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px;
}

.modal__success-inner {
  max-width: 460px;
}

.modal__success h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  font-weight: 300;
}

.modal__success p {
  color: #b9c2c0;
}

/* =========================================
FOOTER
========================================= */

.site-footer {
  padding: 28px 0 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #000;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer span {
  color: #7f8a87;
  font-size: 0.82rem;
}

.privacy-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
}

/* =========================================
COOKIE BAR
========================================= */

.cookie-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 998;
  display: none;
}

.cookie-bar.active {
  display: block;
}

.cookie-bar__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 26px;
  border-radius: 18px;

  background: rgba(10, 15, 13, 0.92);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(0, 183, 131, 0.18);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-bar p {
  color: #c7cfcd;
  font-size: 0.88rem;
  max-width: 760px;
}

.cookie-bar .btn {
  border: none;
  white-space: nowrap;
}

/* =========================================
PRIVACY MODAL
========================================= */

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.privacy-modal.active {
  display: flex;
}

.privacy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.privacy-modal__content {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;

  background: #050807;

  border-radius: 24px;

  border: 1px solid rgba(0, 183, 131, 0.18);

  overflow: hidden;

  z-index: 2;
}

.privacy-modal__scroll {
  overflow-y: auto;
  max-height: 90vh;
  padding: 56px;
}

.privacy-modal__scroll h2 {
  font-size: 2.2rem;
  margin-bottom: 28px;
  font-weight: 300;
}

.privacy-modal__scroll h3 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: white;
}

.privacy-modal__scroll p,
.privacy-modal__scroll li {
  color: #b9c2c0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.privacy-modal__scroll ul {
  padding-left: 20px;
  margin-top: 14px;
}

.privacy-date {
  margin-top: 42px;
  opacity: 0.7;
}

.privacy-version {
  margin-top: 6px;
  margin-bottom: 18px;
  opacity: 0.6;
  font-size: 0.82rem !important;
}

.privacy-modal__scroll a {
  color: var(--accent);
  text-decoration: underline;
}

.privacy-modal__scroll a:hover {
  opacity: 0.85;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.88rem;
}

.privacy-table th,
.privacy-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #b9c2c0;
  vertical-align: top;
}

.privacy-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-weight: 500;
}

.privacy-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: none;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  cursor: pointer;

  z-index: 3;
}

/* =========================================
RESPONSIVE
========================================= */

@media (max-width: 768px) {
  .cookie-bar__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-modal__scroll {
    padding: 36px 24px;
  }
  .hero__pill {
    display: none;
  }
  .hero__effect {
    background-position: top;
  }
}

@media (max-width: 900px) {
  .modal__body {
    grid-template-columns: 1fr;
  }

  .modal__info {
    padding: 42px 32px;
  }

  .modal__form-wrapper {
    padding: 32px;
  }

  .modal__info h2 {
    font-size: 2rem;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .governance__card {
    grid-template-columns: 1fr;
    padding: 32px;
    text-align: left;
  }
  .governance__shield {
    width: 96px;
  }
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__content {
    flex-direction: column;
    align-items: start;
  }
}
@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero__pill {
    font-size: 0.75rem;
    padding: 8px 14px;
    margin-bottom: 60px;
  }
  .hero__lead br {
    display: none;
  }
}
