:root {
  --navy: #1F2566;
  --blue: #2D358C;
  --blue-2: #4A56D6;
  --sky: #ECEEFB;
  --sky-2: #F5F6FD;
  --ink: #14183A;
  --text: #3F4563;
  --muted: #7D839E;
  --line: #E4E6F2;
  --bg: #FFFFFF;
  --grad: linear-gradient(135deg, #1F2566 0%, #4A56D6 100%);
  --shadow: 0 1px 2px rgba(31,37,102,.04), 0 8px 24px rgba(31,37,102,.06);
  --shadow-lg: 0 2px 4px rgba(31,37,102,.04), 0 18px 48px rgba(31,37,102,.10);
  --radius: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg); }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body.idle { cursor: none; }
a { color: inherit; text-decoration: none; }

/* ---------- Sahne: 1920×1080 sabit tuval, ekrana ölçeklenir ---------- */
#stage {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px;
  transform-origin: center center;
  background: var(--bg);
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  padding: 150px 140px 110px;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.slide.active { opacity: 1; visibility: visible; transition: opacity .6s ease; }

/* Giriş animasyonları */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.rv.fade { transform: none; }
.rv.zoom { transform: scale(.94); }
.slide.active .rv { opacity: 1; transform: none; }

/* ---------- Ortak çerçeve ---------- */
.chrome-top {
  position: absolute; top: 52px; left: 140px; right: 140px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 5;
}
.logo { --w: 230px; display: block; width: var(--w); height: calc(var(--w) * .125); overflow: hidden; flex: none; }
.logo img { display: block; width: 100%; margin-top: calc(var(--w) * -.234); }
.chrome-top .logo { transition: opacity .5s ease; }
#stage.bare .chrome-top .logo { opacity: 0; }
.chrome-actions { display: flex; align-items: center; gap: 18px; }
.langs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--sky-2); border: 1px solid var(--line); }
.langs a { padding: 7px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.langs a:hover { color: var(--blue); }
html[lang="tr"] .langs a[data-l="tr"],
html[lang="en"] .langs a[data-l="en"],
html[lang="ru"] .langs a[data-l="ru"] { background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.back {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 16px; font-weight: 600; color: var(--navy);
  transition: border-color .2s ease, color .2s ease;
}
.back:hover { border-color: var(--blue); color: var(--blue); }
.back .ico { font-size: 18px; }
.chrome-bottom {
  position: absolute; bottom: 46px; left: 140px; right: 140px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; color: var(--muted); font-weight: 500; z-index: 5;
  transition: opacity .5s ease;
}
#stage.bare .chrome-bottom { opacity: 0; }
.crumb { display: flex; align-items: center; gap: 12px; }
.crumb b { color: var(--blue); font-weight: 700; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: #CCD0E4; flex: none; }
.pageno { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

#progress { position: fixed; left: 0; bottom: 0; height: 4px; width: 0; background: var(--grad); transition: width .5s ease; z-index: 20; }

#nav {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 30;
  opacity: 0; transition: opacity .3s ease;
}
body.show-nav #nav, #nav:hover, #nav:focus-within { opacity: 1; }
#nav button {
  width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
}
#nav button:hover { color: var(--blue); border-color: var(--blue); }
#nav button .ico { font-size: 20px; }
#hint {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 30;
  padding: 10px 18px; border-radius: 999px; background: rgba(20,24,58,.86); color: #fff;
  font-size: 13px; font-weight: 500; white-space: nowrap; transition: opacity .5s ease;
}
#hint kbd { font-family: inherit; background: rgba(255,255,255,.16); border-radius: 6px; padding: 2px 7px; margin: 0 2px; }
#hint.hide { opacity: 0; pointer-events: none; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }

/* ---------- Tipografi ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow .num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--sky); color: var(--blue); letter-spacing: 0; font-size: 16px;
}
h2.title { margin-top: 20px; font-size: 54px; line-height: 1.14; font-weight: 800; letter-spacing: -.02em; color: var(--ink); max-width: 1300px; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 25px; line-height: 1.55; color: var(--text); font-weight: 400; }
html[lang="ru"] h2.title { font-size: 46px; }
html[lang="ru"] .lead { font-size: 23px; }

.ico { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-tile {
  display: grid; place-items: center; flex: none;
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--sky); color: var(--blue); font-size: 34px;
}
.ico-tile.solid { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(45,53,140,.28); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 18px; font-weight: 600; color: var(--navy);
}
.pill .ico { font-size: 22px; color: var(--blue); }
.blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.head { margin-bottom: 56px; }

@keyframes flow { to { stroke-dashoffset: -30; } }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ======================================================
   01 · KAPAK
   ====================================================== */
.cover { display: grid; grid-template-columns: 1fr 760px; align-items: center; gap: 40px; }
.cover .left { position: relative; z-index: 2; }
.cover .logo { --w: 420px; margin-bottom: 64px; }
.cover .tag {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px;
  padding: 12px 22px; border-radius: 999px; background: var(--sky);
  color: var(--blue); font-weight: 600; font-size: 19px;
}
.cover h1 { font-size: 70px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
html[lang="ru"] .cover h1 { font-size: 54px; }
.cover .lead { margin-top: 30px; max-width: 820px; }
.cover .meta { margin-top: 56px; display: flex; gap: 14px; color: var(--muted); font-size: 18px; font-weight: 500; align-items: center; }

.hero { position: relative; width: 760px; height: 760px; flex: none; }
.hero svg.links { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .links path { stroke: #C5C9EA; stroke-width: 2; fill: none; stroke-dasharray: 6 9; animation: flow 1.6s linear infinite; }
.hero .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--line); transform: translate(-50%, -50%); }
.hero .ring.dashed { border-style: dashed; border-color: #ECEEF7; }
.hero .core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 190px; height: 190px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 30px 60px rgba(45,53,140,.30);
}
.hero .core .ico { font-size: 84px; stroke-width: 1.5; }
.hero .core::after {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 2px solid rgba(74,86,214,.25); animation: pulse 2.8s ease-out infinite;
}
.node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.node .bubble {
  width: 124px; height: 124px; border-radius: 34px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; color: var(--blue);
  animation: float 6s ease-in-out infinite; animation-delay: var(--fd, 0s);
}
.node .bubble .ico { font-size: 54px; }
.node span { font-size: 19px; font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ======================================================
   02 · HAKKIMIZDA
   ====================================================== */
.about { display: grid; grid-template-columns: 1fr 620px; gap: 90px; align-items: center; }
.about .lead { margin-top: 26px; max-width: 900px; }
.stats { margin-top: 50px; display: flex; }
.stat { padding: 0 44px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat .v { font-size: 60px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat .k { margin-top: 12px; font-size: 19px; color: var(--muted); font-weight: 500; }
.pills { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }

.years { position: relative; width: 620px; height: 620px; display: grid; place-items: center; }
.years svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.years circle { fill: none; stroke-width: 14; }
.years .track { stroke: var(--sky); }
.years .arc { stroke: url(#yearsGrad); stroke-linecap: round; stroke-dasharray: 1634; stroke-dashoffset: 1634; }
.slide.active .years .arc { animation: draw 2s cubic-bezier(.4,0,.2,1) .4s forwards; }
.years .orbit { position: absolute; inset: 70px; border-radius: 50%; border: 1px dashed #D9DCF0; animation: spin 40s linear infinite; }
.years .orbit::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 6px rgba(74,86,214,.15); }
@keyframes spin { to { transform: rotate(360deg); } }
.years .center { position: relative; text-align: center; }
.years .center .v { font-size: 190px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.years .center .k { margin-top: 10px; font-size: 24px; font-weight: 600; color: var(--muted); }

/* ======================================================
   03 · KATMANLAR
   ====================================================== */
.layers-row { display: flex; align-items: stretch; }
.layer { flex: 1; padding: 42px 40px 46px; position: relative; }
.layer .n { position: absolute; right: 34px; top: 22px; font-size: 96px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--sky); }
.layer h3 { margin-top: 34px; font-size: 32px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.layer p { margin-top: 14px; font-size: 21px; line-height: 1.5; color: var(--text); }
html[lang="ru"] .layer h3 { font-size: 28px; }
html[lang="ru"] .layer p { font-size: 19px; }
.link { flex: none; width: 110px; align-self: center; }
.link svg { display: block; width: 100%; height: 40px; overflow: visible; }
.link line { stroke: #B9BEE6; stroke-width: 2; stroke-dasharray: 6 9; animation: flow 1.2s linear infinite; }
.link circle { fill: var(--blue-2); }

/* ======================================================
   04 · İLKELER
   ====================================================== */
.values .lead { margin-top: 22px; max-width: 1200px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value { padding: 40px 40px 44px; position: relative; overflow: hidden; }
.value::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1) .9s; }
.slide.active .value::after { transform: scaleX(1); }
.value .n { font-size: 16px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.value .ico-tile { margin-top: 22px; }
.value h3 { margin-top: 28px; font-size: 30px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.value p { margin-top: 14px; font-size: 20px; line-height: 1.55; color: var(--text); }
html[lang="ru"] .value h3 { font-size: 27px; }
html[lang="ru"] .value p { font-size: 18.5px; }

/* ======================================================
   05 · ÜRÜNLER
   ====================================================== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product { overflow: hidden; display: flex; flex-direction: column; }
.product .media { position: relative; height: 290px; background: var(--sky-2); overflow: hidden; }
.product .media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2,.7,.2,1) .3s; }
.slide.active .product .media img { transform: scale(1); }
.product .code {
  position: absolute; left: 18px; top: 18px; padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,.92); border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--blue);
}
.product .body { padding: 28px 28px 32px; }
.product h3 { font-size: 25px; font-weight: 800; letter-spacing: -.015em; line-height: 1.22; }
.product p { margin-top: 12px; font-size: 18.5px; line-height: 1.5; color: var(--text); }
html[lang="ru"] .product h3 { font-size: 22px; }
html[lang="ru"] .product p { font-size: 17px; }

/* ======================================================
   06 · SİSTEM AKIŞI
   ====================================================== */
.flow-slide { display: grid; grid-template-columns: 1fr 860px; gap: 70px; align-items: center; }
.flow-slide .lead { margin-top: 24px; max-width: 720px; }
.qr { margin-top: 44px; padding: 30px 32px; max-width: 720px; }
.qr .top { display: flex; gap: 22px; align-items: flex-start; }
.qr h3 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.qr p { margin-top: 8px; font-size: 18.5px; line-height: 1.5; color: var(--text); }
.steps { margin-top: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 17px; font-weight: 600; color: var(--navy);
  animation: stepOn 4.5s ease-in-out infinite;
}
.step b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 14px; }
.step:nth-of-type(2) { animation-delay: 1.5s; }
.step:nth-of-type(3) { animation-delay: 3s; }
.steps > .ico { color: #B9BEE6; font-size: 18px; }
@keyframes stepOn { 0%, 28%, 100% { border-color: var(--line); background: #fff; } 8%, 20% { border-color: var(--blue-2); background: var(--sky-2); } }

.diagram { position: relative; width: 860px; height: 600px; flex: none; background: linear-gradient(170deg, #F6F7FE 0%, #FFFFFF 80%); overflow: hidden; }
.diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram path { fill: none; stroke-width: 2.5; stroke-dasharray: 6 9; animation: flow 1.4s linear infinite; }
.diagram .online { stroke: var(--blue-2); }
.diagram .offline { stroke: #9AA0C4; }
.diagram .packet { fill: var(--blue-2); }
.diagram .packet.alt { fill: var(--navy); }
.diagram .node .bubble { width: 112px; height: 112px; border-radius: 30px; }
.diagram .node .bubble .ico { font-size: 48px; }
.diagram .node span { max-width: 200px; white-space: normal; text-align: center; line-height: 1.25; }
.diagram .node.solid .bubble { background: var(--grad); color: #fff; border: 0; }
.tagchip {
  position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 17px; font-weight: 700; color: var(--navy); white-space: nowrap;
}
.tagchip small { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); }
.tagchip.off small { color: var(--muted); }
.tagchip i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-2); }
.tagchip.off i { background: #9AA0C4; }

/* ======================================================
   07 · MOBİL UYGULAMA
   ====================================================== */
.app { display: grid; grid-template-columns: 1fr 700px; gap: 90px; align-items: center; }
.app .lead { margin-top: 24px; max-width: 800px; }
.platforms { margin-top: 40px; display: grid; gap: 16px; max-width: 800px; }
.platform { display: flex; align-items: center; gap: 22px; padding: 20px 24px; border-radius: 18px; }
.platform .ico-tile { width: 62px; height: 62px; border-radius: 18px; font-size: 30px; }
.platform h3 { font-size: 23px; font-weight: 800; letter-spacing: -.01em; }
.platform p { margin-top: 4px; font-size: 18.5px; line-height: 1.45; color: var(--text); }
html[lang="ru"] .platform h3 { font-size: 21px; }
html[lang="ru"] .platform p { font-size: 17px; }
.app-visual { position: relative; width: 700px; height: 700px; display: grid; place-items: center; }
.app-visual .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--line); transform: translate(-50%, -50%); }
.app-visual .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, #E3E6FA 0%, rgba(227,230,250,0) 70%); }
.app-visual img { position: relative; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 28px; animation: float 7s ease-in-out infinite; }

/* ======================================================
   08 · KAPANIŞ
   ====================================================== */
.closing { align-items: center; text-align: center; }
.closing .logo { --w: 360px; margin: 0 auto 48px; }
.closing h1 { font-size: 72px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; max-width: 1300px; }
html[lang="ru"] .closing h1 { font-size: 60px; }
.closing .lead { margin: 26px auto 0; max-width: 980px; }
.contacts { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; width: 100%; }
.contact { display: flex; flex-direction: column; align-items: center; padding: 30px 22px 32px; transition: border-color .2s ease, transform .2s ease; }
a.contact:hover { border-color: var(--blue-2); transform: translateY(-3px); }
.contact .k { margin-top: 18px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact .val { margin-top: 8px; font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.4; overflow-wrap: anywhere; }

/* ======================================================
   Dik telefon: slaytlar alt alta kayan sayfaya döner
   ====================================================== */
html.flow, html.flow body { height: auto; overflow: visible; overflow-x: hidden; }
.flow #stage { position: relative; left: 0; top: 0; width: 720px; height: auto; transform: none !important; overflow: visible; }
.flow .slide { position: relative; inset: auto; min-height: 0; padding: 90px 48px; visibility: visible; opacity: 1; border-top: 1px solid var(--line); }
.flow .slide:first-of-type { border-top: 0; padding-top: 150px; }
.flow .chrome-top { left: 48px; right: 48px; top: 44px; }
.flow #stage.bare .chrome-top .logo { opacity: 1; }
.flow .chrome-top .logo { --w: 200px; }
.flow .chrome-bottom, .flow #nav, .flow #hint { display: none; }
.flow #progress { height: 5px; transition: none; }
.flow .cover, .flow .about, .flow .flow-slide, .flow .app { grid-template-columns: 1fr; gap: 56px; }
.flow .cover .logo { display: none; }
.flow .cover h1 { font-size: 58px; }
html[lang="ru"].flow .cover h1 { font-size: 46px; }
.flow h2.title { font-size: 46px; }
html[lang="ru"].flow h2.title { font-size: 40px; }
.flow .lead { font-size: 26px; }
.flow .hero { zoom: .82; }
.flow .years { zoom: .9; margin: 0 auto; }
.flow .stats { flex-wrap: wrap; }
.flow .layers-row { flex-direction: column; }
.flow .link { transform: rotate(90deg); margin: 14px 0; }
.flow .values-grid { grid-template-columns: 1fr; }
.flow .products-grid, .flow .contacts { grid-template-columns: 1fr 1fr; }
.flow .diagram { zoom: .725; }
.flow .app-visual { width: 100%; height: auto; }
.flow .app-visual .ring { display: none; }
.flow .closing h1 { font-size: 56px; }
html[lang="ru"].flow .closing h1 { font-size: 46px; }
.flow .meta { flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .years .arc { stroke-dashoffset: 0; }
}
