/* Outfit — latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Outfit — latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #00f060;
  --green-glow: rgba(0, 240, 96, 0.18);
  --bg: #0a0c0a;
  --bg-card: #131715;
  --bg-card-hover: #181f19;
  --border: rgba(0,240,96,0.12);
  --border-strong: rgba(0,240,96,0.3);
  --text: #e8f0e8;
  --text-muted: #7a9280;
  --text-dim: #6b8274;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('noise.png');
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
}

nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(10,12,10,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-wordmark {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.04em;
}

.nav-wordmark .g { color: var(--green); }

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: ui-monospace, Menlo, 'Cascadia Mono', Consolas, monospace;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green); color: #050a06;
  padding: 10px 22px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: #10ff72; transform: translateY(-1px); }

.nav-back {
  font-family: ui-monospace, Menlo, 'Cascadia Mono', Consolas, monospace; font-size: 0.75rem;
  color: var(--text-muted); text-decoration: none;
  letter-spacing: 0.06em; transition: color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.nav-back::before { content: '←'; }
.nav-back:hover { color: var(--green); }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  background: none; border: 1px solid var(--border);
  cursor: pointer; padding: 7px 9px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE MENU */
.nav-mobile-menu {
  display: none; position: fixed; top: 65px; left: 0; right: 0;
  background: #0d1410; border-bottom: 1px solid var(--border); z-index: 998;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu ul { list-style: none; margin: 0; padding: 8px 0; }
.nav-mobile-menu li { border-bottom: 1px solid var(--border); }
.nav-mobile-menu li:last-child { border-bottom: none; }
.nav-mobile-menu a {
  display: block; padding: 16px 24px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem;
  color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile-menu a:hover { color: var(--green); padding-left: 32px; }

/* DROPDOWNS */
.has-dropdown { position: relative; }
.has-dropdown > a { display: flex; align-items: center; gap: 4px; }
.has-dropdown > a::after { content: '▾'; font-size: 0.55rem; opacity: 0.5; }
.dropdown {
  display: none; position: absolute; top: 100%; padding-top: 12px; left: -12px;
  background: rgba(10,12,10,0.97); border: 1px solid var(--border);
  list-style: none; min-width: 210px; padding: 12px 0;
  backdrop-filter: blur(20px); z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 9px 18px;
  color: var(--text-muted); font-size: 0.78rem;
  font-family: ui-monospace, Menlo, 'Cascadia Mono', Consolas, monospace;
  letter-spacing: 0.05em; text-decoration: none; transition: all 0.15s;
}
.dropdown li a:hover { color: var(--green); padding-left: 24px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* ─── SHARED LAYOUT ─────────────────────────────────────────────────────── */

.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; }

section { position: relative; z-index: 1; }

.section-label {
  font-family: ui-monospace, Menlo, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.68rem; color: var(--green);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--green); }

h2 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15; letter-spacing: -0.01em;
}

/* ─── SHARED BUTTONS ────────────────────────────────────────────────────── */

.btn-primary {
  background: var(--green); color: #050a06;
  padding: 16px 36px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: none; cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-primary:hover { background: #10ff72; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,240,96,0.3); }

.btn-outline {
  background: transparent; color: var(--text-muted);
  padding: 15px 36px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--border-strong);
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ─── SCROLL ANIMATIONS ─────────────────────────────────────────────────── */

.js-loaded .fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-loaded .fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ─── FOOTER ────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-wordmark {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: 1rem; color: var(--text); display: block;
}
.footer-wordmark .g { color: var(--green); }

.footer-meta {
  font-size: 0.72rem; color: var(--text-dim);
  font-family: ui-monospace, Menlo, 'Cascadia Mono', Consolas, monospace;
  display: block; margin-top: 2px;
}

.footer-links { display: flex; gap: 32px; list-style: none; }

.footer-links a {
  font-size: 0.75rem; color: var(--text-dim); text-decoration: none;
  font-family: ui-monospace, Menlo, 'Cascadia Mono', Consolas, monospace;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

/* ─── SHARED PAGE HERO (used on all sub-pages) ──────────────────────────── */

.page-hero {
  padding: 140px 60px 80px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,240,96,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,96,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-eyebrow {
  font-family: ui-monospace, Menlo, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.7rem; color: var(--green);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.page-hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--green); }
.page-hero h1 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.page-hero h1 span { color: var(--green); }
.page-hero p {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 600px; line-height: 1.8; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── CTA SECTION (shared) ──────────────────────────────────────────────── */

.cta-section {
  padding: 120px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,240,96,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .section-label { justify-content: center; }
.cta-section .section-label::before { display: none; }
.cta-section h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 20px; position: relative; z-index: 1; }
.cta-section h2 span { color: var(--green); }
.cta-section > .container > p { color: var(--text-muted); font-size: 1rem; margin-bottom: 48px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

.contact-info {
  margin-top: 48px; display: flex; gap: 48px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index: 1;
}
.contact-item { text-align: center; }
.ci-label {
  font-family: ui-monospace, Menlo, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.65rem; color: var(--text-dim);
  letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 4px;
}
.ci-value { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--text-muted); }

/* ─── BODY INLINE LINK ──────────────────────────────────────────────────── */

.body-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: ui-monospace, Menlo, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.68rem; color: var(--green); letter-spacing: 0.08em;
  text-decoration: none; margin-top: 14px; opacity: 0.8;
  transition: opacity 0.15s, gap 0.15s;
}
.body-link:hover { opacity: 1; gap: 9px; }

/* ─── SHARED RESPONSIVE ─────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  footer { flex-direction: column; align-items: flex-start; padding: 32px 20px; gap: 24px; }
  .footer-links { gap: 20px; flex-wrap: wrap; }
  .cta-section { padding: 60px 0; }
  .contact-info { flex-direction: column; gap: 20px; }
  .page-hero { padding: 120px 20px 60px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .cta-section h2 { font-size: clamp(2rem, 7vw, 3rem); }
  .btn-primary, .btn-outline { padding: 13px 24px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  footer { padding: 28px 16px; }
  .footer-links { gap: 16px; }
  .page-hero { padding: 110px 16px 48px; }
}
