/* ── PRIMONIX SYSTEMS — Global Styles ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --green:      #00EB6C;
  --green-mid:  #00C459;
  --green-dim:  #00803A;
  --green-glow: rgba(0, 235, 108, 0.15);
  --bg:         #080C11;
  --bg-card:    #0E1420;
  --bg-border:  #1A2235;
  --text:       #E8EDF5;
  --text-muted: #7A8BA0;
  --white:      #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── GRID BACKGROUND ───────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,235,108,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,235,108,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ───────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(8, 12, 17, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-border);
}

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

.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--bg);
}

.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.02em;
}

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

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

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

.nav-cta {
  background: var(--green);
  color: var(--bg) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--green-mid) !important;
  transform: translateY(-1px);
  color: var(--bg) !important;
}

/* ── MAIN WRAPPER ──────────────────────────────────────────────────────────── */
main { padding-top: 72px; position: relative; z-index: 1; }

/* ── SECTIONS ──────────────────────────────────────────────────────────────── */
section { padding: 96px 5%; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

h1, h2, h3, h4 { font-family: 'Syne', sans-serif; }

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--text-muted); max-width: 640px; }

/* ── CARDS ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--green-dim);
  transform: translateY(-4px);
}

/* ── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(0,235,108,0.3);
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0,235,108,0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--green-dim);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  border-color: var(--green);
  background: var(--green-glow);
  transform: translateY(-2px);
}

/* ── GREEN ACCENT LINE ─────────────────────────────────────────────────────── */
.accent-line {
  width: 48px; height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ── GLOW ──────────────────────────────────────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--bg-border);
  padding: 48px 5%;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
}

/* ── UTILITY ───────────────────────────────────────────────────────────────── */
.text-green { color: var(--green); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }

/* ── ANIMATIONS ────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-2 { animation: fadeUp 0.7s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.7s 0.45s ease both; }

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  section { padding: 64px 5%; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ── PAGE HERO ─────────────────────────────────────────────────────────────── */
.page-hero {
  padding: 80px 5% 64px;
  position: relative;
  border-bottom: 1px solid var(--bg-border);
}
