/*
Theme Name: Blyp Infrastructure v1.1
Theme URI: https://blyp.gr
Author: Blyp Agency
Author URI: https://blyp.gr
Description: Industrial-minimalist digital agency theme. Black, white, and electric cyan. Sharp edges, grid lines, technical precision.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blyp-infrastructure
Tags: dark, agency, one-page, minimalist, industrial
*/

/* =====================================================
   BLYP INFRASTRUCTURE — TACTICAL CYBER REDESIGN
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Manrope:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* COLORS: Obsidian & Neon Pulse */
  --black:      #0B0E12;  /* The Void */
  --white:      #F5F6FC;  /* High contrast text */
  --cyan:       #81ECFF;  /* Primary Data Pulse */
  --cyan-dim:   rgba(129, 236, 255, 0.15);
  --cyan-glow:  rgba(129, 236, 255, 0.35);
  --emerald:    #00FD87;  /* Secondary Node / Success */
  --emerald-dim:rgba(0, 253, 135, 0.12);
  --grid:       rgba(129, 236, 255, 0.04);
  --border:     rgba(129, 236, 255, 0.12);
  --muted:      #A9ABB1;
  --surface:    #161A1F;
  --surface-hi: #22262C;
  
  /* TYPOGRAPHY: The Engineering Font Stack */
  --font-head:  'Space Grotesk', sans-serif;
  --font-body:  'Manrope', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  
  /* STRUCTURE */
  --nav-h:      72px;
  --section-gap: 160px;
  --max-w:      1320px;
  --br:         0px; /* SHARP MODULES */
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- GRID BACKGROUND ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px; /* Larger tactical grid */
  pointer-events: none;
  z-index: 0;
}

/* ---- CONTAINERS ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

p { font-size: 1.05rem; color: var(--muted); }

a { color: inherit; text-decoration: none; }

/* ---- GLASS UTILITY ---- */
.glass {
  background: rgba(22, 26, 31, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
}

/* ---- SECTION LABEL ---- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 0; /* Tactical square instead of dot */
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); transform: scale(1); }
  50%       { opacity: 0.6; box-shadow: 0 0 20px var(--cyan); transform: scale(1.2); }
}

/* ---- CTA BUTTON ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  border-radius: var(--br);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn span { position: relative; z-index: 1; }

.btn:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.btn-solid {
  background: var(--cyan);
  color: var(--black);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(129, 236, 255, 0.2);
}

.btn-solid:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* arrow icon */
.btn .arr {
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.btn:hover .arr { transform: translateX(6px); }

/* ---- TACTICAL UTILS ---- */
.emerald { color: var(--emerald) !important; text-shadow: 0 0 15px rgba(0, 253, 135, 0.4); }

/* ---- HUD ELEMENTS ---- */
.hud-box {
  position: absolute;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  pointer-events: none;
  z-index: 5;
  transition: all 0.5s ease;
}

.hud-label {
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.hud-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}

.hud-tl { top: 120px; left: 40px; border-left: 3px solid var(--cyan); }
.hud-tr { top: 120px; right: 40px; border-right: 3px solid var(--cyan); text-align: right; }
.hud-bl { bottom: 120px; left: 40px; border-left: 3px solid var(--border); }
.hud-br { bottom: 120px; right: 40px; border-right: 3px solid var(--border); text-align: right; }

@media (max-width: 1024px) {
  .hud-box { display: none; }
}

/* ---- DIVIDER ---- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border); /* Visible in dark mode */
  margin: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}


/* =====================================================
   STICKY HEADER
   ===================================================== */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(11, 14, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s;
}

#site-header.scrolled {
  background: rgba(11, 14, 18, 0.9);
  border-bottom-color: var(--cyan);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo .logo-dot {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 0;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Desktop nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.primary-nav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.primary-nav a:hover {
  color: var(--white);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 10px 24px;
  margin-left: 24px;
  transition: all 0.3s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin-left: 24px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border: 1px solid var(--border);
}

.lang-opt {
  color: var(--muted);
  text-decoration: none;
  padding: 2px 4px;
  transition: color 0.2s;
}

.lang-opt:hover { color: var(--white); }

.lang-opt.active {
  color: var(--cyan);
  font-weight: 600;
  cursor: default;
}

.lang-sep { color: var(--border); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white); /* Visible on dark bg */
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(11, 14, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 40px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: all 0.2s;
}

.mobile-nav a:hover { color: var(--cyan); }


/* =====================================================
   HERO SECTION
   ===================================================== */

#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(129, 236, 255, 0.03) 0%, transparent 70%);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Background Visual */
#home::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: url('images/hero.png') no-repeat center center;
  background-size: contain;
  opacity: 0.15;
  filter: hue-rotate(10deg) brightness(0.8);
  pointer-events: none;
  z-index: 1;
}

/* Status bar */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(129, 236, 255, 0.05);
  border: 1px solid var(--border);
  padding: 10px 24px;
  margin-bottom: 56px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 0;
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-dot-emerald 1.5s ease-in-out infinite;
}

@keyframes pulse-dot-emerald {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--emerald); }
  50%       { opacity: 0.5; box-shadow: 0 0 16px var(--emerald); }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.hero-headline em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(129, 236, 255, 0.3);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scan line animation */
.hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: scanline 4s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes scanline {
  0%   { top: 10%; opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { top: 90%; opacity: 0; }
}

/* Corner brackets */
.hero-bracket {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.3;
}

.hero-bracket--tl { top: 30px; left: 40px; border-top: 1px solid var(--black); border-left: 1px solid var(--black); }
.hero-bracket--tr { top: 30px; right: 40px; border-top: 1px solid var(--black); border-right: 1px solid var(--black); }
.hero-bracket--bl { bottom: 30px; left: 40px; border-bottom: 1px solid var(--black); border-left: 1px solid var(--black); }
.hero-bracket--br { bottom: 30px; right: 40px; border-bottom: 1px solid var(--black); border-right: 1px solid var(--black); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--black), transparent);
  animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%       { opacity: 1; transform: scaleY(1); transform-origin: top; }
}


/* =====================================================
   PILLAR SECTIONS (SHARED)
   ===================================================== */

.pillar-section {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}

.pillar-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--black);
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pillar-grid.reverse { direction: rtl; }
.pillar-grid.reverse > * { direction: ltr; }

.pillar-index {
  font-family: var(--font-head);
  font-size: clamp(6rem, 12vw, 12rem);
  font-weight: 900;
  -webkit-text-stroke: 1px var(--cyan);
  color: transparent;
  opacity: 0.12;
  line-height: 0.8;
  margin-bottom: -60px;
  display: block;
  pointer-events: none;
}

.pillar-heading {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1;
}

.pillar-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 32px;
}

.pillar-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 32px;
}

/* Feature list */
.feature-list {
  list-style: none;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-list li:hover {
  color: var(--white);
  border-bottom-color: var(--cyan);
  padding-left: 8px;
}

.feature-list li::before {
  content: '0101'; /* Tactical bitmask prefix */
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 4px;
  letter-spacing: 0.1em;
}

/* Blyp Effect callout */
.blyp-effect {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  border-left: 2px solid var(--cyan);
  padding: 10px 14px;
  margin-bottom: 32px;
  background: rgba(0, 255, 200, 0.04);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Visual panel (right side) */
.pillar-visual {
  background: #0D1117; /* Brighter obsidian than base */
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.pillar-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(129,236,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,236,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* THE SCAN — Diagnostic grid visual */
.scan-visual {
  width: 80%;
  height: 80%;
  position: relative;
}

.scan-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.scan-cell {
  flex: 1;
  height: 16px;
  background: rgba(0,245,255,0.08);
  border: 1px solid rgba(0,245,255,0.15);
  animation: cell-pulse var(--d, 3s) ease-in-out infinite var(--del, 0s);
}

.scan-cell.active {
  background: rgba(0,245,255,0.35);
  border-color: var(--cyan);
}

@keyframes cell-pulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 1; background: rgba(0,245,255,0.5); }
}

/* THE SIGNAL — Ripple visual */
.signal-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,245,255,0.3);
  animation: ring-expand 3s ease-out infinite;
}

.signal-ring:nth-child(1) { width: 60px;  height: 60px;  animation-delay: 0s;    border-color: rgba(0,245,255,0.9); }
.signal-ring:nth-child(2) { width: 120px; height: 120px; animation-delay: 0.5s;  border-color: rgba(0,245,255,0.6); }
.signal-ring:nth-child(3) { width: 200px; height: 200px; animation-delay: 1s;    border-color: rgba(0,245,255,0.35); }
.signal-ring:nth-child(4) { width: 300px; height: 300px; animation-delay: 1.5s;  border-color: rgba(0,245,255,0.15); }

@keyframes ring-expand {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.signal-core {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--cyan), 0 0 40px var(--cyan);
  z-index: 2;
  animation: core-pulse 1.5s ease-in-out infinite;
}

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--cyan), 0 0 40px var(--cyan); }
  50%       { box-shadow: 0 0 40px var(--cyan), 0 0 80px var(--cyan); }
}

/* THE DESTINATION — Blueprint visual */
.destination-visual {
  position: absolute;
  inset: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dest-bar {
  background: rgba(0,245,255,0.08);
  border: 1px solid rgba(0,245,255,0.2);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.6rem;
  color: rgba(0,245,255,0.6);
}

.dest-bar-fill {
  height: 2px;
  background: var(--cyan);
  animation: fill-grow 3s ease-in-out infinite var(--del, 0s);
}

@keyframes fill-grow {
  0%,100% { width: var(--min-w, 20%); }
  50%      { width: var(--max-w, 80%); }
}

/* THE PULSE — Waveform visual */
.pulse-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.waveform {
  width: 100%;
  height: 60%;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 20px;
}

.wave-bar {
  flex: 1;
  background: var(--cyan);
  border-radius: 0;
  animation: wave var(--d, 1s) ease-in-out infinite var(--del, 0s);
}

@keyframes wave {
  0%, 100% { height: 10%; opacity: 0.4; }
  50%       { height: var(--h, 80%); opacity: 1; }
}


/* =====================================================
   ABOUT VISUAL
   ===================================================== */

.about-visual {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
  justify-content: center;
}

.about-spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 24px;
}

.about-spec:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-spec-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  font-weight: 600;
}

.about-spec-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* =====================================================
   CONTACT / INQUIRY TERMINAL
   ===================================================== */

#contact {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-heading {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1;
}

.contact-meta {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 2;
}

.contact-meta a { color: var(--cyan); transition: color 0.2s; }
.contact-meta a:hover { color: var(--white); }

.system-status {
  margin-top: 40px;
  border: 1px solid var(--border);
  padding: 24px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.status-row:last-child { border-bottom: none; }

.status-row .label { color: var(--muted); }

.status-ok {
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-ok::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-terminal-header {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-bottom: none;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 8px; height: 8px;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.terminal-dots span:last-child { border-color: var(--cyan); background: var(--cyan); }

.form-body {
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
}

.form-field {
  position: relative;
  margin-bottom: 32px;
}

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan); /* Cyan labels look better and are more tactical */
  margin-bottom: 10px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-field textarea {
  resize: none;
  min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-bottom-color: var(--cyan);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

/* Cursor blink on focused field */
.form-field input:focus + .cursor,
.form-field textarea:focus + .cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--cyan);
  font-size: 1rem;
  line-height: 1;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* AJAX feedback */
#form-response {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-success { color: var(--cyan); }
.form-error   { color: #FF3B3B; }


/* =====================================================
   FOOTER
   ===================================================== */
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* FOOTER */
#site-footer {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: var(--black);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.footer-socials { display: flex; gap: 24px; }
.footer-socials a {
  font-family: var(--font-mono);
}

.footer-socials a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}


/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {
  :root { --section-gap: 80px; }

  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .pillar-grid,
  .pillar-grid.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    direction: ltr;
  }

  .pillar-visual { aspect-ratio: 16/9; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .container, .header-inner, .hero-inner, .footer-inner { padding: 0 20px; }
  .hero-headline { font-size: 2.4rem; }
  .hero-bracket { display: none; }
  .form-body { padding: 20px; }
}
