/* Fişek tanıtım sitesi — tasarım tokenları PLAN.md 7.3'ten */
:root {
  --night: #1E2470;
  --night-2: #161B58;
  --night-3: #2A3190;
  --spark: #FFC93C;
  --spark-2: #FFB300;
  --paper: #FAF8F3;
  --ink: #15172E;
  --mist: #E6E8F5;
  --alert: #E2463F;
  --ok: #2FB57A;

  --ink-soft: #4A4D6A;
  --line: rgba(21, 23, 46, .12);
  --line-dark: rgba(255, 255, 255, .14);

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 30px 60px -20px rgba(10, 12, 50, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--spark); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--spark); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--spark); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--spark); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--spark); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn-spark { box-shadow: 0 10px 30px -8px rgba(255, 201, 60, .65); }
.btn-spark:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 201, 60, .85); }
.btn-ghost { --bg: rgba(255, 255, 255, .08); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .16); }
.btn-line { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-line:hover { --bg: rgba(255, 255, 255, .1); }
.btn-sm { padding: .6em 1.15em; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s, padding .3s; padding-block: 18px; color: #fff; }
.nav.scrolled { background: rgba(22, 27, 88, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); padding-block: 10px; box-shadow: 0 1px 0 var(--line-dark); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; }
.logo-spark { width: .85em; height: .85em; fill: var(--spark); transition: transform .6s var(--ease); }
.logo:hover .logo-spark { transform: rotate(90deg) scale(1.15); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; opacity: .85; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--spark); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover { opacity: 1; }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; padding: 130px 0 90px;
  background: var(--night); color: #fff;
  display: flex; align-items: center;
}
.hero::before { /* ince ızgara: fiş kâğıdı çizgisi hissi */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero::after { /* sıcak ışık kaynağı: fişin arkasında */
  content: ""; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; right: -18vmax; top: -10vmax;
  background: radial-gradient(circle, rgba(255, 201, 60, .22), transparent 60%);
  filter: blur(10px); animation: glow 8s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-6vmax, 6vmax) scale(1.1); opacity: .7; } }
.hero > .wrap { min-width: 0; }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }

.pill { display: inline-flex; align-items: center; gap: .6em; padding: .45em 1em; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: .92rem; margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 0 rgba(255,201,60,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255,201,60,0); } 100% { box-shadow: 0 0 0 0 rgba(255,201,60,0); } }

.hero h1 { font-size: clamp(3rem, 8.2vw, 6.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .95; margin-bottom: 28px; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(4deg); animation: wordIn .9s var(--ease) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.word-spark { position: relative; color: var(--spark); white-space: nowrap; }
.word-spark svg { position: absolute; width: .32em; height: .32em; right: -.28em; top: -.06em; fill: var(--spark); animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.55) rotate(45deg); opacity: .6; } }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: rgba(255,255,255,.75); }
.hero-points li::before { content: "✦"; color: var(--spark); margin-right: .5em; }

/* fiş */
.hero-receipt { position: relative; justify-self: center; width: min(360px, 100%); }
.printer { position: relative; z-index: 2; background: linear-gradient(#2E3596, #232A82); border-radius: 18px 18px 10px 10px; padding: 14px 18px 16px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12); }
.printer-top { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem; color: rgba(255,255,255,.6); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.printing .led { background: var(--spark); box-shadow: 0 0 10px var(--spark); animation: blink .25s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.printer-slot { margin-top: 12px; height: 8px; border-radius: 4px; background: #0C0F3D; box-shadow: inset 0 2px 4px rgba(0,0,0,.6); }
.paper-clip { position: relative; z-index: 1; margin: -6px 22px 0; overflow: hidden; padding-bottom: 14px; }
.paper {
  position: relative; background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: .8rem; line-height: 1.55;
  padding: 16px 18px 22px; min-height: 40px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.5);
  transform-origin: top;
  --tooth: 10px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tooth) * 1.4) var(--tooth) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tooth) * 1.4) var(--tooth) repeat-x;
}
.paper::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 3px, rgba(21,23,46,.018) 3px 4px); pointer-events: none; }
.rl { display: flex; justify-content: space-between; gap: 12px; white-space: pre; animation: lineIn .22s var(--ease) both; }
.rl.c { justify-content: center; text-align: center; }
.rl.big { font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; }
.rl.dim { color: var(--ink-soft); }
.rl.hr { color: rgba(21,23,46,.35); overflow: hidden; }
.rl.h { font-weight: 600; margin-top: 2px; }
.rl.tot { font-weight: 600; font-size: .95rem; }
.rl.st span:last-child { color: var(--alert); font-weight: 500; }
.rl.note { display: block; white-space: normal; background: var(--night); color: #fff; padding: 9px 11px; border-radius: 6px; margin-top: 6px; }
.rl.note b { color: var(--spark); font-weight: 600; display: block; margin-bottom: 2px; }
@keyframes lineIn { from { opacity: 0; transform: translateY(-6px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.reprint { display: inline-flex; align-items: center; gap: .5em; margin: 4px auto 0; padding: .55em 1.1em; border-radius: 999px; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: .9rem; font-weight: 600; transition: background .2s; position: relative; left: 50%; transform: translateX(-50%); }
.reprint svg { width: 1.1em; height: 1.1em; fill: currentColor; transition: transform .5s var(--ease); }
.reprint:hover { background: rgba(255,255,255,.18); }
.reprint:hover svg { transform: rotate(-200deg); }
.reprint[disabled] { opacity: .5; cursor: default; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--spark); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- ticker ---------- */
.ticker { background: var(--spark); color: var(--ink); overflow: hidden; font-weight: 700; font-size: 1.05rem; padding: 14px 0; transform: rotate(-1.2deg) scale(1.03); margin-top: -18px; position: relative; z-index: 3; box-shadow: 0 14px 30px -14px rgba(0,0,0,.35); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section.dark { background: var(--night); color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); }
.dark .section-head p { color: rgba(255,255,255,.75); }
.note { font-size: .88rem; color: var(--ink-soft); font-style: italic; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--spark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2315172E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- flow ---------- */
.flow-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: s; }
.flow-steps::before { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--night) 0 8px, transparent 8px 16px); opacity: .25; }
.flow-step { position: relative; background: #fff; border-radius: var(--r); padding: 22px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(21,23,46,.4); transition-delay: calc(var(--i, 0) * 120ms); }
.flow-step:nth-child(2) { --i: 1; } .flow-step:nth-child(3) { --i: 2; } .flow-step:nth-child(4) { --i: 3; }
.flow-step p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.step-no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--night); color: var(--spark); font-weight: 800; font-size: .85rem; margin-bottom: 16px; position: relative; z-index: 1; }
.step-visual { height: 150px; border-radius: var(--r-sm); background: var(--mist); margin-bottom: 18px; position: relative; overflow: hidden; }

.vis-sale { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.tile { background: #fff; border-radius: 8px; display: grid; place-items: center; font-weight: 600; font-size: .88rem; transition: transform .2s, background .2s; }
.in .tile-a { animation: tilePress 3.2s .6s infinite; }
@keyframes tilePress { 0%, 15%, 100% { transform: none; background: #fff; } 20% { transform: scale(.92); background: var(--spark); } 40% { transform: none; background: var(--spark); } 60% { background: #fff; } }
.tap { position: absolute; left: 27%; top: 30%; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--night); opacity: 0; }
.in .tap { animation: tapRing 3.2s .6s infinite; }
@keyframes tapRing { 0%, 14% { opacity: 0; transform: scale(.5); } 20% { opacity: .8; transform: scale(.8); } 40% { opacity: 0; transform: scale(1.8); } 100% { opacity: 0; } }

.vis-stock { padding: 16px 14px; display: grid; gap: 10px; align-content: center; }
.bar { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; }
.bar i { height: 10px; border-radius: 5px; background: rgba(30,36,112,.12); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--from); background: var(--night); border-radius: 5px; }
.in .bar i::after { animation: drain 3.2s .9s infinite; }
@keyframes drain { 0%, 20% { width: var(--from); } 35%, 85% { width: var(--to); background: var(--night); } 100% { width: var(--from); } }
.bar b { font-family: var(--mono); color: var(--alert); font-size: .76rem; text-align: right; opacity: 0; }
.in .bar b { animation: pop 3.2s .9s infinite; }
@keyframes pop { 0%, 22% { opacity: 0; transform: translateY(-4px); } 30%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.vis-margin { display: flex; align-items: center; gap: 14px; padding: 0 14px; }
.vis-margin svg { width: 104px; height: 104px; flex: none; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--night); stroke-width: 14; opacity: .9; }
.ring-fg { fill: none; stroke: var(--spark); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--ease) .6s; }
.in .ring-fg { stroke-dasharray: 70 100; }
.ring-label { position: absolute; left: 14px; width: 104px; text-align: center; line-height: 1.1; }
.ring-label strong { display: block; font-size: 1.3rem; }
.ring-label span { font-size: .72rem; color: var(--ink-soft); }
.ring-legend { list-style: none; padding: 0; margin: 0; font-size: .78rem; display: grid; gap: 6px; font-weight: 600; }
.ring-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ring-legend .k { background: var(--night); } .ring-legend .p { background: var(--spark); }

.vis-forecast .days { position: absolute; inset: 16px 14px 10px; display: flex; align-items: flex-end; gap: 8px; }
.days div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; position: relative; }
.days i { width: 100%; height: 0; border-radius: 6px 6px 3px 3px; background: rgba(30,36,112,.35); transition: height 1.1s var(--ease); }
.in .days i { height: var(--h); }
.days div:nth-child(2) i { transition-delay: .1s; } .days div:nth-child(3) i { transition-delay: .2s; } .days div:nth-child(4) i { transition-delay: .3s; } .days div:nth-child(5) i { transition-delay: .4s; }
.days .hot i { background: var(--spark); box-shadow: 0 0 20px rgba(255,201,60,.6); }
.days span { font-size: .7rem; font-weight: 600; color: var(--ink-soft); }
.days em { position: absolute; top: -2px; font-style: normal; font-size: .62rem; font-weight: 700; background: var(--night); color: var(--spark); padding: 1px 6px; border-radius: 6px; opacity: 0; transition: opacity .4s 1.3s; }
.in .days em { opacity: 1; }

/* ---------- ask / chat ---------- */
.ask { overflow: hidden; }
.ask::before { content: ""; position: absolute; width: 700px; height: 700px; left: -250px; bottom: -350px; background: radial-gradient(circle, rgba(255,201,60,.16), transparent 65%); pointer-events: none; }
.ask-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.ask-text p { font-size: 1.15rem; color: rgba(255,255,255,.78); }
.ask-text h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.chat { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; display: flex; flex-direction: column; min-height: 540px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; line-height: 1.1; }
.chat-head small { font-size: .78rem; color: var(--ink-soft); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--night); display: grid; place-items: center; flex: none; }
.avatar svg { width: 18px; height: 18px; fill: var(--spark); }
.chat.thinking .chat-head .avatar svg { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chat-body { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 440px; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px; font-size: .97rem; line-height: 1.5; animation: msgIn .4s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.msg.user { align-self: flex-end; background: var(--night); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #fff; box-shadow: 0 1px 0 var(--line), 0 8px 20px -14px rgba(21,23,46,.4); border-bottom-left-radius: 4px; }
.msg.bot.warn { box-shadow: inset 3px 0 0 var(--alert), 0 8px 20px -14px rgba(21,23,46,.4); }
.msg .src { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--ink-soft); }
.msg .src::before { content: "↳"; color: var(--night); font-weight: 700; }
.msg .caret { display: inline-block; width: 7px; height: 1em; background: var(--night); vertical-align: -2px; margin-left: 2px; animation: blink .6s steps(2) infinite; }
.typing { display: inline-flex; gap: 5px; padding: 15px 18px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--night); opacity: .3; animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 30% { transform: translateY(-5px); opacity: 1; } }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 86px; margin-top: 12px; padding: 8px 0 0; }
.mini-chart div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.mini-chart i { width: 100%; border-radius: 4px 4px 2px 2px; background: var(--night); height: 0; transition: height .9s var(--ease); }
.mini-chart i.hl { background: var(--spark); }
.mini-chart i.bad { background: var(--alert); }
.mini-chart span { font-size: .66rem; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; }
.chat-chips button { border: 0; padding: .55em 1em; border-radius: 999px; background: var(--mist); font-size: .88rem; font-weight: 600; transition: background .2s, transform .2s; }
.chat-chips button:hover { background: var(--spark); transform: translateY(-1px); }
.chat-chips button.used { opacity: .5; }
.chat-chips button[disabled] { cursor: wait; }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; min-width: 0; border: 0; background: var(--mist); border-radius: 999px; padding: .75em 1.1em; font: inherit; font-size: .95rem; color: var(--ink); }
.chat-input input:focus { outline: 2px solid var(--night); outline-offset: 0; }
.chat-input button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--night); display: grid; place-items: center; transition: transform .2s; }
.chat-input button:hover { transform: scale(1.06); }
.chat-input button svg { width: 20px; height: 20px; fill: var(--spark); }

/* ---------- morning ---------- */
.morning { background: var(--mist); overflow: hidden; }
.morning-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.morning-text p { font-size: 1.12rem; color: var(--ink-soft); }
.phone { justify-self: center; width: min(340px, 100%); background: #0B0D2A; border-radius: 44px; padding: 12px; box-shadow: var(--shadow), inset 0 0 0 2px #2A2E5C; position: relative; transform: rotate(-4deg); transition: transform .9s var(--ease), opacity .9s var(--ease); }
.phone.in { transform: rotate(-4deg); }
.phone:hover { transform: rotate(0) translateY(-6px); }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 22px; margin-left: -45px; background: #0B0D2A; border-radius: 12px; z-index: 2; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 40px 14px 12px; background: #1F2C34; color: #fff; border-radius: 34px 34px 0 0; }
.wa-head strong { display: block; line-height: 1.1; font-size: .95rem; }
.wa-head small { font-size: .72rem; opacity: .7; }
.wa-body { background: #ECE5DD; padding: 12px 10px 18px; border-radius: 0 0 34px 34px; min-height: 470px; display: flex; flex-direction: column; gap: 8px; background-image: radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px); background-size: 14px 14px; }
.wa-day { align-self: center; background: #E1F2FB; font-size: .7rem; padding: 3px 10px; border-radius: 8px; margin: 0 0 4px; color: #4a5a63; }
.wa-msg { position: relative; background: #fff; border-radius: 10px 10px 10px 2px; padding: 8px 10px 18px; font-size: .84rem; line-height: 1.45; max-width: 92%; box-shadow: 0 1px 1px rgba(0,0,0,.1); opacity: 0; transform: translateY(14px) scale(.96); transform-origin: 0 100%; }
.phone.in .wa-msg { animation: waIn .5s var(--ease) forwards; }
.phone.in .wa-msg:nth-of-type(2) { animation-delay: .5s; }
.phone.in .wa-msg:nth-of-type(3) { animation-delay: 1.4s; }
.phone.in .wa-msg:nth-of-type(4) { animation-delay: 2.3s; }
@keyframes waIn { to { opacity: 1; transform: none; } }
.wa-msg ul { margin: 4px 0 0; padding-left: 18px; }
.wa-time { position: absolute; right: 8px; bottom: 3px; font-size: .64rem; color: #8a969c; }
.wa-btn { display: block; margin-top: 8px; padding: 6px; text-align: center; border-top: 1px solid #eee; color: #128C7E; font-weight: 700; }

/* ---------- chain dashboard ---------- */
.chain { overflow: hidden; }
.dash { background: #0F1348; border-radius: var(--r-lg); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px var(--line-dark); overflow: hidden; transform-style: preserve-3d; }
.reveal.dash { transform: perspective(1400px) rotateX(14deg) translateY(60px); }
.reveal.dash.in { transform: perspective(1400px) rotateX(0) translateY(0); transition-duration: 1.3s; }
.dash-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line-dark); font-size: .9rem; }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dash-title { font-weight: 700; flex: 1; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ok); font-weight: 600; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ping2 1.6s infinite; }
@keyframes ping2 { 0% { box-shadow: 0 0 0 0 rgba(47,181,122,.7); } 80%, 100% { box-shadow: 0 0 0 8px rgba(47,181,122,0); } }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.kpi { background: #0F1348; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.kpi small { font-size: .8rem; color: rgba(255,255,255,.6); }
.kpi strong { font-size: clamp(1.4rem, 2.6vw, 2rem); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .78rem; color: rgba(255,255,255,.55); }
.kpi em.up { color: var(--ok); }
.kpi-warn strong { color: var(--alert); }
.dash-table { padding: 8px 12px 4px; }
.row { display: grid; grid-template-columns: 1.1fr 1fr .8fr 1.2fr 1.4fr; gap: 12px; align-items: center; padding: 13px 10px; border-radius: 10px; font-size: .95rem; font-variant-numeric: tabular-nums; transition: background .2s; }
.row:not(.head):hover { background: rgba(255,255,255,.04); }
.row.head { font-size: .75rem; color: rgba(255,255,255,.5); font-weight: 600; padding-block: 8px; }
.row.warn { background: rgba(226,70,63,.08); box-shadow: inset 3px 0 0 var(--alert); }
.row .up { color: var(--ok); } .row .down { color: #FF8A84; }
.spark-line { width: 100%; height: 24px; }
.spark-line polyline { fill: none; stroke: var(--spark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 2s var(--ease) .8s; }
.dash.in .spark-line polyline { stroke-dashoffset: 0; }
.warn .spark-line polyline { stroke: #FF8A84; }
.tag { display: inline-block; font-size: .75rem; padding: 3px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.tag.ok { background: rgba(47,181,122,.15); color: #6FE0AE; }
.tag.bad { background: var(--alert); color: #fff; animation: pulseBad 2s infinite; }
@keyframes pulseBad { 50% { box-shadow: 0 0 0 6px rgba(226,70,63,.2); } }
.dash-note { margin: 0; padding: 12px 22px 16px; font-size: .8rem; color: rgba(255,255,255,.45); font-style: italic; }
.chain-points { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.chain-points li { color: rgba(255,255,255,.7); font-size: .98rem; border-top: 2px solid var(--spark); padding-top: 16px; }
.chain-points strong { display: block; color: #fff; font-size: 1.08rem; margin-bottom: 6px; }

/* ---------- features ---------- */
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); transition: padding .3s var(--ease); }
.feature-list li:hover { padding-left: 8px; }
.feature-list strong { display: block; color: var(--ink); font-size: 1.12rem; margin-bottom: 2px; }
.fi { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--night); color: var(--spark); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; transition: transform .35s var(--ease), background .3s, color .3s; }
.feature-list li:hover .fi { transform: rotate(-8deg) scale(1.08); background: var(--spark); color: var(--night); }

/* ---------- devices ---------- */
.devices { background: #fff; }
.device-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device { margin: 0; background: var(--mist); border-radius: var(--r); padding: 34px 26px 22px; text-align: center; transition: transform .4s var(--ease); }
.device:hover { transform: translateY(-6px); }
.device svg { width: 100%; max-width: 200px; margin: 0 auto 18px; }
.device figcaption { font-weight: 700; }
.d-body { fill: var(--night); }
.d-screen { fill: #0C0F3D; }
.d-ui rect { fill: rgba(255,255,255,.16); }
.d-ui .d-accent { fill: var(--spark); }
.d-keys { fill: #2A3190; }
.d-paper { fill: var(--paper); }
.device:hover .d-ui rect { animation: uiFlash .9s; }
.device:hover .d-ui rect:nth-child(2) { animation-delay: .1s; } .device:hover .d-ui rect:nth-child(3) { animation-delay: .2s; } .device:hover .d-ui rect:nth-child(4) { animation-delay: .3s; }
@keyframes uiFlash { 40% { fill: var(--spark); } }

.offline { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--night); color: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 46px); }
.offline h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.offline p { color: rgba(255,255,255,.75); margin: 0; }
.offline-demo { display: grid; gap: 18px; }
.switch { display: inline-flex; align-items: center; gap: 14px; border: 0; background: transparent; padding: 0; justify-self: start; font-weight: 700; color: #fff; }
.switch-knob { width: 64px; height: 36px; border-radius: 999px; background: var(--ok); position: relative; transition: background .3s; flex: none; }
.switch-knob::after { content: ""; position: absolute; top: 4px; left: 32px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: left .3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.switch[aria-checked="false"] .switch-knob { background: var(--alert); }
.switch[aria-checked="false"] .switch-knob::after { left: 4px; }
.queue { background: rgba(255,255,255,.06); border-radius: var(--r); padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line-dark); }
.queue-status { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; }
.wifi { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); transition: background .3s, box-shadow .3s; }
.off .wifi { background: var(--alert); box-shadow: 0 0 10px var(--alert); }
.queue-dots { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; }
.queue-dots i { width: 22px; height: 22px; border-radius: 6px; background: var(--spark); display: grid; place-items: center; animation: qIn .35s var(--ease); }
.queue-dots i::after { content: "₺"; font-style: normal; font-size: .7rem; font-weight: 800; color: var(--ink); }
.queue-dots i.out { animation: qOut .35s var(--ease) forwards; }
@keyframes qIn { from { transform: scale(0) rotate(-30deg); } }
@keyframes qOut { to { transform: translateY(-20px) scale(.4); opacity: 0; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: rgba(255,255,255,.04); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: inset 0 0 0 1px var(--line-dark); transition: transform .4s var(--ease), box-shadow .4s; }
.plan:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255,201,60,.5); }
.plan h3 { font-size: 1.4rem; }
.price { font-size: 2rem; font-weight: 800; margin: 6px 0 2px; color: var(--spark); letter-spacing: -.02em; }
.plan-sub { color: rgba(255,255,255,.6); font-size: .92rem; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 30px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; color: rgba(255,255,255,.85); font-size: .97rem; }
.plan li::before { content: "✦"; color: var(--spark); }
.plan-hot { background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(255,201,60,.35), 0 0 0 2px var(--spark); }
.plan-hot:hover { box-shadow: 0 40px 70px -20px rgba(255,201,60,.5), 0 0 0 2px var(--spark); }
.plan-hot .price { color: var(--night); }
.plan-hot .plan-sub, .plan-hot li { color: var(--ink-soft); }
.plan-hot li::before { color: var(--night); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--spark); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plans-note { margin: 28px 0 0; text-align: center; color: rgba(255,255,255,.6); font-size: .95rem; }

/* ---------- pilot ---------- */
.pilot { background: var(--paper); }
.pilot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.pilot-text p { font-size: 1.12rem; color: var(--ink-soft); }
.pilot-form { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px rgba(21,23,46,.45); display: grid; gap: 18px; position: relative; overflow: hidden; }
.pilot-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(90deg, var(--night) 0 20px, var(--spark) 20px 40px); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 4px rgba(30,36,112,.12); }
.field.err input, .field.err select { border-color: var(--alert); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--night); flex: none; }
.consent.err span { color: var(--alert); }
.form-msg { margin: 0; font-size: .95rem; font-weight: 600; min-height: 1.5em; }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: var(--alert); }

/* ---------- faq ---------- */
.faq { background: var(--mist); }
.faq-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.15rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--night); color: var(--spark); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-soft); padding-right: 44px; animation: msgIn .4s var(--ease); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 70px 0 30px; }
.footer .logo { color: #fff; }
.footer-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-slogan { margin-top: 8px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols div { display: grid; gap: 8px; align-content: start; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--spark); }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; font-size: .88rem; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-steps::before { display: none; }
  .chain-points { grid-template-columns: 1fr 1fr; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 26px; font-size: 1.5rem; background: var(--night); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-links.open { opacity: 1; visibility: visible; }
  .hero { padding-top: 110px; min-height: auto; }
  .hero-in, .ask-in, .morning-in, .pilot-in, .faq-in, .offline { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-receipt { order: 2; }
  .morning-in .phone { order: 2; }
  .feature-cols { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .device-row { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .faq-in { gap: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .flow-steps, .chain-points { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr 1fr .8fr; font-size: .88rem; }
  .row > :nth-child(5) { grid-column: 1 / -1; }
  .row.head > :nth-child(5) { display: none; }
  .hide-sm { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .chat { min-height: 500px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .kpi { padding: 14px; }
}

/* ---------- hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal.dash { opacity: 1; transform: none; }
  .hero h1 .w { opacity: 1; transform: none; }
  .wa-msg { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: 16px; }
  .sparks { display: none; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
