/* ============================================================
   Privacy & Terms Pages � Matches landing/about design system
   ============================================================ */

:root {
  --accent: #667eea;
  --accent-2: #764ba2;
  --accent-soft: rgba(102, 126, 234, 0.10);
  --text: #1a1a2e;
  --muted: #6b7280;
  --surface: #ffffff;
  --border: #e5e7f0;
  --bg: #f4f4fa;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 30px rgba(26, 26, 46, 0.08);
}

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

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

/* -- Language Switcher -------------------------------------- */

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-switcher .fi {
  display: inline-block;
  width: 1.333em;
  height: 1em;
  vertical-align: middle;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-btn:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* -- Top Nav ------------------------------------------------ */

.pt-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
}

.pt-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.pt-brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
}

.pt-brand-badge-logo {
  height: 20px;
  width: 20px;
}

/* -- Hero Banner -------------------------------------------- */

.pt-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 55%, #2d1b69 100%);
  position: relative;
  overflow: hidden;
  padding: 7rem 2.5rem 4.5rem;
  text-align: center;
}

.pt-hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.pt-shape-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(102,126,234,0.20) 0%, transparent 70%);
  top: -160px; right: -80px;
}

.pt-shape-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(118,75,162,0.18) 0%, transparent 70%);
  bottom: -120px; left: -60px;
}

.pt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(102,126,234,0.18);
  border: 1px solid rgba(102,126,234,0.35);
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}

.pt-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pt-hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin: 0;
}

/* -- Main Content ------------------------------------------- */

.pt-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
}

/* -- TOC --------------------------------------------------- */

.pt-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.pt-toc-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1rem;
}

.pt-toc ol {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.25rem 1.5rem;
}

.pt-toc li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

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

.pt-toc a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* -- Sections ----------------------------------------------- */

.pt-section {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem 2.2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 2rem;
}

.pt-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.pt-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.pt-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.4rem 0 0.6rem;
}

.pt-section p {
  color: #4b5563;
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.pt-section p:last-child { margin-bottom: 0; }

.pt-section ul, .pt-section ol {
  color: #4b5563;
  font-size: 0.95rem;
  padding-left: 1.4rem;
  margin: 0 0 0.85rem;
}

.pt-section li {
  margin-bottom: 0.45rem;
}

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

.pt-section a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* -- Contact Card -------------------------------------------- */

.pt-contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(102,126,234,0.06), rgba(118,75,162,0.06));
  border: 1px solid rgba(102,126,234,0.2);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  margin-top: 1rem;
}

.pt-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border-radius: 12px;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--accent);
}

.pt-contact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.pt-contact-card a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.pt-contact-card a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* -- Footer ------------------------------------------------- */

footer {
  background: #1a1a1a;
  color: white;
  padding: 15px 0 30px;
  margin-top: 0;
}

.footer-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 15px;
}

.footer-logo p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: #999;
}

.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

footer a {
  color: #3498db;
  text-decoration: none;
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px 0;
}

/* -- Responsive --------------------------------------------- */

@media (max-width: 768px) {
  .pt-nav { padding: 1rem 1.25rem; }
  .pt-hero { padding: 6rem 1.25rem 3.5rem; }
  .pt-main { padding: 2rem 1.25rem 3rem; }

  .pt-toc { padding: 1.25rem 1.25rem; }
  .pt-toc ol { grid-template-columns: 1fr; }

  .pt-section { padding: 1.5rem 1.25rem; }
  .pt-section h2 { font-size: 1.1rem; }

  .pt-contact-card { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  footer { padding: 30px 0 20px; }
  .footer-links { gap: 10px; font-size: 0.85rem; }
  footer a { font-size: 0.85rem; }
}
