/* ==========================================================================
   kodend.com v2 — canlı tasarım katmanı (site.css'ten sonra yüklenir)
   Degrade arka planlar, cam efektli yüzen kartlar, canlı panel mockup'ları,
   kaydırınca beliren bölümler. Tüm hareketler prefers-reduced-motion'da durur.
   ========================================================================== */
:root {
  --red: #CB2228; --blue: #2F49D1; --teal: #0B8F80; --amber: #F5A524; --violet: #7C3AED;
  --navy: #0B1030; --navy-2: #151B48;
  --glass: color-mix(in srgb, var(--kd-surface) 78%, transparent);
  --shadow-lg: 0 30px 80px -30px rgba(15, 20, 60, .35), 0 12px 30px -12px rgba(15, 20, 60, .18);
  --shadow-md: 0 14px 34px -14px rgba(15, 20, 60, .28);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --shadow-lg: 0 30px 80px -30px rgba(0,0,0,.7); --shadow-md: 0 14px 34px -14px rgba(0,0,0,.6); } }
:root[data-theme="dark"] { --shadow-lg: 0 30px 80px -30px rgba(0,0,0,.7); --shadow-md: 0 14px 34px -14px rgba(0,0,0,.6); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.grad-text { background: linear-gradient(90deg, var(--red) 0%, var(--violet) 55%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-warm { background: linear-gradient(90deg, #FF6B6B, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-glow { box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--kd-accent) 70%, transparent); }
.btn-glow:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--kd-accent) 80%, transparent); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head-row .section-head { margin-bottom: 0; }

/* Kanal rozetleri */
.ch-dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font: 800 .72rem var(--kd-font-body); color: #fff; background: #64748B; }
.ch-dot[data-ch="TY"] { background: #F27A1A; }
.ch-dot[data-ch="HB"] { background: #FF6000; }
.ch-dot[data-ch="AZ"] { background: #232F3E; color: #FF9900; }
.ch-dot[data-ch="N1"] { background: #5A2D82; }
.ch-dot[data-ch="KS"] { background: var(--red); }
.ch-dot[data-ch="ÇS"] { background: #0D8F3C; }
.ch-dot[data-ch="PZ"] { background: #1E63E9; }
.ch-dot[data-ch="İD"] { background: #F25C05; }
.ch-dot[data-ch="PT"] { background: #0057A8; }
.ch-dot[data-ch="SH"] { background: #5E8E3E; }
.ch-dot[data-ch="WC"] { background: #7F54B3; }
.ch-dot[data-ch="OC"] { background: #23A1D1; }

/* ---------- Üst şerit ---------- */
.topbar { background: linear-gradient(90deg, var(--navy), #3A1030 60%, var(--red)); color: #fff; font-size: .85rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-promo { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-promo b { color: #FFD6D7; }
.topbar-tag { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.topbar-contact { display: inline-flex; align-items: center; gap: 6px; opacity: .9; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero2 { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--kd-bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #FF8A8C; top: -160px; right: 8%; }
.b2 { width: 460px; height: 460px; background: #8FA0FF; top: 160px; right: -120px; animation-delay: -6s; }
.b3 { width: 380px; height: 380px; background: #7FE3D3; bottom: -180px; left: 20%; opacity: .35; animation-delay: -11s; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .blob { opacity: .28; } }
:root[data-theme="dark"] .blob { opacity: .28; }
.hero-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--kd-line) 1px, transparent 1px), linear-gradient(90deg, var(--kd-line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%); opacity: .55; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } 100% { transform: translate(30px, -20px) scale(.95); } }

.hero2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero2-copy { display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--kd-line); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-md); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(203,34,40,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(203,34,40,0); } }
.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.3rem); font-weight: 800; }
.rotator { display: inline-block; position: relative; white-space: nowrap; }
.rotator-word { display: inline-block; background: linear-gradient(90deg, var(--red), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; transition: opacity .35s, transform .35s var(--kd-ease), filter .35s; }
.rotator-word.out { opacity: 0; transform: translateY(-.35em); filter: blur(4px); }
.rotator-word.in { opacity: 0; transform: translateY(.35em); filter: blur(4px); transition: none; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--violet)); opacity: .25; }
.hero-form { display: flex; gap: 8px; padding: 6px; background: var(--kd-surface); border: 1px solid var(--kd-line); border-radius: 14px; box-shadow: var(--shadow-md); max-width: 520px; }
.hero-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; font: 500 1rem var(--kd-font-body); color: var(--kd-ink); }
.hero-form input:focus { outline: none; }
.hero-form:focus-within { border-color: var(--red); box-shadow: var(--shadow-md), var(--kd-focus); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--kd-muted); }
.hero-trust li { display: inline-flex; gap: 6px; align-items: center; }
.hero-trust .ic { color: var(--kd-ok); }

/* Sahne */
.stage { position: relative; padding: 34px 48px 56px 0; }
.win { position: relative; background: var(--kd-surface); border: 1px solid var(--kd-line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; transition: transform .6s var(--kd-ease); }
.stage:hover .win { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--kd-soft); border-bottom: 1px solid var(--kd-line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.win-url { font: 500 .72rem var(--kd-font-mono); color: var(--kd-muted); background: var(--kd-surface); padding: 3px 10px; border-radius: 6px; }
.win-body { display: grid; grid-template-columns: 46px minmax(0, 1fr); }
.win-side { display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 14px 0; border-right: 1px solid var(--kd-line); }
.win-side i { width: 22px; height: 22px; border-radius: 7px; background: var(--kd-soft); }
.win-side i.on { background: var(--red); }
.win-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis div { border: 1px solid var(--kd-line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpis small { font-size: .68rem; color: var(--kd-muted); }
.kpis b { font: 800 1.15rem var(--kd-font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpis em { font-style: normal; font-size: .68rem; color: var(--kd-muted); }
.kpis em.up { color: var(--kd-ok); font-weight: 700; }
.chart-card { border: 1px solid var(--kd-line); border-radius: 10px; padding: 10px 10px 4px; }
.chart-head { display: flex; justify-content: space-between; font-size: .7rem; color: var(--kd-muted); margin-bottom: 4px; gap: 8px; }
.legend { display: inline-flex; align-items: center; gap: 4px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-left: 6px; }
.legend .l1 { background: var(--red); }
.legend .l2 { background: var(--blue); }
.chart { width: 100%; height: 110px; display: block; }
.chart .line { stroke-dasharray: 520; stroke-dashoffset: 0; }
.js .is-in .chart .line { animation: draw 2.2s var(--kd-ease) both; }
.js .is-in .chart .l-1 { animation-delay: .35s; }
.js .is-in .chart .area { animation: fade-in 1.2s .9s both; }
.chart-dot { animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes draw { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.share { display: grid; gap: 6px; font-size: .72rem; }
.share div { display: grid; grid-template-columns: 78px minmax(0, 1fr) 30px; align-items: center; gap: 8px; }
.share span { color: var(--kd-muted); white-space: nowrap; }
.share b { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 7px; border-radius: 4px; background: var(--kd-soft); position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: 4px; width: var(--w); background: var(--c); transform-origin: left; }
.js .is-in .bar::after { animation: grow 1.4s var(--kd-ease) both; }
.b-ty { --w: 42%; --c: #F27A1A; }
.b-hb { --w: 27%; --c: #FF6000; }
.b-ks { --w: 18%; --c: var(--red); }
.b-az { --w: 13%; --c: #5B6B84; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.phone { position: absolute; right: -18px; bottom: -6px; width: 160px; padding: 8px; border-radius: 30px; background: #0E1124; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; z-index: 2; }
.phone-notch { position: absolute; top: 12px; left: 50%; width: 50px; height: 14px; border-radius: 10px; background: #0E1124; transform: translateX(-50%); z-index: 2; }
.phone-screen { border-radius: 23px; overflow: hidden; background: #fff; color: #141A33; padding: 26px 10px 10px; display: flex; flex-direction: column; gap: 8px; }
.ps-head { display: flex; justify-content: space-between; font-size: .75rem; }
.ps-head b { font-family: var(--kd-font-display); }
.ps-banner { border-radius: 10px; padding: 10px; background: linear-gradient(135deg, var(--red), #FF7A59); color: #fff; display: flex; flex-direction: column; }
.ps-banner small { font-size: .6rem; opacity: .85; }
.ps-banner b { font: 800 .9rem var(--kd-font-display); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ps-item { border-radius: 8px; padding: 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ps-item svg { width: 34px; height: 34px; }
.ps-item small { font-size: .6rem; font-weight: 700; color: #141A33; }
.p1 { background: #EEF2FF; color: #6E7FE0; }
.p2 { background: #FFF1E6; color: #F28B44; }
.p3 { background: #FDECEC; color: #D9545A; }
.p4 { background: #E8F7F4; color: #2BA493; }
.ps-cta { text-align: center; background: #141A33; color: #fff; border-radius: 8px; padding: 6px; font-size: .65rem; font-weight: 700; }

.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid color-mix(in srgb, var(--kd-line) 70%, transparent); box-shadow: var(--shadow-md); font-size: .78rem; z-index: 3; }
.float small { display: block; color: var(--kd-muted); font-size: .68rem; }
.float b { font-weight: 700; }
.f-toast { top: 0; left: -28px; width: 290px; animation: bob 5s ease-in-out infinite; }
.f-toast .ft-body { flex: 1; min-width: 0; }
.f-toast .ft-body b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-amount { color: var(--kd-ok); font-variant-numeric: tabular-nums; white-space: nowrap; }
.f-toast.swap { animation: toast-swap .6s var(--kd-ease), bob 5s ease-in-out infinite; }
@keyframes toast-swap { 0% { transform: translateY(-10px) scale(.96); opacity: 0; } 100% { transform: none; opacity: 1; } }
.f-stock { left: -40px; bottom: 76px; animation: bob 7s -2s ease-in-out infinite; }
.f-invoice { right: 140px; top: -2px; animation: bob 6.5s -3s ease-in-out infinite; }
.fs-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 15%, transparent); color: var(--blue); }
.fs-ic.ok { background: color-mix(in srgb, var(--kd-ok) 15%, transparent); color: var(--kd-ok); }
.f-stock .ic { animation: spin 3s linear infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Kayan referans bandı ---------- */
.logo-band { padding-block: 34px 40px; border-block: 1px solid var(--kd-line); background: var(--kd-surface); }
.logo-band-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.logo-band-head p { color: var(--kd-muted); }
.logo-band-head b { color: var(--kd-ink); }
.logo-band-head a { display: inline-flex; gap: 6px; align-items: center; color: var(--red); font-weight: 600; text-decoration: none; font-size: .92rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; display: flex; gap: 14px; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { width: 112px; height: 112px; flex: none; border-radius: 14px; background: #fff; border: 1px solid var(--kd-line); overflow: hidden; transition: transform .25s var(--kd-ease), box-shadow .25s; }
.marquee-track li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.marquee-track img { width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Bento ---------- */
.bento-sec { background: linear-gradient(180deg, var(--kd-bg), color-mix(in srgb, var(--blue) 6%, var(--kd-bg))); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.b-card { grid-column: span 2; display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--kd-surface); border: 1px solid var(--kd-line); border-radius: 20px; transition: transform .3s var(--kd-ease), box-shadow .3s; overflow: hidden; min-width: 0; }
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.b-card.b-wide { grid-column: span 4; }
.b-card header h3 { font: 700 1.12rem/1.3 var(--kd-font-display); margin-bottom: 6px; }
.b-card header p { color: var(--kd-muted); font-size: .9rem; }
.b-stage { position: relative; flex: 1; min-height: 220px; border-radius: 14px; background: var(--kd-soft); padding: 14px; font-size: .78rem; }

/* Kart animasyonları yalnızca görünürken çalışır */
.js [data-anim] *, .js [data-anim] *::before, .js [data-anim] *::after { animation-play-state: paused; }
.js [data-anim].is-live *, .js [data-anim].is-live *::before, .js [data-anim].is-live *::after { animation-play-state: running; }

/* 1 — ürün gönderimi */
.push { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1.3fr); align-items: center; }
.push-prod { background: var(--kd-surface); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-md); }
.pp-img { width: 100%; aspect-ratio: 4/3; border-radius: 8px; background: linear-gradient(135deg, #EEF2FF, #E0E7FF); color: #6E7FE0; display: grid; place-items: center; margin-bottom: 4px; }
.pp-img svg { width: 48px; height: 48px; }
.push-prod small { color: var(--kd-muted); font-size: .68rem; }
.pp-btn { position: relative; margin-top: 6px; height: 30px; border-radius: 8px; background: var(--kd-ink); color: var(--kd-bg); font-weight: 700; font-size: .72rem; display: grid; place-items: center; overflow: hidden; animation: pp-bg 6s infinite; }
.pp-btn > span { grid-area: 1 / 1; display: inline-flex; gap: 4px; align-items: center; }
.pp-send { animation: pp-a 6s infinite; }
.pp-done { opacity: 0; animation: pp-b 6s infinite; color: #fff; }
@keyframes pp-a { 0%, 15% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes pp-b { 0%, 18% { opacity: 0; } 24%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pp-bg { 0%, 18% { background: var(--kd-ink); } 24%, 92% { background: #15803D; } 100% { background: var(--kd-ink); } }
.push-lines { width: 60px; height: 200px; }
.push-lines path { fill: none; stroke: color-mix(in srgb, var(--red) 45%, var(--kd-line)); stroke-width: 2; stroke-dasharray: 4 5; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.push-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.push-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; background: var(--kd-surface); border-radius: 10px; padding: 7px 10px; box-shadow: 0 2px 8px rgba(15,20,60,.06); }
.push-list .ch-dot { width: 30px; height: 30px; grid-row: span 2; }
.push-list b { font-size: .76rem; }
.push-list .kd-num { font-weight: 700; font-size: .76rem; grid-row: span 2; grid-column: 3; grid-row-start: 1; }
.pl-state { position: relative; height: 14px; font-size: .64rem; font-weight: 700; }
.pl-state span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.st-wait { color: var(--kd-warn); animation: st-a 6s infinite; }
.st-ok { color: var(--kd-ok); opacity: 0; animation: st-b 6s infinite; }
.pl-1 .st-wait, .pl-1 .st-ok { animation-delay: .3s; }
.pl-2 .st-wait, .pl-2 .st-ok { animation-delay: .6s; }
.pl-3 .st-wait, .pl-3 .st-ok { animation-delay: .9s; }
@keyframes st-a { 0%, 28% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes st-b { 0%, 30% { opacity: 0; } 36%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* 2 — siparişler */
.ord-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.ord-tabs span { padding: 4px 8px; border-radius: 8px; background: var(--kd-surface); font-weight: 600; font-size: .7rem; color: var(--kd-muted); }
.ord-tabs span.on { background: var(--kd-ink); color: var(--kd-bg); }
.ord-tabs i { font-style: normal; opacity: .7; margin-left: 2px; }
.ord-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ord-list li { display: flex; align-items: center; gap: 8px; background: var(--kd-surface); border-radius: 10px; padding: 7px 9px; animation: ord-in 8s infinite both; }
.ord-list .ch-dot { width: 28px; height: 28px; border-radius: 8px; }
.ol-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ol-main b { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-main small { color: var(--kd-muted); font-size: .62rem; }
.ol-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ol-right b { font-size: .72rem; }
.ol-right .kd-badge { font-size: .58rem; padding: 0 6px; }
.ol-1 { animation-delay: .4s; }
.ol-2 { animation-delay: .8s; }
.ol-3 { animation-delay: 1.2s; }
@keyframes ord-in { 0% { opacity: 0; transform: translateY(-12px); } 6%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 3 — stok merkezi */
.hub { padding: 0; overflow: hidden; }
.hub-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines path { stroke: color-mix(in srgb, var(--red) 30%, var(--kd-line)); stroke-width: 2; fill: none; stroke-dasharray: 3 5; }
.hub-pulses circle { fill: var(--red); }
.hub-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; background: var(--kd-ink); color: var(--kd-bg); display: grid; place-content: center; text-align: center; animation: ring 2.4s ease-out infinite; }
.hub-center small { font-size: .6rem; opacity: .7; }
.hub-center b { font: 800 1.6rem/1 var(--kd-font-mono); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(203,34,40,.45); } 100% { box-shadow: 0 0 0 22px rgba(203,34,40,0); } }
.hub-node { position: absolute; display: flex; align-items: center; gap: 6px; background: var(--kd-surface); padding: 5px 9px 5px 5px; border-radius: 10px; box-shadow: var(--shadow-md); }
.hub-node .ch-dot { width: 26px; height: 26px; border-radius: 7px; font-size: .62rem; }
.hub-node b { font: 700 .85rem var(--kd-font-mono); transition: color .3s; }
.n1 { left: 6%; top: 9%; }
.n2 { right: 6%; top: 9%; }
.n3 { left: 6%; bottom: 9%; }
.n4 { right: 6%; bottom: 9%; }
.hub-sale { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); background: var(--red); color: #fff; font-weight: 700; font-size: .66rem; padding: 3px 8px; border-radius: 999px; opacity: 0; white-space: nowrap; }
.hub.flash .hub-sale { animation: sale-pop 1.4s var(--kd-ease); }
@keyframes sale-pop { 0% { opacity: 0; transform: translate(-50%, 8px); } 20%, 70% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -10px); } }
.hub b.tick { color: var(--red); }

/* 4 — fiyat */
.price { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.pr-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 64px; align-items: center; gap: 8px; }
.pr-row > span:first-child { font-weight: 600; font-size: .74rem; display: flex; flex-direction: column; }
.pr-row small { color: var(--kd-muted); font-weight: 500; font-size: .62rem; }
.pr-row > b { text-align: right; font-size: .76rem; }
.pr-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--kd-surface); }
.pr-bar i { display: block; height: 100%; transform-origin: left; animation: grow 1.2s var(--kd-ease) both; }
.pr-bar .c { width: 58%; background: #94A3B8; }
.pr-bar .k { background: var(--amber); animation-delay: .3s; }
.pr-bar .p { width: 14%; background: #16A34A; animation-delay: .6s; }
.k1 { width: 22%; }
.k2 { width: 17%; }
.k3 { width: 4%; }
.pr-legend { display: flex; gap: 12px; flex-wrap: wrap; color: var(--kd-muted); font-size: .66rem; }
.pr-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; }
.pr-legend .c { background: #94A3B8; }
.pr-legend .k { background: var(--amber); }
.pr-legend .p { background: #16A34A; }

/* 5 — fatura & kargo */
.ship { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.ship-doc, .ship-label { background: var(--kd-surface); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; position: relative; box-shadow: 0 2px 8px rgba(15,20,60,.06); min-width: 0; }
.sd-head { display: flex; flex-direction: column; }
.sd-head b { font-size: .66rem; letter-spacing: .06em; color: var(--red); }
.sd-head span { font-size: .62rem; color: var(--kd-muted); }
.sd-line { height: 6px; border-radius: 3px; background: var(--kd-soft); }
.sd-line.s { width: 60%; }
.sd-total { display: flex; justify-content: space-between; margin-top: auto; font-size: .7rem; }
.sd-stamp { position: absolute; right: 8px; top: 40px; display: inline-flex; gap: 3px; align-items: center; color: #15803D; border: 2px solid #15803D; border-radius: 8px; padding: 2px 6px; font-weight: 800; font-size: .66rem; transform: rotate(-10deg); animation: stamp 5s infinite; background: var(--kd-surface); }
@keyframes stamp { 0%, 20% { opacity: 0; transform: rotate(-10deg) scale(1.8); } 28%, 92% { opacity: 1; transform: rotate(-10deg) scale(1); } 100% { opacity: 0; } }
.sl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.sl-head b { font-size: .72rem; }
.sl-head small { color: var(--kd-muted); font-size: .6rem; }
.barcode { display: flex; gap: 2px; height: 42px; align-items: stretch; }
.barcode i { flex: 1; background: var(--kd-ink); }
.barcode i.w1 { flex: 2; }
.barcode i.w2 { flex: .5; }
.ship-label .kd-mono { font-size: .64rem; text-align: center; letter-spacing: .08em; }
.sl-sync { display: inline-flex; gap: 4px; align-items: center; justify-content: center; font-size: .64rem; font-weight: 700; color: #C2410C; background: #FFF1E6; border-radius: 6px; padding: 3px; animation: sync-in 5s infinite; }
@keyframes sync-in { 0%, 40% { opacity: 0; transform: translateY(6px); } 48%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- Ürün ikilisi ---------- */
.duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.duo-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3vw, 40px); border-radius: 24px; color: #fff; text-decoration: none; isolation: isolate; min-height: 440px; transition: transform .35s var(--kd-ease), box-shadow .35s; }
.duo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.duo-commerce { background: linear-gradient(140deg, #1E2A8A 0%, #2F49D1 55%, #6D7CFF 100%); }
.duo-connect { background: linear-gradient(140deg, #064E46 0%, #0B8F80 55%, #2BD3B7 100%); }
.duo-tag { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); font-weight: 700; font-size: .82rem; }
.duo-card h3 { font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--kd-font-display); letter-spacing: -.02em; color: #fff; }
.duo-card > p { opacity: .85; max-width: 42ch; }
.duo-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.duo-list li { display: flex; gap: 10px; align-items: center; }
.duo-list .ic { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: rgba(255,255,255,.15); }
.duo-more { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.duo-more .ic { transition: transform .2s; }
.duo-card:hover .duo-more .ic { transform: translateX(4px); }
.duo-art { position: absolute; right: -60px; bottom: -60px; width: 280px; height: 280px; z-index: -1; }
.duo-art i { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); inset: 0; animation: ripple 6s linear infinite; }
.duo-art i:nth-child(2) { animation-delay: -1.5s; }
.duo-art i:nth-child(3) { animation-delay: -3s; }
.duo-art i:nth-child(4) { animation-delay: -4.5s; }
@keyframes ripple { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.bundle-strip { margin-top: 22px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px; text-decoration: none; color: var(--kd-ink); background: linear-gradient(90deg, color-mix(in srgb, var(--red) 10%, var(--kd-surface)), color-mix(in srgb, var(--violet) 8%, var(--kd-surface))); border: 1px solid color-mix(in srgb, var(--red) 25%, var(--kd-line)); }
.bundle-strip > span:nth-child(2) { flex: 1; min-width: 0; }
.bs-badge { font: 800 1.1rem var(--kd-font-display); color: #fff; background: var(--red); padding: 8px 12px; border-radius: 12px; transform: rotate(-4deg); }
.bs-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; transition: transform .2s; flex: none; }
.bundle-strip:hover .bs-go { transform: translateX(4px); }

/* ---------- Yapay zeka bandı ---------- */
.ai-band { background: radial-gradient(800px 400px at 85% 20%, rgba(124,58,237,.35), transparent 60%), radial-gradient(700px 400px at 10% 90%, rgba(203,34,40,.35), transparent 60%), var(--navy); color: #E8EAF6; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ai-copy { display: flex; flex-direction: column; gap: 18px; }
.ai-copy .h2 { color: #fff; }
.ai-copy > p { color: #B8BDE0; max-width: 52ch; }
.kd-eyebrow.on-dark { color: #FF8A8C; }
.ai-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; }
.ai-card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.ai-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.ai-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--violet)); color: #fff; }
.ai-input, .ai-output { background: rgba(0,0,0,.25); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.ai-input small, .ai-output small { color: #8D93C0; font-size: .72rem; }
.ai-output p { min-height: 8em; line-height: 1.6; }
.ai-output p.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: #FF8A8C; margin-left: 2px; vertical-align: -2px; animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ai-langs { font: 500 .72rem var(--kd-font-mono); color: #8D93C0; }

/* ---------- Adımlar ---------- */
.steps2-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.steps2-row::before { content: ""; position: absolute; top: 48px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--kd-line) 0 8px, transparent 8px 14px); }
.steps2-row li { position: relative; background: var(--kd-surface); border: 1px solid var(--kd-line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--kd-ease), box-shadow .3s; }
.steps2-row li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.s-num { position: absolute; right: 20px; top: 14px; font: 800 2.6rem/1 var(--kd-font-display); color: var(--kd-soft); }
.s-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--red), #FF7A59); box-shadow: 0 10px 20px -8px rgba(203,34,40,.6); }
.steps2-row li:nth-child(2) .s-ic { background: linear-gradient(135deg, var(--blue), #6D7CFF); box-shadow: 0 10px 20px -8px rgba(47,73,209,.6); }
.steps2-row li:nth-child(3) .s-ic { background: linear-gradient(135deg, var(--teal), #2BD3B7); box-shadow: 0 10px 20px -8px rgba(11,143,128,.6); }
.steps2-row h3 { font: 700 1.25rem var(--kd-font-display); }
.steps2-row p { color: var(--kd-muted); }

/* ---------- Rakamlar ---------- */
.stats2 { background: linear-gradient(110deg, var(--red) 0%, #8E1A4F 45%, var(--navy-2) 100%); color: #fff; padding-block: 56px; }
.stats2-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats2-row div { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 2px solid rgba(255,255,255,.25); }
.stats2-row b { font: 800 clamp(2.2rem, 4.4vw, 3.4rem)/1 var(--kd-font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats2-row span { opacity: .82; }

/* ---------- Entegrasyon sayaç kartları ---------- */
.int-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.int-count { --tc: var(--teal); display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: var(--kd-surface); border: 1px solid var(--kd-line); text-decoration: none; position: relative; overflow: hidden; transition: transform .3s var(--kd-ease), box-shadow .3s; }
.int-count::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tc); }
.int-count:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tone-commerce { --tc: var(--blue); }
.tone-brand { --tc: var(--red); }
.int-count > b { font: 800 2.6rem/1 var(--kd-font-display); color: var(--tc); }
.ic-title { font-weight: 700; }
.ic-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ic-chips i { font-style: normal; font-size: .75rem; padding: 3px 9px; border-radius: 999px; background: var(--kd-soft); }
.int-count small { color: var(--kd-muted); }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(600px 300px at 90% 10%, rgba(255,255,255,.18), transparent 60%), linear-gradient(120deg, #A3141A, var(--red) 45%, #E5484D); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.07); animation: spin 40s linear infinite; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; }

/* ---------- İç sayfa başlığı ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(700px 360px at 85% -10%, color-mix(in srgb, var(--kd-accent) 22%, transparent), transparent 70%), radial-gradient(500px 300px at 10% 110%, color-mix(in srgb, var(--violet) 14%, transparent), transparent 70%), var(--kd-bg); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--kd-line) 1px, transparent 1px), linear-gradient(90deg, var(--kd-line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000, transparent 75%); opacity: .5; }
.panel, .plan, .kd-table-wrap { box-shadow: var(--shadow-md); }
.split .panel { transition: transform .4s var(--kd-ease); }
.split .panel:hover { transform: translateY(-4px); }
.feature { transition: background .2s; }
.feature:hover { background: color-mix(in srgb, var(--kd-accent) 4%, var(--kd-surface)); }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px 12px 12px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .2s; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }

/* ---------- Kaydırınca beliren öğeler ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--kd-ease), transform .8s var(--kd-ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1020px) {
  .hero2-grid, .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 640px; margin-inline: auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-card { grid-column: span 1; }
  .b-card.b-wide { grid-column: span 2; }
  .int-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .topbar-contact { display: none; }
  .topbar-promo { font-size: .78rem; }
  .topbar-tag { display: none; }
  .hero-form { flex-direction: column; }
  .hero-form input { min-height: 46px; }
  .stage { padding: 66px 0 64px; }
  .win, .stage:hover .win { transform: none; }
  .kpis div:nth-child(3) { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone { width: 120px; right: -4px; }
  .f-toast { left: 0; top: 0; width: auto; right: 0; }
  .f-stock { left: 0; bottom: 14px; }
  .f-invoice { display: none; }
  .bento, .duo-grid, .steps2-row, .int-cards { grid-template-columns: minmax(0, 1fr); }
  .b-card.b-wide { grid-column: span 1; }
  .push { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .push-lines { display: none; }
  .steps2-row::before { display: none; }
  .stats2-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .duo-card { min-height: 0; }
  .bundle-strip { flex-wrap: wrap; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .marquee-track, .phone, .float, .f-stock .ic, .pill-dot, .hub-center, .chart-dot, .duo-art i, .cta-band::after, .push-lines path { animation: none !important; }
  .js [data-anim] *, .js [data-anim] *::before, .js [data-anim] *::after { animation: none !important; }
  .st-ok, .pp-done, .sd-stamp, .sl-sync, .ord-list li { opacity: 1 !important; transform: none !important; }
  .st-wait, .pp-send { opacity: 0 !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .win { transform: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Marka logoları ---------- */
.ch-dot.has-logo, .kd-channel__logo.has-logo { background: #fff; padding: 3px; border: 1px solid var(--kd-line); overflow: hidden; }
.ch-dot.has-logo img, .kd-channel__logo.has-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; display: block; }
.kd-channel__logo.has-logo { width: 26px; height: 26px; border-radius: 7px; }
.int-card-head .kd-channel__logo, .chip-row .kd-channel__logo { width: 44px; height: 44px; border-radius: 11px; flex: none; padding: 5px; }
.ic-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 8px; }
.ic-logo { aspect-ratio: 1; border-radius: 10px; background: #fff; border: 1px solid var(--kd-line); padding: 5px; display: grid; place-items: center; transition: transform .2s var(--kd-ease), box-shadow .2s; }
.ic-logo:hover { transform: translateY(-3px) scale(1.06); box-shadow: var(--shadow-md); }
.ic-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
