@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&family=Outfit:wght@200;300;400;500&family=Space+Mono:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* ════════════════════════════════════════════════════════════
   SYNTROPY TECHNOLOGIES — DESIGN SYSTEM v3.0
   Theme: VOID LATTICE — Obsidian × Electric Amber × Void Blue
   Typography: Space Grotesk + Space Mono + Syne
════════════════════════════════════════════════════════════ */

:root {
  /* ── CORE PALETTE — Pure Deep Dark ── */
  --void:       #0A0A0A;   /* deep obsidian midnight */
  --void2:      #111111;   /* card/panel base — pure dark */
  --void3:      #1A1A1A;   /* elevated surfaces — dark gray */

  /* ── BRAND ACCENTS ── */
  --amber:      #F59E0B;   /* primary — electric amber */
  --amber2:     #FCD34D;   /* bright amber shimmer */
  --amber-glow: rgba(245, 158, 11, 0.18);
  --plasma:     #8B5CF6;   /* vivid violet */
  --plasma2:    #C4B5FD;   /* soft violet shimmer */
  --ice:        #06B6D4;   /* ice cyan */
  --ice2:       #67E8F9;   /* light ice */
  --ember:      #F97316;   /* warm ember orange */
  --flux:       #10B981;   /* flux emerald */
  --rose:       #F43F5E;   /* vivid rose accent */

  /* ── TEXT ── */
  --text-0:     #FAFAF9;   /* headings — warm white */
  --text-1:     #D6D3D1;   /* body — warm light */
  --text-2:     #A8A29E;   /* secondary — stone */
  --text-3:     #78716C;   /* muted — dark stone */

  /* ── UI CHROME ── */
  --border:      rgba(245, 158, 11, 0.28);
  --border-lt:   rgba(245, 158, 11, 0.10);
  --border-ice:  rgba(6, 182, 212, 0.22);
  --glow-amber:  0 0 48px rgba(245, 158, 11, 0.35);
  --glow-plasma: 0 0 48px rgba(139, 92, 246, 0.35);
  --glow-ice:    0 0 48px rgba(6, 182, 212, 0.35);

  /* ── SHADOWS ── */
  --shadow-sm:  0 2px 20px rgba(0,0,0,0.55);
  --shadow-md:  0 8px 40px rgba(0,0,0,0.65);
  --shadow-lg:  0 20px 80px rgba(0,0,0,0.75);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 75% 55% at 10% 5%,  rgba(245, 158, 11, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 90% 10%, rgba(249, 115, 22, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 75% 90%, rgba(16, 185, 129, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 20% 85%, rgba(245, 158, 11,  0.10) 0%, transparent 55%),
    linear-gradient(140deg, #050505 0%, #101010 45%, #080808 80%, #000000 100%);
  background-attachment: fixed;
  color: var(--text-1);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY HIERARCHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Jura', sans-serif;
  font-weight: 600;
  color: var(--text-0);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.mono, code, .label-mono {
  font-family: 'Space Mono', monospace;
  font-size: 0.85em;
}

/* ── FONT VARIABLES ── */
:root {
  --font-display: 'Jura', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'Space Mono', monospace;
}


/* ── GRADIENT TEXT ── */
.grad-amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber2) 50%, var(--ember) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-void {
  background: linear-gradient(135deg, var(--ice) 0%, var(--plasma2) 50%, var(--amber) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-ice {
  background: linear-gradient(135deg, var(--ice) 0%, var(--ice2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── EYEBROW LABEL ── */
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber));
}
.eyebrow.ice { color: var(--ice); }
.eyebrow.ice::before { background: linear-gradient(90deg, transparent, var(--ice)); }
.eyebrow.plasma { color: var(--plasma2); }
.eyebrow.plasma::before { background: linear-gradient(90deg, transparent, var(--plasma2)); }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  width: 94%; max-width: 1340px; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8, 12, 24, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  padding: 14px 32px;
  border-radius: 16px;
  border: 1px solid var(--border-lt);
  box-shadow: var(--shadow-md);
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logotype {
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.15em;
  color: var(--text-0);
}
.nav-logotype span { color: var(--amber); }
.nav-sub {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  display: block;
  margin-top: -2px;
}
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--amber);
  background: var(--amber-glow);
}

/* ── FLOATING RETURN TAB ── */
.float-return {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1100;
}
.float-return a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  background: rgba(8, 12, 24, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 50px;
  color: var(--amber);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 6px 28px rgba(0,0,0,0.55), 0 0 0 1px rgba(245,158,11,0.12);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
}
.float-return a i {
  font-size: 14px;
  line-height: 1;
}
.float-return a:hover {
  background: var(--amber);
  color: var(--void);
  box-shadow: 0 10px 36px rgba(245,158,11,0.5);
  transform: translateY(-3px);
  border-color: var(--amber);
}

/* ── CANVAS BACKGROUND ── */
#void-canvas {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
}

/* z-stacking */
nav, main, .page-body, header, section, footer {
  position: relative; z-index: 1;
}

/* ── DIVIDER LINE ── */
.hr-void {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  position: relative; overflow: hidden;
}
.hr-void::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  animation: scanline 4s infinite linear;
}
@keyframes scanline { to { left: 200%; } }

/* ── GLASS CARD ── */
.v-card {
  background: var(--amber-glow);
  border: 1px solid var(--border-lt);
  border-radius: 18px;
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.v-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md), var(--glow-amber);
  transform: translateY(-6px);
}
.v-card.ice {
  background: rgba(6, 182, 212, 0.05);
  border-color: var(--border-ice);
}
.v-card.ice:hover { box-shadow: var(--shadow-md), var(--glow-ice); }
.v-card.plasma {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.18);
}
.v-card.plasma:hover { box-shadow: var(--shadow-md), var(--glow-plasma); }

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 24px;
  opacity: 0.75;
  transition: opacity 0.4s ease, transform 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.v-card:hover .card-img,
.pipe-card:hover .card-img,
.pillar-card:hover .card-img {
  opacity: 1;
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: 'Jura', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 10px; text-decoration: none;
  transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-amber {
  background: var(--amber);
  color: var(--void);
  box-shadow: 0 4px 20px rgba(245,158,11,0.35);
}
.btn-amber:hover {
  background: var(--amber2);
  box-shadow: 0 8px 40px rgba(245,158,11,0.55);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--amber);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--amber);
  background: var(--amber-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--text-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.btn-ghost:hover {
  color: var(--text-0);
  background: rgba(255,255,255,0.08);
}

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid;
}
.badge-amber { color: var(--amber); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.06); }
.badge-ice   { color: var(--ice);   border-color: rgba(6,182,212,0.3);  background: rgba(6,182,212,0.06); }
.badge-plasma{ color: var(--plasma2); border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.06); }
.badge-flux  { color: var(--flux);  border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.06); }
.badge-ember { color: var(--ember); border-color: rgba(249,115,22,0.3); background: rgba(249,115,22,0.06); }

/* ── SECTION COMMON ── */
.page-body { max-width: 1340px; margin: 0 auto; padding: 0 5%; }
.section { padding: 120px 5%; margin: 0 auto; max-width: 1340px; }
.section-hero { padding: 160px 5% 100px; max-width: 1340px; margin: 0 auto; }

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="left"].revealed, [data-reveal="right"].revealed { transform: translateX(0); }

/* ── PROGRESS BAR ── */
.prog-track {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px; overflow: hidden;
}
.prog-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(245,158,11,0.5);
}

/* ── FOOTER ── */
.site-footer {
  background: #050813;
  border-top: 1px solid var(--border-lt);
  padding: 60px 5% 28px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr;
  gap: 50px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-sig {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800;
  letter-spacing: 0.1em; color: var(--amber);
  margin-bottom: 12px;
}
.footer-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em;
  color: var(--text-3); text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-about { font-size: 14px; color: var(--text-2); line-height: 1.8; max-width: 280px; }
.footer-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-2); text-decoration: none;
  font-size: 14px; transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--amber); }
.footer-bottom {
  max-width: 1340px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-size: 12px; color: var(--text-3); font-family: 'Space Mono', monospace; }
.social-row { display: flex; gap: 12px; }
.s-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); text-decoration: none; font-size: 13px;
  transition: all 0.3s;
}
.s-icon:hover { border-color: var(--amber); color: var(--amber); background: var(--amber-glow); transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(32px, 8vw, 64px) !important; }
}

/* ── FORM INPUTS ── */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-0);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
