/* ============================================================
   XEN AI — Shared Design Tokens
   XEN TESUTO GROUPS | Engineering the Unknown. Validating the Future.
   ============================================================ */

:root {
  --black: #050505;
  --black-2: #0d0d0d;
  --panel: #111111;
  --orange: #ff6b00;
  --orange-2: #ff8c1a;
  --orange-3: #ff9f43;
  --white: #ffffff;
  --grey: #cfcfcf;
  --grey-dim: #7a7a7a;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.08);
  --grad-orange: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 55%, var(--orange-3) 100%);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-fast: .25s;
  --dur-med: .6s;
}

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

html, body { height: 100%; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--orange); color: #140900; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
  white-space: nowrap;
}
.btn-primary { background: var(--grad-orange); color: #140900; box-shadow: 0 10px 28px -10px rgba(255,107,0,0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(255,107,0,0.85); }
.btn-ghost { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline { border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn svg { width: 16px; height: 16px; }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
}

.noise-layer {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; }
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--grey-dim);
  font-weight: 400;
  margin-top: 2px;
}

[data-reveal] { opacity: 0; transform: translateY(30px); }
[data-reveal].is-visible { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
