/* =========================================================
   LÜMEN ELEKTRİK — gece teknik çizimi + sıcak akım ışığı
   ========================================================= */

/* =========================================================
   Fontlar — sunucudan, değişken woff2 (latin + latin-ext: Türkçe karakterler)
   ========================================================= */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/comfortaa-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/comfortaa-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0A0908;
  --bg-raise: #13110F;
  --bg-card: #14120F;
  --line: rgba(237, 231, 221, .09);
  --line-2: rgba(237, 231, 221, .17);
  --text: #EDE7DD;
  --text-dim: #A59C90;
  --text-faint: #6F675D;
  --amber: #FFB547;
  --amber-deep: #FF8A1F;
  --hot: #FFE3A6;
  --on-amber: #1A1206;

  --f-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --pad-l: clamp(56px, 7.5vw, 112px);
  --pad-r: clamp(56px, 7.5vw, 112px);
  --on: 0; /* ampul parlaklığı, JS sürer */
  --foot-h: 86px;
}

@media (max-width: 859px) {
  :root { --pad-l: 54px; --pad-r: 20px; --foot-h: 64px; }
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* film greni */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--amber); color: var(--on-amber); }

:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--amber); color: var(--on-amber); font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-left: var(--pad-l);
  padding-right: var(--pad-r);
}

.decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* ---------- Kablo + efekt katmanları ---------- */
#wire {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
#fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.w { fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* kablo: duvara düşen gölge, kılıf, sol-üstten vuran parlama */
.w-shadow { stroke: rgba(0, 0, 0, .55); stroke-width: 11px; transform: translate(4px, 8px); }
.w-base { stroke: #1C1815; stroke-width: 9px; }
.w-shade { stroke: rgba(255, 238, 215, .13); stroke-width: 1.6px; }
#wire .w-shade { transform: translate(-2px, -1.6px); }
/* enerjili hat: sabit amber taban; sıcak cephe, paketler ve arklar tuvalde çizilir */
.w-glow-wide { stroke: rgba(255, 150, 50, .09); stroke-width: 26px; }
.w-glow { stroke: rgba(255, 165, 60, .34); stroke-width: 8px; }
.w-core { stroke: #FFC46E; stroke-width: 2.2px; }
#wire .w-lit, #wire-base, #wire-shade, #wire-shadow { stroke-dasharray: 0 1e6; visibility: hidden; }
#wire .w-lit { opacity: var(--grid, 1); }
.stub { fill: none; stroke-linecap: butt; }
.stub-lit { opacity: 0; transition: opacity .25s; }
.is-powered .stub-lit { opacity: 1; }

/* ---------- Butonlar ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: .005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .25s var(--ease-out), box-shadow .35s var(--ease-out), transform .25s var(--ease-out), border-color .25s;
  box-shadow: 0 0 0 0 rgba(255, 181, 71, 0), 0 14px 40px -18px rgba(255, 150, 50, .7);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover { background: var(--hot); box-shadow: 0 0 0 6px rgba(255, 181, 71, .14), 0 18px 50px -14px rgba(255, 160, 60, .8); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-2); box-shadow: none;
}
.btn-ghost:hover { background: rgba(237, 231, 221, .06); border-color: rgba(237, 231, 221, .32); box-shadow: none; }
.btn-sm { --h: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- Navigasyon ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 9, 8, .62);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav-inner {
  max-width: 1360px; margin: 0 auto;
  padding: 12px var(--pad-r) 12px var(--pad-l);
  display: flex; align-items: center; justify-content: center;
}
/* logo üstte, marka adı altında; ampul yanınca ikisi de ışık alır */
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; min-height: 44px; }
.brand-mark {
  width: 22px; height: 22px; fill: none; stroke: var(--text-dim); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .6s, filter .6s;
}
.brand-word {
  font-size: 14px; line-height: 1;
  font-weight: 800; font-stretch: 125%; letter-spacing: .14em;
  padding-left: .14em; /* harf aralığını ortala */
  color: var(--text-dim);
  transition: color .8s var(--ease-out) .3s, text-shadow .8s var(--ease-out) .3s;
}
.power-on .brand-mark { stroke: var(--amber); filter: drop-shadow(0 0 6px rgba(255, 181, 71, .8)); }
.power-on .brand-word { color: var(--text); text-shadow: 0 0 14px rgba(255, 170, 70, .55); }

.finale-nav {
  margin-top: clamp(14px, 2.4vh, 24px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px;
}
.finale-nav a {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 12px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.finale-nav a:hover { color: var(--text); background: rgba(237, 231, 221, .05); }
@media (max-width: 859px) {
  .nav-inner { padding-left: 20px; padding-right: 20px; }
  .finale-nav a { padding: 10px 10px; font-size: 11px; }
}

/* ---------- HUD ---------- */
.hud {
  position: fixed; left: 24px; bottom: 22px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em;
  color: var(--text-dim);
  background: rgba(14, 12, 11, .7);
  border: 1px solid var(--line);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .6s;
}
.booted .hud { opacity: 1; }
.booted.power-on .hud { opacity: 0; }
.hud-led { width: 7px; height: 7px; border-radius: 50%; background: #3a332c; transition: background .3s, box-shadow .3s; }
.is-flowing .hud-led { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.hud-bar { position: relative; width: 96px; height: 3px; border-radius: 3px; background: rgba(237, 231, 221, .1); overflow: hidden; }
.hud-bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--amber-deep), var(--hot)); }
.hud-val { color: var(--text); min-width: 4ch; font-variant-numeric: tabular-nums; }
.hud-spec { padding-left: 10px; border-left: 1px solid var(--line); }
@media (max-width: 859px) {
  .hud { left: auto; right: 14px; bottom: 14px; padding: 8px 12px; }
  .hud-spec, .hud-label { display: none; }
  .hud-bar { width: 54px; }
}

/* ---------- Ortak bölüm başlığı ---------- */
.section { position: relative; padding-block: clamp(110px, 15vh, 190px); }

.eyebrow, .sec-index {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim);
}
.sec-index b { color: var(--text); font-weight: 500; }
.eyebrow-dot, .si-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3a332c;
  box-shadow: 0 0 0 4px rgba(237, 231, 221, .04);
  transition: background .4s, box-shadow .4s;
}
.is-powered .eyebrow-dot, .is-live .si-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 181, 71, .14), 0 0 14px rgba(255, 181, 71, .9); }

.sec-head { max-width: 860px; margin-bottom: clamp(48px, 7vh, 80px); }
.sec-title {
  margin-top: 22px;
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: .98;
  font-weight: 720;
  font-stretch: 112%;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.sec-lead { margin-top: 24px; max-width: 56ch; color: var(--text-dim); font-size: clamp(16px, 1.25vw, 18.5px); }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.sec-head--split .sec-lead { margin-top: 0; }
@media (max-width: 959px) { .sec-head--split { grid-template-columns: 1fr; gap: 24px; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow-x: clip; /* süzülen fiş sayfayı yana genişletmesin */
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 clamp(150px, 22vh, 230px);
}
.hero-decor .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(237, 231, 221, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 231, 221, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 68% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 68% 45%, #000 20%, transparent 75%);
}
.hero-decor .spot {
  position: absolute; right: 2%; top: 4%;
  width: min(1000px, 90vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 170, 80, .16), rgba(255, 140, 40, .05) 38%, transparent 66%);
  opacity: .25;
  transition: opacity 1.4s var(--ease-out);
}
.hero.is-powered .spot { opacity: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}
.hero-title {
  margin-top: 26px;
  font-size: clamp(50px, 7.6vw, 124px);
  line-height: .9;
  font-weight: 760;
  font-stretch: 118%;
  letter-spacing: -.045em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span { transform: translateY(108%); }
.hero-title em {
  font-style: normal;
  color: var(--text);
  transition: color 1s var(--ease-out), text-shadow 1.2s var(--ease-out);
}
.hero.is-powered .hero-title em { color: var(--amber); text-shadow: 0 0 40px rgba(255, 160, 60, .45); }
.hero-sub { margin-top: 28px; max-width: 46ch; font-size: clamp(16.5px, 1.3vw, 19px); color: var(--text-dim); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.scroll-cue {
  margin-top: 56px;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim);
  transition: opacity .5s;
}
.cue-line { position: relative; width: 1px; height: 38px; background: var(--line-2); overflow: hidden; }
.cue-line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--amber);
  animation: cue 1.8s var(--ease-io) infinite;
}
@keyframes cue { to { top: 110%; } }
.is-scrolled-past .scroll-cue { opacity: 0; }
.cue-b { display: none; }
.hero.is-powered .cue-a { display: none; }
.hero.is-powered .cue-b { display: inline; }

/* fiş beklerken: ipucu */
.js:not(.reduced) .plug { opacity: 0; }
.plug-hint {
  position: absolute; left: 60%; top: 80%;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  opacity: 0; transform: translateY(6px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  pointer-events: none;
}
.plug-hint i {
  position: relative; width: 14px; height: 22px; flex: none;
  border: 1.5px solid currentColor; border-radius: 8px;
}
.plug-hint i::after {
  content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px;
  border-radius: 2px; background: currentColor;
  animation: wheel 1.4s var(--ease-io) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(7px); } }
.hero.is-armed .plug-hint { opacity: 1; transform: none; }

/* fiş beklerken tutulup oynatılabilir */
.plug { pointer-events: none; }
.plug svg { transform-origin: 50% 38.46%; }
.hero.is-armed .plug svg > circle,
.hero.is-armed .plug svg > path {
  pointer-events: visiblePainted;
  cursor: grab;
  touch-action: none;
}
.hero.is-dragging .plug svg > circle,
.hero.is-dragging .plug svg > path { cursor: grabbing; }
@media (max-width: 859px) {
  .plug-hint { left: 50%; top: auto; bottom: -38px; transform: translate(-50%, 6px); }
  .hero.is-armed .plug-hint { transform: translate(-50%, 0); }
}

/* priz */
.socket-wrap {
  position: relative;
  justify-self: center;
  width: min(400px, 34vw);
  aspect-ratio: 400 / 520;
  margin-top: 40px;
}
.socket, .plug, .plug svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plug { transform-origin: 50% 38.46%; will-change: transform; }
.socket-engrave, .plug-engrave { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; fill: rgba(255, 240, 220, .2); }
.plug-engrave { font-size: 11px; fill: rgba(255, 240, 220, .14); }
.socket-led { fill: #2b2621; transition: fill .2s; }
.is-powered .socket-led { fill: var(--amber); filter: drop-shadow(0 0 5px var(--amber)) drop-shadow(0 0 12px rgba(255, 140, 40, .7)); }

.anno {
  position: absolute;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.anno::before { content: ""; position: absolute; top: 50%; height: 1px; background: var(--line-2); }
.anno-a { left: -30%; top: 12%; transform: translateX(-8px); }
.anno-a::before { left: calc(100% + 10px); width: 58px; }
.anno-b { right: -30%; top: 30%; transform: translateX(8px); }
.anno-b::before { right: calc(100% + 10px); width: 52px; }
.anno-c { left: -24%; top: 56%; transform: translateX(-8px); }
.anno-c::before { left: calc(100% + 10px); width: 44px; }
.is-powered .anno { opacity: 1; transform: none; }
@media (max-width: 1239px) { .anno { display: none; } }
.is-powered .anno-b { transition-delay: .12s; }
.is-powered .anno-c { transition-delay: .24s; }

@media (max-width: 859px) {
  .hero { align-items: flex-start; padding-top: 96px; padding-bottom: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .socket-wrap { order: -1; width: min(230px, 58vw); margin: 0 auto; }
  .hero-copy { margin-top: 64px; }
  .scroll-cue { margin-top: 40px; }
}

/* =========================================================
   HİZMETLER
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1099px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 679px) { .cards { grid-template-columns: 1fr; } }

.card {
  --mx: 50%; --my: 0%;
  position: relative;
  padding: 30px 28px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, #16130F, #100E0C);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .5s var(--ease-out), transform .5s var(--ease-out), background .5s;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber) 30%, var(--hot) 50%, var(--amber) 70%, transparent);
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out);
}
.card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 181, 71, .09), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card:hover::after { opacity: 1; }
.card.is-live::before { transform: scaleX(1); }
.card:nth-child(3n+2)::before { transition-delay: .12s; }
.card:nth-child(3n)::before { transition-delay: .24s; }

.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.card-no { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--text-faint); transition: color .6s; }
.card.is-live .card-no { color: var(--amber); }
.ico {
  width: 30px; height: 30px; fill: none;
  stroke: var(--text-dim); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .6s, filter .6s;
}
.card.is-live .ico { stroke: var(--hot); filter: drop-shadow(0 0 8px rgba(255, 181, 71, .55)); }
.card h3 { font-size: 23px; line-height: 1.15; font-weight: 680; font-stretch: 108%; letter-spacing: -.015em; }
.card p { margin-top: 12px; color: var(--text-dim); font-size: 15.5px; line-height: 1.6; }
.tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-dim);
}

/* =========================================================
   RAKAMLAR
   ========================================================= */
.stats { position: relative; padding-block: 24px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  position: relative;
  padding: 44px 28px 40px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-unit { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--text-faint); transition: color .6s; }
.stat-val {
  display: flex; align-items: baseline;
  font-size: clamp(48px, 5.8vw, 92px);
  line-height: 1;
  font-weight: 300;
  font-stretch: 125%;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
  transition: color .8s var(--ease-out), text-shadow .8s var(--ease-out);
}
.stat-val i { font-style: normal; font-size: .5em; margin-left: 4px; color: var(--amber); }
.stat-label { color: var(--text-dim); font-size: 15px; }
.stat.is-live .stat-val { color: var(--hot); text-shadow: 0 0 34px rgba(255, 170, 70, .35); }
.stat.is-live .stat-unit { color: var(--amber); }
@media (max-width: 959px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .stat { padding: 30px 16px 28px; }
}

/* =========================================================
   SÜREÇ
   ========================================================= */
.steps { position: relative; padding-top: 170px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  align-items: center;
  min-height: 150px;
  margin-bottom: 40px;
}
.step:last-child { margin-bottom: 0; }
.node {
  grid-column: 2; grid-row: 1;
  justify-self: center;
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--line-2);
  display: grid; place-items: center;
  transition: border-color .5s, box-shadow .6s;
}
.node > span {
  width: 12px; height: 12px; border-radius: 50%;
  background: #2f2a25;
  transition: background .4s, box-shadow .5s;
}
.node::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid var(--amber); opacity: 0; transform: scale(.7);
}
.step.is-live .node { border-color: var(--amber); box-shadow: 0 0 30px rgba(255, 160, 60, .35); }
.step.is-live .node > span { background: var(--hot); box-shadow: 0 0 12px var(--amber), 0 0 26px rgba(255, 140, 40, .8); }
.step.is-live .node::after { animation: ring 1.1s var(--ease-out) forwards; }
@keyframes ring { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.7); } }

.step-body { grid-row: 1; grid-column: 3; max-width: 440px; padding: 8px 0; transition: opacity .6s; }
.step:nth-child(even) .step-body { grid-column: 1; justify-self: end; text-align: right; }
.step-meta { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--text-faint); transition: color .6s; }
.step.is-live .step-meta { color: var(--amber); }
.step h3 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 680; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.1; }
.step p:not(.step-meta) { margin-top: 10px; color: var(--text-dim); }

@media (max-width: 859px) {
  .steps { padding-top: 96px; }
  .step { grid-template-columns: 1fr; min-height: 0; margin-bottom: 56px; }
  .node {
    position: absolute;
    grid-column: 1; justify-self: start;
    left: calc(var(--pad-l) * -.58 - 17px); top: 6px;
    width: 34px; height: 34px;
  }
  .node > span { width: 10px; height: 10px; }
  .step-body, .step:nth-child(even) .step-body { grid-column: 1; justify-self: start; text-align: left; padding: 0; }
}

/* =========================================================
   PROJELER
   ========================================================= */
.proj-list { border-top: 1px solid var(--line); }
.proj {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 160px 120px;
  gap: 24px;
  align-items: center;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .4s;
}
.proj::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease-out);
}
.proj.is-live::before { transform: scaleX(1); }
.proj:hover { background: rgba(237, 231, 221, .025); }
.proj-year, .proj-city { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--text-dim); }
.proj-year { transition: color .6s; }
.proj.is-live .proj-year { color: var(--amber); }
.proj-main h3 { font-size: clamp(21px, 2.1vw, 28px); font-weight: 650; font-stretch: 108%; letter-spacing: -.015em; line-height: 1.2; transition: color .3s; }
.proj-main p { margin-top: 6px; color: var(--text-dim); font-size: 15px; }
.proj-spec { font-size: clamp(20px, 1.9vw, 26px); font-weight: 300; font-stretch: 120%; letter-spacing: -.02em; text-align: right; }
.proj-city { text-align: right; }
.proj:hover .proj-main h3 { color: var(--hot); }
@media (max-width: 859px) {
  .proj { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 26px 0; }
  .proj-year { grid-column: 1; grid-row: 1; }
  .proj-city { grid-column: 2; grid-row: 1; }
  .proj-main { grid-column: 1 / -1; }
  .proj-spec { grid-column: 1 / -1; text-align: left; margin-top: 6px; }
}

/* =========================================================
   GÜVEN
   ========================================================= */
.trust-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.quote-mark { width: 44px; height: 34px; fill: var(--text-faint); transition: fill .6s, filter .6s; }
.quote.is-live .quote-mark { fill: var(--amber); filter: drop-shadow(0 0 12px rgba(255, 170, 70, .5)); }
.quote blockquote {
  margin-top: 26px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.25;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.quote figcaption { margin-top: 26px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--text-dim); text-transform: uppercase; }
.quote figcaption b { color: var(--text); font-weight: 500; }

.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.badges li {
  display: grid; grid-template-columns: 22px 1fr; column-gap: 10px;
  padding: 18px;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(20, 18, 15, .6);
}
.badges svg { grid-row: span 2; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--text-faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.badges.is-live svg { stroke: var(--amber); }
.badges b { font-size: 15.5px; font-weight: 650; font-stretch: 110%; }
.badges span { font-size: 13.5px; color: var(--text-dim); line-height: 1.4; }
@media (max-width: 959px) { .trust-grid { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .badges { grid-template-columns: 1fr; } }

/* =========================================================
   FİNAL — AMPUL
   ========================================================= */
/* Sayfanın en altında ampul, marka ve footer aynı ekranda görünür. */
.finale {
  position: relative;
  min-height: calc(100vh - var(--foot-h));
  min-height: calc(100svh - var(--foot-h));
  display: flex; flex-direction: column;
  overflow: hidden;
  padding-top: clamp(84px, 12vh, 140px);
}
.finale::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 30%, rgba(255, 170, 80, .13), transparent 70%),
    linear-gradient(180deg, transparent, rgba(255, 150, 60, .05));
  opacity: var(--on);
  pointer-events: none;
}
.finale-light {
  position: absolute; z-index: 0;
  left: 50%; top: 64%;
  width: 170vmax; height: 170vmax;
  transform: translate(-50%, -50%) scale(calc(.6 + var(--on) * .4));
  background: radial-gradient(circle, rgba(255, 214, 140, .42) 0%, rgba(255, 170, 70, .16) 9%, rgba(255, 130, 40, .05) 22%, transparent 40%);
  opacity: var(--on);
  pointer-events: none;
}
.finale-inner {
  position: relative; z-index: 3;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 20px;
}
.bulb-wrap { position: relative; height: min(28vh, 280px); aspect-ratio: 240 / 420; }
.bulb { position: relative; width: 100%; height: 100%; overflow: visible; }
.glass-fill { fill: url(#g-glass-on); fill-opacity: var(--on); }
.glass-edge { fill: none; stroke: rgba(255, 240, 220, calc(.2 + var(--on) * .3)); stroke-width: 1.5; }
.glass-hl { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 3; stroke-linecap: round; }
.glass-hl-2 { stroke-width: 2; stroke: rgba(255, 255, 255, .12); }
.stem { fill: none; stroke: rgba(200, 170, 130, .35); stroke-width: 1.2; }
.fil { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fil-off { stroke: #5a4632; }
.fil-on { stroke: #FFE9B8; opacity: var(--on); }
/* kesintide soğuyan tungsten */
.fil-ember { stroke: #FF5A1A; opacity: var(--ember, 0); }
/* elektrik geri gelirken kısa aşırı parlama */
.bulb-wrap { filter: brightness(calc(1 + var(--surge, 0) * 1.2)); }
.power-on-section .bulb-hint { visibility: hidden; }
.br-lit { opacity: var(--grid, 1); }

/* kesintide tüm ekran kararır */
.blackout {
  position: fixed; inset: 0; z-index: 55;
  background: #030202;
  opacity: var(--dark, 0);
  pointer-events: none;
}
.bulb-wrap::after {
  content: "";
  position: absolute; left: 50%; top: 64%;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 220, 150, .9), rgba(255, 170, 70, .35) 35%, transparent 70%);
  filter: blur(6px);
  opacity: var(--on);
  mix-blend-mode: screen;
  pointer-events: none;
}
.bulb-hint {
  position: absolute; left: calc(100% + 18px); top: 60%;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: calc(1 - var(--on));
}
.bulb-hint::before { content: ""; width: 28px; height: 1px; background: var(--line-2); }

.brand-reveal { margin-top: clamp(14px, 3vh, 34px); display: flex; flex-direction: column; align-items: center; }
.br-word {
  position: relative; display: block;
  white-space: nowrap;
  font-size: min(17vw, 19vh, 240px);
  line-height: .86;
  font-weight: 820;
  font-stretch: 125%;
  letter-spacing: -.03em;
}
.br-ghost { color: transparent; -webkit-text-stroke: 1px rgba(237, 231, 221, .1); }
.br-lit {
  position: absolute; inset: 0;
  color: #FFF4DE;
  filter: drop-shadow(0 0 22px rgba(255, 170, 70, .55)) drop-shadow(0 0 70px rgba(255, 140, 40, .35));
}
.br-ghost .ch, .br-lit .ch { display: inline-block; }
.js .br-lit .ch { opacity: 0; }
.br-sub {
  margin-top: clamp(12px, 2vh, 22px);
  font-family: var(--f-mono); font-size: clamp(11px, 1.1vw, 13px); font-weight: 500; letter-spacing: .5em; text-transform: uppercase;
  color: var(--amber);
  padding-left: .5em;
}
.finale-tag { margin-top: clamp(14px, 2.4vh, 26px); color: var(--text-dim); font-size: clamp(16px, 1.3vw, 19px); }
.finale-cta { margin-top: clamp(16px, 3vh, 30px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.js .br-sub, .js .finale-nav, .js .finale-tag, .js .finale-cta { opacity: .18; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transform: translateY(10px); }
.js .power-on-section .br-sub, .js .power-on-section .finale-nav, .js .power-on-section .finale-tag, .js .power-on-section .finale-cta { opacity: 1; transform: none; }
.js .power-on-section .finale-nav { transition-delay: .15s; }
.js .power-on-section .finale-tag { transition-delay: .25s; }
.js .power-on-section .finale-cta { transition-delay: .4s; }

.finale { padding-bottom: clamp(28px, 5vh, 60px); }
@media (max-width: 859px) {
  .bulb-hint { display: none; }
  .finale { padding-top: 84px; }
  .finale-cta { gap: 8px; }
  .finale-cta .btn { --h: 48px; padding: 0 18px; font-size: 14px; }
}

/* =========================================================
   FOOTER — fraxlabs imza şeridi (hasdogan-web ile aynı)
   ========================================================= */
.site-foot {
  position: relative; z-index: 4;
  height: var(--foot-h);
  background: var(--bg);
  border-top: 1px solid #1c1c1c;
  padding: 0 clamp(16px, 5vw, 72px);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-family: "Comfortaa", "Archivo", sans-serif;
  font-size: 13px;
  color: rgba(244, 241, 234, .62);
}
.site-foot b { color: #fff; font-weight: 700; }
@media (max-width: 859px) {
  .site-foot { flex-direction: column; justify-content: center; gap: 4px; padding: 0 16px env(safe-area-inset-bottom); font-size: 11px; text-align: center; }
}

/* =========================================================
   404 — "devre açık"
   ========================================================= */
.nf {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px; text-align: center;
  background: radial-gradient(ellipse 50% 40% at 50% 35%, rgba(255, 150, 60, .06), transparent 70%);
}
.nf-bulb {
  width: 54px; height: 54px; fill: none;
  stroke: var(--text-faint); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  animation: nf-dead 4s steps(1) infinite;
}
/* ara sıra boşa çakan, yanmayan ampul */
@keyframes nf-dead { 0%, 86%, 92%, 100% { stroke: var(--text-faint); filter: none; } 88%, 90% { stroke: var(--amber); filter: drop-shadow(0 0 8px var(--amber)); } }
.nf-code { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--amber); }
.nf-title { font-size: clamp(36px, 6vw, 72px); line-height: 1; font-weight: 760; font-stretch: 118%; letter-spacing: -.035em; }
.nf-text { color: var(--text-dim); max-width: 40ch; margin-bottom: 10px; }

/* JS yoksa / hareket azaltılmışsa: son, okunur durum */
html:not(.js) .finale, .reduced .finale { --on: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
