/* ── TENBITLABS GLOBAL STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@300;400;500&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg:      #090c10;
  --bg2:     #0f1318;
  --bg3:     #161b22;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --ink:     #e8ecf0;
  --ink2:    #8a9ab0;
  --ink3:    #4a5568;
  --accent:  #00c9a0;
  --accent2: #007a63;
  --red:     #e05252;
  --amber:   #f0a44a;
  --mono:    'IBM Plex Mono', monospace;
  --display: 'Syne', sans-serif;
  --body:    'IBM Plex Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025; pointer-events: none; z-index: 1000;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none; z-index: 0; opacity: 0.4;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid var(--border); background: rgba(9,12,16,0.85); backdrop-filter: blur(12px); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.nav-wordmark { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.nav-wordmark span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-family: var(--mono); font-size: 12px; color: var(--ink2); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { font-family: var(--mono); font-size: 12px; padding: 7px 16px; border: 1px solid var(--accent2); color: var(--accent) !important; border-radius: 4px; transition: background 0.2s !important; }
.nav-cta:hover { background: rgba(0,201,160,0.08) !important; }

/* SECTION COMMONS */
section { padding: 100px 0; position: relative; z-index: 1; }
.section-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--accent); }
.section-title { font-family: var(--display); font-size: clamp(28px,4vw,44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 1rem; }
.section-sub { font-size: 17px; font-weight: 300; color: var(--ink2); max-width: 520px; line-height: 1.65; margin-bottom: 3rem; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 2.5rem 0; position: relative; z-index: 1; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-copy { font-family: var(--mono); font-size: 11px; color: var(--ink3); letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-family: var(--mono); font-size: 11px; color: var(--ink3); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; }
.footer-links a:hover { color: var(--ink2); }

/* BUTTONS */
.btn-primary { font-family: var(--mono); font-size: 13px; font-weight: 500; padding: 13px 28px; background: var(--accent); color: #000; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; letter-spacing: 0.02em; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: #00e0b3; transform: translateY(-1px); }
.btn-ghost { font-family: var(--mono); font-size: 12px; color: var(--ink2); text-decoration: none; letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.btn-ghost:hover { color: var(--ink); }
.btn-ghost::after { content: '→'; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 3px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}
