/* ── FONTS ── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
  position: relative;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; background: none; padding: 0; }
img { display: block; }
[hidden] { display: none !important; }

/* ── THEME TOKENS ── */
:root {
  /* pinhesap logo paleti */
  --brand-1: #c25ffc;
  --brand-2: #8b3cfc;
  --brand-3: #4e50f9;
  --grad: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 50%, var(--brand-3) 100%);
}
:root[data-theme="dark"] {
  --bg:       #000000;
  --surface:  rgba(255,255,255,0.035);
  --surface2: rgba(255,255,255,0.06);
  --border:   rgba(255,255,255,0.08);
  --text:     #f5f3ff;
  --textsec:  #8e8aa6;
  --accent:   #a970ff;
  --glow:     rgba(139,60,252,0.55);
  --light-a:  0.22;
  --shadow:   rgba(0,0,0,0.6);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg:       #ffffff;
  --surface:  rgba(24,10,60,0.025);
  --surface2: rgba(24,10,60,0.05);
  --border:   rgba(24,10,60,0.09);
  --text:     #0c0818;
  --textsec:  #625e78;
  --accent:   #7a2ff7;
  --glow:     rgba(139,60,252,0.35);
  --light-a:  0.10;
  --shadow:   rgba(40,20,90,0.12);
  color-scheme: light;
}

body { background: var(--bg); color: var(--text); }
::selection { background: rgba(139,60,252,0.35); }

/* ── AMBIENT LIGHTS ── */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: var(--light-a);
  transition: opacity 0.3s;
}
.ambient .l1 { width: 620px; height: 620px; top: -240px; left: -160px; background: var(--brand-2); animation: drift 18s ease-in-out infinite alternate; }
.ambient .l2 { width: 520px; height: 520px; top: -120px; right: -200px; background: var(--brand-3); animation: drift 22s ease-in-out infinite alternate-reverse; }
.ambient .l3 { width: 480px; height: 480px; bottom: -260px; left: 35%; background: var(--brand-1); opacity: calc(var(--light-a) * 0.7); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .ambient span { animation: none; }
}
.page { position: relative; z-index: 1; }

/* ── THEME-AWARE ASSETS ── */
:root[data-theme="dark"]  .theme-on-light,
:root[data-theme="light"] .theme-on-dark { display: none; }

/* ── TOP BAR ── */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 32px 0;
}
.topbar {
  position: relative;
  max-width: 1216px;
  margin: 0 auto;
  padding: 10px 10px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -18px var(--shadow);
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
/* üst kenarda ince marka ışığı */
.topbar::before {
  content: "";
  position: absolute;
  top: -1px; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-1), var(--brand-3), transparent);
  opacity: 0.7;
}
header.scrolled .topbar {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-color: color-mix(in srgb, var(--accent) 22%, var(--border));
  box-shadow: 0 14px 50px -16px var(--shadow), 0 0 40px -20px var(--glow);
}
.topbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.topbar-logo img {
  height: 36px;
  width: auto;
  aspect-ratio: 1200 / 344;
  max-width: 100%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--textsec);
  padding: 7px 14px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--surface2);
}
.topbar-right { display: flex; align-items: center; gap: 8px; }
.theme-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--textsec);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.theme-btn:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 0 18px -4px var(--glow);
}
.site-btn {
  font-size: 13px;
  font-weight: 700;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--grad);
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 6px 24px -6px var(--glow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.site-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 8px 32px -4px var(--glow);
}

/* ── HEADLINE ── */
.headline {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 32px 56px;
}
.headline h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
}
.headline h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px var(--glow));
}

/* ── PLATFORM GRID ── */
.plat-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 96px;
}
.plat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.plat-card {
  --c: var(--accent);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.plat-card::before {
  content: "";
  position: absolute;
  top: -80px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--c);
  opacity: 0.10;
  filter: blur(60px);
  transition: opacity 0.25s;
  pointer-events: none;
}
.plat-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: 0 18px 50px -18px color-mix(in srgb, var(--c) 60%, transparent);
}
.plat-card:hover::before { opacity: 0.28; }
.plat-card > * { position: relative; }
.plat-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 28px -8px color-mix(in srgb, var(--c) 70%, transparent);
}
.plat-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.plat-count {
  font-size: 13px;
  color: var(--textsec);
  margin-bottom: 18px;
}
.plat-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  margin-top: auto;
  color: var(--c);
}
:root[data-theme="light"] .plat-price { color: color-mix(in srgb, var(--c) 72%, #000); }
.plat-price svg { opacity: 0.5; transition: transform 0.25s, opacity 0.25s; color: var(--textsec); }
.plat-card:hover .plat-price svg { opacity: 1; transform: translateX(3px); color: var(--c); }

/* ── CTA ── */
.cta-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 96px;
}
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta::before { width: 420px; height: 420px; top: -220px; left: 50%; transform: translateX(-50%); background: var(--brand-2); opacity: calc(var(--light-a) * 1.6); }
.cta::after  { width: 300px; height: 300px; bottom: -200px; right: -60px; background: var(--brand-3); opacity: var(--light-a); }
.cta-inner { position: relative; max-width: 560px; margin: 0 auto; }
.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.cta p {
  margin: 0 0 30px;
  font-size: 16px;
  color: var(--textsec);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--grad);
  color: white;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 10px 40px -8px var(--glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14) inset, 0 14px 50px -6px var(--glow);
}

/* ── FOOTER ── */
.footer {
  position: relative;
  overflow: hidden;
  padding: 64px 32px 28px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand-2) 5%, transparent));
}
/* üstte parlayan ayraç çizgisi */
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 60%, transparent), transparent);
}
.footer::after {
  content: "";
  position: absolute;
  top: -120px; left: 50%;
  width: 520px; height: 200px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--brand-2);
  opacity: calc(var(--light-a) * 0.8);
  filter: blur(80px);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1216px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { height: 34px; width: auto; aspect-ratio: 1200 / 344; margin-bottom: 16px; }
.footer-desc {
  margin: 0 0 22px;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--textsec);
}
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-mail svg { color: var(--accent); }
.footer-mail:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 0 22px -6px var(--glow);
}
.footer-col h3 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--textsec);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 13px; color: var(--textsec); }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--textsec);
  transition: color 0.2s;
}
.to-top span {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.to-top:hover { color: var(--text); }
.to-top:hover span {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 0 18px -4px var(--glow);
  color: var(--accent);
}

.footer-logo { display: inline-block; }

/* ── YARDIMCI ── */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── HİZMET MODALI ── */
html:has(.m-dialog[open]) { overflow: hidden; }

.m-dialog {
  --c: var(--accent);
  width: min(780px, calc(100% - 32px));
  max-width: none;
  max-height: min(88vh, 860px);
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 24px;
  background: var(--modal-bg);
  color: var(--text);
  box-shadow: 0 30px 90px -20px rgba(0,0,0,0.6), 0 0 60px -30px var(--glow);
  overflow: hidden;
}
:root[data-theme="dark"]  { --modal-bg: #08080c; }
:root[data-theme="light"] { --modal-bg: #ffffff; }
.m-dialog[open] { animation: m-in 0.28s cubic-bezier(.2,.8,.2,1); }
.m-dialog::backdrop {
  background: rgba(4,2,12,0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: m-fade 0.25s ease;
}
@keyframes m-in   { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }

.m-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: inherit;
  min-height: inherit;
}
/* platform renginde loş ışık */
.m-shell::before {
  content: "";
  position: absolute;
  top: -140px; left: -80px;
  width: 360px; height: 280px;
  border-radius: 50%;
  background: var(--c);
  opacity: 0.16;
  filter: blur(70px);
  pointer-events: none;
}

.m-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 18px 22px;
  border-bottom: 1px solid var(--border);
}
.m-plat {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--c) 70%, transparent);
}
.m-plat svg { width: 22px; height: 22px; }
.m-head-text { flex: 1; min-width: 0; }
.m-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  outline: none;
}
.m-sub {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--textsec);
}
.m-icon-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--textsec);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.m-icon-btn:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 0 16px -4px var(--glow);
}

.m-body {
  position: relative;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 22px 24px;
}
.m-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--textsec);
}
.m-h3 {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

/* kategori çipleri */
.m-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.m-chips::-webkit-scrollbar { display: none; }
.m-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--textsec);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.m-chip span {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 100px;
  background: var(--surface2);
}
.m-chip:hover { color: var(--text); }
.m-chip[aria-pressed="true"] {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

/* hizmet listesi */
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.m-svc {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-align: left;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.m-svc:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: 0 10px 30px -14px color-mix(in srgb, var(--c) 60%, transparent);
}
.m-svc-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.m-svc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.m-svc-name { font-size: 15px; font-weight: 700; }
.m-svc-meta { font-size: 12px; color: var(--textsec); }
.m-svc-from {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.m-svc-from small { font-size: 11px; font-weight: 500; color: var(--textsec); }
.m-svc-go { color: var(--textsec); flex-shrink: 0; transition: transform 0.2s, color 0.2s; }
.m-svc:hover .m-svc-go { transform: translateX(3px); color: var(--accent); }

/* paket kartları */
.m-packs { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.m-pk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.m-pk {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.m-pk:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.m-pk input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.m-pk:has(input:checked) {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset, 0 8px 28px -12px var(--glow);
}
.m-pk:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-pk-qty { display: flex; flex-direction: column; gap: 1px; }
.m-pk-qty strong { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.m-pk-qty small {
  font-size: 11px;
  color: var(--textsec);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-pk-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}
.m-pk-off {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: rgba(34,197,94,0.12);
  padding: 2px 7px;
  border-radius: 100px;
}
.m-pk--custom {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
.m-pk--custom .m-pk-qty strong { color: var(--accent); font-size: 16px; }
.m-pk--custom .m-pk-price { color: var(--accent); justify-content: flex-end; }

/* özel adet */
.m-custom {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  animation: m-fade 0.2s ease;
}
.m-qty-row { display: flex; align-items: stretch; gap: 8px; }
.m-step {
  width: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.m-step:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.m-qty-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--modal-bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.m-qty-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.m-qty-field input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  outline: none;
  -moz-appearance: textfield;
}
.m-qty-field input::-webkit-inner-spin-button,
.m-qty-field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.m-qty-field input[aria-invalid="true"] { color: #ef4444; }
.m-qty-field span { font-size: 13px; color: var(--textsec); }
.m-range {
  --fill: 0%;
  width: 100%;
  margin: 18px 0 6px;
  height: 6px;
  border-radius: 100px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-3)) 0 / var(--fill) 100% no-repeat, var(--surface2);
  cursor: pointer;
}
.m-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-2);
  box-shadow: 0 0 14px var(--glow);
}
.m-range::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-2);
  box-shadow: 0 0 14px var(--glow);
}
.m-hint { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--textsec); }
.m-err { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #ef4444; }

/* özet + satın al */
.m-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--modal-bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.m-sum { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.m-sum-qty { font-size: 13px; color: var(--textsec); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-sum-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.m-sum-price strong { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.m-sum-price s { font-size: 13px; color: var(--textsec); }
.m-off {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: rgba(34,197,94,0.12);
  padding: 2px 8px;
  border-radius: 100px;
}
.m-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 10px 34px -8px var(--glow);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.m-buy:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.14) inset, 0 14px 44px -6px var(--glow); }
.m-buy[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .m-dialog[open], .m-dialog::backdrop, .m-custom { animation: none; }
}

/* mobil: alttan açılan panel */
@media (max-width: 640px) {
  .m-dialog {
    width: 100%;
    max-height: 92dvh;
    min-height: 55dvh;
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
  }
  .m-dialog[open] { animation-name: m-up; }
  @keyframes m-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .m-head { padding: 16px 14px 14px 16px; gap: 10px; }
  .m-plat { width: 40px; height: 40px; border-radius: 12px; }
  .m-title { font-size: 17px; }
  .m-body { padding: 16px 16px 20px; }
  .m-pk-grid { grid-template-columns: repeat(2, 1fr); }
  .m-svc { padding: 12px; gap: 12px; }
  .m-svc-ico { width: 38px; height: 38px; }
  .m-svc-go { display: none; }
  .m-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .m-sum-price strong { font-size: 20px; }
  .m-buy { padding: 13px 18px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  header { padding: 10px 12px 0; }
  .headline, .plat-section, .cta-wrap { padding-left: 16px; padding-right: 16px; }
  .topbar { padding: 8px 8px 8px 14px; border-radius: 16px; }
  .topbar-logo img { height: 30px; }
  .site-btn { padding: 9px 14px; }
  .headline { padding-top: 48px; }
  .headline h1 { font-size: 44px; }
  .plat-grid { gap: 10px; }
  .plat-card { padding: 20px 16px; }
  .plat-icon { width: 48px; height: 48px; border-radius: 14px; }
  .cta { padding: 48px 20px; border-radius: 22px; }
  .footer { padding: 48px 16px 24px; }
  .footer-top { gap: 32px; }
  .ambient .l1 { width: 380px; height: 380px; }
  .ambient .l2 { width: 320px; height: 320px; }
}
