:root{
  --bg-00: #07090c;
  --bg-01: #0a0d12;
  --bg-02: #0b0f14;
  --text-strong: #e9f0fb;
  --text: #d6e1f2;
  --text-muted: #9fb1c7;
  --card-bg: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.12);
  --card-hover: rgba(255,255,255,0.12);
  --accent: #3b82f6;         /* blue */
  --accent-2: #06b6d4;       /* cyan */
  --accent-3: #60a5fa;       /* light blue */
  --success: #22c55e;
  --error: #ef4444;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.45);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.35);
  --shadow-sm: 0 6px 18px rgba(0,0,0,0.25);
  --container: 1200px;
  --glass-blur: 18px;
  --outline: 2px solid rgba(59,130,246,0.55);
}

/* Base reset */
/* Local hero display font */
@font-face {
  font-family: 'Themiru';
  src: url('THEMIRU Trial.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #ffffff;
  background: #0b0b0b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
.noise-overlay::before { display: none; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Glassmorphism blocks */
.glass {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Header / Nav */
header.site-header {
  position: sticky;
  top: 12px;
  z-index: 999;
  border: none;
  background: transparent;
  transition: transform 240ms ease;
  margin-top: 0;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
}
.site-header .nav-wrap {
  background: rgba(15, 15, 16, 0.8);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 20px rgba(59,130,246,0.1);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.brand .badge {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 12px;
  opacity: 0.9;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #121212;
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
}
nav a {
  color: #e6e6e6;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
  font-family: 'Orbitron', 'Audiowide', 'Chakra Petch', 'Rajdhani', 'Exo 2', 'Titillium Web', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 13px;
}
nav a:hover { color: #ffffff; background: rgba(255,255,255,0.06); }
.nav-actions {
  display: flex; align-items: center; gap: 10px;
}

/* Buttons */
.btn {
  --btn-bg: #ffffff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--btn-bg);
  color: #0b0b0b;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn.secondary {
  background: transparent;
  color: #e6e6e6;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn.secondary:hover { background: rgba(255,255,255,0.08); }

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 0;
  z-index: 1;
  min-height: auto;
  overflow: hidden;
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

/* Canvas fade-out overlay */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, rgba(11, 11, 11, 0.3) 50%, rgba(11, 11, 11, 0.8) 80%, #0b0b0b 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-aurora { display: none; }
.hero::before { display: none; }
.hero-card {
  position: relative;
  padding: 48px;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Remove hero border */
.hero-card.glass { border: none; }
.hero-card::after { display: none; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #d4d4d4;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 8px 0 14px;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}
.brand-accent {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #ffffff;
}
.wordmark {
  font-family: 'Themiru', 'Montserrat', 'Manrope', Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.subtitle {
  color: #a3a3a3;
  font-size: clamp(16px, 2.2vw, 18px);
  margin: 6px 0 24px;
  font-family: 'Orbitron', 'Audiowide', 'Chakra Petch', 'Rajdhani', 'Exo 2', 'Titillium Web', 'Montserrat', 'Manrope', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; justify-content: center; }

/* Sections */
section {
  padding: 20px 0;
  position: relative;
  z-index: 1;
}
.section-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: transparent;
  border: none;
}
.section-title {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 18px;
}
#services .section-title, #products .section-title, #contact .section-title {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-title h2 {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text-strong);
  letter-spacing: -0.01em;
  margin: 0;
  font-family: 'Orbitron', 'Audiowide', 'Chakra Petch', 'Rajdhani', 'Exo 2', 'Titillium Web', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-title p {
  margin: 0; color: #a3a3a3;
  font-size: 15px;
}
#about .section-title h2 { 
  text-align: center; 
  width: 100%; 
  margin-bottom: 12px;
}

/* Services grid */
.grid {
  display: grid;
  gap: 14px;
}
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-1 { grid-template-columns: 1fr; }
@media (max-width: 980px) { .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; } }

.card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 180ms ease, border-color 180ms ease;
}
#services .card { text-align: center; }
#services .card .icon { margin-left: auto; margin-right: auto; }
.card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.16);
}
.card .icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(6,182,212,0.2));
  border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 10px;
}
.card .icon svg path { stroke: #ffffff !important; }
.card h3 {
  margin: 6px 0 6px; color: #ffffff; font-size: 18px; letter-spacing: 0.2px;
}
.card p { margin: 0; color: #a3a3a3; font-size: 14px; }

/* Product feature */
.product-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center;
}
@media (max-width: 900px) { .product-card { grid-template-columns: 1fr; } }
.product-visual {
  min-height: 240px;
  border-radius: var(--radius-lg);
  background: #111213;
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: clamp(26px, 4vw, 34px);
  letter-spacing: 0.5px;
  text-align: center;
}
.product-visual.vozyme-bg {
  background: linear-gradient(180deg, #111b4c 0%, #2b3b8c 100%);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  text-decoration: none;
}
.product-visual > div { display: flex; align-items: center; justify-content: center; gap: 12px; }
.product-visual .vz-icon { width: 84px; margin-bottom: 10px; }
.product-visual .vz-type { width: 220px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  font-weight: 600; font-size: 12px;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 14px; justify-items: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
form .row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { form .row { grid-template-columns: 1fr; } }
#contact .card { max-width: 720px; margin: 0 auto; }
label { display: block; font-weight: 600; color: #e6e6e6; margin-bottom: 6px; font-size: 14px; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent;
  color: #ffffff;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
input::placeholder, textarea::placeholder { color: #8a8a8a; }
input:focus, textarea:focus {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #a3a3a3; }
.consent input { transform: translateY(2px); }
.note { color: #a3a3a3; font-size: 13px; margin-top: 8px; }

/* Footer */
footer { 
  margin: 28px 0 60px; 
  color: #a3a3a3; 
  font-size: 14px; 
  padding-bottom: 40px;
}
.footer-wrap {
  display: grid; gap: 10px;
  grid-template-columns: 1fr auto;
  align-items: center;
}
@media (max-width: 700px) { .footer-wrap { grid-template-columns: 1fr; gap: 6px; } }
.legal { display: flex; gap: 10px; flex-wrap: wrap; }
.legal span { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); padding: 6px 10px; border-radius: 999px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(8px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 500ms ease, transform 500ms ease; }

/* Accessibility: focus */
/* :focus-visible { outline: var(--outline); outline-offset: 3px; border-radius: 10px; } */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .hero-aurora { display: none; }
  html, body { scroll-behavior: auto; }
}


