:root {
  --bg: #050910;
  --panel: #0b1220;
  --navy: #0f1d35;
  --blue: #2f8dfd;
  --blue-strong: #4db5ff;
  --text: #e8eef9;
  --muted: #9fb1d0;
  --text-secondary: var(--muted);
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 1200px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

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

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.page { min-height: 100vh; }
.layout { width: min(100%, var(--max-width)); margin: 0 auto; padding: 0 24px; }

/* HERO */
/* === HERO & INDUSTRIAL ETHER SYSTEM === */

.hero { 
  position: relative; 
  padding: 180px 0 140px;
  overflow: hidden; 
  background-color: var(--bg);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  perspective: 1000px;
  overflow: hidden;
  pointer-events: none;
}

.hero__grid-plane {
  position: absolute;
  top: -50%; 
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(47, 141, 253, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 141, 253, 0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: rotateX(60deg) scale(1.5);
  transform-origin: center top;
  animation: grid-move 40s linear infinite;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center, 
    transparent 0%, 
    var(--bg) 70%
  );
  z-index: 1;
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 0 80px; }
}

.nav { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 3; margin-bottom: 72px; }

/* === BRANDING & LOGO === */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo__icon {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.logo__icon path:first-child {
  filter: drop-shadow(0 0 8px rgba(77, 181, 255, 0.4));
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
}
.logo__text span {
  font-family: "SF Mono", "Consolas", monospace;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-strong);
  margin-top: 4px;
  opacity: 0.9;
}

.nav__links { display: flex; gap: 18px; align-items: center; }
.nav__links a { color: var(--muted); text-decoration: none; font-weight: 600; transition: color 0.2s ease; font-size: 14px; }
.nav__links a:hover { color: var(--text); }

.hero__content { position: relative; z-index: 2; max-width: 900px; }
.eyebrow, .card__for, .label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--blue-strong);
  margin: 0 0 16px;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(47, 141, 253, 0.08);
  border-radius: 4px;
  border: 1px solid rgba(47, 141, 253, 0.15);
  margin: 0 0 24px;
}

h1 { 
  font-family: "Inter", sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  margin: 0 0 32px; 
  line-height: 1.05; 
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
h2 { 
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 2vw, 22px); 
  font-weight: 300; 
  color: #9fb1d0; 
  max-width: 720px; 
  margin: 0 0 48px; 
  line-height: 1.6;
  letter-spacing: -0.01em;
}
p, li {
  font-weight: 300;
  letter-spacing: 0.01em;
  color: #b0b8c6;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text);
  color: #02060c;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}
.cta:active {
  transform: translateY(0);
  background: #e0e6ed;
}
.trust { font-size: 14px; color: var(--muted); font-style: italic; }

.ghost {
  color: var(--text); padding: 12px 20px; border: 1px solid var(--border);
  border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.2s ease;
}
.ghost:hover { border-color: var(--blue); color: var(--blue-strong); }

/* === KPI TELEMETRY UPGRADE === */
.impact {
  background: rgba(5, 9, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: -1px;
  position: relative;
  z-index: 10;
}

.impact__bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.impact__item {
  padding: 40px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.3s ease;
}

.impact__item:last-child {
  border-right: none;
}

.impact__item:hover {
  background: rgba(47, 141, 253, 0.05);
}

.impact__item .label {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
  text-shadow: 0 0 25px rgba(47, 141, 253, 0.3);
}

.impact__item span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-strong);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .impact__bar { grid-template-columns: 1fr 1fr; }
  .impact__item:nth-child(2n) { border-right: none; }
  .impact__item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 30px 15px; }
}

/* SECTIONS */
.section { padding: 160px 0; }
.section__header h3 { margin: 10px 0 16px; font-size: 32px; letter-spacing: -0.01em; }
.lead { margin: 0; color: var(--muted); max-width: 680px; font-size: 20px; line-height: 1.6; opacity: 0.9; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.card {
  background: linear-gradient(180deg, rgba(16, 25, 40, 0.6) 0%, rgba(5, 9, 16, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-strong);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.2), 0 20px 40px rgba(0,0,0,0.6);
}
.card__title {
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-weight: 700;
}
.card__for { color: var(--blue-strong); margin: 0 0 20px; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.25em; }
.card ul { padding-left: 20px; margin: 0; color: var(--muted); }
.card li { margin-bottom: 14px; padding-left: 0; list-style: none; position: relative; color: #9fb1d0; }
.card li::before {
  content: "›";
  color: var(--blue-strong);
  font-weight: bold;
  margin-right: 8px;
}

/* PROOF / CASES */
.proof .case { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; margin-top: 60px; }
.proof .case.reverse { grid-template-columns: 1.2fr 1fr; }

.case__visual {
  background: radial-gradient(circle at center, rgba(16, 29, 50, 1) 0%, rgba(5, 8, 14, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  height: 280px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}
.diagram { width: 100%; height: 100%; position: relative; }

/* CSS DIAGRAMS */
.dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; top: 30%; left: 18%; box-shadow: 0 0 10px var(--blue-strong), 0 0 20px var(--blue); }
.dot.second { top: 60%; left: 46%; }
.dot.third { top: 40%; left: 72%; }
.line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(77, 181, 255, 0.6) 50%, transparent 100%); width: 72%; top: 45%; left: 14%; opacity: 0.5; box-shadow: 0 0 8px rgba(47, 141, 253, 0.3); }
.line.short { top: 55%; width: 40%; left: 26%; }

.diagram.energy { display: flex; justify-content: center; align-items: flex-end; gap: 20px; padding-bottom: 40px; }
.bar { width: 40px; background: linear-gradient(180deg, var(--blue-strong), transparent); border-radius: 6px; opacity: 0.8; height: 60%; }
.bar.mid { height: 85%; }
.bar.low { height: 40%; }
.curve { position: absolute; bottom: 40px; left: 10%; width: 80%; height: 100px; border-top: 2px solid var(--muted); border-radius: 50%; opacity: 0.3; }

.diagram.sensor { display: flex; align-items: center; justify-content: center; }
.pulse { position: absolute; width: 100px; height: 100px; border: 1px solid var(--blue-strong); border-radius: 50%; opacity: 0.5; animation: pulse 3s infinite; }
.pulse.delayed { width: 160px; height: 160px; animation-delay: 1s; opacity: 0.3; }
.grid { position: absolute; inset: 0; background: radial-gradient(circle, var(--blue-strong) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.1; }

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; border-color: rgba(77, 181, 255, 0.8); }
  100% { transform: scale(2.0); opacity: 0; border-color: transparent; }
}

.case__content h4 { margin: 8px 0 16px; font-size: 24px; color: var(--text); }
.case__label { color: var(--muted); margin: 0 0 16px; font-size: 16px; }
.case__result { color: var(--blue-strong); font-weight: 600; padding-left: 12px; border-left: 2px solid var(--blue); }

/* ABOUT GRID */
.about__grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; margin-top: 40px; }
.about__visual { position: relative; }
.about__image {
  width: 100%; border-radius: 12px; border: 1px solid var(--border);
  box-shadow: var(--shadow); filter: grayscale(20%) contrast(110%); display: block;
}
.about__body { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 32px; font-size: 17px; }
.about__body p:first-child { margin-top: 0; }

/* CONTACT & FOOTER */
.contact { background: linear-gradient(135deg, rgba(47, 141, 253, 0.1), rgba(5, 9, 16, 0.9)); border-top: 1px solid var(--border); }
.contact__grid { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.contact__actions { display: flex; gap: 16px; }

.footer { margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* DOC / SUBPAGES */
.navbar { border-bottom: 1px solid var(--border); padding: 20px 0; background: linear-gradient(180deg, rgba(15, 29, 53, 0.9), rgba(5, 9, 16, 0.95)); }
.navbar-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.container { width: min(100%, var(--max-width)); margin: 0 auto; padding: 0 24px; }
.nav-links { display: flex; gap: 12px; align-items: center; }
.btn, .btn-outline, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 10px;
  font-weight: 600; text-decoration: none; cursor: pointer; padding: 12px 16px;
  transition: all 0.2s ease; font-size: 14px; border: 1px solid transparent;
}
.btn { background: linear-gradient(135deg, var(--blue), var(--blue-strong)); color: #02060c; border-color: var(--blue); }
.btn:hover { box-shadow: 0 10px 30px rgba(79, 181, 255, 0.25); transform: translateY(-1px); }
.btn-outline, .btn-secondary { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover, .btn-secondary:hover { border-color: var(--blue); color: var(--blue-strong); }
.lang-switch { display: inline-flex; gap: 8px; background: rgba(255, 255, 255, 0.04); padding: 4px; border-radius: 10px; border: 1px solid var(--border); }
.lang-btn { background: transparent; border: none; color: var(--muted); font-weight: 600; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.lang-btn.active, .lang-btn:hover { background: rgba(47, 141, 253, 0.1); color: var(--text); }
.page-header { padding: 80px 0 40px; border-bottom: 1px solid var(--border); background: #050910; }
.page-header .container { display: grid; gap: 20px; }
.page-header h1 { font-size: clamp(28px, 4vw, 38px); margin: 8px 0 12px; }
.hero-sub, .subtitle { color: var(--muted); margin: 0; font-size: 16px; }
.article-meta, .report-meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 14px; }
.tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; }
.highlight { background: rgba(47, 141, 253, 0.12); color: var(--blue-strong); border-color: rgba(47, 141, 253, 0.4); }
.mono { font-family: "Inter", monospace; color: var(--muted); text-decoration: none; }
.mono:hover { color: var(--text); }
.article-content, .report-content { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); line-height: 1.7; color: var(--muted); }
.article-content h2, .article-content h3, .article-content h4,
.report-content h2, .report-content h3, .report-content h4 { color: var(--text); margin-top: 24px; margin-bottom: 12px; }
.article-content p, .report-content p { margin: 0 0 14px; }
.info-box { border: 1px solid var(--border); background: rgba(47, 141, 253, 0.06); border-radius: 12px; padding: 16px; }
.info-box ul { margin: 0 0 0 18px; color: var(--muted); }
.page-footer { padding: 32px 0 60px; border-top: 1px solid var(--border); margin-top: 60px; }
.doc-section { padding: 80px 0 60px; }
.doc-grid { display: grid; gap: 24px; }
.article-content table, .report-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-content th, .article-content td, .report-content th, .report-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.article-content thead, .report-content thead { background: rgba(47, 141, 253, 0.08); color: var(--text); }
.article-content tr:nth-child(even), .report-content tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.text-muted { color: var(--muted); }
.contact-info { display: grid; gap: 6px; color: var(--muted); }
.job { margin-bottom: 20px; }
.job-header { display: flex; justify-content: space-between; gap: 12px; color: var(--text); font-weight: 600; }
.job-title { color: var(--text); }
.company { color: var(--blue-strong); }
.date { color: var(--muted); font-size: 14px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skills .tag {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.table-note { font-size: 12px; color: var(--muted); text-align: center; }
.article-content ul, .report-content ul { margin: 0 0 14px 20px; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .proof .case, .proof .case.reverse { grid-template-columns: 1fr; gap: 20px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__image { max-width: 200px; margin-bottom: 24px; }
  .navbar-container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .section { padding: 100px 0; }
  h1 { font-size: 42px; }
  .logo__icon { width: 28px; height: 28px; }
  .logo__text { font-size: 14px; }
  .logo__text span { font-size: 9px; }
}
@media (max-width: 700px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 48px; }
  .nav__links { flex-wrap: wrap; gap: 12px; }
  .contact__grid { flex-direction: column; align-items: flex-start; }
  .contact__actions { width: 100%; flex-direction: column; }
  .cta, .ghost { width: 100%; justify-content: center; }
  h1 { font-size: 36px; }
}
