/* ============================================================
   UIPAPP — Marketing Site Design System
   Karma tema: koyu hero + aydınlık içerik
   ============================================================ */

/* Admin panel tarafından üretilen ayar dosyası (ör. --logo-scale).
   @import en üstte olmalı; dosya yoksa tarayıcı sessizce yok sayar. */
@import url("site-custom.css");

:root {
  /* Renkler */
  --navy-950: #060A13;
  --navy-900: #0B1220;
  --navy-800: #101A2E;
  --navy-700: #16233D;
  --ink: #0F172A;
  --slate: #475569;
  --slate-light: #94A3B8;
  --light: #F1F3F6;   /* Infobip tarzı nötr gri içerik zemini */
  --light-2: #E9EDF3;
  --white: #FFFFFF;
  --blue: #3B82F6;
  --violet: #8B5CF6;
  --cyan: #22D3EE;
  --green: #34D399;
  --amber: #FBBF24;
  --grad: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  --grad-text: linear-gradient(100deg, #60A5FA, #A78BFA 55%, #22D3EE);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, .18);
  --shadow-sm: 0 4px 18px -4px rgba(15, 23, 42, .10);
  /* --logo-scale burada TANIMLANMAZ: site-custom.css @import ile ezebilsin
     diye fallback var(--logo-scale, 1) kullanılır (aksi halde sonraki tanım import'u ezerdi). */
  --nav-h: max(72px, calc(64px * var(--logo-scale, 1) + 8px));  /* logo büyüyünce nav da büyür */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.sub { background: var(--light); } /* alt sayfalar: Infobip tarzı gri zemin */
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border: 0; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px -6px rgba(99, 102, 241, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(99, 102, 241, .65); }
.btn-ghost {
  background: rgba(255, 255, 255, .07); color: #E2E8F0;
  border: 1px solid rgba(148, 163, 184, .25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .13); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Navigasyon ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s, height .28s ease;
}
.nav.scrolled {
  background: rgba(6, 10, 19, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(148, 163, 184, .12);
  /* kaydırınca nav ~yarıya iner (logo da küçülür) — üstte büyük, altta kompakt */
  height: max(58px, calc(64px * var(--logo-scale, 1) * .5 + 6px));
}
.nav-inner { display: flex; align-items: center; gap: 28px; width: min(1280px, 94%); margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.nav-logo .logo-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 17px;
  box-shadow: 0 4px 14px -2px rgba(99, 102, 241, .6);
}
.nav-links { display: flex; gap: 4px; margin-left: 10px; }
.nav-links a {
  padding: 8px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 500;
  color: #C7D0DE; transition: color .15s, background .15s;
  white-space: nowrap;
}
@media (max-width: 1280px) {
  .nav-links a { padding: 8px 9px; font-size: 13.5px; }
  .nav-inner { gap: 18px; }
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid rgba(148, 163, 184, .3); border-radius: 999px;
  color: #C7D0DE; padding: 6px 10px 6px 12px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: var(--font); transition: border-color .15s, color .15s;
}
.lang-current:hover { border-color: rgba(148, 163, 184, .55); color: #fff; }
.lang-current .lang-flag { font-size: 15px; line-height: 1; }
.lang-current .chev { opacity: .65; transition: transform .2s; }
.lang-switch.open .lang-current .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 120;
  min-width: 178px; max-height: min(60vh, 340px); overflow-y: auto;
  background: rgba(13, 20, 36, .97); border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 13px; box-shadow: 0 22px 54px -14px rgba(0, 0, 0, .62);
  backdrop-filter: blur(12px); padding: 6px; display: none;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: transparent; border: 0; border-radius: 8px; cursor: pointer;
  padding: 8px 10px; font-size: 13.5px; font-weight: 600; color: #C7D0DE;
  font-family: var(--font); text-align: left; transition: background .12s, color .12s;
}
.lang-menu button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.lang-menu button.on { color: #fff; }
.lang-menu .lang-flag { font-size: 17px; line-height: 1; flex: none; }
.lang-menu .lang-name { flex: 1; }
.lang-menu .lang-check { flex: none; opacity: 0; color: #7DD3FC; }
.lang-menu button.on .lang-check { opacity: 1; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Yüzen DOCK menü (alt-orta, teknoloji hissi) ---------- */
.dock {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 120;
  display: flex; align-items: center; gap: 4px;
  background: rgba(9, 14, 28, .74);
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px; padding: 8px 10px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .65), 0 0 0 1px rgba(59, 130, 246, .07), 0 0 36px -8px rgba(99, 102, 241, .4);
  animation: dockfloat 6s ease-in-out infinite;
  max-width: calc(100vw - 20px);
}
@keyframes dockfloat { 50% { transform: translateX(-50%) translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .dock { animation: none; } }
.dock a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 68px; padding: 9px 10px 7px; border-radius: 15px;
  color: #A7B3C6; font-size: 11px; font-weight: 600; letter-spacing: .01em;
  transition: color .18s, background .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.dock a svg { width: 19px; height: 19px; }
.dock a:hover { color: #fff; background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.dock a.active { color: #fff; background: var(--grad); box-shadow: 0 8px 22px -6px rgba(99, 102, 241, .6); }
@media (max-width: 820px) {
  .dock { bottom: 12px; gap: 2px; padding: 7px 8px; border-radius: 19px; }
  .dock a { min-width: 44px; padding: 9px 9px; border-radius: 13px; }
  .dock a span { display: none; }
  .dock a svg { width: 21px; height: 21px; }
}

/* Mobil menü */
.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: rgba(6, 10, 19, .97); backdrop-filter: blur(16px);
  padding: 18px 6% 28px; flex-direction: column; gap: 4px;
  border-bottom: 1px solid rgba(148, 163, 184, .15);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #D8DEE9; padding: 13px 10px; border-radius: 10px; font-weight: 600; font-size: 16px; }
.mobile-menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 700px at 75% -10%, #182747 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 20px) 0 108px; /* alt boşluk: yüzen dock ile çakışmasın */
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 -1px 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none; display: none;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none;
}
.orb-1 { width: 480px; height: 480px; background: #4338CA; top: -140px; right: -80px; }
.orb-2 { width: 380px; height: 380px; background: #0891B2; bottom: -160px; left: -120px; opacity: .22; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59, 130, 246, .12); border: 1px solid rgba(96, 165, 250, .35);
  color: #93C5FD; font-size: 13px; font-weight: 600;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 18px; color: #A9B4C6; max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hstat .num { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.hstat .num em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hstat .lbl { font-size: 13px; color: #7C8AA0; font-weight: 500; }

/* Kod penceresi */
.code-window {
  position: relative;
  background: rgba(13, 20, 36, .88);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55);
  backdrop-filter: blur(10px);
  overflow: hidden;
  font-family: var(--mono); font-size: 13.5px;
}
.code-window .cw-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px; border-bottom: 1px solid rgba(148, 163, 184, .12);
  background: rgba(255, 255, 255, .03);
}
.cw-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.cw-bar .d1 { background: #F87171; } .cw-bar .d2 { background: #FBBF24; } .cw-bar .d3 { background: #34D399; }
.cw-bar .cw-title { margin-left: 8px; color: #64748B; font-size: 12px; }
.code-window pre { padding: 20px 22px; overflow-x: auto; line-height: 1.75; color: #C9D4E5; min-height: 285px; }
.tk-c { color: #5B6B82; } .tk-k { color: #7DD3FC; } .tk-s { color: #A5B4FC; } .tk-g { color: #34D399; } .tk-y { color: #FBBF24; }
.cw-cursor { display: inline-block; width: 8px; height: 15px; background: #7DD3FC; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cw-float {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: rgba(16, 26, 46, .92); border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 12px; padding: 11px 16px; font-family: var(--font); font-size: 13px; font-weight: 600;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); backdrop-filter: blur(8px);
  animation: floaty 5s ease-in-out infinite;
}
.cw-float .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
@keyframes floaty { 50% { transform: translateY(-9px); } }
.float-a { top: -22px; right: 26px; color: #D1FAE5; }
.float-a .ic { background: rgba(52, 211, 153, .16); color: var(--green); }
.float-b { bottom: -20px; left: -18px; color: #DBEAFE; animation-delay: 1.2s; }
.float-b .ic { background: rgba(59, 130, 246, .16); color: #60A5FA; }

/* ---------- Bölüm genel ---------- */
.section { padding: 92px 0; }
.section.alt { background: var(--light); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 14px; }
.sec-head p { color: var(--slate); font-size: 16.5px; }

/* ---------- Hızlı erişim ikon şeridi (hero altı) ---------- */
.quick-strip { padding: 56px 0; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.quick-card {
  background: #fff; border: 1px solid #E6EBF4; border-radius: var(--radius);
  padding: 24px 18px; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.quick-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.quick-card .q-ic {
  width: 54px; height: 54px; border-radius: 15px; margin: 0 auto 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, .12), rgba(139, 92, 246, .12));
  color: var(--blue); transition: .2s;
}
.quick-card:hover .q-ic { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -6px rgba(99, 102, 241, .5); }
.quick-card h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 5px; }
.quick-card p { font-size: 13px; color: var(--slate); line-height: 1.5; }
@media (max-width: 1020px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } .quick-strip { padding: 40px 0; } }

/* ---------- Ürün kartları ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
  position: relative; background: #fff; border: 1px solid #E6EBF4; border-radius: var(--radius);
  padding: 30px 28px; transition: transform .22s, box-shadow .22s, border-color .22s;
  overflow: hidden;
}
.prod-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .22s;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-card:hover::before { opacity: 1; }
.prod-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, .12), rgba(139, 92, 246, .12));
  color: var(--blue);
}
.prod-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.prod-card p { color: var(--slate); font-size: 14.5px; margin-bottom: 18px; }
.prod-link { font-size: 14px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.prod-link svg { transition: transform .18s; }
.prod-card:hover .prod-link svg { transform: translateX(4px); }

/* ---------- Özellik ızgarası ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: #fff; border: 1px solid #E6EBF4; border-radius: var(--radius); padding: 26px;
  transition: box-shadow .2s, transform .2s;
}
.feat:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feat .f-ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 15px;
  background: rgba(59, 130, 246, .1); color: var(--blue);
}
.feat h4 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.feat p { font-size: 14px; color: var(--slate); }

/* ---------- Koyu API bandı ---------- */
.api-band {
  background: radial-gradient(900px 500px at 20% 0%, #14213C 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #fff; padding: 92px 0; position: relative; overflow: hidden;
}
.api-band .sec-head h2 { color: #fff; }
.api-band .sec-head p { color: #96A3B8; }
.api-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.api-points { display: flex; flex-direction: column; gap: 20px; }
.api-point { display: flex; gap: 15px; }
.api-point .ic {
  width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: rgba(59, 130, 246, .14); color: #7DD3FC;
}
.api-point h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: #E8EDF6; }
.api-point p { font-size: 14px; color: #8E9CB3; }
.code-tabs { display: flex; gap: 6px; margin-bottom: -1px; position: relative; z-index: 2; }
.code-tabs button {
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: #7C8AA0;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(148, 163, 184, .15); border-bottom: 0;
  padding: 9px 17px; border-radius: 10px 10px 0 0; cursor: pointer; transition: .15s;
}
.code-tabs button.on { color: #fff; background: rgba(13, 20, 36, .88); }
.api-code .code-window { border-radius: 0 var(--radius) var(--radius) var(--radius); }
.api-code .code-window pre { min-height: 250px; }

/* ---------- Adımlar ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid #E6EBF4; border-radius: var(--radius); padding: 30px 26px 26px;
}
.step .s-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 17px; margin-bottom: 18px;
  box-shadow: 0 8px 20px -6px rgba(99, 102, 241, .5);
}
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--slate); }

/* ---------- CTA bandı ---------- */
.cta-band { padding: 0 0 92px; }
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(700px 380px at 50% -40%, #2A3B66 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  border-radius: 24px; padding: 72px 24px; color: #fff;
}
.cta-box h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.cta-box p { color: #A9B4C6; max-width: 560px; margin: 0 auto 30px; }
.cta-box .glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: var(--grad); filter: blur(130px); opacity: .18; top: -260px; left: 50%; transform: translateX(-50%);
}

/* ---------- Sayfa içi hero (alt sayfalar) ---------- */
.page-hero {
  background: radial-gradient(1000px 560px at 70% -20%, #182747 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  color: #fff; padding: calc(var(--nav-h) + 64px) 0 72px; position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 16px; max-width: 760px; }
.page-hero .hero-sub { margin-bottom: 28px; }

/* İçerik blokları (alt sayfa) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split h3 { font-size: 25px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.split p { color: var(--slate); margin-bottom: 12px; font-size: 15.5px; }
.check-list li { display: flex; gap: 11px; padding: 7px 0; font-size: 15px; color: var(--ink); }
.check-list .ck {
  width: 22px; height: 22px; flex: none; margin-top: 2px; border-radius: 50%;
  background: rgba(52, 211, 153, .14); color: #059669; display: grid; place-items: center;
}

/* ---------- SSS ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid #E6EBF4; border-radius: 14px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 19px 22px; font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--light-2); display: grid; place-items: center; color: var(--slate); transition: .2s; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--slate); font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #93A1B8; padding: 64px 0 120px; /* alt: yüzen dock payı */ }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer .f-logo .logo-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; font-size: 16px; color: #fff; }
.footer .f-about { font-size: 14px; max-width: 300px; margin-bottom: 18px; }
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(148, 163, 184, .15); color: #B9C4D6; transition: .18s;
}
.f-social a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.footer h5 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 14px; transition: color .15s; }
.footer li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, .12); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px;
}

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.2,.65,.3,1), transform .6s cubic-bezier(.2,.65,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner, .api-inner { grid-template-columns: 1fr; gap: 44px; }
  .prod-grid, .feat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta .btn-login { display: none; }
  .prod-grid, .feat-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .hero-stats { gap: 24px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cw-float { display: none; }
}

/* ---------- Görsel logo (admin panelden yüklenirse) ----------
   Yüklenen dosya hangi boyutta olursa olsun bu sınırlara oturur. */
.logo-img {
  height: calc(64px * var(--logo-scale, 1)) !important; width: auto !important;
  max-width: 88vw !important; object-fit: contain; display: block;
  transition: height .28s ease;
}
/* Kaydırınca nav logosu yarıya iner (footer logosu etkilenmez) */
.nav.scrolled .logo-img { height: calc(64px * var(--logo-scale, 1) * .5) !important; }
.f-logo .logo-img { height: calc(46px * var(--logo-scale, 1)) !important; }
@media (max-width: 720px) {
  .logo-img { height: calc(46px * var(--logo-scale, 1)) !important; max-width: 78vw !important; }
  .nav.scrolled .logo-img { height: calc(46px * var(--logo-scale, 1) * .5) !important; }
}

/* ---------- Kapatılan sayfa linkleri (admin panel yönetir) ---------- */
[hidden] { display: none !important; }

/* ---------- Footer yasal linkler (dikey çizgiyle ayrık) ---------- */
.footer-legal { display: flex; gap: 0; flex-wrap: wrap; padding-bottom: 20px; align-items: center; }
.footer-legal a { font-size: 13px; color: #93A1B8; transition: color .15s; padding: 2px 18px; border-left: 1px solid rgba(148, 163, 184, .28); }
.footer-legal a:first-child { padding-left: 0; border-left: 0; }
.footer-legal a:hover { color: #fff; }

/* ---------- Yasal sayfa kartı ---------- */
.legal-card {
  background: #fff; border: 1px solid #E6EBF4; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 40px 38px; max-width: 860px; margin: 0 auto;
}
.legal-card h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 26px 0 10px; }
.legal-card h2:first-of-type { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--slate); font-size: 15px; margin-bottom: 10px; }
.legal-card ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal-card .l-date { font-size: 13px; color: var(--slate-light); margin-bottom: 20px; }
@media (max-width: 720px) { .legal-card { padding: 26px 20px; } }

/* ---------- Blog listesi ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: #fff; border: 1px solid #E6EBF4; border-radius: var(--radius); padding: 26px;
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card .p-date { font-size: 12.5px; color: var(--slate-light); font-weight: 600; margin-bottom: 8px; }
.post-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.post-card p { font-size: 14px; color: var(--slate); margin-bottom: 14px; flex: 1; }
@media (max-width: 1020px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Blog yazı sayfası ---------- */
.article-card {
  background: #fff; border: 1px solid #E6EBF4; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 44px 40px; max-width: 860px; margin: 0 auto;
}
.article-card h2 { font-size: 22px; font-weight: 800; margin: 28px 0 12px; letter-spacing: -.015em; }
.article-card h3 { font-size: 18px; font-weight: 700; margin: 22px 0 10px; }
.article-card p { color: #334155; font-size: 15.5px; margin-bottom: 14px; line-height: 1.75; }
.article-card ul, .article-card ol { padding-left: 24px; margin-bottom: 14px; color: #334155; }
.article-card li { margin-bottom: 6px; }
.article-card .a-meta { font-size: 13.5px; color: var(--slate-light); margin-bottom: 22px; }
@media (max-width: 720px) { .article-card { padding: 28px 20px; } }

/* =====================================================================
   ALT SAYFA HERO GÖRSELLERİ — sayfaya özel animasyonlu grafikler
   (ana sayfadaki code-window diliyle uyumlu, saf CSS, koyu hero üstünde)
   ===================================================================== */
.page-hero .ph-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.ph-copy { min-width: 0; }
.ph-visual { position: relative; min-width: 0; }
.page-hero .ph-copy h1 { max-width: none; }

/* Cam kart tabanı (code-window türevi) */
.viz {
  position: relative; background: rgba(13, 20, 36, .88);
  border: 1px solid rgba(148, 163, 184, .18); border-radius: var(--radius);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55); backdrop-filter: blur(10px);
  overflow: hidden;
}
.viz-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, .12); background: rgba(255, 255, 255, .03);
  font-family: var(--mono); font-size: 12px; color: #64748B;
}
.viz-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.viz-bar .d1 { background: #F87171; } .viz-bar .d2 { background: #FBBF24; } .viz-bar .d3 { background: #34D399; }
.viz-bar .vt { margin-left: 6px; }
.viz-body { padding: 22px; }

/* --- Toplu SMS: canlı kampanya paneli --- */
.bcast-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bcast-title { font-size: 13.5px; font-weight: 700; color: #E2E8F0; }
.bcast-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #93C5FD; }
.bcast-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s infinite; }
.bcast-bar { height: 9px; border-radius: 999px; background: rgba(148, 163, 184, .16); overflow: hidden; }
.bcast-fill { display: block; height: 100%; border-radius: 999px; background: var(--grad-text); width: 8%; animation: bcastFill 7s cubic-bezier(.4,.1,.2,1) infinite; }
@keyframes bcastFill { 0% { width: 6%; } 55% { width: 84%; } 78%,100% { width: 92%; } }
.bcast-meta { font-size: 12.5px; color: #8CA0BC; margin: 9px 0 16px; font-family: var(--mono); }
.bcast-meta b { color: #C9D4E5; }
.bcast-rows { display: flex; flex-direction: column; gap: 8px; }
.bcast-rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(148, 163, 184, .07); border: 1px solid rgba(148, 163, 184, .1); font-family: var(--mono); font-size: 12.5px; color: #A9B7CC; }
.bcast-rows .bpill { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font); font-size: 11.5px; font-weight: 600; color: #34D399; opacity: 0; transform: translateX(6px); animation: bpillIn 7s ease infinite; }
.bcast-rows .bpill svg { width: 12px; height: 12px; }
.bcast-rows li:nth-child(1) .bpill { animation-delay: .3s; }
.bcast-rows li:nth-child(2) .bpill { animation-delay: 1.0s; }
.bcast-rows li:nth-child(3) .bpill { animation-delay: 1.7s; }
.bcast-rows li:nth-child(4) .bpill { animation-delay: 2.4s; }
@keyframes bpillIn { 0%,4% { opacity: 0; transform: translateX(6px); } 10%,88% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }

/* --- OTP: doğrulama kartı --- */
.otp-body { text-align: center; padding: 30px 24px 26px; }
.otp-ic { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 13px; display: grid; place-items: center; color: #A5B4FC; background: rgba(99, 102, 241, .16); border: 1px solid rgba(129, 140, 248, .3); }
.otp-label { font-size: 13px; color: #93A1B8; margin-bottom: 16px; }
.otp-digits { display: flex; justify-content: center; gap: 9px; margin-bottom: 20px; }
.otp-digits span {
  width: 40px; height: 50px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 22px; font-weight: 600; color: #EAF0FA;
  background: rgba(148, 163, 184, .08); border: 1.5px solid rgba(148, 163, 184, .2);
  animation: otpDigit 6s ease infinite;
}
.otp-digits span:nth-child(1) { animation-delay: .2s; }
.otp-digits span:nth-child(2) { animation-delay: .55s; }
.otp-digits span:nth-child(3) { animation-delay: .9s; }
.otp-digits span:nth-child(4) { animation-delay: 1.25s; }
.otp-digits span:nth-child(5) { animation-delay: 1.6s; }
.otp-digits span:nth-child(6) { animation-delay: 1.95s; }
@keyframes otpDigit {
  0%, 3% { opacity: .18; transform: rotateX(-90deg); border-color: rgba(148,163,184,.2); }
  9% { opacity: 1; transform: none; border-color: #818CF8; box-shadow: 0 0 0 3px rgba(129,140,248,.18); }
  16%, 82% { opacity: 1; transform: none; border-color: rgba(148,163,184,.28); box-shadow: none; }
  100% { opacity: 1; transform: none; }
}
.otp-verified {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: #34D399;
  opacity: 0; animation: otpOk 6s ease infinite;
}
.otp-verified svg { width: 17px; height: 17px; }
@keyframes otpOk { 0%, 38% { opacity: 0; transform: scale(.9); } 46%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* --- IVR / VoIP: ses dalgası + menü --- */
.ivr-call { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #C9D4E5; margin-bottom: 18px; }
.ivr-call .ivr-ph { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #34D399; background: rgba(52, 211, 153, .14); border: 1px solid rgba(52, 211, 153, .3); animation: pulse 1.8s infinite; }
.ivr-call small { display: block; color: #8CA0BC; font-size: 11.5px; }
.ivr-wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 66px; margin-bottom: 20px; }
.ivr-wave i { width: 5px; height: 22px; border-radius: 3px; background: var(--grad-text); animation: ivrWave 1.1s ease-in-out infinite; }
.ivr-wave i:nth-child(odd) { animation-duration: .9s; }
.ivr-wave i:nth-child(3n) { animation-delay: .15s; }
.ivr-wave i:nth-child(3n+1) { animation-delay: .3s; }
.ivr-wave i:nth-child(4n) { animation-delay: .45s; }
@keyframes ivrWave { 0%, 100% { height: 12px; opacity: .5; } 50% { height: 54px; opacity: 1; } }
.ivr-menu { display: flex; flex-direction: column; gap: 8px; }
.ivr-menu li { display: flex; align-items: center; gap: 11px; padding: 9px 13px; border-radius: 10px; background: rgba(148, 163, 184, .07); border: 1px solid rgba(148, 163, 184, .1); font-size: 13px; color: #B7C3D6; opacity: 0; animation: ivrItem 5.5s ease infinite; }
.ivr-menu li b { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: #93C5FD; background: rgba(59, 130, 246, .16); }
.ivr-menu li:nth-child(1) { animation-delay: .3s; }
.ivr-menu li:nth-child(2) { animation-delay: .7s; }
.ivr-menu li:nth-child(3) { animation-delay: 1.1s; }
@keyframes ivrItem { 0%, 6% { opacity: 0; transform: translateX(8px); } 14%, 90% { opacity: 1; transform: none; } 100% { opacity: 1; } }

/* --- Bayilik: white-label alt hesap hiyerarşisi --- */
.rsl-root { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 11px; background: rgba(99, 102, 241, .14); border: 1px solid rgba(129, 140, 248, .32); }
.rsl-root .rsl-av { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #C7D2FE; background: rgba(129, 140, 248, .25); }
.rsl-root b { font-size: 13.5px; color: #EAF0FA; font-weight: 700; }
.rsl-root .rsl-tag { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #A5B4FC; background: rgba(99, 102, 241, .18); border: 1px solid rgba(129, 140, 248, .3); padding: 3px 8px; border-radius: 999px; }
.rsl-subs { position: relative; margin: 6px 0 0 20px; padding-top: 6px; display: flex; flex-direction: column; gap: 9px; }
.rsl-sub {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 10px;
  background: rgba(148, 163, 184, .07); border: 1px solid rgba(148, 163, 184, .12);
  opacity: 0; animation: rslIn 6s ease infinite;
}
.rsl-sub::before { content: ''; position: absolute; left: -20px; top: -9px; bottom: 50%; width: 20px; border-left: 1.5px solid rgba(148, 163, 184, .25); border-bottom: 1.5px solid rgba(148, 163, 184, .25); border-bottom-left-radius: 8px; }
.rsl-sub .rsl-av { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; color: #93C5FD; background: rgba(59, 130, 246, .16); }
.rsl-sub b { font-size: 12.5px; color: #D7DEEA; font-weight: 600; }
.rsl-sub .rsl-bal { margin-left: auto; font-family: var(--mono); font-size: 12px; color: #34D399; }
.rsl-sub:nth-child(1) { animation-delay: .4s; }
.rsl-sub:nth-child(2) { animation-delay: 1.1s; }
.rsl-sub:nth-child(3) { animation-delay: 1.8s; }
@keyframes rslIn { 0%, 6% { opacity: 0; transform: translateY(8px); } 15%, 90% { opacity: 1; transform: none; } 100% { opacity: 1; } }

/* --- Özel Domain: markalı tarayıcı --- */
.cd-addr { margin-left: 6px; flex: 1; display: flex; align-items: center; gap: 7px; background: rgba(15, 23, 42, .6); border: 1px solid rgba(148, 163, 184, .18); border-radius: 999px; padding: 5px 12px; overflow: hidden; }
.cd-addr .cd-lock { color: #34D399; flex: none; display: grid; }
.cd-url { font-family: var(--mono); font-size: 12px; color: #C9D4E5; white-space: nowrap; overflow: hidden; border-right: 2px solid #7DD3FC; width: 0; animation: cdType 7s steps(17) infinite; }
@keyframes cdType { 0% { width: 0; } 30%, 92% { width: 17ch; } 100% { width: 17ch; } }
.cd-body { padding: 26px 24px; }
.cd-logo { text-align: center; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #EAF0FA; margin-bottom: 20px; }
.cd-logo span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cd-panel { display: flex; flex-direction: column; gap: 11px; }
.cd-skel { height: 11px; border-radius: 6px; background: linear-gradient(90deg, rgba(148,163,184,.1) 25%, rgba(148,163,184,.22) 50%, rgba(148,163,184,.1) 75%); background-size: 200% 100%; animation: cdShimmer 1.8s linear infinite; }
.cd-skel.w1 { width: 82%; } .cd-skel.w2 { width: 64%; } .cd-skel.w3 { width: 72%; }
@keyframes cdShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.cd-btn { align-self: flex-start; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--grad-text); padding: 8px 18px; border-radius: 9px; }

/* --- responsive: görselleri tek kolonda alta al --- */
@media (max-width: 1020px) {
  .page-hero .ph-grid { grid-template-columns: 1fr; gap: 40px; }
  .ph-visual { max-width: 460px; }
}
@media (max-width: 720px) {
  .page-hero .ph-grid .cw-float { display: none; }
}

/* --- hareket azaltma tercihi --- */
@media (prefers-reduced-motion: reduce) {
  .ph-visual *, .bcast-fill, .otp-digits span, .otp-verified, .ivr-wave i, .ivr-menu li, .rsl-sub, .cd-url, .cd-skel, .bcast-rows .bpill { animation: none !important; }
  .otp-digits span { opacity: 1; transform: none; }
  .otp-verified { opacity: 1; }
  .bcast-rows .bpill, .ivr-menu li, .rsl-sub { opacity: 1; transform: none; }
  .cd-url { width: 17ch; }
}

/* =====================================================================
   ÇEREZ UYARISI (dock menüsünün üstünde, alt-orta)
   ===================================================================== */
.cookie-bar {
  position: fixed; left: 50%; bottom: 116px; z-index: 200;
  width: min(680px, calc(100% - 28px));
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  transition: transform .42s cubic-bezier(.2,.7,.3,1), opacity .42s;
}
.cookie-bar.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.cookie-inner {
  display: flex; align-items: center; gap: 15px;
  background: rgba(13, 20, 36, .97); border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 16px; box-shadow: 0 24px 60px -14px rgba(0, 0, 0, .62);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 15px 20px;
}
.cookie-ic { font-size: 24px; line-height: 1; flex: none; }
.cookie-txt { font-size: 13px; color: #C7D0DE; line-height: 1.5; flex: 1; margin: 0; }
.cookie-acts { display: flex; align-items: center; gap: 10px; flex: none; }
.cookie-bar .btn-ghost { color: #C7D0DE; border: 1px solid rgba(148, 163, 184, .32); background: transparent; }
.cookie-bar .btn-ghost:hover { color: #fff; border-color: rgba(148, 163, 184, .55); }
@media (max-width: 680px) {
  .cookie-bar { bottom: 78px; width: calc(100% - 20px); }
  .cookie-inner { flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
  .cookie-ic { display: none; }
  .cookie-acts { width: 100%; }
  .cookie-acts .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: opacity .3s; transform: translate(-50%, 0); } }

/* =====================================================================
   FOOTER GÜVEN / ÖDEME ROZETLERİ (logo altı — f-about yerine)
   ===================================================================== */
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; max-width: 330px; }
.trust-badges .tb {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px;
  border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(148, 163, 184, .16);
  font-size: 11px; font-weight: 700; color: #AEB9CC; letter-spacing: .02em; white-space: nowrap;
}
.trust-badges .tb svg { display: block; flex: none; }
.trust-badges .tb-pay { padding: 0 10px; }
.trust-badges .visa-mark { font-style: italic; font-weight: 800; font-size: 14px; color: #fff; letter-spacing: .01em; }

/* =====================================================================
   İŞ ORTAKLARIMIZ (Hakkımızda sayfası)
   ===================================================================== */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 940px; margin: 0 auto; }
.partner-tile {
  display: flex; align-items: center; gap: 15px;
  background: #fff; border: 1px solid #E6EBF4; border-radius: var(--radius); padding: 22px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.partner-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.partner-tile .pt-ic { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(99, 102, 241, .5); }
.partner-tile b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); display: block; margin-bottom: 2px; }
.partner-tile small { font-size: 12.5px; color: var(--slate); }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: 1fr; } }
