/* ════════════════════════════════════════════════════
   FibWatch.lol — Shared Stylesheet
   Last updated: July 2026
════════════════════════════════════════════════════ */

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

/* ── TOKENS ── */
:root {
  --gold-1:        #F9ED4E;
  --gold-2:        #F6B042;
  --gold-grad:     linear-gradient(135deg, #F9ED4E 0%, #F6B042 100%);
  --gold-text:     #7a5500;
  --bg:            #0e0e10;
  --bg2:           #16161a;
  --bg3:           #1e1e24;
  --bg4:           #252530;
  --text:          #eeedf3;
  --text-2:        #9998a6;
  --text-3:        #5e5d6c;
  --border:        rgba(255,255,255,.07);
  --border2:       rgba(255,255,255,.12);
  --green:         #22c55e;
  --amber:         #f59e0b;
  --red:           #ef4444;
  --r:             8px;
  --r2:            14px;
  --sans:          'Inter', system-ui, sans-serif;
  --display:       'Syne', system-ui, sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { display: block; max-width: 100%; }
code {
  background: rgba(255,255,255,.07);
  padding: 2px 7px; border-radius: 5px;
  font-family: 'SF Mono','Fira Code',monospace;
  font-size: .9em; color: #93c5fd;
}

/* ── LAYOUT ── */
.wrap       { width: 100%; max-width: 960px;  margin: 0 auto; padding: 0 20px; }
.wrap--wide { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ── ANIMATIONS ── */
@keyframes blink {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.4;transform:scale(1.4)}
}
@keyframes fadein {
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

/* ══════════════════════════
   NAV
══════════════════════════ */
#nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(14,14,16,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 56px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 19px; font-weight: 800; letter-spacing: -.3px;
  flex-shrink: 0;
}
.logo img { width: 100px; object-fit: contain; border-radius: 6px; }
.logo-accent {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; align-items: center; gap: 20px;
}
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-2);
  transition: color .18s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  padding: 7px 16px;
  background: var(--gold-grad);
  color: var(--gold-text);
  border-radius: var(--r);
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }
.nav-cta-mobile { display: none; }
.nav-ham {
  display: none; flex-direction: column; gap: 4px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-ham span { display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; }

/* ══════════════════════════
   BREADCRUMB
══════════════════════════ */
.breadcrumb {
  padding: 12px 0;
  font-size: 12px; color: var(--text-3);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-3); transition: color .18s; }
.breadcrumb a:hover { color: var(--text-2); }
.breadcrumb span { margin: 0 6px; }

/* ══════════════════════════
   PAGE HERO (inner pages)
══════════════════════════ */
.page-hero {
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--border);
}
.page-hero .live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; color: var(--green);
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.2);
  padding: 4px 11px; border-radius: 40px;
  margin-bottom: 16px;
}
.page-hero .live-badge .dot {
  width: 6px; height: 6px; background: var(--green);
  border-radius: 50%; animation: blink 2s infinite;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}
.page-hero h1 mark {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero .intro {
  font-size: 16px; color: var(--text-2);
  max-width: 640px; line-height: 1.7;
  margin-bottom: 0;
}
.page-hero .intro strong { color: var(--text); }

/* ══════════════════════════
   SECTION COMMON
══════════════════════════ */
.sec { padding: 48px 0; }
.sec + .sec { border-top: 1px solid var(--border); }
.sec--alt { background: var(--bg2); }
.sec-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 8px;
}
.sec-h2 {
  font-family: var(--display);
  font-size: clamp(19px, 2.8vw, 26px);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 8px;
}
.sec-sub {
  font-size: 14px; color: var(--text-2);
  max-width: 600px; line-height: 1.65;
  margin-bottom: 28px;
}

/* ══════════════════════════
   BUTTONS
══════════════════════════ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700;
  padding: 11px 22px;
  background: var(--gold-grad); color: var(--gold-text);
  border-radius: var(--r);
  transition: opacity .2s, transform .15s, box-shadow .2s;
}
.btn-gold:hover {
  opacity: .92; transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(246,176,66,.3);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 500;
  padding: 11px 22px;
  border: 1px solid var(--border2); border-radius: var(--r);
  color: var(--text-2);
  transition: border-color .2s, color .2s, background .2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.25);
  color: var(--text); background: rgba(255,255,255,.04);
}

/* ══════════════════════════
   DOMAIN TABLE
══════════════════════════ */
.dt-wrap { overflow-x: auto; border-radius: var(--r2); border: 1px solid var(--border); }
table.dt { width: 100%; border-collapse: collapse; font-size: 14px; }
.dt thead { background: var(--bg3); }
.dt th {
  padding: 11px 16px; text-align: left;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--text-3); white-space: nowrap;
}
.dt td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}
.dt tbody tr { transition: background .13s; }
.dt tbody tr:hover { background: rgba(255,255,255,.025); }
.dt-domain { font-weight: 600; color: var(--text); display: block; }
.dt-note   { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.dt-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; padding: 6px 14px;
  background: var(--gold-grad); color: var(--gold-text);
  border-radius: var(--r);
  transition: opacity .2s, transform .15s; white-space: nowrap;
}
.dt-btn:hover { opacity: .88; transform: translateY(-1px); }
.updated {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text-3); margin-top: 14px;
}
.updated .d { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: blink 2.5s infinite; }

/* ══════════════════════════
   PILLS & BADGES
══════════════════════════ */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 20px;
}
.pill .d { width: 5px; height: 5px; border-radius: 50%; }
.pill-green { background: rgba(34,197,94,.1);   color: var(--green); border: 1px solid rgba(34,197,94,.18); }
.pill-green .d { background: var(--green); animation: blink 2s infinite; }
.pill-amber { background: rgba(245,158,11,.1);  color: var(--amber); border: 1px solid rgba(245,158,11,.18); }
.pill-amber .d { background: var(--amber); }
.pill-red   { background: rgba(239,68,68,.1);   color: var(--red);   border: 1px solid rgba(239,68,68,.18); }
.pill-red .d { background: var(--red); }
.badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 5px; text-transform: uppercase; letter-spacing: .06em; }
.badge-off  { background: rgba(249,237,78,.12); color: #F9ED4E; border: 1px solid rgba(249,237,78,.25); }
.badge-mir  { background: rgba(139,92,246,.12); color: #a78bfa;  border: 1px solid rgba(139,92,246,.25); }
.badge-prox { background: rgba(20,184,166,.1);  color: #5eead4;  border: 1px solid rgba(20,184,166,.2); }

/* ══════════════════════════
   STEPS
══════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.step {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 22px 22px 22px 20px;
  display: flex; gap: 14px;
}
.step-n {
  font-family: var(--display); font-size: 28px; font-weight: 800;
  line-height: 1; opacity: .5; flex-shrink: 0; width: 36px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step h3  { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.step p   { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ══════════════════════════
   CARDS
══════════════════════════ */
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 22px 20px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(249,237,78,.25); transform: translateY(-2px); }
.card-ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(249,237,78,.1); border: 1px solid rgba(249,237,78,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; margin-bottom: 14px;
}
.card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.card p  { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ══════════════════════════
   TIP / CALLOUT BOX
══════════════════════════ */
.tip {
  display: flex; gap: 12px;
  background: rgba(246,176,66,.07);
  border: 1px solid rgba(246,176,66,.2);
  border-radius: var(--r2); padding: 16px 20px; margin-top: 16px;
}
.tip-icon { font-size: 18px; flex-shrink: 0; line-height: 1.4; }
.tip p    { font-size: 13px; color: #c9972a; line-height: 1.6; }
.tip strong { color: #e8b84b; }
.warning-box {
  display: flex; gap: 12px;
  background: rgba(239,68,68,.07);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: var(--r2); padding: 16px 20px; margin-top: 16px;
}
.warning-box p { font-size: 13px; color: #f87171; line-height: 1.6; }
.warning-box strong { color: #fca5a5; }

/* ══════════════════════════
   DNS TABLE
══════════════════════════ */
.dns-wrap { overflow-x: auto; border-radius: var(--r2); border: 1px solid var(--border); margin-top: 20px; }
table.dns { width: 100%; border-collapse: collapse; font-size: 13px; }
.dns thead { background: var(--bg3); }
.dns th { padding: 10px 14px; text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--text-3); }
.dns td { padding: 11px 14px; border-top: 1px solid var(--border); color: var(--text); }

/* ══════════════════════════
   FAQ ACCORDION
══════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; font-size: 14px; font-weight: 600; color: var(--text);
  background: none; border: none; cursor: pointer; text-align: left; transition: background .13s;
}
.faq-q:hover { background: rgba(255,255,255,.025); }
.faq-icon {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--text-3);
  transition: transform .25s, background .2s, border-color .2s, color .2s;
}
.faq-item.open .faq-icon { transform: rotate(180deg); background: rgba(249,237,78,.12); border-color: rgba(249,237,78,.3); color: #F6B042; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-item.open .faq-body { max-height: 320px; }
.faq-body-inner { padding: 4px 20px 18px; font-size: 13px; color: var(--text-2); line-height: 1.7; border-top: 1px solid var(--border); }

/* ══════════════════════════
   RELATED LINKS
══════════════════════════ */
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 28px; }
.related-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s;
}
.related-card:hover { border-color: rgba(249,237,78,.3); }
.related-tag  { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.related-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.35; }
.related-card:hover .related-title {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════
   CTA BOX
══════════════════════════ */
.cta-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 18px; padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-box h2 { font-family: var(--display); font-size: clamp(19px,2.8vw,26px); font-weight: 800; margin-bottom: 6px; }
.cta-box p  { font-size: 14px; color: var(--text-2); }
.cta-btns   { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }

/* ══════════════════════════
   STATS ROW
══════════════════════════ */
.stats-row { display: flex; flex-wrap: wrap; gap: 0; }
.stat-item { flex: 1; min-width: 110px; padding: 0 20px 0 0; }
.stat-item + .stat-item { padding-left: 20px; border-left: 1px solid var(--border); }
.stat-n {
  font-family: var(--display); font-size: 22px; font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-l { font-size: 12px; color: var(--text-3); margin-top: 1px; }

/* ══════════════════════════
   CONTENT BODY (prose)
══════════════════════════ */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--display); font-size: 22px; font-weight: 800; margin: 32px 0 10px; }
.prose h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.prose p  { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 14px; }
.prose p strong { color: var(--text); }
.prose ul { padding-left: 0; margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.prose ul li { font-size: 14px; color: var(--text-2); padding-left: 18px; position: relative; line-height: 1.6; }
.prose ul li::before { content: '→'; position: absolute; left: 0; color: #F6B042; font-size: 12px; top: 2px; }
.prose ol { padding-left: 0; margin-bottom: 14px; counter-reset: li; display: flex; flex-direction: column; gap: 6px; }
.prose ol li { font-size: 14px; color: var(--text-2); padding-left: 24px; position: relative; line-height: 1.6; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0; font-weight: 700; font-size: 12px; color: #F6B042; line-height: 1.65; }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr;
  gap: 40px; padding-bottom: 32px;
  border-bottom: 1px solid var(--border); margin-bottom: 22px;
}
.footer-logo { font-family: var(--display); font-size: 18px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-logo img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; }
.footer-desc { font-size: 12px; color: var(--text-3); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a  { font-size: 13px; color: var(--text-2); transition: color .18s; }
.footer-col a:hover { color: var(--text); }
.footer-bot { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 11px; color: var(--text-3); }
.footer-disc { font-size: 10px; color: var(--text-3); max-width: 560px; line-height: 1.5; }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 860px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .steps        { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .cta-box      { flex-direction: column; text-align: center; }
  .cta-btns     { align-items: center; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .stats-row    { gap: 16px; }
  .stat-item + .stat-item { padding-left: 16px; }
  .dt th:nth-child(4), .dt td:nth-child(4) { display: none; }
}
@media (max-width: 600px) {
  .nav-links  { display: none; }
  .nav-ham    { display: flex; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile  { display: block; margin-top: 4px; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bot    { flex-direction: column; }
  .cta-box       { padding: 28px 22px; }
  .related-grid  { grid-template-columns: 1fr; }
  .dt th:nth-child(3), .dt td:nth-child(3) { display: none; }
  .page-hero h1  { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
