:root {
  --font-sans: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sky-top: #040617;
  --sky-bottom: #081229;
  --sky-glow: rgba(98, 182, 255, 0.25);
  --haze: rgba(12, 14, 28, 0.65);
  --accent: #ff9f43;
  --accent-strong: #ff5f6d;
  --text: #f4f6fb;
  --muted: #a9b3c9;
  --card: rgba(8, 10, 22, 0.8);
  --glass: rgba(10, 12, 28, 0.6);
  --planet-light: #6b3ccf;
  --planet-dark: #150b24;
  --planet-glow: rgba(153, 110, 255, 0.35);
  --ring: rgba(153, 110, 255, 0.25);
  --orb: #ffba7a;
  --sun-color: rgba(255, 205, 120, 0.8);
  --sun-core: #ffecc2;
  --stars-opacity: 0.35;
  --sun-angle: -60deg;
  --radius: 26px;
}

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

body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: var(--font-sans);
  background: radial-gradient(circle at 25% 20%, var(--sky-glow), transparent 45%),
    linear-gradient(160deg, var(--sky-top), var(--sky-bottom));
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('/assets/background.jpg') center/cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: screen;
  z-index: 0;
}

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

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
  opacity: 0.12;
  mix-blend-mode: screen;
  z-index: 2;
}

.cosmos {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.cosmos__gradient,
.cosmos__glow,
.cosmos__stars {
  position: absolute;
  inset: 0;
}

.cosmos__gradient {
  background: linear-gradient(170deg, rgba(3, 6, 18, 0.9), rgba(4, 11, 27, 0.7));
}

.cosmos__glow {
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.15), transparent 55%);
  filter: blur(40px);
}

.cosmos__stars {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 180px 180px;
  opacity: var(--stars-opacity);
  animation: drift 60s linear infinite;
}

.cosmos__stars--near {
  background-size: 120px 120px;
  animation-duration: 40s;
}

.cosmos__stars--far {
  background-size: 220px 220px;
  opacity: calc(var(--stars-opacity) * 0.6);
  animation-duration: 80s;
}

.globe {
  position: absolute;
  width: min(480px, 40vw);
  aspect-ratio: 1/1;
  bottom: -10%;
  right: 8%;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 40px 120px rgba(0, 0, 0, 0.6));
  animation: float 18s ease-in-out infinite;
}

.globe__halo {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--planet-glow), transparent 65%);
  filter: blur(12px);
  z-index: 0;
}

.globe__planet {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--planet-light), rgba(41, 26, 62, 0.8) 55%, var(--planet-dark));
  position: relative;
  overflow: hidden;
  box-shadow: inset -40px -60px 120px rgba(0, 0, 0, 0.7);
}

.globe__band {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0.7;
  animation: rotateTexture 40s linear infinite;
}

.globe__band--one {
  transform: rotate(-12deg) scale(1.05);
}

.globe__band--two {
  transform: rotate(28deg) scale(0.95);
  animation-duration: 55s;
}

.globe__band--three {
  transform: rotate(60deg) scale(0.85);
  animation-duration: 70s;
}

.globe__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--ring);
  animation: rotateTexture 40s linear infinite;
}

.globe__ring--outer {
  inset: -10%;
  border-width: 1.5px;
}

.globe__ring--inner {
  inset: -4%;
  border-width: 1px;
  opacity: 0.6;
  animation-duration: 60s;
}

.globe__orb {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orb), rgba(255, 166, 120, 0.3));
  box-shadow: 0 0 40px rgba(255, 166, 120, 0.75);
  top: 25%;
  left: 75%;
  animation: float 6s ease-in-out infinite;
}

.sun-path {
  position: absolute;
  top: 8%;
  right: 5%;
  width: min(420px, 35vw);
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.08));
  opacity: 0.65;
}

.sun-path__orbit {
  position: absolute;
  inset: 0;
  transform-origin: center;
  transform: rotate(var(--sun-angle));
  transition: transform 0.8s ease;
}

.sun {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--sun-core) 0%, var(--sun-color));
  box-shadow: 0 0 50px var(--sun-color), 0 0 120px rgba(255, 255, 255, 0.3);
  transform: translate(-50%, 0);
}

.request {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vw, 80px);
}

.request__teaser {
  width: min(640px, 100%);
  padding: clamp(2rem, 6vw, 3rem);
  border-radius: calc(var(--radius) + 12px);
  background: rgba(5, 8, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: float 1.8s ease-in-out infinite;
  animation-delay: -3s;
}

.request__intro h1,
.request__teaser h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.request__intro h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.request__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
}

form input,
form textarea {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.9rem 1rem;
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

form input::placeholder,
form textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 159, 67, 0.2);
  background: rgba(0, 0, 0, 0.35);
}

.form__inline {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

textarea {
  resize: vertical;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: none;
  padding: 0.95rem 2.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-large {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #090b10;
  box-shadow: 0 25px 45px rgba(255, 159, 67, 0.25);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn:active {
  transform: translateY(2px);
}

.btn__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn-primary:hover .btn__glow {
  opacity: 1;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.request__cta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.captcha {
  margin: 0.5rem 0 1.8rem;
  padding: 0.75rem 1rem;
  min-height: 88px;
  border-radius: calc(var(--radius) + 6px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 10, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.45);
}

.captcha__placeholder {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

form.is-submitting {
  opacity: 0.8;
  pointer-events: none;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(5, 6, 10, 0.2);
  border-top-color: rgba(5, 6, 10, 0.75);
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 150%);
  background: rgba(12, 15, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.9rem 1.7rem;
  color: var(--text);
  font-weight: 500;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 20;
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

.toast[data-type='success'] {
  border-color: rgba(59, 255, 147, 0.5);
}

.toast[data-type='error'] {
  border-color: rgba(255, 95, 95, 0.6);
}

.request-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow-y: auto;
}

.request-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.request-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 12, 0.75);
  backdrop-filter: blur(6px);
}

.request-modal__panel {
  position: relative;
  width: min(960px, 100%);
  margin: clamp(32px, 8vh, 72px) auto;
  padding: clamp(2.5rem, 4vw, 4rem);
  border-radius: calc(var(--radius) + 14px);
  background: rgba(6, 8, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(28px) saturate(140%);
  display: grid;
  gap: 2rem;
  z-index: 1;
}

.request-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s ease, border 0.2s ease;
}

.request-modal__close:hover {
  transform: scale(1.05);
  border-color: var(--accent);
}

body.modal-open {
  overflow: hidden;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  to {
    transform: translate3d(-40px, -40px, 0);
  }
}

@keyframes rotateTexture {
  to {
    transform: rotate(360deg);
  }
}


@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@media (max-width: 900px) {
  .globe,
  .sun-path {
    opacity: 0.35;
    filter: blur(1px);
  }

  .request-modal {
    padding: 20px;
  }

  .request-modal__panel {
    padding: 2rem;
    margin: 28px auto;
  }
}

@media (max-width: 640px) {
  .request {
    padding: 32px 20px 60px;
  }

  .request__teaser {
    padding: 1.8rem;
  }

  .request-modal__panel {
    padding: 1.8rem;
    margin: 20px auto;
  }

  .request__intro h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .eyebrow {
    letter-spacing: 0.25em;
  }
}
