:root {
  --bg: #282a36;
  --bg-elevated: #33374d;
  --bg-input: #444857;
  --accent: #66b3ff;
  --accent-hover: #3385cc;
  --text: #b0cbe8;
  --text-muted: #8a9bb5;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent-hover);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(40, 42, 54, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(176, 203, 232, 0.08);
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* Page layout */
.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.page-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

/* Content typography */
.content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin: 32px 0 12px;
}

.content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}

.content p {
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.65;
}

.content ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.content li {
  margin-bottom: 6px;
  color: var(--text);
}

.content a {
  color: var(--accent);
}

/* Footer */
footer {
  padding: 40px 24px 32px;
  text-align: center;
  border-top: 1px solid rgba(176, 203, 232, 0.1);
  margin-top: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== Support page specific ========== */
.search-wrap {
  margin-bottom: 32px;
}

.search-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid rgba(176, 203, 232, 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}
.search-input::placeholder {
  color: var(--text-muted);
}
.search-input:focus {
  border-color: var(--accent);
}

.category {
  margin-bottom: 28px;
}

.category-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-elevated);
}

.category-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid rgba(176, 203, 232, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: rgba(102, 179, 255, 0.25);
}
.faq-item.open {
  border-color: rgba(102, 179, 255, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
  font-family: inherit;
}

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(102, 179, 255, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
}
.faq-item.open .faq-toggle {
  background: rgba(102, 179, 255, 0.25);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 18px 16px;
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px;
  display: none;
}

.contact-box {
  background: var(--bg-elevated);
  border: 1px solid rgba(102, 179, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 40px;
  text-align: center;
}
.contact-box p {
  margin-bottom: 8px;
}
.contact-box a {
  font-weight: 600;
}

/* Privacy specific tweaks */
.privacy-content h2 {
  border-bottom: 1px solid rgba(176, 203, 232, 0.1);
  padding-bottom: 8px;
}
