/* ── SHARED STYLES ── lxwis.site */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Syne:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg:           #060912;
  --bg2:          #0a0f1e;
  --surface:      rgba(255,255,255,0.04);
  --surface-hov:  rgba(255,255,255,0.08);
  --border:       rgba(255,255,255,0.08);
  --border-glow:  rgba(57,255,140,0.3);
  --green:        #39ff8c;
  --green-dim:    rgba(57,255,140,0.12);
  --cyan:         #00e5ff;
  --violet:       #9d6eff;
  --gold:         #f5c542;
  --rose:         #ff6b8a;
  --white:        #eef2f7;
  --muted:        #3d4a5c;
  --muted2:       #6b7a91;
  --text:         #c0cedf;
  --mono:         'Space Mono', monospace;
  --sans:         'Syne', sans-serif;
  --body:         'Outfit', sans-serif;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:            0.3s;
  --r:            14px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* CURSOR */
.cursor {
  position: fixed;
  width: 32px; height: 32px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease),
              opacity .3s;
  will-change: transform;
}
.cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  will-change: transform;
}
.cursor.big { width: 52px; height: 52px; background: var(--green-dim); }
@media (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
}

/* CANVAS BG */
#bg-canvas {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
}

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

/* NAV */
nav#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.2rem 2.5rem;
  transition: background .4s var(--ease), border-bottom .4s var(--ease), backdrop-filter .4s var(--ease);
}
nav#nav.scrolled {
  background: rgba(6,9,18,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 1rem;
  color: var(--green); letter-spacing: 0.05em;
  margin-right: auto;
}
.nav-logo img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--muted2); letter-spacing: 0.1em;
  position: relative; transition: color var(--t) var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 1px;
  background: var(--green);
  transition: width var(--t) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--green); border: 1px solid var(--border-glow);
  padding: 0.45rem 1rem; border-radius: 4px;
  transition: background var(--t), color var(--t);
}
.nav-cta:hover { background: var(--green); color: var(--bg); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: var(--t) var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(6,9,18,0.97); backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-link {
  font-family: var(--sans); font-size: 2.2rem; font-weight: 800;
  color: var(--white); transition: color var(--t);
}
.mobile-link:hover { color: var(--green); }

/* GLASS CARD */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  backdrop-filter: blur(12px);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t) var(--ease-spring);
}
.glass-card:hover {
  border-color: rgba(57,255,140,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(57,255,140,0.08);
  transform: translateY(-3px);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green); color: var(--bg);
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; padding: 0.85rem 1.75rem;
  border-radius: 4px;
  transition: transform var(--t) var(--ease-spring), box-shadow var(--t);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(57,255,140,0.3); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--muted2); font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.08em; padding: 0.85rem 1.75rem;
  border-radius: 4px; border: 1px solid var(--border);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.2); background: var(--surface); }
.btn-link {
  font-family: var(--mono); font-size: 0.8rem;
  color: var(--green); letter-spacing: 0.05em;
  transition: letter-spacing var(--t);
}
.btn-link:hover { letter-spacing: 0.12em; }

/* SECTION */
.section { position: relative; z-index: 2; padding: 7rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--muted2); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.label-num { color: var(--green); }
.section-title {
  font-family: var(--sans); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 1.5rem;
}
.accent { color: var(--green); }

/* INDICATORS */
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.live { background: var(--green); animation: pulse 2s ease-out infinite; }
.dot.small { width: 6px; height: 6px; }
.blink { animation: blink 1s step-end infinite; color: var(--green); }

/* REVEAL */
.reveal-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .4s; }
.delay-6 { transition-delay: .48s; }

/* FOOTER */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-logo { font-family: var(--mono); font-size: 1rem; color: var(--green); }
.footer-copy { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.footer-link { font-family: var(--mono); font-size: 0.72rem; color: var(--muted2); transition: color var(--t); }
.footer-link:hover { color: var(--green); }

/* KEYFRAMES */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(57,255,140,.5)} 70%{box-shadow:0 0 0 8px rgba(57,255,140,0)} 100%{box-shadow:0 0 0 0 rgba(57,255,140,0)} }
@keyframes scrollLine { 0%{top:-100%} 100%{top:100%} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes spin { to{transform:rotate(360deg)} }
@keyframes shimmer { 0%{background-position:-200% center} 100%{background-position:200% center} }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav#nav { padding: 1rem 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
