:root {
  color-scheme: light;
  --bg-primary: #e8f0f6;
  --bg-secondary: #fcfeff;
  --surface: rgba(255, 255, 255, 0.54);
  --surface-strong: rgba(255, 255, 255, 0.74);
  --surface-border: rgba(255, 255, 255, 0.95);
  --text-primary: #102033;
  --text-secondary: rgba(16, 32, 51, 0.64);
  --shadow-soft: 0 32px 80px rgba(154, 170, 186, 0.24);
  --shadow-chip: 0 14px 30px rgba(166, 180, 194, 0.18);
  --shadow-modal: 0 30px 80px rgba(104, 121, 139, 0.22);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(212, 227, 241, 0.98), transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(198, 218, 234, 0.94), transparent 26%),
    linear-gradient(135deg, #feffff, #eaf2f8 42%, #f6fbfe 100%);
  color: var(--text-primary);
  animation: backgroundShift 18s ease-in-out infinite alternate;
}

button,
input,
a {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.language-switcher {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  display: flex;
  gap: 0.4rem;
  padding: 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 28px rgba(173, 184, 194, 0.16);
}

.language-button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: transparent;
  color: rgba(16, 32, 51, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.language-button.is-active {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-primary);
  box-shadow: 0 8px 20px rgba(173, 184, 194, 0.16);
}

.language-button:hover,
.language-button:focus-visible {
  transform: translateY(-1px);
}

.background-road,
.background-noise {
  position: absolute;
  pointer-events: none;
}

.background-road {
  left: 50%;
  bottom: -8%;
  width: min(78vw, 920px);
  height: min(64vh, 760px);
  transform: translateX(-50%);
  opacity: 0.9;
}

.background-road-surface,
.background-road-edge,
.background-road-line {
  position: absolute;
  inset: 0;
}

.background-road-surface {
  clip-path: polygon(44% 0%, 56% 0%, 92% 100%, 8% 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(236, 239, 241, 0.14) 18%, rgba(218, 222, 226, 0.22) 50%, rgba(235, 238, 240, 0.08) 100%);
}

.background-road-edge {
  width: 24%;
  height: 100%;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(228, 231, 234, 0.12) 18%, rgba(207, 211, 215, 0.34) 60%, rgba(255, 255, 255, 0.08) 100%);
  filter: blur(2px);
}

.background-road-edge-left {
  left: 25%;
  clip-path: polygon(60% 0%, 72% 0%, 100% 100%, 0% 100%);
  animation: roadEdgeLeftMove 14s ease-in-out infinite;
}

.background-road-line {
  left: 50%;
  width: 6.6%;
  transform: translateX(-50%);
  clip-path: polygon(46% 0%, 54% 0%, 90% 100%, 10% 100%);
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0 26px,
      rgba(239, 241, 242, 0.2) 26px 46px,
      rgba(210, 214, 218, 0.66) 46px 112px,
      rgba(255, 255, 255, 0) 112px 148px
    );
  opacity: 0.84;
  animation: roadLineMove 3.2s linear infinite;
}

.background-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.56) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.56) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 92%);
  opacity: 0.38;
  animation: gridDrift 24s linear infinite;
}

.background-noise {
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 80% 24%, rgba(214, 220, 226, 0.26) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 36% 76%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 100%);
  background-size: 180px 180px, 220px 220px, 260px 260px;
  opacity: 0.42;
  mix-blend-mode: screen;
  animation: noiseShift 24s ease-in-out infinite alternate;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.brand-card {
  width: min(760px, 100%);
  padding: 2rem 2rem 1.6rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 26%, rgba(233, 242, 248, 0.3) 58%, rgba(255, 255, 255, 0.06) 80%, transparent 100%);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.brand-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.brand-logo-wrap::before {
  content: "";
  position: absolute;
  width: min(520px, 92vw);
  height: min(520px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.97) 18%, rgba(230, 241, 248, 0.74) 40%, rgba(255, 255, 255, 0.26) 66%, transparent 86%);
  filter: blur(16px);
  animation: haloPulse 12s ease-in-out infinite;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: min(320px, 72vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(118, 133, 149, 0.2));
}

.activity-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.activity-chip,
.contact-chip {
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38)),
    rgba(240, 245, 249, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    var(--shadow-chip);
  backdrop-filter: blur(20px);
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.activity-chip {
  padding: 0.72rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-chip {
  position: relative;
  padding: 0.76rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  overflow: hidden;
  min-width: 220px;
  text-align: center;
}

.activity-chip:hover,
.activity-chip:focus-visible,
.contact-chip:hover,
.contact-chip:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 36px rgba(154, 169, 185, 0.24);
}

.contact-chip-default,
.contact-chip-phone {
  display: block;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.contact-chip-default {
  opacity: 1;
  transform: translateY(0);
}

.contact-chip-phone {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.contact-chip:hover .contact-chip-default,
.contact-chip:focus-visible .contact-chip-default {
  opacity: 0;
  transform: translateY(-8px);
}

.contact-chip:hover .contact-chip-phone,
.contact-chip:focus-visible .contact-chip-phone {
  opacity: 1;
  transform: translateY(0);
}

.activity-chip:focus-visible,
.contact-chip:focus-visible,
.field-input:focus-visible,
.submit-button:focus-visible,
.modal-close:focus-visible {
  outline: 2px solid rgba(88, 123, 158, 0.34);
  outline-offset: 3px;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 10;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(230, 236, 241, 0.36);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(460px, 100%);
  padding: 2rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(244, 248, 251, 0.55)),
    rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(26px);
  box-shadow: var(--shadow-modal);
  overflow: hidden;
}

.modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 28%),
    radial-gradient(circle at top right, rgba(202, 216, 230, 0.46), transparent 32%);
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text-primary);
  line-height: 1;
  cursor: pointer;
}

.modal-kicker,
.modal-title,
.login-form {
  position: relative;
  z-index: 1;
}

.modal-kicker {
  margin: 0 0 0.5rem;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.modal-title {
  margin: 0 0 1.4rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

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

.form-message {
  min-height: 1.2rem;
  margin: -0.2rem 0 0;
  color: #8c2f2f;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.field-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(243, 247, 250, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 24px rgba(182, 194, 205, 0.14);
  color: var(--text-primary);
}

.field-input::placeholder {
  color: rgba(16, 32, 51, 0.32);
}

.submit-button {
  margin-top: 0.25rem;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(232, 238, 243, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 34px rgba(149, 164, 179, 0.22);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 640px) {
  .hero {
    padding: 1rem;
  }

  .language-switcher {
    top: 0.9rem;
    right: 0.9rem;
  }

  .brand-card {
    padding: 1.4rem 1rem 1.2rem;
    border-radius: 28px;
  }

  .activity-list {
    gap: 0.7rem;
  }

  .activity-chip,
  .contact-chip {
    width: 100%;
    text-align: center;
  }

  .modal-panel {
    padding: 1.5rem 1rem;
  }
}

@keyframes gridDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(28px, 16px, 0);
  }
}

@keyframes haloPulse {
  0% {
    transform: scale(0.97);
    opacity: 0.94;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.98);
    opacity: 0.92;
  }
}

@keyframes backgroundShift {
  0% {
    background-position: 0% 0%, 82% 14%, 0% 0%;
  }
  100% {
    background-position: 12% 8%, 70% 20%, 100% 100%;
  }
}

@keyframes roadEdgeLeftMove {
  0% {
    transform: translateY(32px) scaleY(0.92);
    opacity: 0.18;
  }
  100% {
    transform: translateY(-12px) scaleY(1.08);
    opacity: 0.42;
  }
}

@keyframes roadLineMove {
  0% {
    background-position: 0 0;
    opacity: 0.56;
  }
  100% {
    background-position: 0 148px;
    opacity: 0.84;
  }
}


@keyframes beamSweepLeft {
  0% {
    transform: rotate(-18deg) translate3d(0, 0, 0);
    opacity: 0.58;
  }
  100% {
    transform: rotate(-14deg) translate3d(4rem, -1rem, 0);
    opacity: 0.82;
  }
}

@keyframes beamSweepRight {
  0% {
    transform: rotate(22deg) translate3d(0, 0, 0);
    opacity: 0.52;
  }
  100% {
    transform: rotate(18deg) translate3d(-4rem, 1rem, 0);
    opacity: 0.8;
  }
}

@keyframes noiseShift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.48;
  }
  100% {
    transform: translate3d(1rem, -0.8rem, 0);
    opacity: 0.72;
  }
}
