/* =========================================================================
   İmdat Uydu — site stylesheet
   Token names mirror the İmdat Uydu Design System (tokens.json).
   ========================================================================= */

:root {
  /* color — light */
  --brand: #e20a17;
  --brand-hover: #c20813;
  --brand-ink: #c20813;
  --on-brand: #ffffff;
  --ink: #0d1520;
  --ink-muted: #4a5565;
  --surface: #ffffff;
  --surface-alt: #f2f4f7;
  --surface-raised: #ffffff;
  --surface-deep: #0d1520;
  --on-deep: #ffffff;
  --on-deep-muted: #a9b4c2;
  --line: #dce1e8;
  --line-deep: #223042;
  --signal: #0b6fa3;
  --signal-bright: #1a9cd8;
  --media: #ffffff;
  --focus: #1a9cd8;

  /* type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;

  /* radius */
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px; --radius-pill: 999px;

  /* shadow */
  --shadow-card: 0 1px 2px rgba(13, 21, 32, .06), 0 8px 24px rgba(13, 21, 32, .06);
  --shadow-raised: 0 2px 4px rgba(13, 21, 32, .08), 0 18px 48px rgba(13, 21, 32, .14);

  --container: 1240px;
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-ink: #ff4d57; --ink: #eef1f5; --ink-muted: #9aa6b5;
    --surface: #0b1118; --surface-alt: #141c27; --surface-raised: #182230; --surface-deep: #060a10;
    --on-deep-muted: #a9b4c2; --line: #253141; --line-deep: #1c2735; --signal: #4fb8ea;
    --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
    --shadow-raised: 0 2px 4px rgba(0,0,0,.5), 0 18px 48px rgba(0,0,0,.45);
  }
}
:root[data-theme="dark"] {
  --brand-ink: #ff4d57; --ink: #eef1f5; --ink-muted: #9aa6b5;
  --surface: #0b1118; --surface-alt: #141c27; --surface-raised: #182230; --surface-deep: #060a10;
  --on-deep-muted: #a9b4c2; --line: #253141; --line-deep: #1c2735; --signal: #4fb8ea;
  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  --shadow-raised: 0 2px 4px rgba(0,0,0,.5), 0 18px 48px rgba(0,0,0,.45);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: var(--radius-md); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
@media (max-width: 640px) { .container { padding: 0 var(--space-4); } }

/* ---------- type styles (match tokens.json type.groups) ---------- */
.display-xl { font: 800 clamp(40px, 6vw, 72px)/1.02 var(--font-display); letter-spacing: -0.025em; }
.display-lg { font: 700 clamp(32px, 4.2vw, 48px)/1.08 var(--font-display); letter-spacing: -0.02em; }
.heading { font: 700 clamp(24px, 2.6vw, 30px)/1.2 var(--font-display); }
.title { font: 600 20px/1.3 var(--font-display); }
.lead { font: 400 clamp(17px, 1.6vw, 19px)/1.6 var(--font-sans); color: var(--ink-muted); }
.small { font-size: 14px; line-height: 1.5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.code { font: 500 14px/1.4 var(--font-mono); letter-spacing: .02em; }
.muted { color: var(--ink-muted); }

/* ---------- buttons ---------- */
.btn {
  --_bg: var(--brand); --_fg: var(--on-brand); --_bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-md);
  background: var(--_bg); color: var(--_fg); border: 1.5px solid var(--_bd);
  font: 600 15px/1 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { --_bg: var(--brand-hover); --_bd: var(--brand-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line); }
.btn--ghost:hover { --_bg: var(--surface-alt); --_bd: var(--ink-muted); }
.btn--on-deep { --_bg: transparent; --_fg: var(--on-deep); --_bd: rgba(255,255,255,.32); }
.btn--on-deep:hover { --_bg: rgba(255,255,255,.08); --_bd: rgba(255,255,255,.6); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--surface-deep); color: var(--on-deep-muted); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: var(--on-deep); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__items { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__items span { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 14px; height: 14px; color: var(--signal-bright); }
@media (max-width: 760px) { .topbar__hide-sm { display: none !important; } }

.header__inner { height: 100%; display: flex; align-items: center; gap: var(--space-8); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  border-radius: var(--radius-md); text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink);
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--surface-alt); }
.nav__link[aria-current="page"] { color: var(--brand-ink); }
.nav__link svg { width: 14px; height: 14px; opacity: .6; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; padding: 8px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised);
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
  z-index: 100;
}
.nav__item:hover > .nav__menu, .nav__item:focus-within > .nav__menu, .nav__item.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 10px 12px; border-radius: var(--radius-md); text-decoration: none; }
.nav__menu a:hover { background: var(--surface-alt); }
.nav__menu strong { display: block; font-weight: 600; font-size: 15px; }
.nav__menu small { display: block; color: var(--ink-muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.header__cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; background: var(--surface); padding: 16px;
    flex-direction: column; align-items: stretch; overflow-y: auto; display: none; margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav > ul { flex-direction: column; }
  .nav__link { width: 100%; justify-content: space-between; height: 52px; font-size: 17px; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; min-width: 0; }
  .nav__item.is-open > .nav__menu { display: block; }
  .nav .btn { margin-top: 12px; }
}
@media (min-width: 1081px) { .nav .btn--mobile { display: none; } }

/* ---------- sections ---------- */
.section { padding: var(--space-24) 0; }
.section--alt { background: var(--surface-alt); }
.section--deep { background: var(--surface-deep); color: var(--on-deep); }
.section--deep h2, .section--deep h3 { color: var(--on-deep); }
.section--deep .lead, .section--deep .muted { color: var(--on-deep-muted); }
.section--deep .eyebrow { color: #ff4d57; }
.section--tight { padding: var(--space-16) 0; }
@media (max-width: 760px) { .section { padding: var(--space-16) 0; } }

.section-head { display: grid; gap: var(--space-4); max-width: 760px; margin-bottom: var(--space-12); }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-8); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface-deep); color: var(--on-deep); isolation: isolate; }
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(rgba(169,180,194,.22) 1px, transparent 1.4px); background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-12); align-items: center; padding-block: var(--space-24) calc(var(--space-24) + 40px); }
.hero h1 { color: var(--on-deep); }
.hero h1 em { font-style: normal; color: #ff4d57; }
.hero .lead { color: var(--on-deep-muted); max-width: 560px; margin-top: var(--space-6); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--space-8); }
.hero__meta { display: flex; gap: var(--space-8); flex-wrap: wrap; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line-deep); }
.hero__meta div { display: grid; gap: 2px; }
.hero__meta strong { font: 700 15px/1.3 var(--font-display); color: var(--on-deep); }
.hero__meta span { font-size: 13px; color: var(--on-deep-muted); }
.hero__visual { position: relative; aspect-ratio: 1.15; }
.hero__visual img.hero__rack { position: absolute; z-index: 2; width: 92%; right: 0; bottom: 6%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.hero__visual img.hero__dish { position: absolute; z-index: 1; width: 42%; left: 0; top: -2%; opacity: .95; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.hero__signal { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.hero__signal .arc { fill: none; stroke: var(--signal-bright); stroke-width: 1.5; opacity: .55; }
.hero__signal .arc--2 { opacity: .35; } .hero__signal .arc--3 { opacity: .18; }
.hero__signal .beam { stroke: #ff4d57; stroke-width: 1.5; stroke-dasharray: 4 6; fill: none; }
.hero__tag {
  position: absolute; z-index: 3; display: inline-flex; gap: 10px; align-items: center;
  background: rgba(13,21,32,.86); border: 1px solid var(--line-deep); border-radius: var(--radius-md); padding: 10px 14px;
  font: 500 12px/1.3 var(--font-mono); color: var(--on-deep); letter-spacing: .04em; backdrop-filter: blur(8px);
}
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: #2fd27a; box-shadow: 0 0 0 4px rgba(47,210,122,.18); }
.hero__tag--a { right: 4%; top: 12%; } .hero__tag--b { left: 6%; bottom: 8%; }
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: var(--space-16) calc(var(--space-16) + 40px); }
  .hero__visual { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) { .hero__tag { display: none; } .hero__meta { gap: var(--space-6); } }

/* solution strip overlapping hero */
.solutions-strip { position: relative; z-index: 5; margin-top: -64px; }
.solutions-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); overflow: hidden; }
.sol-card { position: relative; padding: var(--space-8) var(--space-6); display: grid; gap: var(--space-3); align-content: start; text-decoration: none; border-right: 1px solid var(--line); transition: background-color .18s; }
.sol-card:last-child { border-right: 0; }
.sol-card:hover { background: var(--surface-alt); }
.sol-card__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand); color: var(--on-brand); display: grid; place-items: center; }
.sol-card__icon svg { width: 24px; height: 24px; }
.sol-card h3 { font: 700 18px/1.25 var(--font-display); }
.sol-card p { color: var(--ink-muted); font-size: 14.5px; line-height: 1.55; }
.sol-card .link-arrow { font-size: 14px; margin-top: 4px; }
@media (max-width: 980px) { .solutions-strip__grid { grid-template-columns: repeat(2, 1fr); } .sol-card:nth-child(2) { border-right: 0; } .sol-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .solutions-strip__grid { grid-template-columns: 1fr; } .sol-card { border-right: 0; border-bottom: 1px solid var(--line); } .sol-card:last-child { border-bottom: 0; } }

/* ---------- split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; gap: var(--space-8); } }
.prose { display: grid; gap: var(--space-4); }
.prose p { color: var(--ink-muted); }
.prose h2 + p, .prose h3 + p { margin-top: -4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-pill); background: var(--surface-alt); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.section--alt .chip { background: var(--surface); }
a.chip:hover { border-color: var(--ink-muted); }
.chip[aria-current="true"], .chip.is-active { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }

.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--media); border: 1px solid var(--line); }
.media-frame img { width: 100%; }
.media-frame--pad { padding: var(--space-8); }

/* ---------- signal chain diagram ---------- */
.chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: step; }
.chain__step { position: relative; padding: var(--space-6) var(--space-4) 0; text-align: center; display: grid; justify-items: center; gap: var(--space-3); }
.chain__step::after { content: ""; position: absolute; top: calc(var(--space-6) + 36px); left: calc(50% + 44px); right: calc(-50% + 44px); height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 12px); }
.chain__step:last-child::after { display: none; }
.chain__node { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-raised); border: 1.5px solid var(--line); color: var(--ink); box-shadow: var(--shadow-card); }
.chain__node svg { width: 32px; height: 32px; }
.chain__step--hub .chain__node { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.chain__step h3 { font: 700 16px/1.3 var(--font-display); }
.chain__step p { font-size: 14px; color: var(--ink-muted); line-height: 1.5; max-width: 220px; }
.chain__step .code { color: var(--signal); font-size: 12px; }
.section--deep .chain__node { background: var(--surface-alt); border-color: var(--line-deep); color: var(--ink); }
@media (max-width: 900px) {
  .chain { grid-template-columns: 1fr; gap: var(--space-6); }
  .chain__step { grid-template-columns: 72px 1fr; text-align: left; justify-items: start; padding: 0; column-gap: var(--space-4); }
  .chain__step .chain__node { grid-row: span 3; }
  .chain__step::after { top: 80px; left: 35px; right: auto; bottom: calc(-1 * var(--space-6) + 4px); width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--brand) 0 6px, transparent 6px 12px); }
}

/* ---------- product card ---------- */
.grid { display: grid; gap: var(--space-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.product-card:hover { border-color: color-mix(in srgb, var(--ink-muted) 60%, var(--line)); box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.product-card__media { aspect-ratio: 4 / 3; background: var(--media); display: grid; place-items: center; padding: var(--space-4); border-bottom: 1px solid var(--line); }
.product-card__media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: var(--space-4) var(--space-6) var(--space-6); display: grid; gap: 6px; flex: 1; align-content: start; }
.product-card__cat { font: 500 11px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.product-card__code { font: 700 22px/1.15 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.product-card__sub { font-size: 14.5px; color: var(--ink-muted); line-height: 1.5; }
.product-card__foot { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--space-6) var(--space-6); }
.product-card__foot .link-arrow { font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--radius-pill); font: 600 11px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.badge--brand { background: var(--brand); color: var(--on-brand); }
.badge--line { border: 1px solid var(--line); color: var(--ink-muted); }
.product-card .badge { position: absolute; top: 12px; left: 12px; }

/* category tiles */
.cat-tile { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-4); padding: var(--space-6); min-height: 300px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.cat-tile:hover { border-color: var(--ink-muted); box-shadow: var(--shadow-card); }
.cat-tile__top { display: flex; justify-content: space-between; align-items: baseline; }
.cat-tile__count { font: 500 13px/1 var(--font-mono); color: var(--ink-muted); }
.cat-tile__img { display: grid; place-items: center; background: var(--media); border-radius: var(--radius-md); padding: var(--space-3); }
.cat-tile__img img { max-height: 130px; width: auto; mix-blend-mode: multiply; }
.cat-tile h3 { font: 700 20px/1.2 var(--font-display); }
.cat-tile p { font-size: 14px; color: var(--ink-muted); line-height: 1.5; margin-top: 4px; }

/* ---------- feature list (icon rows) ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-8); }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); }
.feature__icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: color-mix(in srgb, var(--signal-bright) 14%, transparent); color: var(--signal); }
.section--deep .feature__icon { color: #4fb8ea; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font: 600 17px/1.3 var(--font-display); margin-bottom: 4px; }
.feature p { font-size: 15px; color: var(--ink-muted); }
.section--deep .feature p { color: var(--on-deep-muted); }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); counter-reset: p; }
.process__step { padding-top: var(--space-6); border-top: 2px solid var(--line); counter-increment: p; display: grid; gap: var(--space-2); }
.process__step::before { content: "0" counter(p); font: 500 13px/1 var(--font-mono); color: var(--brand-ink); letter-spacing: .1em; }
.process__step:first-child { border-top-color: var(--brand); }
.process__step h3 { font: 700 19px/1.25 var(--font-display); }
.process__step p { font-size: 15px; color: var(--ink-muted); }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand); color: var(--on-brand); padding: var(--space-12); display: grid; grid-template-columns: 1fr auto; gap: var(--space-8); align-items: center; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); }
.cta-band h2 { color: var(--on-brand); font: 700 clamp(26px, 3vw, 36px)/1.15 var(--font-display); }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 8px; max-width: 620px; }
.cta-band .btn { --_bg: #fff; --_fg: var(--ink); --_bd: #fff; }
.cta-band .btn:hover { --_bg: #f2f4f7; --_bd: #f2f4f7; }
.cta-band .btn--on-deep { --_bg: transparent; --_fg: #fff; --_bd: rgba(255,255,255,.55); }
.cta-band .btn--on-deep:hover { --_bg: rgba(255,255,255,.1); --_bd: #fff; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: var(--space-8); } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--surface-deep); color: var(--on-deep); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(169,180,194,.22) 1px, transparent 1.4px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent 20%, #000 80%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); }
.page-hero__inner { padding-block: var(--space-16) var(--space-12); display: grid; gap: var(--space-4); }
.page-hero__inner > * { max-width: 820px; }
.page-hero h1 { color: var(--on-deep); }
.page-hero .lead { color: var(--on-deep-muted); }
.page-hero .eyebrow { color: #ff4d57; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--space-2); padding: 0; font-size: 13px; color: var(--on-deep-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: var(--on-deep-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--on-deep); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--on-deep); }

/* ---------- catalog ---------- */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-12); align-items: start; }
.catalog__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--space-6); }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: var(--radius-md); text-decoration: none; font-weight: 500; font-size: 15px; }
.side-nav a:hover { background: var(--surface-alt); }
.side-nav a[aria-current="page"] { background: var(--ink); color: var(--surface); }
.side-nav a span { font: 500 12px/1 var(--font-mono); opacity: .7; }
.side-title { font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-2); }
.search { position: relative; }
.search input { width: 100%; height: 46px; padding: 0 14px 0 42px; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; }
.search input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--ink-muted); }
.catalog__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); }
.catalog__bar p { color: var(--ink-muted); font-size: 14px; }
.catalog__intro { margin-bottom: var(--space-8); padding-bottom: var(--space-8); border-bottom: 1px solid var(--line); display: grid; gap: var(--space-3); }
.empty { padding: var(--space-16) var(--space-6); text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--ink-muted); }
@media (max-width: 900px) { .catalog { grid-template-columns: 1fr; gap: var(--space-8); } .catalog__side { position: static; } .side-nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; } .side-nav a { white-space: nowrap; border: 1px solid var(--line); } }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: var(--space-12); flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: var(--radius-md); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; }
.pagination a:hover { background: var(--surface-alt); }
.pagination [aria-current="page"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pagination .is-disabled { opacity: .4; }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-16); align-items: start; }
.pd__gallery { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--space-3); }
.pd__main { aspect-ratio: 1; background: var(--media); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; place-items: center; padding: var(--space-8); }
.pd__main img { max-height: 100%; width: auto; object-fit: contain; }
.pd__thumbs { display: flex; gap: var(--space-3); }
.pd__thumbs button { width: 84px; height: 84px; padding: 6px; background: var(--media); border: 1.5px solid var(--line); border-radius: var(--radius-md); cursor: pointer; }
.pd__thumbs button[aria-pressed="true"] { border-color: var(--brand); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd__info { display: grid; gap: var(--space-6); }
.pd__info h1 { font: 800 clamp(36px, 4.4vw, 56px)/1 var(--font-display); letter-spacing: -0.02em; }
.pd__sub { font: 500 18px/1.4 var(--font-sans); color: var(--ink-muted); }
.pd__desc { font-size: 17px; line-height: 1.7; }
.pd__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.spec { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec h2 { font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); padding: 14px 20px; background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.spec ul { list-style: none; margin: 0; padding: 0; }
.spec li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.spec li:last-child { border-bottom: 0; }
.spec li::before { content: ""; width: 8px; height: 8px; margin: 8px 0 0 6px; border-radius: 2px; background: var(--brand); }
.spec dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; }
.spec dt, .spec dd { padding: 13px 20px; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
.spec dt { color: var(--ink-muted); }
.spec dd { font-family: var(--font-mono); font-size: 14px; }
.spec dl > :nth-last-child(-n+2) { border-bottom: 0; }
.docs { display: grid; gap: 8px; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; transition: background-color .18s; }
.doc-link:hover { background: var(--surface-alt); }
.doc-link svg { width: 22px; height: 22px; color: var(--brand-ink); flex: none; }
.doc-link span { flex: 1; font-weight: 600; font-size: 15px; }
.doc-link small { font: 500 12px/1 var(--font-mono); color: var(--ink-muted); }
@media (max-width: 960px) { .pd { grid-template-columns: 1fr; gap: var(--space-8); } .pd__gallery { position: static; } }

/* ---------- architecture (headend page) ---------- */
.arch { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: var(--space-4); align-items: stretch; }
.arch__col { display: grid; gap: var(--space-3); align-content: start; }
.arch__col h3 { font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.arch__item { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised); display: grid; gap: 2px; text-decoration: none; }
a.arch__item:hover { border-color: var(--ink-muted); }
.arch__item strong { font: 600 15px/1.3 var(--font-display); }
.arch__item span { font-size: 13.5px; color: var(--ink-muted); }
.arch__rack { border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--space-4); display: grid; gap: var(--space-3); background: var(--surface-raised); align-content: start; }
.arch__rack-head { display: flex; justify-content: space-between; align-items: center; font: 600 14px/1.2 var(--font-mono); }
.arch__slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.arch__slot { height: 120px; border-radius: var(--radius-sm); background: var(--surface-alt); border: 1px solid var(--line); display: grid; place-items: end center; padding-bottom: 8px; font: 600 10px/1 var(--font-mono); color: var(--ink-muted); writing-mode: vertical-rl; transform: rotate(180deg); place-items: center; }
.arch__slot--in { background: color-mix(in srgb, var(--signal-bright) 18%, var(--surface-raised)); border-color: color-mix(in srgb, var(--signal-bright) 50%, var(--line)); color: var(--signal); }
.arch__slot--out { background: color-mix(in srgb, var(--brand) 14%, var(--surface-raised)); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--brand-ink); }
.arch__slot--psu { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.arch__bus { height: 10px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--brand) 0 10px, var(--ink) 10px 20px); }
.arch__legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-muted); }
.arch__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 960px) { .arch { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.data th { text-align: left; font: 500 12px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); background: var(--surface-alt); padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child a { font: 700 15px/1.2 var(--font-mono); color: var(--brand-ink); text-decoration: none; }
table.data td:first-child a:hover { text-decoration: underline; }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field label .req { color: var(--brand-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-md);
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 15.5px;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--ink-muted) 60%, var(--line)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--brand); }
.field__error { font-size: 13px; color: var(--brand-ink); font-weight: 500; }
.field__hint { font-size: 13px; color: var(--ink-muted); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--ink-muted); align-items: start; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.hp { position: absolute !important; left: -9999px !important; }
.alert { padding: 14px 18px; border-radius: var(--radius-md); font-size: 15px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.alert svg { width: 22px; height: 22px; }
.alert--ok { background: color-mix(in srgb, #1f8a4c 12%, var(--surface)); border: 1px solid color-mix(in srgb, #1f8a4c 45%, var(--line)); }
.alert--ok svg { color: #1f8a4c; }
.alert--err { background: color-mix(in srgb, var(--brand) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--line)); }
.alert--err svg { color: var(--brand-ink); }

.contact-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-card); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); align-items: start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand); color: var(--on-brand); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font: 500 12px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.contact-list a, .contact-list strong { font-weight: 600; font-size: 17px; text-decoration: none; }
.section--deep .contact-list small { color: var(--on-deep-muted); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--surface-alt); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface-deep); color: var(--on-deep-muted); padding: var(--space-16) 0 var(--space-8); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-12); padding-bottom: var(--space-12); border-bottom: 1px solid var(--line-deep); }
.footer__brand img { height: 52px; width: auto; margin-bottom: var(--space-4); }
.footer__brand p { max-width: 320px; }
.site-footer h3 { font: 500 12px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-deep); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-deep-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-deep); text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-6); font-size: 13.5px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); } }

/* ---------- misc ---------- */
.stack-2 > * + * { margin-top: var(--space-2); }
.stack-4 > * + * { margin-top: var(--space-4); }
.stack-6 > * + * { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { transition: none !important; } }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--surface); display: grid; place-items: center; border: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: .2s; z-index: 40; box-shadow: var(--shadow-raised); }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .product-card__media img, :root:not([data-theme="light"]) .cat-tile__img img { mix-blend-mode: normal; } }
:root[data-theme="dark"] .product-card__media img, :root[data-theme="dark"] .cat-tile__img img { mix-blend-mode: normal; }

/* store photo (contact page) */
.store-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-alt); }
.store-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; }
.store-photo figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.store-photo figcaption svg { width: 16px; height: 16px; color: var(--brand-ink); flex: none; }

/* =========================================================================
   Yeni Vurucu Animasyonlar, Digiturk Satış Noktası & Playroom/Signage Stilleri
   ========================================================================= */

/* Topbar Digiturk Badge */
.topbar__digiturk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(142, 36, 170, 0.25), rgba(0, 168, 255, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #fff;
  font-size: 12.5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  margin-left: 12px;
}
.topbar__digiturk-badge:hover {
  background: linear-gradient(135deg, rgba(142, 36, 170, 0.5), rgba(0, 168, 255, 0.5));
  border-color: rgba(168, 85, 247, 0.9);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
  transform: translateY(-1px);
}
.topbar__digiturk-badge strong {
  color: #ffcc00;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.digiturk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffcc00;
  box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
  animation: pulseGold 2s infinite;
}

/* Nav Link Highlight */
.nav__link--highlight {
  position: relative;
  font-weight: 600 !important;
  color: #8b5cf6 !important;
}
.nav__link--highlight .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
  animation: pulseGold 1.8s infinite;
  margin-right: 6px;
}

/* Hero Ambient Lights & Animations */
.hero__ambient {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(226, 10, 23, 0.12) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: floatAmbient 10s ease-in-out infinite alternate;
}
.hero__ambient--2 {
  top: 35%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(11, 111, 163, 0.22) 0%, rgba(26, 156, 216, 0.1) 50%, transparent 75%);
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes pulseGold {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 204, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero Badge */
.hero__digiturk-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(13, 21, 32, 0.82);
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(147, 51, 234, 0.25);
  backdrop-filter: blur(12px);
  margin-bottom: 22px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__digiturk-badge:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(147, 51, 234, 0.45);
}
.hero__digiturk-badge .badge-tag {
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
  color: #fff;
  font: 700 11px/1 var(--font-mono);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__digiturk-badge .badge-text {
  font: 600 13.5px/1.3 var(--font-sans);
  color: #ffffff;
}
.hero__digiturk-badge .badge-text em {
  font-style: normal;
  color: #ffcc00;
  font-weight: 700;
}
.hero__digiturk-badge .badge-arrow {
  color: #a855f7;
  font-size: 14px;
  transition: transform 0.2s;
}
.hero__digiturk-badge:hover .badge-arrow {
  transform: translateX(4px);
}

/* Solutions Strip Grid 5 Cols */
.solutions-strip__grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}
@media (min-width: 1100px) {
  .solutions-strip__grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}
@media (max-width: 760px) {
  .solutions-strip__grid {
    grid-template-columns: 1fr !important;
  }
  .sol-card {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
}

/* =========================================================================
   DIGITURK SHOWCASE BANNER / SECTION (Vurucu Animasyonlu)
   ========================================================================= */
.digiturk-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #090e17 0%, #111a28 50%, #0d121c 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(139, 92, 246, 0.2);
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  color: #ffffff;
  isolation: isolate;
}

.digiturk-showcase::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #ec4899, #eab308, #8b5cf6);
  background-size: 400% 400%;
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -2;
  opacity: 0.65;
  animation: borderRotate 12s ease infinite;
}
.digiturk-showcase::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(145deg, #0a0f19 0%, #121b2a 100%);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.digiturk-showcase__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 960px) {
  .digiturk-showcase__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.digiturk-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.5);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font: 700 12px/1.2 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c084fc;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
  margin-bottom: 18px;
}
.digiturk-pill .pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.8);
  animation: pulseGold 1.6s infinite;
}

.digiturk-showcase h2 {
  color: #ffffff;
  font: 800 clamp(28px, 3.6vw, 42px)/1.12 var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.digiturk-showcase h2 span {
  background: linear-gradient(135deg, #ffcc00 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.digiturk-showcase .digiturk-desc {
  color: #cbd5e1;
  font-size: 16.5px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 580px;
}

.digiturk-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 540px) {
  .digiturk-features {
    grid-template-columns: 1fr;
  }
}

.digiturk-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.digiturk-feat-item:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}
.digiturk-feat-item svg {
  width: 20px;
  height: 20px;
  color: #ffcc00;
  flex-shrink: 0;
  margin-top: 2px;
}
.digiturk-feat-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
}
.digiturk-feat-item span {
  display: block;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.35;
  margin-top: 2px;
}

.digiturk-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn--digiturk {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--digiturk:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.7);
  transform: translateY(-2px);
}

.digiturk-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}
.digiturk-phone-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.digiturk-phone-btn svg {
  width: 18px;
  height: 18px;
  color: #ffcc00;
}

/* Digiturk Visual Side */
.digiturk-media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.digiturk-media-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.digiturk-media-wrapper:hover img {
  transform: scale(1.03);
}

.digiturk-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font: 700 12px/1 var(--font-mono);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.digiturk-overlay-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e20a17;
  box-shadow: 0 0 8px #e20a17;
}

.digiturk-overlay-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(13, 21, 32, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 204, 0, 0.35);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: #ffcc00;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* =========================================================================
   PLAYROOM & HOTEL TV & DIGITAL SIGNAGE VİTRİN KARTLARI
   ========================================================================= */
.showcase-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raised);
}
.showcase-card__img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  aspect-ratio: 16 / 9;
}
.showcase-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.showcase-card:hover .showcase-card__img-wrap img {
  transform: scale(1.04);
}
.showcase-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font: 700 11.5px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(13, 21, 32, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.showcase-card__content {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.showcase-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: var(--space-6) 0;
}
@media (max-width: 500px) {
  .showcase-mini-grid {
    grid-template-columns: 1fr;
  }
}
.mini-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
}
.mini-feat svg {
  width: 18px;
  height: 18px;
  color: var(--brand-ink);
  flex-shrink: 0;
  margin-top: 2px;
}
.mini-feat strong {
  display: block;
  font-size: 13.5px;
}
.mini-feat small {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}

/* ---------- hero feature cards (animated) ---------- */
.hero-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: var(--space-12); }
.hero-card {
  --glow: #ff4d57;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 14px;
  padding: 16px 16px 16px 14px; border-radius: var(--radius-lg); text-decoration: none; color: var(--on-deep);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0; transform: translateY(16px);
  animation: heroCardIn .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.25s + var(--i) * .12s);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .35s, background .3s;
}
.hero-card:nth-child(2) { --glow: #4fb8ea; }
.hero-card:nth-child(3) { --glow: #f5b942; }
.hero-card:nth-child(4) { --glow: #2fd27a; }
/* rotating light along the border */
.hero-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--glow) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .0; transition: opacity .4s; animation: heroCardSpin 4s linear infinite; animation-delay: calc(var(--i) * -1s);
}
/* soft spotlight following the hover */
.hero-card::after {
  content: ""; position: absolute; z-index: -2; width: 180px; height: 180px; border-radius: 50%;
  left: -40px; top: -60px; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 35%, transparent), transparent 70%);
  opacity: .35; transition: opacity .4s, transform .6s cubic-bezier(.2,.7,.2,1);
}
.hero-card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: var(--glow); background: color-mix(in srgb, var(--glow) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--glow) 30%, transparent);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s, color .3s;
}
.hero-card__icon svg { width: 22px; height: 22px; }
.hero-card__text { display: grid; gap: 2px; min-width: 0; }
.hero-card__text strong { font: 700 15px/1.25 var(--font-display); color: var(--on-deep); }
.hero-card__text span { font-size: 13px; line-height: 1.35; color: var(--on-deep-muted); }
.hero-card__go { color: var(--on-deep-muted); opacity: .5; transform: translateX(-4px); transition: transform .3s, opacity .3s, color .3s; }
.hero-card__go svg { width: 18px; height: 18px; }

.hero-card:hover, .hero-card:focus-visible {
  transform: translateY(-4px); border-color: color-mix(in srgb, var(--glow) 45%, transparent);
  background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.03));
  box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--glow) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.1);
}
.hero-card:hover::before, .hero-card:focus-visible::before { opacity: 1; }
.hero-card:hover::after { opacity: .8; transform: translate(60px, 40px) scale(1.2); }
.hero-card:hover .hero-card__icon { transform: rotate(-8deg) scale(1.08); background: var(--glow); color: #0d1520; }
.hero-card:hover .hero-card__go { opacity: 1; transform: none; color: var(--glow); }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes heroCardSpin { to { --ang: 360deg; } }
@keyframes heroCardIn { to { opacity: 1; transform: none; } }

@media (max-width: 560px) { .hero-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .hero-card { opacity: 1; transform: none; animation: none; }
  .hero-card::before { animation: none; }
}

/* ---------- Digiturk announcement bar ---------- */
.dt-bar {
  position: relative; display: block; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff;
  background: linear-gradient(90deg, #b5060f 0%, #e20a17 35%, #ff1f2c 50%, #e20a17 65%, #b5060f 100%);
  background-size: 200% 100%; animation: dtBg 8s ease-in-out infinite;
  border-bottom: 3px solid #8f0710;
  box-shadow: 0 10px 30px -10px rgba(226,10,23,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.dt-bar__stripes {
  position: absolute; inset: 0; z-index: -1; opacity: .12;
  background: repeating-linear-gradient(-45deg, #fff 0 14px, transparent 14px 28px);
  background-size: 40px 40px; animation: dtStripes 1.6s linear infinite;
}
.dt-bar__shine {
  position: absolute; z-index: -1; top: 0; bottom: 0; width: 30%; left: -40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: dtShine 3.8s ease-in-out infinite;
}
.dt-bar__inner { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 76px; padding-block: 14px; flex-wrap: wrap; text-align: center; }
.dt-bar__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--radius-pill);
  background: #fff; color: #c20813; font: 800 13px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); animation: dtPop 2.4s ease-in-out infinite;
}
.dt-bar__tag i { width: 10px; height: 10px; border-radius: 50%; background: #e20a17; animation: dtDot 1.2s ease-in-out infinite; }
.dt-bar__text { font: 800 clamp(18px, 2.4vw, 28px)/1.15 var(--font-display); letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.dt-bar__text strong { font-weight: 800; color: #fff; border-bottom: 3px solid rgba(255,255,255,.6); }
.dt-bar__info { display: inline-flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; color: #fff; text-decoration: none; }
.dt-bar__info:hover .dt-bar__text strong { border-bottom-color: #fff; }
.dt-bar__go {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px; border-radius: var(--radius-md);
  background: #fff; color: #c20813; text-decoration: none; white-space: nowrap;
  font: 800 clamp(22px, 2.8vw, 32px)/1 var(--font-display); letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(0,0,0,.28); transition: transform .25s, box-shadow .25s, background .25s;
}
.dt-bar__go svg { width: 26px; height: 26px; animation: dtRing 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
.dt-bar__go:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 30px rgba(0,0,0,.35); background: #fff5f5; }
.dt-bar a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@keyframes dtBg { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes dtStripes { to { background-position: 40px 0; } }
@keyframes dtShine { 0% { left: -40%; } 60%, 100% { left: 130%; } }
@keyframes dtPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes dtDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes dtRing { 0%, 60%, 100% { transform: rotate(0); } 64%, 72%, 80% { transform: rotate(-14deg); } 68%, 76% { transform: rotate(14deg); } }

@media (max-width: 640px) {
  .dt-bar__inner { gap: 10px; min-height: 0; padding-block: 14px; }
  .dt-bar__info { gap: 10px; }
  .dt-bar__go { padding: 10px 18px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .dt-bar, .dt-bar__stripes, .dt-bar__shine, .dt-bar__tag, .dt-bar__tag i, .dt-bar__go svg { animation: none; }
  .dt-bar__shine { display: none; }
}

/* ---------- tools page (araclar.php) ---------- */
.tools-nav { position: sticky; top: var(--header-h); z-index: 30; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tools-nav__inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.tools-nav__inner::-webkit-scrollbar { display: none; }
.tools-nav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink); background: var(--surface); transition: background .2s, border-color .2s; }
.tools-nav a svg { width: 16px; height: 16px; color: var(--brand-ink); }
.tools-nav a:hover { background: var(--surface-alt); border-color: var(--ink-muted); }
.tools { scroll-margin-top: 140px; }
.stack-tools { display: grid; gap: var(--space-8); }
.tool { scroll-margin-top: calc(var(--header-h) + 80px); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-card); }
.tool__head { display: grid; grid-template-columns: 52px 1fr; gap: var(--space-4); align-items: start; margin-bottom: var(--space-6); padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
.tool__head .heading { margin: 6px 0 6px; }
.tool__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }
.tool__icon svg { width: 26px; height: 26px; }
.formula { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: var(--radius-sm); background: var(--surface-alt); border: 1px solid var(--line); font: 500 13px/1.6 var(--font-mono); color: var(--ink); }
.tool__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: start; }
.tool__form { display: grid; gap: var(--space-4); }
.tool__form input[type="range"] { min-height: 0; padding: 0; accent-color: var(--brand); border: 0; box-shadow: none; }
.tool__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.result { padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-alt); border: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.result small { font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.result b { font: 700 20px/1.2 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result span { font-size: 12.5px; color: var(--ink-muted); line-height: 1.4; }
.result--big { background: var(--surface-deep); border-color: var(--surface-deep); }
.result--big small, .result--big span { color: var(--on-deep-muted); }
.result--big b { color: var(--on-deep); font-size: clamp(26px, 3vw, 34px); }
.result--wide { grid-column: 1 / -1; }
.result--accent { background: var(--brand); border-color: var(--brand); }
.result--accent small, .result--accent span { color: rgba(255,255,255,.85); }
.result--accent b { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.tool__note { margin-top: var(--space-4); font-size: 13.5px; color: var(--ink-muted); }
.tool__note:empty { display: none; }
.tool .tool__note[data-out="warn"]:not(:empty) { padding: 10px 14px; border-radius: var(--radius-md); background: color-mix(in srgb, #f5b942 16%, var(--surface)); border: 1px solid color-mix(in srgb, #f5b942 50%, var(--line)); color: var(--ink); }
.compass { grid-column: 1 / -1; display: grid; place-items: center; padding: 8px 0 0; }
.compass svg { width: 190px; height: 190px; }
.compass .c-ring { fill: var(--surface-alt); stroke: var(--line); stroke-width: 2; }
.compass .c-ticks line { stroke: var(--ink-muted); stroke-width: 1.5; }
.compass text { font: 700 13px var(--font-display); text-anchor: middle; fill: var(--ink-muted); }
.compass .c-n { fill: var(--brand-ink); }
.compass [data-needle] { transform-origin: 100px 100px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.compass .c-needle { stroke: var(--brand); stroke-width: 4; stroke-linecap: round; }
.compass .c-dot { fill: var(--brand); }
.compass .c-hub { fill: var(--ink); }
.ifbar { grid-column: 1 / -1; position: relative; height: 44px; margin-top: 4px; border-radius: var(--radius-md); background: var(--surface-alt); border: 1px solid var(--line); }
.ifbar__range { position: absolute; top: 10px; bottom: 10px; left: 22.5%; width: 60%; border-radius: 4px; background: color-mix(in srgb, #2fd27a 30%, transparent); border: 1px solid color-mix(in srgb, #1f8a4c 50%, transparent); }
.ifbar__mark { position: absolute; top: 4px; bottom: 4px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--brand); transition: left .4s cubic-bezier(.2,.7,.2,1); }
.ifbar em { position: absolute; bottom: -20px; font: 500 11px var(--font-mono); font-style: normal; color: var(--ink-muted); }
.ifbar em:first-of-type { left: 22.5%; translate: -50% 0; } .ifbar em:last-of-type { left: 82.5%; translate: -50% 0; }
.ifbar + * { margin-top: 14px; }
table.mini { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
table.mini th { text-align: left; font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding: 4px 0; }
table.mini td { padding: 6px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.mini tr.is-cur td { color: var(--brand-ink); font-weight: 700; }
[data-tool="track"].is-visible [data-out="vis"] { color: #2fd27a; font-weight: 600; }
@media (max-width: 960px) { .tool__body { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tool { padding: var(--space-6) var(--space-4); } .tool__head { grid-template-columns: 1fr; } .tool__out { grid-template-columns: 1fr; } }

[hidden] { display: none !important; }

/* ---------- Digiturk bar: slim one-line version ---------- */
.dt-bar { border-bottom-width: 1px; box-shadow: 0 6px 18px -10px rgba(226,10,23,.55); }
.dt-bar__stripes { opacity: .07; }
.dt-bar__inner { min-height: 44px; padding-block: 7px; gap: 14px; flex-wrap: nowrap; }
.dt-bar__info { gap: 12px; flex-wrap: nowrap; min-width: 0; }
.dt-bar__tag { padding: 4px 10px; font: 700 10.5px/1 var(--font-display); letter-spacing: .1em; gap: 7px; box-shadow: none; animation: none; }
.dt-bar__tag i { width: 7px; height: 7px; }
.dt-bar__text { font: 500 14.5px/1.3 var(--font-sans); letter-spacing: 0; text-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-bar__text strong { font-weight: 600; border-bottom: 0; }
.dt-bar__info:hover .dt-bar__text { text-decoration: underline; text-underline-offset: 3px; }
.dt-bar__go {
  gap: 7px; padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.45);
  font: 600 14.5px/1 var(--font-sans); letter-spacing: .02em; box-shadow: none;
}
.dt-bar__go svg { width: 15px; height: 15px; }
.dt-bar__go:hover { transform: none; background: #fff; color: #c20813; box-shadow: none; }
.dt-bar__sep { width: 1px; height: 18px; background: rgba(255,255,255,.35); flex: none; }
@media (max-width: 760px) {
  .dt-bar__inner { flex-wrap: wrap; gap: 8px 10px; padding-block: 8px; }
  .dt-bar__info { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .dt-bar__text { white-space: normal; font-size: 13.5px; }
  .dt-bar__sep { display: none; }
  .dt-bar__go { padding: 5px 12px; font-size: 14px; }
}

/* ---------- larger logo ---------- */
:root { --header-h: 88px; }
.brand img { height: 66px; width: auto; transition: transform .25s; }
.brand:hover img { transform: scale(1.03); }
.footer__brand img { height: 68px; }
@media (max-width: 640px) { :root { --header-h: 76px; } .brand img { height: 54px; } }

/* ---------- logo: map image + crisp white name ---------- */
.logo { --logo-h: 66px; position: relative; display: inline-block; height: var(--logo-h); aspect-ratio: 236 / 108; line-height: 0; flex: none; }
.logo img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 4px rgba(13,21,32,.18)); }
.logo__text {
  position: absolute; left: 51%; top: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; line-height: 1; color: #fff;
  font: 800 calc(var(--logo-h) * .18)/1 var(--font-display); letter-spacing: .06em;
  text-shadow: 0 1px 2px rgba(120,0,6,.55), 0 0 1px rgba(120,0,6,.4);
}
.brand .logo { --logo-h: 66px; transition: transform .25s; }
.brand:hover .logo { transform: scale(1.03); }
.brand img { height: 100%; }
.logo--footer { --logo-h: 68px; margin-bottom: var(--space-4); }
.logo--card { --logo-h: 72px; }
@media (max-width: 640px) { .brand .logo { --logo-h: 54px; } }
.footer__brand .logo img { height: 100%; margin: 0; }
.brand:hover .logo img { transform: none; }

/* =========================================================================
   Mobile polish
   ========================================================================= */
/* grid children must be allowed to shrink (fixes catalog overflow on phones) */
.catalog > *, .split > *, .pd > *, .tool__body > *, .arch > *, .hero__inner > *, .footer__grid > * { min-width: 0; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .side-nav { scroll-snap-type: x proximity; }
  .side-nav li { scroll-snap-align: start; }
  .side-nav a { min-height: 44px; }
  .catalog__side .contact-card { display: none; }           /* sidebar CTA is redundant on phones */
  .catalog__side { gap: var(--space-4); }
}
.catalog__side { grid-template-columns: minmax(0, 1fr); }
.catalog__side > * { min-width: 0; }

/* ---------- header on phones / tablets ---------- */
.header-call, .nav__contact, .mobile-cta { display: none; }
@media (max-width: 1080px) {
  .header__inner { gap: var(--space-3); }
  .header-call {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand); color: var(--on-brand);
    box-shadow: 0 6px 16px -6px rgba(226,10,23,.6);
  }
  .header-call svg { width: 20px; height: 20px; }
  .header-call + .nav-toggle { margin-left: 0; }
  .nav { padding: var(--space-4) var(--space-4) calc(var(--space-8) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .nav.is-open { animation: navIn .22s ease-out; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 0 4px; border-radius: 0; }
  .nav__link:hover, .nav__item:focus-within > .nav__link { background: none; }
  .nav__menu a { padding: 12px 8px; }
  .nav .btn--mobile { width: 100%; min-height: 52px; margin-top: var(--space-6); }
  .nav__contact { display: grid; gap: 4px; margin-top: var(--space-6); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--surface-alt); }
  .nav__contact a, .nav__contact span { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
  .nav__contact span { font-weight: 500; color: var(--ink-muted); font-size: 14px; line-height: 1.4; }
  .nav__contact svg { width: 18px; height: 18px; color: var(--brand-ink); flex: none; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .topbar { display: none; }                       /* phone/email move to header button, menu and bottom bar */
  .nav { inset: var(--header-h) 0 0 0; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-cta {
    display: flex; gap: 8px; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(13,21,32,.25);
  }
  .mobile-cta a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius-md); text-decoration: none; font: 700 15px/1 var(--font-sans); }
  .mobile-cta svg { width: 19px; height: 19px; }
  .mobile-cta__call { background: var(--brand); color: #fff; }
  .mobile-cta__wa { background: #1f8a4c; color: #fff; }
  .mobile-cta__quote { background: var(--surface-deep); color: #fff; }
  .to-top { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; width: 44px; height: 44px; }

  /* typography & rhythm */
  .section { padding: var(--space-12) 0; }
  .section--tight { padding: var(--space-8) 0; }
  .section-head { margin-bottom: var(--space-8); gap: var(--space-3); }
  .display-xl { font-size: clamp(34px, 9.4vw, 44px); line-height: 1.05; }
  .display-lg { font-size: clamp(27px, 7.2vw, 34px); line-height: 1.12; }
  .lead { font-size: 16.5px; }
  .eyebrow { font-size: 11px; letter-spacing: .12em; }
  .page-hero__inner { padding-block: var(--space-8) var(--space-8); }

  /* hero */
  .hero__inner { padding-block: var(--space-8) calc(var(--space-12) + 24px); gap: var(--space-8); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { max-width: 420px; }
  .solutions-strip { margin-top: -40px; }
  .sol-card { padding: var(--space-6) var(--space-4); grid-template-columns: 44px 1fr; column-gap: var(--space-4); }
  .sol-card .sol-card__icon { grid-row: span 3; }
  .sol-card .link-arrow { display: none; }

  /* Digiturk bar */
  .dt-bar__inner { padding-block: 10px; }
  .dt-bar__go { min-height: 40px; padding: 8px 16px; font-size: 15px; }

  /* cards & grids */
  .product-card__body { padding: var(--space-4); }
  .product-card__foot { padding: 0 var(--space-4) var(--space-4); }
  .cat-tile { min-height: 0; }
  .contact-card { padding: var(--space-6) var(--space-4); }
  .cta-band { padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .cta-band__actions { flex-direction: column; }
  .cta-band .btn { white-space: normal; }
  .chain__step p { max-width: none; }

  /* catalog & product */
  .catalog__bar { margin-bottom: var(--space-4); }
  .pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 8px; }
  .pd__main { padding: var(--space-4); }
  .pd__info h1 { font-size: 38px; }
  .pd__actions { flex-direction: column; }
  .pd__actions .btn { width: 100%; }
  .spec dl { grid-template-columns: 110px 1fr; }
  .spec dt, .spec dd, .spec li { padding: 12px 14px; }

  /* forms: 16px inputs stop iOS from zooming in */
  .field input, .field select, .field textarea, .search input { font-size: 16px; }
  .form button[type="submit"] { width: 100%; }

  /* contact / misc links get comfortable tap height */
  .contact-list a { display: inline-block; padding-block: 6px; }
  table.data td:first-child a { display: inline-block; padding-block: 6px; }
  .map { aspect-ratio: 4 / 3; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .site-footer ul a { display: inline-block; padding-block: 4px; }

  /* tools page */
  .tools-nav { top: var(--header-h); }
  .result--big b, .result--accent b { font-size: 28px; }
}
@media (max-width: 380px) {
  .container { padding-inline: 14px; }
  .brand .logo { --logo-h: 48px; }
  .mobile-cta a span { font-size: 14px; }
}
@media (max-width: 760px) {
  .dt-bar__inner { padding-block: 10px; }
  .dt-bar__sep, .dt-bar__go { display: none; }   /* phones: the fixed bottom bar already has "Hemen Ara" */
  .dt-bar__info { gap: 6px; }
  .dt-bar__text { font-size: 13.5px; text-align: center; }
  .hero .eyebrow { font-size: 10.5px; line-height: 1.6; }
}
@media (max-width: 760px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
  .section-head--split .btn, .center > .btn { width: 100%; }
}
/* backdrop-filter makes the header the containing block of the fixed menu — drop it where the menu is an overlay */
@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav { bottom: 0; height: auto; z-index: 60; background: var(--surface); }
}
.nav__link svg { transition: transform .2s; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
@media (max-width: 560px) {
  .tool__out { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .result { padding: 12px; }
  .result b { font-size: 17px; }
  .result--big b, .result--accent b { font-size: 24px; }
  .result span { font-size: 12px; }
  .compass svg { width: 160px; height: 160px; }
}
