:root {
  --bg: #050713;
  --surface: rgba(15, 21, 38, 0.72);
  --surface-strong: rgba(19, 27, 48, 0.92);
  --field: #0d1324;
  --text: #f7f8ff;
  --muted: #9aa3bd;
  --purple: #705cff;
  --purple-hot: #a16dff;
  --blue: #4f7bff;
  --pink: #d85bff;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(161, 109, 255, 0.5), transparent 34%),
    radial-gradient(circle at 15% 15%, rgba(79, 123, 255, 0.26), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(216, 91, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #090b22 0%, #070a17 48%, var(--bg) 100%);
  overflow-x: hidden;
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.glow-one {
  width: 360px;
  height: 360px;
  top: 80px;
  left: -120px;
  background: var(--blue);
}

.glow-two {
  width: 460px;
  height: 460px;
  right: -180px;
  top: 180px;
  background: var(--purple-hot);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 34px;
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.hero {
  text-align: center;
  padding: 58px 18px 64px;
}

.app-icon {
  width: 124px;
  height: 124px;
  border-radius: 30px;
  box-shadow:
    0 30px 90px rgba(112, 92, 255, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.eyebrow,
.section-title p {
  color: #b9adff;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 13px;
}

.eyebrow {
  margin: 28px 0 12px;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.subtitle {
  max-width: 690px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 23px);
  line-height: 1.5;
}

.primary-btn,
.send-btn {
  border: 0;
  cursor: pointer;
  color: white;
  font-weight: 850;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent),
    linear-gradient(135deg, var(--purple-hot), var(--purple), var(--blue));
  box-shadow: 0 20px 60px rgba(112, 92, 255, 0.45);
}

.primary-btn {
  margin-top: 36px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 16px;
}

.support-form {
  display: none;
  max-width: 680px;
  margin: 34px auto 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--surface);
  backdrop-filter: blur(26px);
  box-shadow: 0 30px 100px var(--shadow);
  text-align: left;
}

.support-form.open {
  display: block;
  animation: rise 0.28s ease-out;
}

.form-header h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.form-header p {
  margin: 8px 0 18px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  outline: none;
  background: var(--field);
  color: var(--text);
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
}

select {
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: #788197;
}

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

.reply-box {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.reply-box input {
  width: auto;
}

.hidden {
  display: none;
}

.hidden.show {
  display: block;
}

.send-btn {
  width: 100%;
  margin-top: 14px;
  padding: 15px;
  border-radius: 999px;
}

#formStatus {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 24px 80px var(--shadow);
  backdrop-filter: blur(22px);
}

.card {
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 173, 255, 0.4);
  background: var(--surface-strong);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(112, 92, 255, 0.18);
  margin-bottom: 18px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.card p,
.faq-item p,
footer {
  color: var(--muted);
}

.card p {
  margin: 0;
  line-height: 1.5;
}

.faq {
  margin-top: 22px;
  padding: 26px;
}

.section-title p {
  margin: 0 0 8px;
}

.section-title h2 {
  margin: 0 0 18px;
  font-size: 34px;
  letter-spacing: -0.055em;
}

.faq-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 22px;
  padding: 19px 21px;
  margin-top: 11px;
  cursor: pointer;
  font: inherit;
}

.faq-item span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 850;
  font-size: 17px;
}

.faq-item span::after {
  content: "+";
  color: #b9adff;
}

.faq-item.open span::after {
  content: "–";
}

.faq-item p {
  display: none;
  margin: 11px 0 0;
  line-height: 1.55;
}

.faq-item.open p {
  display: block;
}

footer {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 920px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    padding-top: 42px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .app-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  h1 {
    font-size: 50px;
  }
}