/* ═══════════════════════════════════════════════════════
   CALIBRASYNC.COM — SHARED DESIGN SYSTEM
   Version 4.8 · © 2026 CGPData Group Inc.
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── TOKENS ── */
:root {
  --void:      #050608;
  --void-2:    #08090d;
  --void-3:    #0c0d14;
  --surface-1: #111219;
  --surface-2: #171820;
  --surface-3: #1e2028;
  --green:     #10b981;
  --green-dim: #059669;
  --green-bg:  rgba(16,185,129,0.07);
  --green-bd:  rgba(16,185,129,0.18);
  --amber:     #f59e0b;
  --amber-bg:  rgba(245,158,11,0.07);
  --red:       #ef4444;
  --red-bg:    rgba(239,68,68,0.07);
  --blue:      #3b82f6;
  --blue-bg:   rgba(59,130,246,0.07);
  --white:     #ffffff;
  --text-1:    #f1f2f4;
  --text-2:    #9ca3b0;
  --text-3:    #565d6e;
  --border:    rgba(255,255,255,0.06);
  --border-2:  rgba(255,255,255,0.1);
  --r-sm:      6px;
  --r-md:      10px;
  --r-lg:      16px;
  --r-xl:      22px;
  --mono:      'JetBrains Mono', monospace;
  --sans:      'Inter', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--void);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--sans); cursor: pointer; border: none; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.container-wide { max-width: 1380px; margin: 0 auto; padding: 0 48px; }
section { padding: 96px 0; }

/* ── NAV ── */
.cs-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(5,6,8,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--green);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg { width: 16px; height: 16px; }

.nav-logo-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.4px;
  text-transform: uppercase;
  font-style: italic;
}

.nav-logo-text .dot { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 12px;
  border-right: 1px solid var(--border);
  margin-right: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity:1; } 50% { opacity:0.4; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r-sm);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
  border: none;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-green {
  background: var(--green);
  color: #000;
}
.btn-green:hover { background: #0ea574; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--border-2); }

.btn-lg { font-size: 14px; padding: 13px 26px; border-radius: var(--r-md); }
.btn-xl { font-size: 15px; padding: 15px 32px; border-radius: var(--r-md); font-weight: 700; }

.btn-arrow-icon { transition: transform 0.18s; display: inline-block; }
.btn:hover .btn-arrow-icon { transform: translateX(3px); }

/* ── LABEL / EYEBROW ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.label::before {
  content: '';
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--green);
  border-radius: 1px;
}

.label-muted {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── MONO / CODE ── */
.mono {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}

.code-block {
  background: var(--void-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.8;
  overflow-x: auto;
}

.code-block .c-green  { color: var(--green); }
.code-block .c-white  { color: var(--text-1); }
.code-block .c-amber  { color: var(--amber); }
.code-block .c-blue   { color: #7dd3fc; }
.code-block .c-dim    { color: var(--text-3); }

/* ── CARDS ── */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--border-2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ── TAGS ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.tag-green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-bd); }
.tag-amber { background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(245,158,11,0.2); }
.tag-red   { background: var(--red-bg);   color: var(--red);   border: 1px solid rgba(239,68,68,0.2); }
.tag-blue  { background: var(--blue-bg);  color: var(--blue);  border: 1px solid rgba(59,130,246,0.2); }
.tag-dim   { background: rgba(255,255,255,0.04); color: var(--text-3); border: 1px solid var(--border); }

/* ── SECTION DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── FOOTER ── */
.cs-footer {
  background: var(--void-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand-icon svg { width: 14px; height: 14px; }

.footer-brand-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
  text-transform: uppercase;
  font-style: italic;
}

.footer-brand-name .dot { color: var(--green); }

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-3);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-address {
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-3);
  font-weight: 300;
  font-style: normal;
  margin-bottom: 20px;
}

.footer-contact-line {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer-contact-line a { color: var(--green); transition: opacity 0.15s; }
.footer-contact-line a:hover { opacity: 0.8; }

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--text-1); }

.footer-compliance {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.comp-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: 0.55;
}

.comp-badge-icon {
  width: 18px;
  height: 18px;
  border: 1px solid var(--text-3);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  opacity: 0.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 300;
  opacity: 0.55;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 11px;
  color: var(--text-3);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.15s;
}

.footer-legal-links a:hover { opacity: 0.85; }

.footer-disclaimer {
  font-size: 11px;
  color: var(--text-3);
  opacity: 0.35;
  line-height: 1.7;
  max-width: 780px;
  margin-top: 20px;
  font-weight: 300;
}

/* ── LIVE COUNTER ── */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}

.live-counter .num { color: var(--green); font-weight: 700; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
@keyframes blink-cursor {
  0%,100% { opacity:1; } 50% { opacity:0; }
}
@keyframes tick {
  0% { opacity:0; transform:translateY(4px); }
  10% { opacity:1; transform:translateY(0); }
  90% { opacity:1; transform:translateY(0); }
  100% { opacity:0; transform:translateY(-4px); }
}

.fade-up { animation: fadeUp 0.6s ease both; }
.d1 { animation-delay: 0.06s; }
.d2 { animation-delay: 0.14s; }
.d3 { animation-delay: 0.22s; }
.d4 { animation-delay: 0.32s; }
.d5 { animation-delay: 0.42s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .container, .container-wide { padding: 0 28px; }
  section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-status { display: none; }
  .container, .container-wide { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
