/* ═══════════════════════════════════════════════
   CHASE 21 — Shared Page Styles
   Used by: privacy, terms, refund, cookies, support
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #06060b; color: #fff; overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

:root {
  --coral:  #FF5E3A;
  --orange: #FF8C1A;
  --gold:   #FFC837;
  --blue:   #1877F2;
  --cyan:   #06B6D4;
  --green:  #10B981;
  --pink:   #EC4899;
  --muted:  rgba(255,255,255,0.55);
  --dim:    rgba(255,255,255,0.30);
  --glass:  rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.09);
  --r-sm:   12px;
  --r-md:   20px;
  --r-lg:   28px;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, var(--coral), var(--orange), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Mesh background */
.mesh-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mesh-orb { position: absolute; border-radius: 50%; filter: blur(130px); opacity: 0.08; animation: orb-f 22s ease-in-out infinite; }
.orb1 { width: 600px; height: 600px; background: var(--coral); top: -200px; left: -150px; animation-delay: 0s; }
.orb2 { width: 450px; height: 450px; background: var(--blue); top: 50%; right: -120px; animation-delay: -8s; }
.orb3 { width: 350px; height: 350px; background: var(--cyan); bottom: -80px; left: 35%; animation-delay: -16s; }
@keyframes orb-f { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(30px,-50px) scale(1.05)} 66%{transform:translate(-25px,35px) scale(0.95)} }

/* Navbar */
.navbar { position: fixed; top:0; left:0; right:0; z-index:1000; padding:16px 0; background:rgba(6,6,11,0.72); backdrop-filter:blur(28px); -webkit-backdrop-filter:blur(28px); border-bottom:1px solid rgba(255,255,255,0.055); transition:all 0.3s; }
.navbar.scrolled { padding:11px 0; background:rgba(6,6,11,0.93); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.nav-logo  { display:flex; align-items:center; gap:10px; }
.nav-logo-text { font-size:19px; font-weight:800; letter-spacing:-0.02em; }
.nav-links-list { display:flex; align-items:center; gap:28px; list-style:none; }
.nav-links-list a { font-size:14px; font-weight:500; color:var(--muted); transition:color 0.2s; }
.nav-links-list a:hover { color:#fff; }
.btn-glass { display:inline-flex; align-items:center; gap:7px; padding:11px 22px; border-radius:100px; font-size:14px; font-weight:600; background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.13); color:#fff; cursor:pointer; transition:all 0.3s; backdrop-filter:blur(10px); }
.btn-glass:hover { background:rgba(255,255,255,0.12); transform:translateY(-1px); }
.btn-primary { display:inline-flex; align-items:center; gap:7px; padding:11px 22px; border-radius:100px; font-size:14px; font-weight:700; background:linear-gradient(135deg,var(--coral),var(--orange)); color:#fff; border:none; cursor:pointer; transition:all 0.3s; box-shadow:0 4px 20px rgba(255,94,58,0.32); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(255,94,58,0.48); }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; }
.hamburger span { width:22px; height:2px; background:#fff; border-radius:2px; }

/* Mobile menu */
.mobile-menu { display:none; position:fixed; inset:0; z-index:999; background:rgba(6,6,11,0.97); backdrop-filter:blur(28px); flex-direction:column; align-items:center; justify-content:center; gap:26px; }
.mobile-menu.open { display:flex; }
.mobile-menu a { font-size:20px; font-weight:700; color:rgba(255,255,255,0.8); transition:color 0.2s; }
.mobile-menu a:hover { color:var(--orange); }
.mobile-close { position:absolute; top:22px; right:22px; background:none; border:none; color:rgba(255,255,255,0.45); font-size:20px; cursor:pointer; }

/* Page Hero */
.page-hero { position:relative; z-index:1; padding:140px 0 70px; text-align:center; }
.page-hero-label { font-size:12px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--orange); margin-bottom:14px; }
.page-hero-title { font-size:clamp(36px,6vw,64px); font-weight:900; line-height:1.08; letter-spacing:-0.025em; margin-bottom:16px; }
.page-hero-sub { font-size:16px; color:var(--muted); max-width:520px; margin:0 auto; line-height:1.75; }
.page-hero-meta { display:flex; justify-content:center; gap:24px; margin-top:24px; flex-wrap:wrap; }
.page-meta-item { font-size:13px; color:var(--dim); display:flex; align-items:center; gap:6px; }

/* Page layout */
.page-layout { position:relative; z-index:1; padding:0 0 100px; }
.page-content-wrap { display:grid; grid-template-columns:240px 1fr; gap:40px; align-items:start; }

/* TOC Sidebar */
.toc-sidebar { position:sticky; top:100px; }
.toc-card { background:var(--glass); border:1px solid var(--border); border-radius:var(--r-md); padding:24px; backdrop-filter:blur(16px); }
.toc-title { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--dim); margin-bottom:16px; }
.toc-list { list-style:none; display:flex; flex-direction:column; gap:2px; }
.toc-list a { font-size:13px; color:var(--muted); padding:7px 10px; border-radius:8px; display:block; transition:all 0.2s; }
.toc-list a:hover, .toc-list a.active { background:rgba(255,94,58,0.1); color:var(--orange); }

/* Content sections */
.legal-content { }
.legal-section { margin-bottom:48px; scroll-margin-top:100px; }
.ls-header { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.ls-num { width:36px; height:36px; border-radius:10px; background:rgba(255,94,58,0.12); border:1px solid rgba(255,94,58,0.22); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:var(--orange); flex-shrink:0; }
.ls-title { font-size:20px; font-weight:700; }
.ls-body { background:var(--glass); border:1px solid var(--border); border-radius:var(--r-md); padding:28px; backdrop-filter:blur(12px); }
.ls-body p { font-size:14.5px; color:var(--muted); line-height:1.8; margin-bottom:14px; }
.ls-body p:last-child { margin-bottom:0; }
.ls-body h4 { font-size:15px; font-weight:700; color:#fff; margin:20px 0 8px; }
.ls-body ul { padding-left:0; list-style:none; display:flex; flex-direction:column; gap:8px; margin-bottom:14px; }
.ls-body ul li { font-size:14px; color:var(--muted); line-height:1.7; padding-left:18px; position:relative; }
.ls-body ul li::before { content:'→'; position:absolute; left:0; color:var(--orange); font-size:11px; top:3px; }
.ls-body a { color:var(--cyan); transition:color 0.2s; }
.ls-body a:hover { color:#fff; }
.highlight-box { background:rgba(255,94,58,0.06); border:1px solid rgba(255,94,58,0.18); border-radius:12px; padding:16px 20px; margin-top:16px; }
.highlight-box p { color:rgba(255,255,255,0.7)!important; margin-bottom:0!important; }
.info-box { background:rgba(6,182,212,0.06); border:1px solid rgba(6,182,212,0.18); border-radius:12px; padding:16px 20px; margin-top:16px; }
.info-box p { color:rgba(255,255,255,0.7)!important; margin-bottom:0!important; }

/* Divider */
.divider { height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.07),transparent); margin:0; }

/* Footer */
.footer { border-top:1px solid rgba(255,255,255,0.055); padding:52px 0 26px; position:relative; z-index:1; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-desc { font-size:13px; color:var(--muted); line-height:1.7; margin:13px 0 20px; }
.footer-socials { display:flex; gap:9px; }
.fsoc { width:32px; height:32px; border-radius:9px; background:var(--glass); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:14px; transition:all 0.2s; }
.fsoc:hover { background:rgba(255,94,58,0.13); border-color:rgba(255,94,58,0.25); }
.fcol-title { font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:rgba(255,255,255,0.4); margin-bottom:16px; }
.flinks { list-style:none; display:flex; flex-direction:column; gap:10px; }
.flinks a { font-size:13px; color:var(--muted); transition:color 0.2s; }
.flinks a:hover { color:#fff; }
.footer-bottom { padding-top:20px; border-top:1px solid rgba(255,255,255,0.055); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.footer-copy { font-size:12px; color:var(--dim); }

/* Reveal */
.reveal { opacity:0; transform:translateY(22px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .page-content-wrap { grid-template-columns: 1fr; }
  .toc-sidebar { position:static; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns:1fr; gap:24px; }
  .nav-links-list { display:none; }
  .hamburger { display:flex; }
  .nav-cta .btn-glass { display:none; }
}
