
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-deep-blue: #041426;
  --bg-light-blue: #0c4d78;
  --accent-orange: #ffb027;
  --accent-soft: rgba(255, 176, 39, 0.18);
  --white: #ffffff;
  --text-main: #f5fbff;
  --text-muted: rgba(225, 239, 255, 0.82);
  --shadow-strong: 0 26px 80px rgba(2, 10, 24, 0.85);
  --rounded-lg: 26px;
  --rounded-md: 18px;
  --rounded-pill: 999px;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, system-ui, -system-ui, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 0%, #1f9fff 0, transparent 40%),
    radial-gradient(circle at 80% 120%, #ffb027 0, transparent 50%),
    linear-gradient(160deg, var(--bg-deep-blue), var(--bg-light-blue));
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(1, 6, 17, 0.92), rgba(1, 6, 17, 0.4));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 4px;
  background:
    radial-gradient(circle, #ffd767 0, #ffb027 45%, #f17600 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-label {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: var(--rounded-pill);
  border: 1px solid transparent;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(3, 143, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.2);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 18px 40px;
}

.hero {
  padding-bottom: 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(1, 12, 32, 0.8);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.lead {
  margin: 0 0 16px;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 38rem;
  line-height: 1.7;
}

.hero-points {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-points li + li {
  margin-top: 4px;
}

.hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card {
  width: 100%;
  max-width: 360px;
  border-radius: var(--rounded-lg);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.32), transparent 55%),
    linear-gradient(145deg, rgba(2, 16, 40, 0.96), rgba(6, 43, 82, 0.96));
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.quiz-card {
  overflow: hidden;
}

.quiz-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.dot-blue {
  background: #04a1ff;
}

.dot-cyan {
  background: #35ffd7;
}

.dot-gold {
  background: #ffb027;
}

.quiz-label {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quiz-body {
  padding: 14px 16px 16px;
}

.quiz-meta {
  margin: 0 0 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.quiz-question {
  margin: 0 0 12px;
  font-size: 1.02rem;
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pill-option {
  border-radius: var(--rounded-pill);
  padding: 7px 14px;
  font-size: 0.86rem;
  background: rgba(1, 98, 163, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  cursor: default;
}

.pill-option--highlight {
  background: linear-gradient(135deg, var(--accent-orange), #ffe1a5);
  color: #251200;
}

.quiz-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section {
  margin-top: 26px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.section-head p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.section-head--center {
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.features .section-head p {
  max-width: 34rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-tile {
  background: linear-gradient(145deg, rgba(4, 24, 46, 0.96), rgba(5, 52, 88, 0.96));
  border-radius: var(--rounded-md);
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(2, 10, 24, 0.7);
}

.feature-tile h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.feature-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.policy-card {
  background: #f6fbff;
  color: #101827;
  border-radius: var(--rounded-lg);
  padding: 22px 22px 24px;
  box-shadow: 0 26px 70px rgba(1, 9, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.policy-card h3 {
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.policy-card h3:first-child {
  margin-top: 0;
}

.policy-card p {
  margin: 0 0 10px;
  font-size: 0.94rem;
  color: #394151;
}

.policy-card ul {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 0.94rem;
  color: #394151;
}

.policy-card li + li {
  margin-top: 4px;
}

.policy-card a {
  color: #0b66d3;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: start;
}

.support-form {
  background: rgba(2, 18, 46, 0.95);
  border-radius: var(--rounded-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 70px rgba(1, 6, 20, 0.9);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.field span {
  color: var(--text-muted);
}

textarea,
input[type="text"],
input[type="email"] {
  font: inherit;
  padding: 9px 11px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(1, 10, 28, 0.9);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--accent-orange);
  background: rgba(1, 16, 40, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 176, 39, 0.8);
}

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

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: var(--rounded-pill);
  border: none;
  background: radial-gradient(circle at 20% 0%, #fff4c3 0, #ffb027 40%, #f17600 100%);
  color: #1c0a00;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.btn-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.86);
  filter: brightness(1.03);
}

.btn-send:active {
  transform: translateY(0);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.78);
}

.contact-aside {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-aside p {
  margin: 0 0 6px;
}

.footer {
  padding: 16px 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(1, 6, 17, 0.95);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-panel {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  main {
    padding-inline: 16px;
  }
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .policy-card {
    padding-inline: 18px;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
}
