/* ── UNIFIED MOTION SYSTEMS — SHARED STYLESHEET ── */

:root {
  --bg:      #070b0e;
  --bg2:     #0c1115;
  --bg3:     #111820;
  --accent:  #e8601c;
  --accent2: #00c8d7;
  --text:    #dde3e8;
  --muted:   #637480;
  --border:  #182028;
  --border2: #243040;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 64px;
  background: rgba(7,11,14,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px; letter-spacing: 0.12em;
  color: var(--text); text-decoration: none; white-space: nowrap;
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-img {
  height: 32px; width: 32px;
  display: block; flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--text); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

/* HAMBURGER */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--text); margin: 5px 0; transition: 0.3s;
}
.nav-mobile {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; z-index: 199;
  background: rgba(7,11,14,0.98);
  border-bottom: 1px solid var(--border);
  padding: 24px 56px 32px;
  flex-direction: column; gap: 0;
}
.nav-mobile a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--accent); }
.nav-mobile.open { display: flex; }

/* FOOTER */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 56px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.foot-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 0.12em; color: var(--muted);
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.foot-logo-img {
  height: 26px; width: 26px;
  display: block; flex-shrink: 0;
  opacity: 0.85;
}
.foot-logo span { color: var(--accent); }
.foot-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; color: var(--muted); letter-spacing: 0.05em;
}
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.foot-links a:hover { color: var(--accent); }

/* COMMON COMPONENTS */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent2);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--accent2); flex-shrink: 0; }
.eyebrow.orange { color: var(--accent); }
.eyebrow.orange::before { background: var(--accent); }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5.5vw, 76px);
  letter-spacing: 0.03em; line-height: 1;
  margin-bottom: 52px;
}

section { position: relative; z-index: 1; padding: 100px 56px; }
section.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 10px; margin-bottom: 14px;
}
.badge-live { color: var(--accent2); border: 1px solid var(--accent2); background: rgba(0,200,215,0.07); }
.badge-soon { color: var(--accent);  border: 1px solid var(--accent);  background: rgba(232,96,28,0.07); }
.badge-dev  { color: var(--muted);   border: 1px solid var(--border2); background: transparent; }

.tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border2); padding: 4px 10px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: var(--accent); color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: #f4701f; transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: transparent; color: var(--text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--border2);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent2); color: var(--accent2); }

/* PAGE HEADER (interior pages) */
.page-header {
  position: relative; z-index: 1;
  padding: 120px 56px 72px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  overflow: hidden;
}
.page-header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 9vw, 120px);
  letter-spacing: 0.025em; line-height: 0.92;
  margin-bottom: 20px;
}
.page-header h1 em { color: var(--accent); font-style: normal; }
.page-header .sub {
  font-size: 17px; font-weight: 300; color: var(--muted);
  max-width: 540px; line-height: 1.8; margin-top: 20px;
}
.page-header .ph-watermark {
  position: absolute; right: -24px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(100px, 16vw, 200px);
  color: rgba(255,255,255,0.02);
  letter-spacing: 0.06em;
  pointer-events: none; user-select: none; white-space: nowrap;
}
.page-header .ph-line {
  position: absolute; left: 0; bottom: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 45%, transparent 100%);
  opacity: 0.45;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade1 { animation: fadeUp 0.7s 0.00s ease both; }
.fade2 { animation: fadeUp 0.7s 0.10s ease both; }
.fade3 { animation: fadeUp 0.7s 0.20s ease both; }
.fade4 { animation: fadeUp 0.7s 0.30s ease both; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  section, .page-header { padding-left: 24px; padding-right: 24px; }
  footer { padding: 24px; flex-direction: column; align-items: flex-start; }
  .nav-mobile { padding-left: 24px; padding-right: 24px; }
}
