:root {
  --bg: #ffffff;
  --ink: #1c1c28;
  --ink-soft: #5e5c76;
  --ink-muted-light: #969595;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --accent: #38bdf8;
  --mint: #c9f0e1;
  --bg-card: #dbeafe;
  --white: #ffffff;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 20px 45px rgba(53, 63, 121, 0.18);
}

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

html,
body {
  width: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

a {
  color: inherit;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-lang {
  background: transparent;
  border: none;
  color: var(--white);
  padding: 10px 6px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.lang-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ---------- Header ---------- */
.site-header {
  padding: 18px 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .btn-primary {
  background: var(--accent);
  color: var(--white);
}
.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand-mark {
  height: 42px;
  width: 42px;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 20px;
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
}
.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.nav a:hover {
  color: var(--white);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 0 0 auto;
  justify-content: flex-end;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  padding: 16px 0 20px;
  background: var(--primary);
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.2);
  width: 100%;
}
.mobile-nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
  text-align: center;
}
.mobile-nav .btn {
  width: min(260px, 90%);
  margin: 8px auto 0;
}
.menu-open .mobile-nav {
  display: block;
}

/* ---------- Privacy Content ---------- */
.privacy-hero {
  background: linear-gradient(135deg, #e8f1ff 0%, #dbeafe 100%);
  padding: 72px 0 56px;
  text-align: center;
}
.privacy-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--ink);
}
.privacy-hero p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.privacy-body {
  padding: 64px 0 80px;
}
.privacy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

/* Sidebar TOC */
.privacy-toc {
  position: sticky;
  top: 100px;
  background: #f8faff;
  border: 1px solid #e2eafb;
  border-radius: 16px;
  padding: 24px 20px;
}
.privacy-toc h2 {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.privacy-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.privacy-toc a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.4;
  display: block;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.privacy-toc a:hover {
  background: #dbeafe;
  color: var(--primary-dark);
}

/* Content */
.privacy-content {
  min-width: 0;
}
.privacy-content section {
  margin-bottom: 52px;
  scroll-margin-top: 96px;
}
.privacy-content h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f1ff;
}
.privacy-content h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}
.privacy-content p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.privacy-content ul,
.privacy-content ol {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.privacy-content a {
  color: var(--primary-dark);
  text-decoration: underline;
}
.privacy-content a:hover {
  color: var(--primary);
}
.highlight-box {
  background: #e8f1ff;
  border-left: 4px solid var(--primary-dark);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 60px 0 40px;
  color: rgba(255, 255, 255, 0.7);
  background: #1f3d5c;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-name {
  font-size: 1.3rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  max-width: 280px;
}
.footer-column h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
  font-size: 1rem;
}
.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}
.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-column a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--accent);
}
.social-links {
  display: flex;
  gap: 16px;
}
.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.social-links a:hover {
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav,
  .header-actions {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 860px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }
  .privacy-toc {
    position: static;
  }
}
@media (max-width: 750px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-mark {
  display: block;
}

.footer-logo-name {
  color: var(--white);
  font-size: 1.3rem;
}
