/* ============================================================
   WESTON RAZE — Global Stylesheet
   Edit colors here: change --accent to update green everywhere
   ============================================================ */

:root {
  --bg:           #070a07;
  --bg2:          #0b0f0b;
  --bg3:          #101510;
  --border:       #1a2a1a;
  --accent:       #3ddc68;   /* ← Brand green — change this to rebrand */
  --accent-dim:   rgba(61,220,104,0.12);
  --accent2:      #ff4444;
  --text:         #bdd4bd;
  --text-dim:     #4d7050;
  --text-bright:  #e8f5e8;
  --font-display: 'Syne', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  --font-code:    'Space Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Noise texture overlay */
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='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)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2.5rem;
  background: rgba(7,10,7,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-yt {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-yt::after { display: none !important; }

.nav-yt:hover {
  background: var(--accent-dim) !important;
  box-shadow: 0 0 18px rgba(61,220,104,0.2);
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* ── PAGE WRAPPER ── */
.page-wrap { padding-top: 68px; min-height: 100vh; }

/* ── SECTION ── */
.section { padding: 5.5rem 3rem; }
.section-sm { padding: 3rem 3rem; }

.section-label {
  font-family: var(--font-code);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.85;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 0.9rem 2.1rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(61,220,104,0.3);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.9rem 2.1rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

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

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.footer-logo img { height: 26px; width: 26px; object-fit: contain; }

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-bright);
}

.footer-logo-text span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-code);
  font-size: 0.6rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-family: var(--font-code);
  font-size: 0.58rem;
  color: var(--text-dim);
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* ── TRUST STRIP ── */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 2.5rem;
}

.trust-label {
  font-family: var(--font-code);
  font-size: 0.56rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-scroll {
  display: flex;
  gap: 3rem;
  animation: scrollLeft 25s linear infinite;
  flex-shrink: 0;
}

.trust-item {
  font-family: var(--font-code);
  font-size: 0.66rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.trust-item::before { content: "▸ "; color: var(--accent); }

/* ── TERMINAL LINE ── */
.terminal-line {
  font-family: var(--font-code);
  font-size: 0.62rem;
  color: var(--text-dim);
}

.t-prefix { color: var(--accent); }

.cursor {
  display: inline-block;
  width: 7px; height: 11px;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
  margin-left: 1px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── MOBILE ── */
@media (max-width: 860px) {
  nav { padding: 0.9rem 1.5rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(7,10,7,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
  }

  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  .section { padding: 4rem 1.5rem; }
  .section-sm { padding: 2rem 1.5rem; }
  footer { padding: 2rem 1.5rem; }
  .trust-strip { padding: 1rem 1.5rem; }
}
