:root {
  color-scheme: dark;
  --ea-page-surface: #05050a;
  --ea-bg: #07060b;
  --ea-cyan: #59e1ff;
  --ea-violet: #8f5cff;
  --ea-emerald: #47d7ac;
  --ea-text: rgba(255, 255, 255, 0.94);
  --ea-text-soft: rgba(255, 255, 255, 0.66);
  --ea-text-faint: rgba(255, 255, 255, 0.48);
  --ea-border: rgba(255, 255, 255, 0.12);
  --ea-surface: rgba(10, 12, 18, 0.92);
  --ea-surface-strong: rgba(6, 8, 13, 0.96);
  --ea-accent: #15cf97;
  --ea-accent-strong: #1fdf9f;
  --ea-accent-soft: rgba(21, 207, 151, 0.15);
  --ea-focus: #59e1ff;
}

html,
body {
  min-height: 100%;
  background: var(--ea-bg);
}

#main-content {
  background: transparent;
}

body.ea-body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ea-text);
  -webkit-tap-highlight-color: rgba(89, 225, 255, 0.18);
  touch-action: manipulation;
  background: linear-gradient(180deg, var(--ea-page-surface) 0%, var(--ea-bg) 18%, var(--ea-bg) 100%);
}

.ea-skip-link {
  position: absolute;
  left: 14px;
  top: -48px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #07060b;
  background: #ffffff;
  transition: top 0.2s ease;
}

.ea-skip-link:focus-visible {
  top: 14px;
  outline: 2px solid var(--ea-focus);
  outline-offset: 2px;
}

.ea-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--ea-page-surface);
  padding: clamp(4.5rem, 8vw, 7.2rem) 0 clamp(3.8rem, 7vw, 6rem);
}

.ea-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ea-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
  animation: eaGridPulse 7s ease-in-out infinite;
}

@keyframes eaGridPulse {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.34; }
}

.ea-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ea-hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--p-color, var(--ea-cyan));
  box-shadow: 0 0 7px var(--p-color, var(--ea-cyan));
  opacity: 0;
  animation: eaParticleRise 7s ease-out infinite;
}

@keyframes eaParticleRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.85; }
  90% { opacity: 0.25; }
  100% { transform: translateY(-72px) translateX(18px); opacity: 0; }
}

.ea-hero__orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  filter: blur(88px);
}

.ea-hero__orb--one {
  top: 7%;
  right: 8%;
  width: 30rem;
  height: 30rem;
  background: rgba(143, 92, 255, 0.13);
  animation: eaOrbDriftOne 20s ease-in-out infinite;
}

.ea-hero__orb--two {
  left: -4%;
  bottom: 10%;
  width: 26rem;
  height: 26rem;
  background: rgba(89, 225, 255, 0.09);
  animation: eaOrbDriftTwo 23s ease-in-out infinite;
}

.ea-hero__orb--three {
  right: 25%;
  bottom: 0;
  width: 20rem;
  height: 20rem;
  background: rgba(71, 215, 172, 0.07);
  animation: eaOrbDriftThree 17s ease-in-out infinite;
}

@keyframes eaOrbDriftOne {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-2.5rem, 3.5rem); }
  66% { transform: translate(2rem, -1.5rem); }
}

@keyframes eaOrbDriftTwo {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(3rem, -2rem); }
  66% { transform: translate(-1.5rem, 2.5rem); }
}

@keyframes eaOrbDriftThree {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2.5rem, -3rem); }
}

.ea-hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.ea-hero__scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(89, 225, 255, 0.55) 25%,
    rgba(143, 92, 255, 0.75) 50%,
    rgba(89, 225, 255, 0.55) 75%,
    transparent 100%
  );
  opacity: 0;
  animation: eaScanLine 11s ease-in-out infinite;
}

@keyframes eaScanLine {
  0% { top: -1px; opacity: 0; }
  4% { opacity: 0.65; }
  96% { opacity: 0.28; }
  100% { top: 100%; opacity: 0; }
}

.ea-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.6rem);
}

.ea-hero__content {
  max-width: 41.5rem;
}

.ea-badge {
  margin: 0 0 1.1rem;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  min-height: 2.1rem;
  padding: 0.3rem 0.88rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 207, 151, 0.25);
  background: linear-gradient(180deg, rgba(21, 207, 151, 0.18), rgba(21, 207, 151, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 8px 18px rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(32, 233, 167, 0.98);
}

.ea-badge__dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--ea-accent-strong);
  box-shadow: 0 0 10px rgba(31, 223, 159, 0.82);
  animation: eaDotPulse 2.4s ease-in-out infinite;
}

@keyframes eaDotPulse {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.ea-hero__title {
  margin: 0;
  max-width: 10.5ch;
  line-height: 1.01 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.ea-hero__title-accent {
  background: linear-gradient(120deg, #1ee4a7 0%, #10bf8c 44%, #23f3bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.ea-hero__lead {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  color: var(--ea-text-soft);
  line-height: 1.62 !important;
  text-wrap: pretty;
}

.ea-hero__benefits {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.88rem;
}

.ea-hero__benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.74rem;
  color: rgba(220, 236, 230, 0.86);
}

.ea-hero__benefit-icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.1rem;
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(31, 223, 159, 0.95);
}

.ea-form-card-wrap {
  width: 100%;
}

.ea-form-card {
  position: relative;
  width: 100%;
  max-width: 35.2rem;
  margin-inline: auto;
  border: 1px solid var(--ea-border);
  border-radius: 1.7rem;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  background:
    linear-gradient(145deg, rgba(8, 12, 20, 0.95), rgba(3, 6, 11, 0.94) 52%, rgba(4, 12, 16, 0.96));
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  isolation: isolate;
}

.ea-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 12%, rgba(89, 225, 255, 0.14), transparent 33%),
    radial-gradient(circle at 10% 98%, rgba(21, 207, 151, 0.13), transparent 35%);
  opacity: 0.9;
}

.ea-form-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(1.7rem - 1px);
  background: linear-gradient(180deg, rgba(9, 10, 16, 0.84), rgba(4, 6, 10, 0.92));
}

.ea-form-card__title {
  margin: 0 0 1.08rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.ea-form {
  display: grid;
  gap: 1rem;
}

.ea-form__field {
  display: grid;
  gap: 0.44rem;
}

.ea-form__label {
  color: rgba(255, 255, 255, 0.84);
}

.ea-form__control {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.88rem 0.94rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, rgba(3, 6, 10, 0.92), rgba(5, 8, 12, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ea-form__control::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.ea-form__control:focus-visible {
  outline: none;
  border-color: rgba(89, 225, 255, 0.55);
  box-shadow:
    0 0 0 2px rgba(89, 225, 255, 0.24),
    0 0 0 6px rgba(89, 225, 255, 0.08);
}

.ea-form__control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ea-form__select-wrap {
  position: relative;
}

.ea-form__control--select {
  appearance: none;
  padding-right: 2.8rem;
}

.ea-form__select-icon {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 1.1rem;
  height: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transform: translateY(-50%);
}

.ea-form__submit {
  min-height: 3.55rem;
  margin-top: 0.22rem;
  border: none;
  border-radius: 0.84rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  color: rgba(3, 28, 20, 0.98);
  background: linear-gradient(140deg, #10c68e 0%, #2ae2a6 56%, #44f5b9 100%);
  box-shadow:
    0 16px 36px rgba(16, 198, 142, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.ea-form__submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 20px 38px rgba(16, 198, 142, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ea-form__submit:active {
  transform: translateY(0);
}

.ea-form__submit:focus-visible {
  outline: 2px solid rgba(89, 225, 255, 0.7);
  outline-offset: 2px;
}

.ea-form__submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  filter: saturate(0.8);
}

.ea-form__submit-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  flex-shrink: 0;
}

.ea-form__legal {
  margin: 0.28rem 0 0;
  color: var(--ea-text-faint);
  text-align: center;
  text-wrap: pretty;
}

.ea-form__legal-link {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: underline;
  text-decoration-color: rgba(54, 247, 205, 0.42);
  text-underline-offset: 0.18em;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.ea-form__legal-link:hover {
  color: rgba(255, 255, 255, 0.96);
  text-decoration-color: rgba(54, 247, 205, 0.72);
}

.ea-form__legal-link:focus-visible {
  outline: 2px solid rgba(54, 247, 205, 0.72);
  outline-offset: 3px;
  border-radius: 0.35rem;
}

.ea-form__status {
  margin: 0.08rem 0 0;
  min-height: 1.2rem;
  text-align: center;
  color: rgba(31, 223, 159, 0.9);
}

.ea-form__status.is-error {
  color: rgba(255, 130, 150, 0.92);
}

@media (min-width: 1024px) {
  .ea-hero__layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.98fr);
    gap: 3.4rem;
  }

  .ea-form-card {
    margin-inline: 0 0;
  }
}

@media (max-width: 1023px) {
  .ea-form-card {
    max-width: 38rem;
  }
}

@media (max-width: 767px) {
  .ea-hero {
    padding-top: 4.5rem;
  }

  .ea-hero__title {
    max-width: 11ch;
    font-size: clamp(2.35rem, 12vw, 3.3rem) !important;
  }

  .ea-hero__lead {
    margin-top: 1.2rem;
    font-size: 1.3rem !important;
  }

  .ea-hero__benefits {
    margin-top: 1.42rem;
    gap: 0.74rem;
  }

  .ea-form-card {
    border-radius: 1.35rem;
    padding: 1.05rem;
  }

  .ea-form__control {
    min-height: 3rem;
  }

  .ea-form__submit {
    min-height: 3.36rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ea-hero__grid,
  .ea-hero__particle,
  .ea-hero__scan-beam,
  .ea-hero__orb,
  .ea-badge__dot,
  .ea-form__submit {
    animation: none !important;
    transition: none !important;
  }
}
