/* ═══════════════════════════════════════════════
   NEXORA — Shared Legal / Info Page Stylesheet
   ═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:   #050a12;
  --bg2:  #0a1220;
  --bg3:  #0d1728;
  --card: #0c1525;
  --b1:   rgba(255,255,255,.07);
  --b2:   rgba(255,255,255,.12);
  --c:    #06b6d4;
  --cd:   #0891b2;
  --em:   #10b981;
  --go:   #f59e0b;
  --pu:   #8b5cf6;
  --ro:   #f43f5e;
  --t1:   #dce8ff;
  --t2:   #8aa0c0;
  --t3:   #4a6080;
  --f:    'DM Sans', sans-serif;
  --fh:   'Syne', sans-serif;
  --fm:   'JetBrains Mono', monospace;
  --r:    16px;
  --mx:   1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--f);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c); text-decoration: none; transition: color .15s; }
a:hover { color: #22d3ee; text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.lnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,10,18,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--b1);
  height: 62px;
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.lnav-inner {
  width: 100%;
  max-width: var(--mx);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.lnav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.lnav-logo img { height: 34px; width: auto; }
.lnav-logo span {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--t1);
}
.lnav-logo span em { color: var(--c); font-style: normal; }
.lnav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lnav-links a {
  font-size: 13px;
  color: var(--t2);
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.lnav-links a:hover { background: rgba(255,255,255,.06); color: var(--t1); text-decoration: none; }
.lnav-btns { display: flex; gap: 8px; flex-shrink: 0; }
.lnav-btn {
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .15s;
  display: inline-flex;
  align-items: center;
}
.lnav-btn:hover { transform: translateY(-1px); text-decoration: none; }
.lnav-btn-ghost { background: rgba(255,255,255,.06); border: 1px solid var(--b1); color: var(--t1); }
.lnav-btn-ghost:hover { background: rgba(255,255,255,.1); }
.lnav-btn-fill { background: var(--c); color: #000; }
.lnav-btn-fill:hover { background: #22d3ee; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  padding: 72px 32px 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--b1);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(6,182,212,.14), transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--mx);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--t3);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--t3); text-decoration: none; }
.breadcrumb a:hover { color: var(--c); text-decoration: none; }
.breadcrumb-sep { font-size: 10px; color: var(--t3); }
.page-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c);
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.2);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--fh);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--t1);
  margin-bottom: 14px;
}
.page-hero h1 span {
  background: linear-gradient(135deg, var(--c), var(--em));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero p {
  font-size: 15px;
  color: var(--t2);
  max-width: 600px;
  line-height: 1.7;
}
.page-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.page-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--t3);
}
.page-meta-item svg { flex-shrink: 0; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
}
.meta-item {
  font-size: 12px;
  color: var(--t3);
  padding: 3px 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--b1);
  border-radius: 6px;
}

/* ── LAYOUT: sidebar ToC + main content ── */
.page-wrap {
  max-width: var(--mx);
  margin: 0 auto;
  padding: 48px 32px 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.page-wrap.no-toc {
  grid-template-columns: 1fr;
  max-width: 800px;
}

/* ToC sidebar */
.toc {
  position: sticky;
  top: 80px;
  background: var(--bg2);
  border: 1px solid var(--b1);
  border-radius: 14px;
  padding: 20px;
}
.toc-title {
  font-family: var(--fh);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 14px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  display: block;
  font-size: 13px;
  color: var(--t2);
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, color .15s;
  line-height: 1.4;
}
.toc-list a:hover, .toc-list a.active {
  background: rgba(6,182,212,.08);
  color: var(--c);
  text-decoration: none;
}
.toc-list a.active { font-weight: 600; }

/* Main prose content */
.prose { min-width: 0; }
.prose-section {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}
.prose-section:last-child { margin-bottom: 0; }
.prose h2 {
  font-family: var(--fh);
  font-size: 20px;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--b1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.prose h2 .sec-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--c);
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.18);
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--fm);
}
.prose h3 {
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 700;
  color: var(--t1);
  margin: 22px 0 8px;
}
.prose p { color: var(--t2); margin-bottom: 14px; font-size: 14px; line-height: 1.75; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol {
  color: var(--t2);
  font-size: 14px;
  line-height: 1.75;
  padding-left: 20px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prose li::marker { color: var(--c); }
.prose strong { color: var(--t1); font-weight: 600; }
.prose a { color: var(--c); }

/* Info / warning / highlight boxes */
.info-box {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.6;
}
.info-box.info  { background: rgba(6,182,212,.07);  border: 1px solid rgba(6,182,212,.18);  color: #7dd3e8; }
.info-box.warn  { background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.18); color: #fbbf24; }
.info-box.alert { background: rgba(244,63,94,.07);  border: 1px solid rgba(244,63,94,.18);  color: #fb7185; }
.info-box.ok    { background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.18); color: #34d399; }
.info-box svg { flex-shrink: 0; margin-top: 1px; }

/* ── FAQ ACCORDION ── */
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.faq-cat-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--b1);
  background: transparent;
  color: var(--t2);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--f);
}
.faq-cat-btn:hover, .faq-cat-btn.active {
  background: rgba(6,182,212,.1);
  border-color: rgba(6,182,212,.3);
  color: var(--c);
}
.faq-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.faq-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 4px;
  padding-left: 2px;
}
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--b1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--b2); }
.faq-item.open { border-color: rgba(6,182,212,.25); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-family: var(--f);
  font-size: 14px;
  font-weight: 600;
  color: var(--t1);
  transition: color .15s;
}
.faq-q:hover { color: var(--c); }
.faq-arrow {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .25s;
}
.faq-item.open .faq-arrow { background: rgba(6,182,212,.12); transform: rotate(180deg); stroke: var(--c); }
.faq-item.open .faq-arrow svg path, .faq-item.open .faq-arrow polyline { stroke: var(--c); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--t2);
  line-height: 1.75;
  border-top: 1px solid var(--b1);
  padding-top: 14px;
}
.faq-a-inner p { margin-bottom: 8px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner ul { color: var(--t2); font-size: 14px; padding-left: 18px; margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.faq-a-inner li::marker { color: var(--c); }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  background: var(--bg2);
  border: 1px solid var(--b1);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .2s;
}
.contact-card:hover { border-color: var(--b2); }
.contact-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-ico.c-tg  { background: rgba(34,158,217,.12); border: 1px solid rgba(34,158,217,.2);  color: #229ed9; }
.contact-card-ico.c-wa  { background: rgba(37,211,102,.12);  border: 1px solid rgba(37,211,102,.2);  color: #25d366; }
.contact-card-ico.c-em  { background: rgba(6,182,212,.12);   border: 1px solid rgba(6,182,212,.2);   color: var(--c); }
.contact-card-ico.c-clk { background: rgba(245,158,11,.12);  border: 1px solid rgba(245,158,11,.2);  color: var(--go); }
.contact-card-title { font-family: var(--fh); font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.contact-card-val  { font-size: 13px; color: var(--c); word-break: break-all; }
.contact-card-note { font-size: 12px; color: var(--t3); margin-top: 3px; }

.contact-form-card {
  background: var(--bg2);
  border: 1px solid var(--b1);
  border-radius: 16px;
  padding: 30px;
}
.contact-form-title {
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-group { margin-bottom: 14px; }
.cf-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 7px;
}
.cf-input, .cf-select, .cf-textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--b1);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--t1);
  font-family: var(--f);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  border-color: rgba(6,182,212,.4);
  box-shadow: 0 0 0 3px rgba(6,182,212,.08);
}
.cf-select { background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a6080' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.cf-select option { background: #0d1728; }
.cf-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.cf-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--c), var(--cd));
  color: #000;
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: filter .15s, transform .15s;
  margin-top: 4px;
}
.cf-submit:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cf-success {
  display: none;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 10px;
  padding: 14px 16px;
  color: #34d399;
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
}

/* ── FOOTER ── */
.lfoot {
  background: var(--bg2);
  border-top: 1px solid var(--b1);
  padding: 48px 32px 24px;
}
.lfoot-inner {
  max-width: var(--mx);
  margin: 0 auto;
}
.lfoot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.lfoot-brand p {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}
.lfoot-col h5 {
  font-family: var(--fh);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--t3);
  margin-bottom: 14px;
}
.lfoot-col a {
  display: block;
  font-size: 13px;
  color: var(--t2);
  padding: 4px 0;
  text-decoration: none;
  transition: color .15s;
}
.lfoot-col a:hover { color: var(--c); text-decoration: none; }
.lfoot-bot {
  border-top: 1px solid var(--b1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.lfoot-bot p { font-size: 12px; color: var(--t3); }
.lfoot-bdgs { display: flex; gap: 8px; flex-wrap: wrap; }
.lfoot-bdg {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--b1);
  color: var(--t3);
  letter-spacing: .04em;
}

/* Logo shared */
.llogo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.llogo img { height: 34px; width: auto; }
.llogo span { font-family: var(--fh); font-size: 17px; font-weight: 800; letter-spacing: .06em; color: var(--t1); }
.llogo span em { color: var(--c); font-style: normal; }

/* ── TRUSTPILOT BADGE ── */
.tp-badge {
  display: inline-flex; flex-direction: column; gap: 4px;
  margin-top: 10px; text-decoration: none;
  opacity: .85; transition: opacity .2s;
}
.tp-badge:hover { opacity: 1; text-decoration: none; }
.tp-top { display: flex; align-items: center; gap: 5px; }
.tp-bottom { display: flex; align-items: center; gap: 5px; }
.tp-stars { display: flex; gap: 1px; }
.tp-star-wrap { position: relative; width: 13px; height: 13px; flex-shrink: 0; }
.tp-star-bg, .tp-star-fg {
  width: 13px; height: 13px;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.tp-star-bg { background: rgba(255,255,255,.18); }
.tp-star-clip { position: absolute; top: 0; left: 0; height: 13px; overflow: hidden; }
.tp-star-fg { background: #00b67a; }
.tp-score { font-size: 10px; color: rgba(255,255,255,.4); }
.tp-wordmark { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: .01em; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .lnav { padding: 0 16px; }
  .lnav-links { display: none; }
  .page-hero { padding: 48px 20px 40px; }
  .page-wrap { padding: 32px 20px 60px; grid-template-columns: 1fr; }
  .toc { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .lfoot { padding: 40px 20px 24px; }
  .lfoot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .lfoot-grid { grid-template-columns: 1fr; }
  .lnav-btns .lnav-btn-ghost { display: none; }
  .page-hero h1 { font-size: 24px; }
}
