:root {
  --color-surface: #ffffff;
  --color-surface-soft: #f5f7f9;
  --color-surface-strong: #eaf0f3;
  --color-text: #1b1c1c;
  --color-muted: #697572;
  --color-border: #dce5e8;
  --color-teal: #00bfa7;
  --color-teal-dark: #006b5d;
  --color-blue: #0070eb;
  --color-yellow: #ffc237;
  --color-red: #ff3656;
  --shadow-panel: 0 18px 50px rgba(22, 42, 53, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(0, 191, 167, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 112, 235, 0.06) 1px, transparent 1px),
    var(--color-surface);
  background-size: 44px 44px;
}

img {
  max-width: 100%;
}

button {
  font: inherit;
}

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

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
}

.page-shell::before {
  top: 104px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 107, 93, 0.22), transparent);
}

.page-shell::after {
  right: 40px;
  bottom: 92px;
  width: 260px;
  height: 120px;
  border: 1px solid rgba(0, 107, 93, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 191, 167, 0.12) 0 38%, transparent 38% 48%, rgba(0, 112, 235, 0.12) 48% 100%),
    linear-gradient(0deg, transparent 0 45%, rgba(255, 194, 55, 0.2) 45% 55%, transparent 55% 100%);
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 172px;
  height: auto;
  display: block;
}

.language-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  flex-shrink: 0;
  min-width: 128px;
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(22, 42, 53, 0.06);
}

.language-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 2);
  border-radius: 999px;
  background: var(--color-teal-dark);
  box-shadow: 0 6px 18px rgba(0, 107, 93, 0.2);
  transform: translateX(0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 160ms ease;
}

.language-switch[data-active="en"]::before {
  transform: translateX(100%);
}

.language-button {
  position: relative;
  z-index: 1;
  min-width: 58px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--color-muted);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-button:hover {
  color: var(--color-teal-dark);
}

.language-button:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

.language-button.is-active {
  color: #ffffff;
}

.main-content {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  place-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 64px;
  width: 100%;
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  max-width: 586px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--color-teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-teal);
}

.hero-title {
  max-width: 100%;
  margin: 0;
  color: var(--color-text);
  font-size: 48px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-text {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.7;
}

.data-strip {
  display: grid;
  grid-template-columns: 64px 20px 96px 40px;
  gap: 12px;
  align-items: center;
  width: max-content;
  margin-top: 36px;
}

.data-strip span {
  display: block;
  height: 14px;
  border-radius: 999px;
}

.data-strip span:nth-child(1) {
  background: var(--color-teal);
}

.data-strip span:nth-child(2) {
  width: 20px;
  background: var(--color-red);
}

.data-strip span:nth-child(3) {
  background: var(--color-blue);
}

.data-strip span:nth-child(4) {
  background: var(--color-yellow);
}

.qr-panel {
  justify-self: end;
  width: min(100%, 360px);
  padding: 20px;
  border: 1px solid rgba(220, 229, 232, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-panel);
}

.qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
}

.qr-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.qr-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.qr-label {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qr-action {
  margin: 0;
  color: var(--color-teal-dark);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(220, 229, 232, 0.9);
  background: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.footer-link {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header {
    width: min(calc(100% - 32px), 720px);
    padding-top: 20px;
  }

  .brand-logo {
    width: 148px;
  }

  .main-content {
    width: min(calc(100% - 32px), 720px);
    padding: 36px 0 44px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.18;
  }

  .hero-text {
    font-size: 16px;
  }

  .qr-panel {
    justify-self: stretch;
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .footer-inner {
    width: min(calc(100% - 32px), 720px);
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
  }

  .brand-logo {
    width: 124px;
  }

  .language-switch {
    min-width: 112px;
  }

  .language-button {
    min-width: 50px;
    height: 34px;
    font-size: 13px;
  }

  .hero-title {
    font-size: 28px;
  }

  .data-strip {
    grid-template-columns: 52px 16px 76px 32px;
  }

  .qr-panel {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .qr-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
