/* SQL Change Guard - site styles (shared by all pages) */

:root {
  --navy:        #0f2544;
  --navy-700:    #1b3a5f;
  --navy-600:    #2b4a70;
  --orange:      #e07820;
  --orange-600:  #c8640e;
  --orange-050:  #fdf1e5;
  --blue:        #2563eb;
  --teal:        #0d9488;
  --green:       #16a34a;
  --red:         #dc2626;
  --amber:       #d97706;
  --purple:      #7c3aed;
  --bg:          #ffffff;
  --bg-alt:      #f5f7fa;
  --bg-navy:     #0f2544;
  --border:      #e4e9f0;
  --text:        #1f2a37;
  --muted:       #5b6b7f;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 2px rgba(15,37,68,.06), 0 1px 3px rgba(15,37,68,.08);
  --shadow-md:   0 4px 6px -1px rgba(15,37,68,.08), 0 10px 24px -8px rgba(15,37,68,.14);
  --shadow-lg:   0 20px 40px -12px rgba(15,37,68,.22);
  --transition:  .25s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:5rem; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display:block; max-width:100%; }
a { transition: color var(--transition); text-decoration:none; }
p { color: var(--muted); margin-bottom: 1rem; }

/* i18n: language spans are hidden until the matching html[lang] is set */
[data-lang] { display:none; }
html[lang="tr"] .l-tr, html[lang="en"] .l-en { display:inline; }
html[lang="tr"] p.l-tr,  html[lang="en"] p.l-en  { display:block; }
html[lang="tr"] li.l-tr, html[lang="en"] li.l-en { display:list-item; }
html[lang="tr"] div.l-tr, html[lang="en"] div.l-en,
html[lang="tr"] section.l-tr, html[lang="en"] section.l-en,
html[lang="tr"] article.l-tr, html[lang="en"] article.l-en,
html[lang="tr"] tr.l-tr, html[lang="en"] tr.l-en { display:revert; }

.container { width: min(1200px, 92vw); margin: 0 auto; }
.container-narrow { width: min(860px, 92vw); margin: 0 auto; }
section { padding: 4.25rem 0; }
.bg-alt { background: var(--bg-alt); }
.bg-navy { background: var(--bg-navy); color:#eaf0f7; }
.bg-navy p { color:#a9bad0; }
.bg-navy h2, .bg-navy h3 { color:#fff; }
/* Koyu zemin uzerindeki BEYAZ kartlar koyu zemin kurallarindan etkilenmemeli */
.bg-navy .card, .bg-navy .callout, .bg-navy .table-wrap { color: var(--text); }
.bg-navy .card p, .bg-navy .callout p, .bg-navy .table-wrap p { color: var(--muted); }
.bg-navy .card h2, .bg-navy .card h3, .bg-navy .card h4,
.bg-navy .callout h3, .bg-navy .callout h4 { color: var(--navy); }
.bg-navy .card li, .bg-navy .callout li { color: var(--muted); }

.section-header { text-align:center; margin-bottom:2.75rem; }
.eyebrow {
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.82rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--orange-600); background:var(--orange-050); border:1px solid #f3d9be;
  padding:.42rem 1rem; border-radius:50px; margin-bottom:1.15rem;
}
.eyebrow::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--orange); flex-shrink:0; }
.bg-navy .eyebrow { background:rgba(224,120,32,.14); border-color:rgba(224,120,32,.35); color:#f0a967; }
.section-header h2 { margin-bottom:.75rem; }
.section-header p { font-size:1.08rem; max-width:760px; margin:0 auto; }

.grid { display:grid; gap:1.75rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }

h1 { font-size: clamp(2.1rem, 4.8vw, 3.35rem); font-weight:800; line-height:1.14; color:var(--navy); letter-spacing:-.02em; margin-bottom:1.25rem; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight:800; color:var(--navy); letter-spacing:-.01em; line-height:1.2; margin-bottom:.75rem; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight:700; color:var(--navy); margin-bottom:.5rem; }
h4 { font-size:1rem; font-weight:700; color:var(--navy); margin-bottom:.35rem; }

.btn {
  display:inline-flex; align-items:center; gap:.5rem;
  background: var(--orange); color:#fff;
  padding:.8rem 1.6rem; border-radius:var(--radius);
  font-weight:600; font-size:.95rem; border:none; cursor:pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { background:var(--orange-600); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn.outline { background:transparent; border:1.5px solid var(--border); color:var(--navy); box-shadow:none; }
.btn.outline:hover { border-color:var(--orange); color:var(--orange); background:var(--orange-050); }
.btn.on-navy { background:#fff; color:var(--navy); }
.btn.on-navy:hover { background:#eaf0f7; }
.btn.ghost-navy { background:transparent; border:1.5px solid rgba(255,255,255,.35); color:#fff; box-shadow:none; }
.btn.ghost-navy:hover { border-color:#fff; background:rgba(255,255,255,.08); }
.btn.sm { padding:.55rem 1.15rem; font-size:.87rem; }

.card {
  background:#fff; border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:#d4dce8; }
.card.flat:hover { transform:none; }

/* HEADER */
header {
  position:fixed; top:0; width:100%; z-index:900;
  background:rgba(255,255,255,.92); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
nav { display:flex; align-items:center; justify-content:space-between; padding:.85rem 0; }
.brand { display:flex; align-items:center; gap:.7rem; font-weight:800; font-size:1.12rem; color:var(--navy); }
.brand img { width:40px; height:40px; border-radius:9px; }
.nav-links { display:flex; gap:1.35rem; align-items:center; }
.nav-links a { color:var(--muted); font-weight:500; font-size:.93rem; white-space:nowrap; }
.nav-links a:hover { color:var(--navy); }
.nav-drop > button { white-space:nowrap; }
.nav-drop-menu a { white-space:normal; }

/* dropdown */
.nav-drop { position:relative; }
.nav-drop > button {
  background:none; border:none; color:var(--muted); font-weight:500; font-size:.93rem;
  cursor:pointer; font-family:inherit; display:inline-flex; align-items:center; gap:.3rem;
  padding:.4rem 0;
}
.nav-drop > button:hover { color:var(--navy); }
.nav-drop-menu {
  display:none; position:absolute; top:100%; margin-top:.7rem; left:50%; transform:translateX(-50%);
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md); padding:.6rem; min-width:270px;
}
/* Invisible bridge across the visual gap. Without it the pointer leaves the
   trigger before it reaches the panel, :hover is lost and the menu shuts. */
.nav-drop-menu::before {
  content:''; position:absolute; left:0; right:0; top:-.8rem; height:.8rem;
}
/* no :focus-within here: the trigger keeps focus after a closing click, which
   would immediately reopen the panel. Keyboard users toggle with Enter/Space. */
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu { display:block; }
.nav-drop-menu a { display:block; padding:.6rem .8rem; border-radius:8px; font-size:.9rem; color:var(--navy); font-weight:600; }
.nav-drop-menu a small { display:block; font-weight:400; color:var(--muted); font-size:.78rem; }
.nav-drop-menu a:hover { background:var(--bg-alt); color:var(--orange-600); }

/* The language toggle is a direct child of nav, not of .nav-links, so it stays
   visible on mobile where the menu collapses behind the hamburger. */
.lang-toggle { display:flex; align-items:center; gap:.1rem; border:1px solid var(--border); border-radius:8px; padding:.12rem; flex:0 0 auto; }
.lang-toggle button { background:none; border:none; color:var(--muted); font-weight:700; font-size:.78rem; cursor:pointer; padding:.28rem .6rem; border-radius:6px; transition:all var(--transition); }
.lang-toggle button.active { background:var(--navy); color:#fff; }
nav > .nav-links { margin-left:auto; }
nav > .lang-toggle { margin-left:1.35rem; }

.nav-toggle { display:none; background:none; border:none; color:var(--navy); font-size:1.5rem; cursor:pointer; }

/* HERO */
.hero { position:relative; padding:8.5rem 0 4.5rem; background:linear-gradient(180deg,#f7f9fc 0%, #ffffff 100%); border-bottom:1px solid var(--border); overflow:hidden; }
.hero::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(15,37,68,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,37,68,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 40%, transparent 78%);
  pointer-events:none;
}
.hero > .container { position:relative; z-index:1; }
.hero-inner { max-width:900px; margin:0 auto; text-align:center; }
.hero-title { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight:700; line-height:1.24; letter-spacing:-.015em; margin-bottom:1.1rem; }
.hero-title .ht1, .hero-title .ht2 { display:block; text-wrap:balance; }
.hero-title .ht1 { color:var(--navy); }
.hero-title .ht2 { color:#48607e; font-weight:600; }
.hero .pill {
  display:inline-flex; align-items:center; gap:.55rem; background:#fff;
  color:var(--navy); border:1px solid var(--border); border-radius:50px;
  padding:.5rem 1.2rem; font-size:.9rem; font-weight:600; letter-spacing:.01em;
  margin-bottom:1.6rem; box-shadow:var(--shadow-sm);
}
.hero .pill::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 3px rgba(224,120,32,.18); flex-shrink:0; }
.hero p.lead { font-size:1.18rem; color:var(--muted); max-width:760px; margin:0 auto 2rem; }
.hero-actions { display:flex; gap:.9rem; justify-content:center; flex-wrap:wrap; margin-bottom:2.25rem; }
.db-badges { display:flex; gap:.6rem; justify-content:center; flex-wrap:wrap; }
.db-badge { display:inline-flex; align-items:center; gap:.4rem; background:#fff; border:1px solid var(--border); border-radius:50px; padding:.4rem 1rem; font-size:.85rem; color:var(--navy); font-weight:600; box-shadow:var(--shadow-sm); }
.db-badge .dot { width:8px; height:8px; border-radius:50%; background:var(--orange); }

.hero-figure { max-width:1040px; margin:3rem auto 0; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border); box-shadow:var(--shadow-lg); background:#fff; }
.hero-figure img { width:100%; display:block; }

/* page hero (inner pages) */
.page-hero { padding:7.5rem 0 3rem; background:linear-gradient(180deg,#f7f9fc 0%,#fff 100%); border-bottom:1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); margin-bottom:1rem; }
.page-hero p.lead { font-size:1.1rem; max-width:780px; }
.page-hero .hero-actions { justify-content:flex-start; margin-bottom:0; }

.breadcrumb { font-size:.82rem; color:var(--muted); margin-bottom:1.1rem; }
.breadcrumb a { color:var(--muted); }
.breadcrumb a:hover { color:var(--orange); }
.breadcrumb span { margin:0 .45rem; opacity:.6; }

/* STATS */
.stats-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:1rem; margin-top:2.5rem; }
.stat { text-align:center; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:1.4rem 1rem; box-shadow:var(--shadow-sm); }
.stat-number { font-size:2rem; font-weight:800; display:block; margin-bottom:.2rem; color:var(--navy); }
.stat-number span { color:var(--orange); }
.stat-label { color:var(--muted); font-size:.82rem; line-height:1.4; }

/* PILLARS */
.pillars { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.75rem; }
.pillar { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:2rem 1.85rem; box-shadow:var(--shadow-sm); transition:transform var(--transition), box-shadow var(--transition); border-top:4px solid var(--navy); }
.pillar:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.pillar.p1 { border-top-color:var(--blue); }
.pillar.p2 { border-top-color:var(--teal); }
.pillar.p3 { border-top-color:var(--orange); }
.pillar .tag { display:inline-block; padding:.28rem .8rem; border-radius:50px; font-size:.74rem; font-weight:700; margin-bottom:1rem; letter-spacing:.02em; }
.pillar.p1 .tag { background:#eaf1fe; color:var(--blue); }
.pillar.p2 .tag { background:#e6f5f3; color:var(--teal); }
.pillar.p3 .tag { background:var(--orange-050); color:var(--orange-600); }
.pillar ul { list-style:none; margin-top:.9rem; }
.pillar li { color:var(--muted); font-size:.92rem; padding:.35rem 0 .35rem 1.6rem; position:relative; }
.pillar li::before { content:"\2713"; position:absolute; left:0; color:var(--green); font-weight:800; }

/* SPLIT */
.split { display:grid; grid-template-columns:1fr 1fr; gap:1.75rem; }
.problem-box { background:#fff; padding:1.9rem; border-radius:var(--radius-lg); border:1px solid var(--border); border-left:4px solid var(--red); box-shadow:var(--shadow-sm); }
.solution-box { background:#fff; padding:1.9rem; border-radius:var(--radius-lg); border:1px solid var(--border); border-left:4px solid var(--green); box-shadow:var(--shadow-sm); }
.problem-box ul, .solution-box ul { list-style:none; margin-top:1rem; }
.problem-box li, .solution-box li { padding:.42rem 0 .42rem 1.7rem; position:relative; font-size:.94rem; color:var(--muted); }
.problem-box li::before { content:"\2715"; position:absolute; left:0; color:var(--red); font-weight:800; }
.solution-box li::before { content:"\2713"; position:absolute; left:0; color:var(--green); font-weight:800; }

/* MODULES */
.module-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.6rem; box-shadow:var(--shadow-sm); transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.module-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:#d4dce8; }
.module-icon { width:44px; height:44px; border-radius:11px; background:var(--orange-050); color:var(--orange); display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:.9rem; }
.module-card h3 { font-size:1.02rem; margin-bottom:.35rem; }
.module-card p { font-size:.88rem; margin:0; }

/* ROLE CARDS */
.role-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1.5rem; }
.role-card {
  display:flex; flex-direction:column; background:#fff; border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.75rem; box-shadow:var(--shadow-sm);
  transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-top:4px solid var(--navy);
}
.role-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); border-color:#d4dce8; }
.role-card.r-cio { border-top-color:var(--purple); }
.role-card.r-cto { border-top-color:var(--blue); }
.role-card.r-dba { border-top-color:var(--teal); }
.role-card.r-itm { border-top-color:var(--orange); }
.role-key { font-size:.72rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin-bottom:.5rem; display:block; }
.role-card h3 { font-size:1.08rem; margin-bottom:.5rem; }
.role-card p { font-size:.9rem; flex:1; }
.role-card .role-q { font-style:italic; color:var(--navy); font-size:.92rem; border-left:3px solid var(--orange); padding-left:.85rem; margin:.4rem 0 1rem; }
.role-link { font-weight:700; font-size:.88rem; color:var(--orange-600); margin-top:.5rem; }
.role-link:hover { color:var(--orange); }

/* PAIN / ANSWER */
.pain-list { display:grid; gap:1.1rem; }
.pain-item { background:#fff; border:1px solid var(--border); border-left:4px solid var(--orange); border-radius:var(--radius-lg); padding:1.5rem 1.65rem; box-shadow:var(--shadow-sm); }
.pain-item h3 { font-size:1.06rem; margin-bottom:.55rem; }
.pain-item .pain-q { color:var(--red); font-weight:600; font-size:.93rem; margin-bottom:.7rem; }
.pain-item .pain-a { font-size:.95rem; color:var(--text); }
.pain-item .pain-a strong { color:var(--navy); }
.pain-item ul { list-style:none; margin-top:.7rem; }
.pain-item li { position:relative; padding:.3rem 0 .3rem 1.55rem; font-size:.92rem; color:var(--muted); }
.pain-item li::before { content:"\2713"; position:absolute; left:0; color:var(--green); font-weight:800; }

/* FLOW */
.flow { display:grid; grid-template-columns:repeat(4, 1fr); gap:.85rem; margin-top:1rem; }
.flow-step { display:flex; align-items:center; gap:.65rem; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:.85rem 1rem; font-size:.9rem; font-weight:600; color:var(--navy); box-shadow:var(--shadow-sm); }
.flow-step .num { flex-shrink:0; width:26px; height:26px; border-radius:50%; background:var(--navy); color:#fff; font-size:.78rem; font-weight:800; display:flex; align-items:center; justify-content:center; }
.flow-step.decision { border-color:#f3d9be; color:var(--orange-600); background:var(--orange-050); }
.flow-step.decision .num { background:var(--orange); }
.flow-step.action { border-color:#bbe9cd; color:var(--green); background:#eafaf0; }
.flow-step.action .num { background:var(--green); }
@media (max-width:860px) { .flow { grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px) { .flow { grid-template-columns:1fr; } }

/* TABLE */
.table-wrap { overflow-x:auto; border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); }
.compare-table { width:100%; border-collapse:collapse; background:#fff; min-width:720px; }
.compare-table th { background:var(--navy); color:#fff; padding:.95rem 1.1rem; text-align:left; font-size:.88rem; font-weight:600; }
.compare-table td { padding:.8rem 1.1rem; border-bottom:1px solid var(--border); font-size:.9rem; text-align:center; color:var(--muted); }
.compare-table td.col-feature { text-align:left; color:var(--navy); font-weight:600; }
.compare-table td.left { text-align:left; }
.compare-table tr:last-child td { border-bottom:none; }
.compare-table tr:nth-child(even) td { background:var(--bg-alt); }
.compare-table .bad { color:var(--red); font-weight:700; }
.compare-table .part { color:var(--amber); font-weight:600; font-size:.82rem; }
.compare-table .good { color:var(--green); font-weight:800; }
.compare-caption { text-align:center; font-size:.9rem; color:var(--muted); margin-top:1.75rem; }

/* CAPABILITY MAP */
.capmap { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.75rem; }
.capcol { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); overflow:hidden; transition:transform var(--transition), box-shadow var(--transition); }
.capcol:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.capcol-head { padding:1.6rem 1.75rem 1.25rem; color:#fff; }
.c-govern  .capcol-head { background:linear-gradient(135deg,#1b3a5f,#2563eb); }
.c-protect .capcol-head { background:linear-gradient(135deg,#0f766e,#0d9488); }
.c-comply  .capcol-head { background:linear-gradient(135deg,#b45309,#e07820); }
.capcol-key { display:inline-block; font-size:.72rem; font-weight:800; letter-spacing:.14em; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.28); padding:.22rem .7rem; border-radius:50px; margin-bottom:.7rem; }
.capcol-head h3 { color:#fff; font-size:1.12rem; margin-bottom:.15rem; }
.capcol-head p { color:rgba(255,255,255,.82); font-size:.86rem; margin:0; font-weight:500; }
.capcol ul { list-style:none; padding:1.25rem 1.75rem 1.75rem; }
.capcol li { position:relative; padding:.5rem 0 .5rem 1.7rem; font-size:.92rem; color:var(--text); border-bottom:1px solid var(--border); }
.capcol li:last-child { border-bottom:none; }
.capcol li::before { content:"\2713"; position:absolute; left:0; font-weight:800; }
.c-govern  li::before { color:var(--blue); }
.c-protect li::before { color:var(--teal); }
.c-comply  li::before { color:var(--orange); }

/* GALLERY */
.carousel-wrapper { position:relative; overflow:hidden; border-radius:var(--radius-lg); background:#0b1220; box-shadow:var(--shadow-md); border:1px solid var(--border); }
.carousel { display:flex; transition:transform .5s cubic-bezier(.4,0,.2,1); }
.carousel img { width:100%; flex:0 0 100%; height:560px; object-fit:contain; background:#0b1220; cursor:zoom-in; user-select:none; }
.carousel-nav { position:absolute; top:50%; transform:translateY(-50%); background:rgba(15,37,68,.7); color:#fff; border:none; width:48px; height:48px; border-radius:50%; cursor:pointer; font-size:1.4rem; z-index:10; display:flex; align-items:center; justify-content:center; transition:background var(--transition), transform var(--transition); }
.carousel-nav:hover { background:var(--orange); transform:translateY(-50%) scale(1.08); }
.carousel-nav.prev { left:1rem; }
.carousel-nav.next { right:1rem; }
.carousel-dots { display:flex; justify-content:center; gap:.55rem; padding:1.1rem 0 .3rem; flex-wrap:wrap; }
.dot { width:9px; height:9px; border-radius:50%; background:#cdd6e2; border:none; cursor:pointer; transition:background var(--transition), transform var(--transition); }
.dot.active { background:var(--orange); transform:scale(1.3); }
.gallery-hint { text-align:center; font-size:.8rem; color:var(--muted); padding-bottom:.3rem; }

/* LIGHTBOX */
#lightbox { display:none; position:fixed; inset:0; z-index:9000; background:rgba(10,18,32,.96); flex-direction:column; align-items:center; justify-content:center; }
#lightbox.open { display:flex; }
#lightbox-img { max-width:92vw; max-height:82vh; border-radius:var(--radius); object-fit:contain; user-select:none; box-shadow:0 0 60px rgba(0,0,0,.6); }
.lb-bar { position:absolute; top:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; padding:.85rem 1.5rem; }
.lb-counter { font-size:.85rem; color:rgba(255,255,255,.7); }
.lb-close { background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); color:#fff; width:38px; height:38px; border-radius:50%; font-size:1.15rem; cursor:pointer; }
.lb-close:hover { background:var(--red); }
.lb-arrow { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); color:#fff; width:50px; height:50px; border-radius:50%; font-size:1.5rem; cursor:pointer; }
.lb-arrow:hover { background:var(--orange); }
.lb-arrow.lb-prev { left:1.5rem; }
.lb-arrow.lb-next { right:1.5rem; }
.lb-caption { position:absolute; bottom:1.2rem; left:0; right:0; color:rgba(255,255,255,.8); font-size:.88rem; text-align:center; }

/* VIDEO */
.video-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:1.75rem; }
.video-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.5rem; box-shadow:var(--shadow-sm); }
.video-card h3 { font-size:1.05rem; margin-bottom:.25rem; }
.video-card p { font-size:.87rem; margin-bottom:1.1rem; }
.video-wrap { position:relative; padding-bottom:56.25%; height:0; overflow:hidden; border-radius:var(--radius); background:#000; box-shadow:var(--shadow-sm); }
.video-wrap iframe { position:absolute; top:0; left:0; width:100%; height:100%; border:0; }

/* AUDIT */
.audit-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1.25rem; }
.audit-item { display:flex; gap:.9rem; align-items:flex-start; padding:1.35rem; border-radius:var(--radius-lg); background:#fff; border:1px solid var(--border); box-shadow:var(--shadow-sm); }
.audit-item .icon { font-size:1.4rem; flex-shrink:0; }
.audit-item h4 { font-size:.94rem; margin-bottom:.2rem; color:var(--navy); }
.audit-item p { font-size:.84rem; margin:0; }

/* DOCS */
.doc-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(255px,1fr)); gap:1.5rem; }
.doc-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.6rem; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.doc-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:#d4dce8; }
.doc-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.1rem; }
.doc-thumb { display:inline-flex; align-items:center; justify-content:center; width:52px; height:64px; border-radius:8px; background:linear-gradient(160deg,#fdeaea,#f8d3d3); color:var(--red); font-size:.72rem; font-weight:800; letter-spacing:.03em; box-shadow:var(--shadow-sm); border:1px solid #f4c9c9; }
.doc-thumb.navy-thumb { background:linear-gradient(160deg,#e9eef6,#d6e0ee); color:var(--navy); border:1px solid #cdd9e8; }
.doc-thumb.teal-thumb { background:linear-gradient(160deg,#e3f5f2,#c9ece6); color:var(--teal); border:1px solid #b6e3db; }
.doc-badge { font-size:.68rem; font-weight:800; letter-spacing:.04em; padding:.25rem .6rem; border-radius:50px; }
.doc-badge.tr-badge { background:var(--orange-050); color:var(--orange-600); border:1px solid #f3d9be; }
.doc-badge.en-badge { background:#eaf1fe; color:var(--blue); border:1px solid #cfe0fb; }
.doc-card h3 { font-size:1.02rem; margin-bottom:.35rem; }
.doc-card p { font-size:.87rem; flex:1; }
.doc-langs { margin-top:1.1rem; display:flex; flex-direction:column; gap:.5rem; }
.doc-lang-row { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; }
.doc-lang-row .doc-badge { flex-shrink:0; min-width:34px; text-align:center; }
.doc-lang-row a { font-size:.82rem; padding:.45rem .85rem; border-radius:8px; font-weight:600; border:1px solid var(--border); color:var(--navy); transition:all var(--transition); }
.doc-lang-row a:hover { border-color:var(--orange); color:var(--orange); background:var(--orange-050); }
.doc-lang-row a.pdf { background:#fdeaea; border-color:#f4c9c9; color:var(--red); }
.doc-lang-row a.pdf:hover { background:var(--red); color:#fff; border-color:var(--red); }

/* TIMELINE / RELEASE NOTES */
.timeline { position:relative; padding-left:2rem; }
.timeline::before { content:""; position:absolute; left:.42rem; top:.4rem; bottom:.4rem; width:2px; background:var(--border); }
.tl-item { position:relative; padding-bottom:2rem; }
.tl-item:last-child { padding-bottom:0; }
.tl-item::before { content:""; position:absolute; left:-1.7rem; top:.45rem; width:12px; height:12px; border-radius:50%; background:var(--orange); border:3px solid #fff; box-shadow:0 0 0 2px var(--orange-050); }
.tl-date { font-size:.76rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--orange-600); }
.tl-item h3 { margin:.25rem 0 .4rem; font-size:1.1rem; }
.tl-tags { display:flex; gap:.4rem; flex-wrap:wrap; margin-top:.6rem; }
.tl-tag { font-size:.72rem; font-weight:700; background:var(--bg-alt); border:1px solid var(--border); color:var(--muted); padding:.2rem .6rem; border-radius:50px; }

/* BLOG */
.post-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(310px,1fr)); gap:1.6rem; }
.post-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.7rem; box-shadow:var(--shadow-sm); transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.post-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:#d4dce8; }
.post-meta { font-size:.76rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--orange-600); margin-bottom:.6rem; }
.post-card h3 { font-size:1.1rem; line-height:1.35; margin-bottom:.55rem; }
.post-card h3 a { color:var(--navy); }
.post-card h3 a:hover { color:var(--orange-600); }
.post-card p { font-size:.9rem; flex:1; }
.post-read { font-size:.85rem; font-weight:700; color:var(--orange-600); }

/* ARTICLE */
.article { padding:2.5rem 0 3.5rem; }
.article-head { padding:7.5rem 0 2rem; background:linear-gradient(180deg,#f7f9fc 0%,#fff 100%); border-bottom:1px solid var(--border); }
.article-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom:.9rem; }
.article-meta { font-size:.85rem; color:var(--muted); display:flex; gap:1rem; flex-wrap:wrap; align-items:center; }
.article-meta .chip { background:var(--orange-050); color:var(--orange-600); border:1px solid #f3d9be; border-radius:50px; padding:.2rem .75rem; font-weight:700; font-size:.75rem; }
.article-body { font-size:1.02rem; }
.article-body h2 { font-size:clamp(1.35rem,2.4vw,1.75rem); margin:2.4rem 0 .85rem; }
.article-body h3 { font-size:1.12rem; margin:1.7rem 0 .55rem; }
.article-body p { margin-bottom:1.05rem; color:#3d4b5c; }
.article-body ul, .article-body ol { margin:0 0 1.2rem 1.25rem; }
.article-body li { margin-bottom:.5rem; color:#3d4b5c; }
.article-body strong { color:var(--navy); }
.article-body .table-wrap { margin:1.4rem 0; }
.article-body .compare-table td { text-align:left; }
.toc { background:var(--bg-alt); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.4rem 1.6rem; margin-bottom:2rem; }
.toc h2 { font-size:.9rem !important; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin:0 0 .7rem !important; }
.toc ol { margin:0 0 0 1.1rem; }
.toc li { margin-bottom:.35rem; font-size:.93rem; }
.toc a { color:var(--navy); font-weight:600; }
.toc a:hover { color:var(--orange-600); }
.callout { border-radius:var(--radius-lg); padding:1.3rem 1.5rem; margin:1.6rem 0; border:1px solid var(--border); background:#fff; border-left:4px solid var(--blue); }
.callout.warn { border-left-color:var(--amber); background:#fffbf3; }
.callout.good { border-left-color:var(--green); background:#f4fdf7; }
.callout p:last-child { margin-bottom:0; }
.callout h4 { margin-bottom:.35rem; }
.article-cta { background:var(--navy); border-radius:var(--radius-lg); padding:2.2rem; text-align:center; margin-top:2.75rem; }
.article-cta h3 { color:#fff; margin-bottom:.6rem; }
.article-cta p { color:#a9bad0; margin-bottom:1.4rem; }
.related { border-top:1px solid var(--border); margin-top:2.75rem; padding-top:1.75rem; }
.related h3 { font-size:1rem; margin-bottom:.9rem; }
.related a { display:block; font-size:.93rem; font-weight:600; color:var(--navy); padding:.35rem 0; }
.related a::before { content:"\2192"; color:var(--orange); margin-right:.5rem; }
.related a:hover { color:var(--orange-600); }

/* FAQ blocks */
.faq-list { max-width:880px; margin:0 auto; display:flex; flex-direction:column; gap:.9rem; }
.faq-list details { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.25rem 1.5rem; box-shadow:var(--shadow-sm); }
.faq-list summary { cursor:pointer; font-weight:700; color:var(--navy); }
.faq-list details p { margin-top:.75rem; margin-bottom:0; }

/* PRICING */
.pricing-cta { background:var(--navy); border-radius:var(--radius-lg); padding:3rem 2.5rem; text-align:center; max-width:920px; margin:0 auto; box-shadow:var(--shadow-lg); }
.pricing-cta .eyebrow { color:var(--orange); }
.pricing-cta h2 { color:#fff; margin-bottom:.75rem; }
.pricing-cta p { font-size:1.05rem; max-width:640px; margin:0 auto 1.75rem; color:#a9bad0; }
.pricing-tags { display:flex; flex-wrap:wrap; justify-content:center; gap:.65rem; margin-bottom:2rem; }
.pricing-tag { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); border-radius:50px; padding:.42rem 1rem; font-size:.84rem; color:#cdd9e8; }
.pricing-tag strong { color:#fff; }

/* CONTACT */
form { display:grid; gap:1.1rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:.9rem; }
/* text style must not reach radios and checkboxes: it made them full width boxes */
input:not([type="radio"]):not([type="checkbox"]), textarea, select { width:100%; background:#fff; border:1.5px solid var(--border); color:var(--text); padding:.85rem 1.05rem; border-radius:var(--radius); font-size:.98rem; font-family:inherit; transition:border-color var(--transition); }
input:focus, textarea:focus, select:focus { outline:none; border-color:var(--orange); }
input[type="radio"], input[type="checkbox"] { width:auto; accent-color:var(--orange); }
textarea { min-height:120px; resize:vertical; }
input::placeholder, textarea::placeholder { color:#9aa8b8; }
.contact-line { margin:.35rem 0; color:var(--navy); font-size:.95rem; }
.contact-line a { color:var(--navy); font-weight:500; }
.contact-line a:hover { color:var(--orange); }

/* FOOTER */
footer { background:var(--navy); color:#c6d2e0; padding:3.5rem 0 2rem; }
.footer-grid { display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr 1fr; gap:2rem 1.6rem; margin-bottom:2.5rem; }
.footer-brand { font-weight:800; font-size:1.08rem; margin-bottom:.6rem; color:#fff; display:flex; align-items:center; gap:.6rem; }
.footer-brand img { width:34px; height:34px; border-radius:8px; }
.footer-desc { font-size:.86rem; color:#a9bad0; line-height:1.7; margin-bottom:1rem; }
.footer-col h4 { font-size:.8rem; font-weight:700; margin-bottom:.9rem; color:#fff; text-transform:uppercase; letter-spacing:.06em; }
.footer-col a { display:block; color:#a9bad0; font-size:.86rem; margin-bottom:.55rem; }
.footer-col a:hover { color:var(--orange); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; border-top:1px solid rgba(255,255,255,.12); padding-top:1.75rem; }
.footer-bottom p { font-size:.8rem; color:#8fa2ba; margin:0; }

/* BACK TO TOP */
.back-top { position:fixed; bottom:1.75rem; right:1.75rem; width:48px; height:48px; background:var(--orange); border:none; border-radius:50%; color:#fff; font-size:1.2rem; cursor:pointer; opacity:0; visibility:hidden; transition:all var(--transition); z-index:500; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); }
.back-top.show { opacity:1; visibility:visible; }
.back-top:hover { background:var(--orange-600); transform:translateY(-3px); }

/* MODAL */
.modal { display:none; position:fixed; inset:0; z-index:8000; background:rgba(15,37,68,.55); }
.modal.open { display:flex; align-items:center; justify-content:center; }
.modal-box { background:#fff; border-radius:var(--radius-lg); padding:2.25rem; max-width:640px; width:92vw; max-height:88vh; overflow-y:auto; position:relative; box-shadow:var(--shadow-lg); }
.modal-close { position:absolute; top:.85rem; right:1.1rem; background:none; border:none; color:var(--muted); font-size:1.6rem; cursor:pointer; line-height:1; }
.modal-close:hover { color:var(--orange); }

/* Nav labels must never break across two lines: shrink, then collapse. */
@media (max-width:1240px) {
  .nav-links { gap:1.05rem; }
  .nav-links a, .nav-drop > button { font-size:.88rem; }
  .nav-links a.btn.sm { padding:.55rem .95rem; }
}
@media (max-width:1140px) {
  .footer-grid { grid-template-columns:1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column:1 / -1; }
}
@media (max-width:1120px) {
  .nav-links { gap:.78rem; }
  .nav-links a, .nav-drop > button { font-size:.84rem; }
  .nav-links a.btn.sm { padding:.5rem .78rem; }
  nav > .lang-toggle { margin-left:.85rem; }
  .brand span { font-size:1.02rem; }
  .brand img { width:36px; height:36px; }
}
@media (max-width:900px) {
  .footer-grid { grid-template-columns:1fr 1fr; }
  .split { grid-template-columns:1fr; }
}
/* Collapse behind the hamburger while there is still room to spare. */
@media (max-width:1000px) {
  .nav-links { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column; gap:0; padding:.4rem 0; border-bottom:1px solid var(--border); box-shadow:var(--shadow-md); align-items:stretch; }
  .nav-links.open { display:flex; }
  .nav-links a { padding:.8rem 1.5rem; width:100%; font-size:.95rem; }
  .nav-links a.btn.sm { margin:.5rem 1.5rem .6rem; width:auto; justify-content:center; padding:.7rem 1rem; }
  .nav-drop { width:100%; }
  .nav-drop > button { padding:.8rem 1.5rem; width:100%; justify-content:space-between; font-size:.95rem; }
  .nav-drop-menu { position:static; transform:none; display:block; margin-top:0; border:none; box-shadow:none; padding:0 0 .5rem 1rem; min-width:0; }
  .nav-drop-menu::before { display:none; }   /* no gap to bridge in the stacked menu */
  /* keep TR/EN in the bar itself: language before the hamburger, menu out of flow */
  .nav-toggle { display:block; order:3; margin-left:.5rem; }
  nav > .lang-toggle { order:2; margin-left:auto; }
  nav > .nav-links { margin-left:0; }
  .brand span { font-size:1.12rem; }
}
@media (max-width:768px) {
  section { padding:3.5rem 0; }
  .hero { padding:7rem 0 3rem; }
  .page-hero, .article-head { padding-top:6.5rem; }
  .carousel img { height:300px; }
  .form-row { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .lb-arrow { display:none; }
}
@media (max-width:400px) {
  .brand { gap:.5rem; }
  .brand span { font-size:.95rem; white-space:nowrap; }
  .brand img { width:32px; height:32px; }
  .lang-toggle button { padding:.28rem .45rem; font-size:.74rem; }
  .nav-toggle { margin-left:.35rem; }
}
@media (max-width:480px) {
  .stats-row { grid-template-columns:repeat(2,1fr); }
  .carousel img { height:220px; }
}

@media print {
  header, .back-top, .carousel-nav, footer .footer-grid { display:none; }
}

/* ============================================================
   Urun sayfalari: yasam dongusu, iki akis, ekran seridi
   ============================================================ */

/* Yasam dongusu: her adimin altinda ne yaptigi yazili */
.life { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.9rem; margin-top:1.5rem; }
.life-step { position:relative; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:1.1rem 1rem; box-shadow:var(--shadow-sm); }
.life-step .num { display:flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:var(--navy); color:#fff; font-size:.76rem; font-weight:800; margin-bottom:.6rem; }
.life-step b { display:block; font-size:.92rem; color:var(--navy); margin-bottom:.3rem; }
/* DIKKAT: burada duz "span" yazilamaz. Duz secici .l-tr/.l-en dil span'larini da
   yakalar ve [data-lang]{display:none} kuralini ezerek iki dili birden gosterir.
   Bu yuzden gorunum ozellikleri display'siz verilir, display yalnizca aktif dil
   seciciyle atanir. */
.life-step > span[data-lang] { font-size:.8rem; line-height:1.5; color:var(--muted); }
html[lang="tr"] .life-step > span.l-tr,
html[lang="en"] .life-step > span.l-en { display:block; }
.life-step.is-gate { border-color:#f3d9be; background:var(--orange-050); }
.life-step.is-gate .num { background:var(--orange); }
.life-step.is-end { border-color:#bbe9cd; background:#eafaf0; }
.life-step.is-end .num { background:var(--green); }

/* Iki akis yan yana */
.twoflow { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:1.75rem; }
.twoflow .card { padding:1.75rem; }
.twoflow h3 { font-size:1.08rem; color:var(--navy); margin-bottom:.2rem; }
.twoflow .kicker { font-size:.74rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--orange-600); display:block; margin-bottom:.55rem; }
.fchain { list-style:none; margin:1.1rem 0 0; padding:0; }
.fchain li { position:relative; padding:0 0 .85rem 1.6rem; font-size:.88rem; line-height:1.55; color:var(--text); border-left:2px solid var(--border); margin-left:.45rem; }
.fchain li:last-child { padding-bottom:0; border-left-color:transparent; }
.fchain li::before { content:""; position:absolute; left:-6px; top:.45rem; width:10px; height:10px; border-radius:50%; background:var(--navy); }
.fchain li b { color:var(--navy); }
.fchain li.is-gate::before { background:var(--orange); }
.fchain li.is-end::before { background:var(--green); }

/* Ekran goruntusu seridi */
.shot-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.5rem; }
.shot { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform var(--transition), box-shadow var(--transition); }
.shot:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
/* Ekranlar 2:1 oraninda; kirpma yerine tam genislik gosterilir ki ne oldugu anlasilsin */
.shot img { display:block; width:100%; height:auto; aspect-ratio:2 / 1; object-fit:cover; object-position:top center; border-bottom:1px solid var(--border); cursor:zoom-in; }
/* Buyutulebilir oldugunu gosteren dil-notr buyutec rozeti */
.shot { position:relative; }
.shot::after {
  content:"\2315";
  position:absolute; top:.7rem; right:.7rem;
  width:30px; height:30px; border-radius:50%;
  background:rgba(15,37,68,.78); color:#fff;
  font-size:1rem; line-height:30px; text-align:center;
  opacity:0; transition:opacity var(--transition);
  pointer-events:none;
}
.shot:hover::after, .shot:focus-within::after { opacity:1; }
.shot img:focus-visible { outline:3px solid var(--orange); outline-offset:-3px; }
.shot figcaption { padding:1rem 1.15rem 1.2rem; }
.shot figcaption b { display:block; font-size:.92rem; color:var(--navy); margin-bottom:.25rem; }
/* Duz "span" yazma: bkz. .life-step notu. */
.shot figcaption > span[data-lang] { font-size:.82rem; line-height:1.5; color:var(--muted); }
html[lang="tr"] .shot figcaption > span.l-tr,
html[lang="en"] .shot figcaption > span.l-en { display:block; }

/* Mimari katmanlari */
.arch { max-width:760px; margin:1.5rem auto 0; }
.arch-row { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:1rem 1.25rem; box-shadow:var(--shadow-sm); text-align:center; }
.arch-row b { display:block; font-size:.95rem; color:var(--navy); }
/* Duz "span" yazma: bkz. .life-step notu. */
.arch-row > span[data-lang] { font-size:.82rem; color:var(--muted); margin-top:.2rem; }
html[lang="tr"] .arch-row > span.l-tr,
html[lang="en"] .arch-row > span.l-en { display:block; }
.arch-row.is-core { border-color:var(--navy); border-width:2px; }
.arch-row.is-db { background:var(--bg-alt); }
.arch-arrow { text-align:center; color:var(--muted); font-size:1.1rem; line-height:1; padding:.45rem 0; }
.arch-split { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; }
.arch-split .arch-row { padding:.8rem .6rem; }
.arch-split .arch-row b { font-size:.86rem; }

@media (max-width:640px) {
  .arch-split { grid-template-columns:1fr; }
}

/* ============================================================
   Izgara duzeni: "3 ustte 1 altta" gibi kirik satirlari onle
   ------------------------------------------------------------
   auto-fit ile sutun sayisi kapsayici genisligine gore cikar ve
   4 kutulu bir izgara 1200px'te 3 sutuna dusup tek kutuyu asagi
   birakir. Asagidaki kurallar kutu sayisini :has() ile okuyup
   simetrik duzen kurar. :has() desteklemeyen eski tarayicida
   ustteki auto-fit davranisi gecerli kalir, sayfa bozulmaz.
   ============================================================ */
@media (min-width:900px) {
  /* grid-2 adi geregi en fazla iki sutun olmali */
  .grid-2 { grid-template-columns:repeat(2,1fr); }

  /* tam 4 kutu -> 2x2 */
  .capmap:has(> :nth-child(4):last-child),
  .shot-grid:has(> :nth-child(4):last-child),
  .role-grid:has(> :nth-child(4):last-child),
  .grid-3:has(> :nth-child(4):last-child) { grid-template-columns:repeat(2,1fr); }

  /* tam 6 kutu -> 3x2 */
  .capmap:has(> :nth-child(6):last-child),
  .shot-grid:has(> :nth-child(6):last-child),
  .role-grid:has(> :nth-child(6):last-child),
  .grid-3:has(> :nth-child(6):last-child) { grid-template-columns:repeat(3,1fr); }

  /* tam 2 kutu -> yan yana */
  .capmap:has(> :nth-child(2):last-child),
  .grid-3:has(> :nth-child(2):last-child) { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:900px) and (min-width:620px) {
  .capmap, .shot-grid, .role-grid, .grid-2, .grid-3 { grid-template-columns:repeat(2,1fr); }
  /* tek sayida kutu varsa sonuncusu tam genislige yayilsin, yarim kalmasin */
  .capmap:has(> :nth-child(odd):last-child) > :last-child,
  .grid-2:has(> :nth-child(odd):last-child) > :last-child,
  .grid-3:has(> :nth-child(odd):last-child) > :last-child { grid-column:1 / -1; }
}

@media (max-width:620px) {
  .capmap, .shot-grid, .role-grid, .grid-2, .grid-3, .twoflow, .video-grid { grid-template-columns:1fr; }
  .life { grid-template-columns:repeat(2,1fr); }
  .stats-row { grid-template-columns:repeat(2,1fr); }
}

/* Dile gore degisen BUTONLAR: .l-tr/.l-en dogrudan <a class="gv-btn"> uzerindeyse
   genel dil kurali display:inline verir ve flex hizalama bozulur. Buton
   goruntusu korunsun diye aktif dilde inline-flex'e geri cekilir. */
html[lang="tr"] a.gv-btn.l-tr, html[lang="en"] a.gv-btn.l-en,
html[lang="tr"] a.btn.l-tr,    html[lang="en"] a.btn.l-en { display:inline-flex; }

/* ============================================================
   Gorsel buyutme katmani (.shot gorselleri icin)
   Platform sayfasindaki karusel lightbox'indan bagimsizdir.
   ============================================================ */
.imgzoom { position:fixed; inset:0; background:rgba(8,15,28,.94); z-index:9999; display:none; align-items:center; justify-content:center; padding:3.5rem 1rem 5rem; }
.imgzoom.open { display:flex; }
.imgzoom img { max-width:96vw; max-height:82vh; width:auto; height:auto; border-radius:var(--radius); box-shadow:0 24px 60px rgba(0,0,0,.5); background:#fff; }
.imgzoom-bar { position:absolute; top:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; padding:.9rem 1.2rem; color:#fff; }
.imgzoom-counter { font-size:.85rem; font-weight:600; opacity:.85; }
.imgzoom-close { background:transparent; border:0; color:#fff; font-size:1.5rem; line-height:1; cursor:pointer; padding:.2rem .5rem; }
.imgzoom-cap { position:absolute; left:0; right:0; bottom:0; padding:1rem 1.4rem 1.6rem; color:#fff; text-align:center; font-size:.95rem; line-height:1.5; }
.imgzoom-arrow { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.12); border:0; color:#fff; font-size:1.6rem; line-height:1; cursor:pointer; padding:.7rem .95rem; border-radius:50%; }
.imgzoom-arrow:hover { background:rgba(255,255,255,.22); }
.imgzoom-prev { left:1.1rem; }
.imgzoom-next { right:1.1rem; }
@media (max-width:640px) {
  .imgzoom { padding:3.2rem .5rem 4.5rem; }
  .imgzoom-arrow { display:none; }
  .imgzoom img { max-height:70vh; }
}
