:root {
  --bg-gradient: linear-gradient(160deg, #0d47a1 0%, #1976d2 55%, #42a5f5 100%);
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);
  --accent-yellow: #ffeb3b;
  --accent-green: #66bb6a;
  --accent-purple: #b39ddb;
  --accent-orange: #ffb74d;
  --accent-red: #ef5350;
  --button-bg: rgba(255, 255, 255, 0.22);
  --button-hover-bg: rgba(255, 255, 255, 0.3);
  --input-bg: rgba(13, 71, 161, 0.5);
  --input-border: rgba(255, 255, 255, 0.35);
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.25);
  --shadow-hard: 0 10px 20px rgba(0, 0, 0, 0.35);
  --max-content-width: 1080px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: min(100%, var(--max-content-width));
  padding: clamp(1.5rem, 3vw, 3rem);
  text-align: center;
}

.headline {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 1rem;
}

.subheadline {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 auto;
}

.tagline {
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: var(--text-muted);
}

body.page-home .home-kicker {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

body.page-home .home-hero-title {
  margin: 0.75rem auto 1rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
}

body.page-home .home-date {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: var(--text-muted);
}

main {
  width: min(100%, var(--max-content-width));
  padding: 0 clamp(1rem, 2.5vw, 2.5rem) 4rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 4rem;
}

section {
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: clamp(1.75rem, 3vw, 3rem);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: var(--accent-yellow);
}

.cta-container {
  width: min(100%, 480px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2.5rem auto 4rem;
  padding: 0 1.5rem;
}

.cta-button {
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--button-bg);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-soft);
}

.cta-button:hover,
.cta-button:focus {
  background: var(--button-hover-bg);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard);
}

.lang-switch {
  width: min(100%, 480px);
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.lang-button {
  flex: 1;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.65rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--button-bg);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.lang-button:hover {
  transform: translateY(-2px);
  background: var(--button-hover-bg);
}

.lang-button.active {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.32);
  color: #1a237e;
}

.logo-cluster {
  width: min(100%, var(--max-content-width));
  margin: 0 auto 3.5rem;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
  background: transparent;
  border: none;
  box-shadow: none;
}

.logo-board {
  background: #ffffff;
  border: 1px solid rgba(13, 41, 82, 0.08);
  border-radius: 24px;
  padding: clamp(1.25rem, 2.2vw, 2.5rem);
  box-shadow: 0 25px 40px rgba(7, 21, 46, 0.15);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-board img {
  width: min(100%, 720px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
}

.back-link {
  position: fixed;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 4vw, 3rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.back-link:hover {
  transform: translateY(-3px);
  background: var(--button-hover-bg);
  box-shadow: var(--shadow-hard);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

fieldset {
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.12);
}

legend {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  padding: 0 0.5rem;
}

.question-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hidden {
  display: none !important;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 0.85rem;
  border-radius: 14px;
  transition: border 0.2s ease, transform 0.2s ease;
}

.option-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
  accent-color: #ffeb3b;
  transform: scale(1.1);
}

.option-text {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

select,
textarea,
input[type="text"],
input[type="email"] {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-button {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(120deg, #0d1b4d, #142a80);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(16, 32, 96, 0.45);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-loader {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-loader.hidden {
  display: none;
}

.loader-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent-yellow);
  animation: loader-bounce 0.8s infinite ease-in-out;
}

@keyframes loader-bounce {
  0%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.text-muted {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  padding-left: 1rem;
}

footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--accent-yellow);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 720px) {
  .headline {
    letter-spacing: 0.08em;
  }

  .subheadline {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  section {
    border-radius: 20px;
    padding: 1.5rem;
  }

  .cta-container {
    padding: 0 1rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }

  .lang-switch {
    padding: 0 1rem;
  }

  .logo-cluster {
    padding: 0 1rem 2.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .logo-board {
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 18px 30px rgba(7, 21, 46, 0.18);
  }

  .back-link {
    position: static;
    margin: 1.5rem auto 0;
  }
}

