:root {
  --brand: #7c3aed;
  --brand-accent: #a78bfa;
  --brand-soft: rgba(124, 58, 237, 0.16);
  --bg-base: #121214;
  --bg-elevated: #252528;
  --text-primary: rgba(255, 255, 255, 0.94);
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-hint: rgba(255, 255, 255, 0.42);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-brand: rgba(124, 58, 237, 0.42);
  --radius-pill: 999px;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Playfair Display", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
}

.page {
  min-height: 100vh;
  padding: 28px 32px 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto 56px;
}

.brand {
  font-family: var(--font-logo);
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-accent);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding: 3px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

.lang-btn {
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.is-on {
  background: var(--brand-soft);
  color: var(--brand-accent);
}

.hero,
.section {
  max-width: 1080px;
  margin: 0 auto 72px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.hero-title {
  margin: 0 0 18px;
  max-width: 720px;
  font-family: var(--font-logo);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--border-brand);
}

.section-title {
  margin: 0 0 20px;
  max-width: 640px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.body {
  margin: 0;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-elevated);
}

.product-card:hover {
  border-color: var(--border-brand);
}

.product-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.product-tags span {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 600;
}

.product-desc {
  flex: 1;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.product-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-accent);
  text-decoration: none;
}

.product-cta:hover {
  color: var(--text-primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.faq-item {
  padding: 22px 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-elevated);
}

.faq-item dt {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.faq-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 8px;
  text-align: center;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.copyright {
  margin: 0;
  font-size: 13px;
  color: var(--text-hint);
}

@media (max-width: 767px) {
  .page {
    padding: 20px 18px 64px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 36px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero,
  .section {
    margin-bottom: 48px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .body {
    font-size: 15px;
  }

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

  .product-card {
    padding: 20px;
  }

  .faq-item {
    padding: 18px;
  }
}
