/* ===================================================================
   UniverseByte — Legal Pages Shared CSS
   Dark Premium Design matching the main site
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary: #6B4CED;
  --primary-light: #9A82FF;
  --accent: #FF6B18;
  --accent-light: #FF9A52;
  --bg-primary: #07040F;
  --bg-secondary: #0E0825;
  --bg-tertiary: #150D33;
  --glass-bg: rgba(255,255,255,0.045);
  --glass-border: rgba(255,255,255,0.10);
  --glass-border-strong: rgba(255,255,255,0.18);
  --text-primary: #F1EEFC;
  --text-strong: #FFFFFF;
  --text-muted: #A89FCB;
  --text-faint: #7A719E;
  --success: #2DD4A7;
  --danger: #FF5C7A;
  --gradient-brand: linear-gradient(135deg, var(--primary-light), var(--accent));
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-md: 0 8px 28px rgba(0,0,0,0.45);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }

/* ── Nav ─────────────────────────────────────────── */
.lp-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(7, 4, 15, 0.88);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
  display: flex; align-items: center;
}
.lp-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.lp-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  color: var(--text-strong);
}
.lp-brand img { height: 36px; width: auto; object-fit: contain; }
.lp-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-muted); padding: 8px 16px;
  border: 1px solid var(--glass-border); border-radius: 99px;
  transition: all 0.2s;
}
.lp-back:hover {
  color: var(--text-strong); border-color: var(--primary-light);
  background: rgba(107,76,237,0.12);
}
.lp-back svg { width: 16px; height: 16px; }

/* ── Hero Banner ───────────────────────────────────── */
.lp-hero {
  background: linear-gradient(135deg, #0E0825 0%, #150D33 50%, #0E0825 100%);
  padding: 80px 24px 60px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}
.lp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(107,76,237,0.18) 0%, transparent 65%),
              radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255,107,24,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.lp-hero-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 1;
}
.lp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 99px;
  background: var(--glass-bg); border: 1px solid var(--glass-border-strong);
  font-size: 0.78rem; font-weight: 600; color: var(--primary-light);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.lp-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary-light); flex-shrink: 0;
}
.lp-hero h1 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.2rem);
  color: var(--text-strong); line-height: 1.2; margin-bottom: 16px;
}
.lp-hero h1 span {
  background: var(--gradient-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--text-faint);
}
.lp-hero-meta span { display: flex; align-items: center; gap: 6px; }
.lp-hero-meta svg { width: 15px; height: 15px; }

/* ── Page Layout ────────────────────────────────────── */
.lp-layout {
  max-width: 1100px; margin: 0 auto; padding: 60px 24px 80px;
  display: grid; grid-template-columns: 260px 1fr; gap: 48px;
  align-items: start;
}

/* ── TOC Sidebar ────────────────────────────────────── */
.lp-toc {
  position: sticky; top: calc(var(--nav-height) + 20px);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 24px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lp-toc h3 {
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700;
  color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.lp-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.lp-toc ul li a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--text-muted);
  transition: all 0.2s; border-left: 2px solid transparent;
}
.lp-toc ul li a:hover {
  color: var(--text-strong); background: rgba(107,76,237,0.1);
  border-left-color: var(--primary-light);
}

/* ── Main Content ─────────────────────────────────── */
.lp-content section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-border);
}
.lp-content section:last-child { border-bottom: none; margin-bottom: 0; }

.lp-content h2 {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  color: var(--text-strong); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}
.lp-content h2 .sec-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gradient-brand);
  font-size: 0.78rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.lp-content h3 {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  color: var(--primary-light); margin: 24px 0 10px;
}
.lp-content p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.94rem; }
.lp-content ul, .lp-content ol {
  color: var(--text-muted); font-size: 0.94rem;
  padding-left: 20px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px;
}
.lp-content ul li::marker { color: var(--primary-light); }
.lp-content ol li::marker { color: var(--accent-light); font-weight: 600; }

/* Highlight box */
.lp-highlight {
  background: linear-gradient(135deg, rgba(107,76,237,0.10), rgba(255,107,24,0.06));
  border: 1px solid rgba(107,76,237,0.22);
  border-left: 4px solid var(--primary-light);
  border-radius: var(--radius-md); padding: 18px 20px;
  margin: 20px 0; font-size: 0.9rem; color: var(--text-primary);
}
.lp-highlight strong { color: var(--accent-light); }

/* Contact card */
.lp-contact-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; align-items: flex-start; gap: 16px; margin-top: 20px;
}
.lp-contact-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
}
.lp-contact-icon svg { width: 20px; height: 20px; color: #fff; }
.lp-contact-card h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text-strong); margin-bottom: 4px; }
.lp-contact-card p { margin: 0; font-size: 0.88rem; }

/* ── Footer ──────────────────────────────────────────── */
.lp-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 28px 24px; text-align: center;
}
.lp-footer-inner { max-width: 1100px; margin: 0 auto; }
.lp-footer p { font-size: 0.84rem; color: var(--text-faint); margin-bottom: 12px; }
.lp-footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.lp-footer-links a { font-size: 0.84rem; color: var(--text-muted); }
.lp-footer-links a:hover { color: var(--accent-light); }
.lp-footer-sep { color: var(--text-faint); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .lp-layout { grid-template-columns: 1fr; }
  .lp-toc { position: static; }
}
@media (max-width: 600px) {
  .lp-hero { padding: 60px 16px 40px; }
  .lp-layout { padding: 40px 16px 60px; }
}
