﻿:root {
  --bg: #0d1017;
  --paper: #121724;
  --text: #e8ebf8;
  --muted: rgba(232, 235, 248, 0.7);
  --primary: #6c5ce7;
  --primaryDark: #5849c9;
  --secondary: #00c2a8;
  --radius: 18px;
  --shadow-1: 0 10px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 24px 64px rgba(0, 0, 0, 0.45);
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

main {
  min-height: 100vh
}

body {
  background-image:
    radial-gradient(1400px 440px at 12% -8%, rgba(41, 5, 99, 0.28), transparent),
    radial-gradient(900px 420px at 98% 8%, rgba(15, 48, 25, 0.5), transparent),
    linear-gradient(180deg, rgba(13, 16, 23, 0.98), rgba(13, 16, 23, 0.9));
  display: flex;
  flex-direction: column;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  min-width: 1200px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 56px 0;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(12px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  font-size: 12px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  color: #0a0d14;
  background: linear-gradient(135deg, var(--primary), var(--primaryDark));
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(108, 92, 231, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.muted {
  color: var(--muted);
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 92, 231, 0.35);
  box-shadow: var(--shadow-2);
}

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
  background: rgba(13, 16, 23, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
}

.nav a {
  color: var(--text);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle .menu-bar {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  margin: 4px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-close {
  display: none;
}

.menu-center .btn {
  margin-top: 6px;
}

.menu-open {
  overflow: hidden;
}

.btn-small {
  padding: 10px 18px;
  font-size: 13px;
}

.lang-switch {
  display: flex;
  gap: 0;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.lang-switch button:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.lang-switch button:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.lang-switch button.active {
  border-color: transparent;
  background: #ffffff;
  color: #111;
}

.page-hero {
  padding: 60px 0 20px;
}

.page-hero h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  margin: 12px 0 10px;
}

.page-hero p {
  max-width: 720px;
}

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

.content-card {
  padding: 26px;
  background: linear-gradient(160deg, rgba(108, 92, 231, 0.12), rgba(255, 255, 255, 0.02));
}

.content-card.alt {
  background: linear-gradient(160deg, rgba(0, 194, 168, 0.16), rgba(255, 255, 255, 0.02));
  border-color: rgba(0, 194, 168, 0.3);
}

.content-card h2 {
  margin: 0 0 12px;
}

.content-card p {
  margin: 0 0 12px;
}

.content-card p:last-child,
.content-card ul:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 60px;
  padding: 28px 0 18px;
  background: #080a0f;
  border-top: 1px solid rgba(108, 92, 231, 0.18);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  min-width: 240px;
}

.footer-title {
  font-weight: 900;
  letter-spacing: -0.2px;
}

.footer-tagline {
  margin: 6px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 15px;
  letter-spacing: 0;
}

.footer-links a {
  color: var(--text);
  opacity: 0.9;
}

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

.footer-lang {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-label {
  font-size: 12px;
  letter-spacing: 0;
}

.footer-lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-lang-switch button {
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.footer-lang-switch button.active {
  background: #ffffff;
  color: #111;
}

.footer-divider {
  margin: 18px 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .container {
    min-width: 0;
    padding: 0 20px;
  }
  .grid-3,
  .grid-2,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-cta {
    width: 100%;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .nav-cta {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 32px 28px;
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(13, 16, 23, 0.95);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10;
  }

  .nav-cta.is-open {
    transform: translateX(0);
  }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .menu-center {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .menu-center a {
    font-size: 24px;
    letter-spacing: 3px;
    text-transform: uppercase;
  }

  .menu-close {
    display: inline-flex;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 0;
    background: #ffffff;
    color: #111;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1 0 auto;
  min-height: 100vh;
}

.terms-grid {
  display: grid;
  gap: 22px;
}

.terms-card {
  padding: 24px 26px;
}

.terms-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.terms-card-head h2 {
  margin: 0;
  font-size: 20px;
}

.terms-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0a0d14;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.85), rgba(0, 194, 168, 0.7));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.terms-body {
  display: grid;
  gap: 10px;
  line-height: 1.7;
}

.terms-body p {
  margin: 0;
}

.term-block h3 {
  margin: 0 0 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.terms-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.terms-list li {
  line-height: 1.7;
}

.terms-meta {
  margin: 0;
}

.terms-footer {
  padding: 22px 26px;
  text-align: center;
}

.terms-divider {
  height: 1px;
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 700px) {
  .terms-card,
  .terms-footer {
    padding: 20px;
  }

  .terms-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
}


.privacy-subtitle { margin-top: 6px; }
.privacy-note { padding: 16px 20px; text-align: center; }
.privacy-section { margin-top: 20px; }
.privacy-section h2 { margin: 0 0 10px; }
.privacy-section h3 { margin: 18px 0 8px; font-size: 16px; }
.privacy-table { margin-top: 16px; }
.privacy-table table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 14px; }
.privacy-table th, .privacy-table td { padding: 12px 14px; border: 1px solid rgba(255,255,255,0.14); }
.privacy-table th { background: rgba(255,255,255,0.08); text-transform: uppercase; letter-spacing: 0.6px; font-size: 12px; }
.privacy-table td { background: rgba(0,0,0,0.12); font-size: 14px; }
.privacy-footnote { font-size: 12px; opacity: 0.7; margin-top: 8px; }
@media (max-width: 900px) { .privacy-table th, .privacy-table td { font-size: 13px; } }
