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

:root {
  --bg: #0b0b1a;
  --bg-card: #12122a;
  --accent: #7c6cf0;
  --accent-soft: rgba(124, 108, 240, 0.15);
  --text: #e8e8f0;
  --text-muted: #9b9bb8;
  --border: rgba(124, 108, 240, 0.2);
  --max-width: 720px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

header {
  text-align: center;
  padding: 3rem 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.125rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.accent-line {
  width: 3rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1.25rem auto 0;
}

.features {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.feature-text strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.feature-text span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.contact-section h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-section a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-section a:hover {
  text-decoration: underline;
}

.contact-section p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Privacy page */
.privacy-header {
  margin-bottom: 2rem;
}

.privacy-header h1 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
}

.privacy-header .updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.privacy-content h2 {
  font-size: 1.1rem;
  color: var(--accent);
  margin: 2rem 0 0.75rem;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.privacy-content ul,
.privacy-content ol {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.privacy-content ol li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.privacy-content li {
  margin-bottom: 0.4rem;
}

.privacy-content a {
  color: var(--accent);
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  text-decoration: underline;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin-top: 0.75rem;
}

.footer-lang {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (min-width: 600px) {
  main {
    padding: 3rem 2rem 4rem;
  }

  header {
    padding: 4rem 2rem 2.5rem;
  }
}
