@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;900&family=Share+Tech+Mono&display=swap');

:root {
  --bg-deep: #050a0f;
  --bg-card: #0a1520;
  --bg-panel: #0d1e2e;
  --blue: #00d4ff;
  --green: #39ff6a;
  --blue-dim: rgba(0, 212, 255, 0.15);
  --green-dim: rgba(57, 255, 106, 0.12);
  --border: rgba(0, 212, 255, 0.2);
  --text: #c8dce8;
  --text-dim: #5a7a8a;
  --font-main: 'Exo 2', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  cursor: default;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(5, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
nav.scrolled { padding: 0.8rem 4rem; }

.nav-logo {
  font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px;
  color: #fff;
}
.nav-logo span { color: var(--blue); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-dim); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--blue); transition: width 0.3s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 8rem 4rem 4rem;
}

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(0,212,255,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 30%, rgba(57,255,106,0.04) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue-dim); border: 1px solid var(--border);
  border-radius: 2px; padding: 0.4rem 1rem;
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); font-family: var(--font-mono);
  margin-bottom: 2rem;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-title .accent-blue { color: var(--blue); }
.hero-title .accent-green { color: var(--green); }

.hero-sub {
  font-size: 1.05rem; line-height: 1.8;
  color: var(--text-dim); max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 2rem;
  border: 1px solid var(--blue);
  background: var(--blue-dim);
  color: var(--blue); font-family: var(--font-main);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s; cursor: pointer;
  position: relative; overflow: hidden;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.hero-cta:hover { color: #000; }
.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta span { position: relative; z-index: 1; }

/* ══════════════════════════════════════════
   HERO DIAGRAM — rebuilt
══════════════════════════════════════════ */
.hero-diagram {
  position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  width: 54%; max-width: 740px;
  z-index: 2;
  padding: 0 1.5rem 0 0;
}

.hd-inner {
  position: relative;
  width: 100%;
}

/* ── SVG connector overlay ── */
.hd-connectors {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 25; pointer-events: none;
  overflow: visible;
}
.hd-svg-pulse-blue  { animation: svgPulse 2s ease-in-out infinite; }
.hd-svg-pulse-green { animation: svgPulse 2s ease-in-out infinite 0.7s; }
@keyframes svgPulse { 0%,100%{opacity:0.7} 50%{opacity:1} }

/* ── TOP LABEL ROW ── */
.hd-labels-row {
  display: flex;
  justify-content: space-between;
  padding: 0 2% 0 8%;
  margin-bottom: 0.6rem;
  position: relative; z-index: 26;
}
.hd-label { display: flex; flex-direction: column; gap: 2px; }
.hd-label-anot   { align-items: flex-start; }
.hd-label-membran{ align-items: center; }
.hd-label-katot  { align-items: flex-end; }
.hd-lbl-title {
  font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700;
}
.hd-lbl-sub {
  font-family: var(--font-mono); font-size: 0.52rem;
  color: var(--text-dim); letter-spacing: 0.8px;
}

/* ── EXTERNAL FLOW LABELS ── */
.hd-ext-label {
  position: absolute;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  line-height: 1.4; white-space: nowrap; z-index: 26;
}
.hd-ext-label span { display: block; }
.hd-ext-h2o { left: 0%; top: 44%; color: rgba(0,212,255,0.85); }
.hd-ext-h2  { right: 0%; top: 26%; color: var(--green); text-align: right; }
.hd-ext-o2  { left: 5%;  bottom: 22%; color: rgba(57,255,106,0.7); }

/* ── PANEL STACK ── */
.hd-stack {
  position: relative;
  width: 100%; height: 320px;
  perspective: 1000px;
  perspective-origin: 48% 38%;
}

/* ── SHARED PANEL BASE ── */
.hd-panel {
  position: absolute;
  border-radius: 3px;
  overflow: hidden;
  /* transparent background — only the border and internal elements visible */
  background: rgba(4, 14, 26, 0.72);
  border: 1px solid rgba(0,212,255,0.32);
  box-shadow:
    0 0 0 0.5px rgba(0,212,255,0.12),
    inset 0 0 40px rgba(0,212,255,0.03);
}

/* ── PANEL 1: Anot — back left ── */
.hd-panel-1 {
  width: 58%; height: 72%;
  top: 8%; left: 0%;
  transform: rotateY(14deg) rotateX(5deg) translateZ(-55px);
  z-index: 1;
  border-color: rgba(0,212,255,0.22);
}
/* ── PANEL 2: Membran — middle ── */
.hd-panel-2 {
  width: 58%; height: 78%;
  top: 3%; left: 14%;
  transform: rotateY(14deg) rotateX(5deg) translateZ(0px);
  z-index: 2;
  border-color: rgba(0,212,255,0.38);
}
/* ── PANEL 3: Katot — front right ── */
.hd-panel-3 {
  width: 44%; height: 66%;
  top: 12%; left: 42%;
  transform: rotateY(12deg) rotateX(4deg) translateZ(55px);
  z-index: 3;
  border-color: rgba(0,212,255,0.5);
  background: rgba(3, 12, 22, 0.85);
}

/* ── CIRCUIT GRID TEXTURE ── */
.hd-circuit {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.9) 1px, transparent 1px),
    linear-gradient(rgba(0,212,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.3) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 10px 10px, 10px 10px;
  opacity: 0.12;
}
.hd-circuit-dense  { background-size: 28px 28px, 28px 28px, 7px 7px, 7px 7px; opacity: 0.16; }
.hd-circuit-sparse { background-size: 60px 60px, 60px 60px, 15px 15px, 15px 15px; opacity: 0.1; }

/* ── EDGE GLOW (tinted edge highlights) ── */
.hd-edge-glow { position: absolute; pointer-events: none; }
.hd-edge-glow-left  { inset: 0; background: linear-gradient(to right, rgba(0,212,255,0.08) 0%, transparent 40%); }
.hd-edge-glow-top   { inset: 0; background: linear-gradient(to bottom, rgba(0,212,255,0.1) 0%, transparent 35%); }
.hd-edge-glow-right { inset: 0; background: linear-gradient(to left, rgba(0,212,255,0.12) 0%, transparent 50%); }

/* ── SCAN LINE ── */
.hd-scanline {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(to right, transparent 0%, rgba(0,212,255,0.55) 40%, rgba(0,212,255,0.55) 60%, transparent 100%);
  animation: scanMove 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanMove {
  0%   { top: 8%;  opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.8; }
  100% { top: 92%; opacity: 0; }
}

/* ── CODE BLOCKS ── */
.hd-code {
  position: absolute;
  font-family: var(--font-mono); font-size: 0.6rem;
  line-height: 1.7; pointer-events: none;
}
.hd-code div { white-space: nowrap; }
.hd-code-top {
  top: 10%; left: 7%;
  color: rgba(0,212,255,0.6);
}
.hd-code-bottom {
  bottom: 10%; left: 7%;
  color: rgba(57,255,106,0.55);
}

/* ── CIRCUIT TRACES & NODES ── */
.hd-trace {
  position: absolute; height: 1px;
  background: rgba(0,212,255,0.35);
  pointer-events: none;
}
.hd-trace-v { width: 1px; height: auto; }
.hd-node {
  position: absolute;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0,212,255,0.8);
  box-shadow: 0 0 6px rgba(0,212,255,0.7);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: nodePulse 3s ease-in-out infinite;
}
.hd-node-green {
  background: rgba(57,255,106,0.8);
  box-shadow: 0 0 6px rgba(57,255,106,0.7);
}
@keyframes nodePulse { 0%,100%{opacity:1} 50%{opacity:0.45} }

/* ── GEAR ── */
.hd-gear-wrap {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
}
.hd-gear-svg {
  width: 80px; height: 80px;
  display: block;
}
.hd-gear-rotate {
  animation: gearSpin 14s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes gearSpin { to { transform: rotate(360deg); } }
.hd-gear-glow {
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.18) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:0.6} 50%{opacity:1} }

/* ── CHART PANEL INTERNALS ── */
.hd-chart-wrap {
  position: absolute; inset: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.hd-chart-title {
  font-family: var(--font-mono); font-size: 0.48rem;
  color: var(--text-dim); letter-spacing: 0.8px;
  text-transform: uppercase; text-align: center;
  padding: 0 4px;
  border-bottom: 1px solid rgba(0,212,255,0.12);
  padding-bottom: 5px;
}
.hd-chart-body {
  flex: 1; position: relative;
  display: flex; align-items: stretch;
}
.hd-chart-ylabel {
  font-family: var(--font-mono); font-size: 0.42rem;
  color: var(--text-dim); letter-spacing: 1px;
  writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg);
  padding: 4px 0;
  flex-shrink: 0;
}
#hdMiniChart { flex: 1; display: block; }
.hd-chart-legend {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 6px;
}
.hd-leg {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.48rem;
}
.hd-leg::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 2px; border-radius: 1px;
}
.hd-leg-green { color: var(--green); }
.hd-leg-green::before { background: var(--green); box-shadow: 0 0 4px var(--green); }
.hd-leg-dim { color: var(--text-dim); }
.hd-leg-dim::before { background: none; border-top: 2px dashed rgba(0,212,255,0.5); }

/* ── BOTTOM BAR ── */
.hd-bottom {
  display: flex; align-items: center; gap: 1.8rem;
  padding: 0.8rem 0 0 16%;
  margin-top: 0.4rem;
  position: relative; z-index: 26;
}
.hd-bot-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hd-bot-item svg {
  filter: drop-shadow(0 0 7px rgba(0,212,255,0.45));
  transition: filter 0.3s;
}
.hd-bot-item:hover svg { filter: drop-shadow(0 0 14px rgba(0,212,255,0.9)); }
.hd-bot-item span {
  font-family: var(--font-mono); font-size: 0.52rem;
  letter-spacing: 1.5px; color: var(--text-dim);
  text-transform: uppercase; text-align: center;
}
.hd-opt-badge {
  display: flex; flex-direction: column; gap: 3px;
  border: 1px solid rgba(0,212,255,0.3); border-radius: 3px;
  padding: 7px 12px;
  background: rgba(0,212,255,0.07);
  box-shadow: 0 0 16px rgba(0,212,255,0.06), inset 0 0 8px rgba(0,212,255,0.04);
}
.hd-opt-title {
  font-family: var(--font-mono); font-size: 0.56rem;
  letter-spacing: 1.5px; color: var(--blue);
  text-transform: uppercase; font-weight: 700;
}
.hd-opt-sub {
  font-family: var(--font-mono); font-size: 0.5rem;
  color: var(--text-dim); letter-spacing: 1px;
}

@media (max-width: 900px) { .hero-diagram { display: none; } }
  position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  width: 52%; max-width: 720px;
  z-index: 2;
  padding: 2rem 2rem 1rem 1rem;
}

/* ── SECTION COMMON ── */
/* ── SECTION DIVIDER ── */
.section-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,212,255,0.2) 30%, rgba(0,212,255,0.2) 70%, transparent);
  position: relative;
}
.section-divider::before {
  content: ''; position: absolute;
  left: 50%; top: -3px; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

section { padding: 8rem 5rem; position: relative; }
section + section { padding-top: 7rem; }

.section-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before {
  content: ''; width: 28px; height: 1px; background: var(--blue);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: #fff;
  letter-spacing: -0.5px; line-height: 1.1;
  margin-bottom: 1.2rem;
}

.section-desc {
  font-size: 0.97rem; line-height: 1.85;
  color: var(--text-dim); max-width: 580px;
  margin-bottom: 4rem;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ELEKTROLIZ SECTION ── */
#elektroliz {
  background: var(--bg-deep);
  border-top: 1px solid rgba(0,212,255,0.07);
}

.elektroliz-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center;
}

.elektroliz-image-wrap { position: relative; }
.elektroliz-image-wrap img {
  width: 100%; border-radius: 8px;
  filter: drop-shadow(0 0 30px rgba(0,212,255,0.18));
}

.molecule-formula {
  font-family: var(--font-mono); font-size: 1.25rem;
  color: var(--green); text-align: center;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(57,255,106,0.2);
  background: var(--green-dim); border-radius: 4px;
  margin-top: 1.8rem; letter-spacing: 2px;
  box-shadow: 0 0 20px rgba(57,255,106,0.06);
}

.steps { display: flex; flex-direction: column; gap: 1rem; }

.step {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(0,212,255,0.08);
  border-left: 2px solid transparent;
  border-radius: 4px; transition: all 0.25s; cursor: pointer;
  background: rgba(10,21,32,0.6);
}
.step:hover {
  border-color: rgba(0,212,255,0.2);
  border-left-color: var(--blue);
  background: rgba(0,212,255,0.04);
  transform: translateX(4px);
}
.step.active {
  border-color: rgba(0,212,255,0.2);
  border-left-color: var(--blue);
  background: var(--blue-dim);
}
.step-num {
  font-family: var(--font-mono); font-size: 1.1rem;
  color: var(--blue); font-weight: 700; min-width: 2rem;
  line-height: 1; opacity: 0.7;
}
.step.active .step-num { opacity: 1; }
.step h3 { font-size: 0.95rem; color: #fff; font-weight: 700; margin-bottom: 0.35rem; }
.step p  { font-size: 0.85rem; color: var(--text-dim); line-height: 1.65; }

/* ── MIMARI SECTION ── */
#mimari {
  background: linear-gradient(180deg, #060d16 0%, var(--bg-deep) 100%);
  border-top: 1px solid rgba(0,212,255,0.07);
}

.arch-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}

.arch-card {
  padding: 1.8rem 1.4rem;
  background: rgba(8,18,30,0.8);
  border: 1px solid rgba(0,212,255,0.12);
  border-top: 2px solid rgba(0,212,255,0.12);
  border-radius: 4px;
  transition: all 0.28s; position: relative; overflow: hidden;
  cursor: pointer;
}
.arch-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.arch-card:hover {
  border-color: rgba(0,212,255,0.25);
  border-top-color: transparent;
  background: rgba(0,212,255,0.04);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,212,255,0.1);
}
.arch-card:hover::after { transform: scaleX(1); }

.arch-card-icon { font-size: 1.6rem; margin-bottom: 1.1rem; display: block; line-height: 1; }
.arch-card-num {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: rgba(0,212,255,0.4); letter-spacing: 2px; margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.arch-card h3 { font-size: 0.9rem; color: #fff; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.3; }
.arch-card p  { font-size: 0.8rem; color: var(--text-dim); line-height: 1.65; }

/* ── VERİM SECTION ── */
#verim {
  background: var(--bg-deep);
  border-top: 1px solid rgba(0,212,255,0.07);
}

/* Live data strip */
.hd-live-strip {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem;
  margin-bottom: 2.5rem;
}
.hd-live-cell {
  background: rgba(8,18,30,0.8);
  border: 1px solid rgba(0,212,255,0.12);
  padding: 1.1rem 1.2rem;
  border-radius: 4px; text-align: center;
  position: relative; overflow: hidden;
}
.hd-live-cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,212,255,0.3), transparent);
}
.hd-live-cell-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--text-dim); letter-spacing: 2px; margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.metrics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.metric-card {
  padding: 1.8rem 2rem;
  background: rgba(8,18,30,0.8);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 4px;
  cursor: pointer; transition: all 0.28s; position: relative; overflow: hidden;
}
.metric-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(57,255,106,0.25), transparent);
  transform: scaleX(0); transition: transform 0.3s;
}
.metric-card.active {
  border-color: rgba(57,255,106,0.3);
  background: rgba(57,255,106,0.05);
}
.metric-card.active::before { transform: scaleX(1); }
.metric-card:hover { transform: translateY(-3px); border-color: rgba(0,212,255,0.25); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

.metric-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1rem;
}
.metric-icon { font-size: 1.5rem; line-height: 1; }
.metric-value {
  font-family: var(--font-mono); font-size: 1.25rem;
  color: var(--green); font-weight: 700; letter-spacing: -0.5px;
}
.metric-card h3 { font-size: 0.95rem; color: #fff; font-weight: 700; margin-bottom: 0.45rem; }
.metric-card p  { font-size: 0.83rem; color: var(--text-dim); line-height: 1.65; }

.metric-detail {
  display: none; margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(0,212,255,0.1);
  font-size: 0.78rem; color: var(--text-dim); line-height: 1.8;
  font-family: var(--font-mono);
}
.metric-card.active .metric-detail { display: block; }

.progress-bar {
  height: 2px; background: rgba(0,212,255,0.1);
  border-radius: 2px; margin-top: 1rem; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(to right, var(--blue), var(--green));
  transition: width 1.5s ease;
}

/* ── CHART ── */
.chart-container {
  background: rgba(8,18,30,0.8);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 4px; padding: 2rem 2rem 1.5rem;
  position: relative;
}
.chart-container::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,212,255,0.25), transparent);
}
.chart-title {
  font-family: var(--font-mono); font-size: 0.72rem;
  color: rgba(0,212,255,0.6); letter-spacing: 2.5px;
  margin-bottom: 1.5rem; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.6rem;
}
.chart-title::before {
  content: '//'; color: rgba(0,212,255,0.3); font-size: 0.8rem;
}
#verimChart { max-height: 280px; }

/* ── SİSTEM SECTION ── */
#sistem {
  background: linear-gradient(180deg, #060d16 0%, var(--bg-deep) 100%);
  border-top: 1px solid rgba(0,212,255,0.07);
}

.sistem-image-wrap {
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 6px; overflow: hidden;
  position: relative;
  box-shadow: 0 0 60px rgba(0,212,255,0.07), 0 0 120px rgba(57,255,106,0.03);
  transition: box-shadow 0.4s, transform 0.4s;
}
.sistem-image-wrap:hover {
  box-shadow: 0 0 80px rgba(0,212,255,0.14), 0 0 160px rgba(57,255,106,0.06);
  transform: translateY(-3px);
}
.sistem-image-wrap img { width: 100%; display: block; }

.sistem-caption {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
  padding: 1rem 2rem;
  background: rgba(4,12,22,0.95);
  border-top: 1px solid rgba(0,212,255,0.12);
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 1.8px; text-transform: uppercase;
}
.sistem-caption span { color: var(--text-dim); }
.sistem-caption span:first-child,
.sistem-caption span:last-child { color: var(--blue); font-weight: 700; }
.caption-arrow { color: rgba(0,212,255,0.25); letter-spacing: 0; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(0,212,255,0.1);
  padding: 2.5rem 5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(3,8,14,0.8);
}
.footer-logo { font-size: 1.15rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.footer-logo span { color: var(--blue); }
.footer-copy { font-size: 0.72rem; color: var(--text-dim); font-family: var(--font-mono); letter-spacing: 1px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .arch-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  nav { padding: 1rem 2rem; }
  .nav-links { display: none; }
  section { padding: 5rem 2rem; }
  #hero { padding: 7rem 2rem 4rem; }
  .hero-content { max-width: 100%; }
  .elektroliz-grid { grid-template-columns: 1fr; gap: 3rem; }
  .metrics-grid { grid-template-columns: 1fr; }
  .hd-live-strip { grid-template-columns: repeat(2,1fr); }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem; }
}