/* =========================================================
   NOVA BİLİŞİM — Katalog + Yönetim Paneli
   ========================================================= */
:root {
  --bg: #060b1c;
  --bg-2: #0a1127;
  --panel: #0d1530;
  --panel-2: #111b3a;
  --panel-3: #16224a;
  --line: #1f2b52;
  --line-2: #2a3a6b;
  --text: #eaeefb;
  --text-2: #c3cbe6;
  --muted: #8e9abf;
  --accent: #3d5afe;
  --accent-2: #5d78ff;
  --accent-soft: rgba(61, 90, 254, .16);
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #f05252;
  --r: 14px;
  --r-lg: 18px;
  --sidebar: 280px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(61, 90, 254, .12), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(93, 120, 255, .07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.i { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.tiny { font-size: 12.5px; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.r { text-align: right; }
.c { text-align: center; }
.center { justify-content: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Layout ---------- */
.app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  padding: 26px 14px 18px;
  background: linear-gradient(180deg, #0a1229, #070d20);
  border-right: 1px solid var(--line);
  z-index: 40;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.brand-mark {
  width: 26px; height: 26px; flex: none;
  background: linear-gradient(135deg, #6a83ff, #3d5afe 55%, #2a3fd6);
  transform: rotate(45deg); border-radius: 4px;
  box-shadow: 0 0 22px rgba(61, 90, 254, .55);
}
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: .2px; }
.brand-sub { color: var(--muted); padding: 6px 14px 0 50px; font-size: 14px; }
.nav { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; }
.nav-link {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 12px;
  color: var(--text-2); font-weight: 500;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.nav-link .i { width: 22px; height: 22px; color: var(--muted); transition: color .15s; }
.nav-link:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.nav-link:hover .i { color: var(--text); }
.nav-link.active {
  background: linear-gradient(90deg, rgba(61, 90, 254, .32), rgba(61, 90, 254, .12));
  border-color: rgba(93, 120, 255, .55);
  color: #fff; font-weight: 600;
}
.nav-link.active .i { color: #fff; }
.count { margin-left: auto; min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; text-align: center; }
.sidebar-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.me { display: flex; align-items: center; gap: 12px; padding: 6px 10px; }
.me-name { flex: 1; font-weight: 500; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #5d78ff, #3d5afe); font-weight: 700; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  height: 78px; padding: 0 28px;
  background: rgba(6, 11, 28, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-title { font-size: 22px; font-weight: 600; color: #9fb1ff; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; gap: 10px; }
.icon-btn.menu-btn { display: none; }
.content { padding: 28px; display: flex; flex-direction: column; gap: 26px; flex: 1; width: 100%; max-width: 1480px; }
.scrim { display: none; }

/* ---------- Typography ---------- */
.display { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.display.sm { font-size: clamp(26px, 2.8vw, 36px); }
.h1 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; margin: 0; letter-spacing: -.01em; }
.h2 { font-size: 22px; font-weight: 700; margin: 0; }
.h3 { font-size: 17px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px; }
.h3 .i { color: var(--accent-2); }
.lead { font-size: 18px; color: var(--text-2); margin: 8px 0 0; }
.page-head { display: flex; flex-direction: column; gap: 2px; }
.page-head.row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.prose { color: var(--text-2); line-height: 1.7; }
.link { display: inline-flex; align-items: center; gap: 6px; color: #8ea2ff; font-weight: 500; }
.link .i { width: 16px; height: 16px; transition: transform .15s; }
.link:hover { color: #b3c0ff; }
.link:hover .i { transform: translateX(3px); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; width: fit-content; }
.back .i { width: 18px; height: 18px; }
.back:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
}
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #4a66ff, #3550f0); color: #fff; box-shadow: 0 8px 22px -10px rgba(61, 90, 254, .9); }
.btn-primary:hover { background: linear-gradient(180deg, #5873ff, #3d5afe); }
.btn-ghost, .btn-outline { background: rgba(255, 255, 255, .02); border-color: #3a4a7a; color: var(--text); }
.btn-ghost:hover, .btn-outline:hover { border-color: #6077c9; background: rgba(255, 255, 255, .05); }
.btn-outline { border-color: #c8d0ea66; }
.btn-danger-ghost { background: transparent; border-color: rgba(240, 82, 82, .35); color: #ff8d8d; }
.btn-danger-ghost:hover { background: rgba(240, 82, 82, .1); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid transparent; background: transparent;
  color: var(--muted); cursor: pointer; transition: .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--line-2); }
.icon-btn.danger:hover { color: var(--danger); border-color: rgba(240, 82, 82, .4); }
.icon-btn.star.on { color: #fbbf24; }
.icon-btn.star.on .i { fill: #fbbf24; }
form.inline { display: inline; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, rgba(22, 34, 74, .55), rgba(13, 21, 48, .7));
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
}
.pad { padding: 22px 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Search ---------- */
.search {
  display: flex; align-items: center; gap: 10px;
  width: min(370px, 34vw); height: 46px; padding: 0 16px;
  border: 1px solid #3a4a7a; border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .15s;
}
.search:focus-within { border-color: var(--accent-2); }
.search .i { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.search input::placeholder { color: var(--muted); }
.search.sm { height: 40px; width: 280px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 240px; display: flex; align-items: center;
  border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(110deg, #0b1330 30%, #0e1840);
}
.hero-lg { min-height: 360px; }
.hero-media {
  position: absolute; inset: 0 0 0 auto; width: 64%;
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hero-fallback {
  background:
    radial-gradient(420px 260px at 72% 40%, rgba(93, 120, 255, .45), transparent 70%),
    radial-gradient(300px 220px at 92% 90%, rgba(150, 90, 255, .3), transparent 70%),
    repeating-linear-gradient(90deg, rgba(140, 160, 255, .07) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(140, 160, 255, .07) 0 1px, transparent 1px 46px);
  display: grid; place-items: center;
}
.hero-glyph { width: 170px; height: 170px; color: rgba(170, 186, 255, .5); stroke-width: 1; margin-left: 30%; filter: drop-shadow(0 0 30px rgba(93, 120, 255, .6)); }
.hero-body { position: relative; padding: 40px 44px; max-width: 640px; }
.hero h1 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 800; line-height: 1.07; letter-spacing: -.025em; margin: 0; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero .lead { font-size: clamp(16px, 1.5vw, 20px); }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  display: flex; align-items: center; gap: 16px;
  min-height: 92px; padding: 18px 22px; text-align: left;
  border-radius: 16px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(22, 34, 74, .6), rgba(13, 21, 48, .75));
  cursor: pointer; transition: border-color .15s, transform .15s, background .15s;
}
.tile:hover { border-color: rgba(93, 120, 255, .8); transform: translateY(-2px); background: linear-gradient(180deg, rgba(30, 45, 98, .7), rgba(16, 26, 60, .8)); }
.tile-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; color: #c6d0ff; background: rgba(93, 120, 255, .12); border: 1px solid rgba(93, 120, 255, .25); }
.tile-ic .i { width: 24px; height: 24px; }
.tile-ic.big { width: 60px; height: 60px; }
.tile-ic.big .i { width: 30px; height: 30px; }
.tile-t { flex: 1; font-weight: 600; font-size: 17px; line-height: 1.25; }
.tile-arrow { color: var(--text-2); transition: transform .15s; }
.tile:hover .tile-arrow { transform: translateX(4px); color: #fff; }

/* ---------- Sections / grids ---------- */
.section { display: flex; flex-direction: column; gap: 18px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.with-aside.narrow { grid-template-columns: minmax(0, 1fr) 460px; }
.aside-sticky { position: sticky; top: 100px; }

/* ---------- Media placeholder ---------- */
.ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(240px 160px at 70% 30%, rgba(93, 120, 255, .38), transparent 70%),
    repeating-linear-gradient(90deg, rgba(140, 160, 255, .06) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(140, 160, 255, .06) 0 1px, transparent 1px 28px),
    linear-gradient(135deg, #13204a, #0a1128);
}
.ph .i { width: 56px; height: 56px; stroke-width: 1.2; color: rgba(190, 202, 255, .7); filter: drop-shadow(0 0 16px rgba(93, 120, 255, .7)); }

/* Project card */
.mcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.mcard:hover { border-color: rgba(93, 120, 255, .8); transform: translateY(-3px); box-shadow: var(--shadow); }
.mcard-img { aspect-ratio: 16 / 9.5; overflow: hidden; }
.mcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mcard:hover .mcard-img img { transform: scale(1.05); }
.mcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; background: linear-gradient(180deg, rgba(20, 31, 68, .95), rgba(13, 21, 48, 1)); border-top: 1px solid var(--line); }
.mcard-title { font-weight: 700; font-size: 18px; }
.mcard-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px; white-space: nowrap; }
.mcard-link .i { width: 16px; height: 16px; }
.mcard.web .mcard-img { aspect-ratio: 16 / 10; }

/* Product card */
.pcard { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel); transition: border-color .2s, transform .2s, box-shadow .2s; }
.pcard:hover { border-color: rgba(93, 120, 255, .8); transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard-img { display: block; aspect-ratio: 16 / 8.6; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-body { padding: 16px 20px 18px; background: linear-gradient(180deg, rgba(20, 31, 68, .95), rgba(13, 21, 48, 1)); border-top: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; }
.pcard-title { font-size: 20px; font-weight: 700; margin: 0; }
.pcard-spec { color: var(--text-2); margin: 4px 0 0; font-size: 15px; }
.pcard-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.price { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: 10px;
  border: 1px solid #3a4a7a; color: var(--text-2); font-weight: 500;
  transition: .15s;
}
.chip b { font-weight: 600; font-size: 12px; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.chip:hover { border-color: #6077c9; color: #fff; }
.chip.active { background: linear-gradient(180deg, #4a66ff, #3550f0); border-color: transparent; color: #fff; }
.chips.seg { gap: 0; }
.chips.seg .chip { height: 50px; padding: 0 34px; border-radius: 0; margin-left: -1px; font-size: 16px; }
.chips.seg .chip:first-child { border-radius: 12px 0 0 12px; margin-left: 0; }
.chips.seg .chip:last-child { border-radius: 0 12px 12px 0; }
.sort { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 6px 0 16px; border: 1px solid #3a4a7a; border-radius: 12px; }
.sort .i { color: var(--muted); }
.sort select { border: 0; background: transparent; height: 100%; padding-right: 10px; color: var(--text); font: inherit; font-size: 15px; outline: none; cursor: pointer; }
.sort select option { background: var(--panel); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span { font-weight: 600; font-size: 14.5px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: rgba(5, 10, 26, .55);
  border: 1px solid #34457a; border-radius: 10px;
  padding: 12px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search input { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3cbe6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.sort select { background-image: none; }
select option { background: var(--panel); color: var(--text); }
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-2) !important; box-shadow: 0 0 0 4px rgba(61, 90, 254, .18); }
input::placeholder, textarea::placeholder { color: #66729a; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--text-2); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.seg-radio { display: flex; border: 1px solid #34457a; border-radius: 10px; padding: 4px; gap: 4px; }
.seg-radio.wrap { flex-wrap: wrap; }
.seg-radio label { flex: 1; }
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio span { display: block; text-align: center; padding: 9px 12px; border-radius: 7px; cursor: pointer; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.seg-radio input:checked + span { background: var(--accent); color: #fff; }
.seg-radio input:focus-visible + span { outline: 2px solid var(--accent-2); }
.quote-form { padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.quote-form .h2 { font-size: 30px; font-weight: 800; }
.quote-form p.muted { margin: -10px 0 4px; color: var(--text-2); font-size: 16px; }
.quote-form p.tiny { margin: -6px 0 0; text-align: center; }

.drop { position: relative; display: block; cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-preview {
  aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  border: 1.5px dashed #3c4e86; background: rgba(5, 10, 26, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--muted); transition: border-color .15s, background .15s;
}
.drop:hover .drop-preview, .drop.over .drop-preview { border-color: var(--accent-2); background: rgba(61, 90, 254, .08); }
.drop-preview .i { width: 34px; height: 34px; }
.drop-preview img { width: 100%; height: 100%; object-fit: cover; }
.drop.wide .drop-preview { aspect-ratio: 21 / 9; }
.icon-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; }
.icon-pick input { position: absolute; opacity: 0; }
.icon-pick span { display: grid; place-items: center; height: 44px; border: 1px solid #34457a; border-radius: 10px; color: var(--muted); cursor: pointer; transition: .15s; }
.icon-pick span:hover { color: #fff; border-color: #6077c9; }
.icon-pick input:checked + span { background: var(--accent-soft); border-color: var(--accent-2); color: #fff; }

/* ---------- Alerts / badges / pills ---------- */
.alert { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid; font-weight: 500; }
.alert .i { margin-top: 1px; }
.alert-ok { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .35); color: #9af0b8; }
.alert-err { background: rgba(240, 82, 82, .1); border-color: rgba(240, 82, 82, .4); color: #ffb0b0; }
.alert small { color: inherit; opacity: .75; font-weight: 400; }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px; font-size: 14px; font-weight: 500; border: 1px solid; white-space: nowrap; }
.badge.as-btn { cursor: pointer; background: none; font: inherit; font-size: 14px; }
.b-blue { background: #2f4cf2; border-color: #4e68ff; color: #fff; }
.b-amber { background: rgba(180, 105, 10, .35); border-color: #c98516; color: #ffd28a; }
.b-green { background: rgba(22, 120, 60, .35); border-color: #239a52; color: #a6f2c2; }
.b-gray { background: rgba(80, 95, 140, .25); border-color: #4a5a8a; color: var(--text-2); }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--accent-soft); color: #b9c5ff; font-size: 13px; font-weight: 600; }
.pill-soft { background: rgba(255, 255, 255, .06); color: var(--text-2); font-weight: 500; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.card.table-wrap { padding: 8px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th { text-align: left; font-weight: 600; color: var(--text-2); font-size: 14.5px; padding: 12px 18px; background: rgba(40, 56, 110, .35); white-space: nowrap; }
.table th:first-child { border-radius: 10px 0 0 10px; }
.table th:last-child { border-radius: 0 10px 10px 0; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th.r, .table td.r { text-align: right; }
.table th.c, .table td.c { text-align: center; }
.row-link { cursor: pointer; transition: background .12s; }
.row-link:hover td { background: rgba(255, 255, 255, .03); }
.row-link.unread td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.cell-item { display: flex; align-items: center; gap: 14px; }
.cell-item .strong:hover { color: #b3c0ff; }

/* ---------- Admin dashboard ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { display: flex; align-items: flex-start; gap: 18px; padding: 24px 26px; transition: border-color .15s, transform .15s; }
.stat:hover { border-color: rgba(93, 120, 255, .8); transform: translateY(-2px); }
.stat > .i { width: 40px; height: 40px; stroke-width: 1.4; color: #c6d0ff; }
.stat span { display: block; font-size: 17px; color: var(--text-2); }
.stat strong { display: block; font-size: 44px; font-weight: 800; line-height: 1.1; margin-top: 4px; }
.stat.hot strong { color: #8ea2ff; }
.dash-row { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; }
.quick { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.quick-btn { display: flex; align-items: center; gap: 16px; padding: 15px 20px; border-radius: 12px; border: 1px solid #3a4a7a; font-weight: 600; font-size: 17px; transition: .15s; }
.quick-btn span { flex: 1; }
.quick-btn .i:first-child { width: 28px; height: 28px; color: #c6d0ff; }
.quick-btn:hover { border-color: var(--accent-2); background: rgba(61, 90, 254, .08); }
.quick-btn:hover .i:last-child { transform: translateX(3px); }
.quick-btn .i:last-child { transition: transform .15s; }
.item-list { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.item-row { display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); }
.item-row:last-child { border-bottom: 0; }
.item-row.editing { background: var(--accent-soft); }
.item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item-main strong { font-size: 17px; }
.thumb { width: 150px; aspect-ratio: 16 / 9.5; border-radius: 10px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.sm { width: 72px; border-radius: 8px; }
.thumb .ph .i { width: 26px; height: 26px; }
.thumb.sm .ph .i { width: 20px; height: 20px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.edit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.edit-grid.rev { grid-template-columns: minmax(0, 1fr) 400px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line-2); }
.tab { padding: 12px 18px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.active { color: #fff; border-color: var(--accent); }
.form-narrow { max-width: 760px; }
.hero-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 14px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.quote-text { margin-top: 12px; padding: 16px 18px; border-radius: 12px; background: rgba(5, 10, 26, .45); border: 1px solid var(--line); }

/* ---------- Detail / misc public ---------- */
.detail { display: flex; flex-direction: column; gap: 0; }
.detail-img { aspect-ratio: 16 / 9; border-radius: 18px 18px 0 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-img .ph .i { width: 90px; height: 90px; }
.detail-body { border-radius: 0 0 18px 18px; padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.detail-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-price { font-size: 34px; font-weight: 800; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 24px; text-align: center; color: var(--muted); }
.empty > .i { width: 44px; height: 44px; stroke-width: 1.3; color: #8ea2ff; }
.empty p { margin: 0; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; background: linear-gradient(110deg, rgba(61, 90, 254, .28), rgba(13, 21, 48, .7) 70%); flex-wrap: wrap; }
.cta p { margin: 6px 0 0; }
.steps { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; }
.step p { margin: 4px 0 0; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--accent-soft); color: #c6d0ff; font-weight: 800; border: 1px solid rgba(93, 120, 255, .4); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-content: start; }
.contact { display: flex; align-items: center; gap: 16px; padding: 20px 22px; transition: border-color .15s; }
a.contact:hover { border-color: var(--accent-2); }
.contact small { display: block; color: var(--muted); font-size: 13px; }
.contact strong { font-weight: 600; }
.map { grid-column: 1 / -1; overflow: hidden; aspect-ratio: 16 / 7; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(190deg) saturate(.6); }
.site-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; }
.foot-links a:hover { color: var(--text); }
.foot-links .i { width: 16px; height: 16px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* Modal */
.modal { border: 0; padding: 0; background: transparent; color: var(--text); max-width: 520px; width: calc(100% - 32px); }
.modal::backdrop { background: rgba(3, 6, 18, .7); backdrop-filter: blur(4px); }
.modal-box { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 30px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #16224a, #0d1530); }
.modal-x { position: absolute; top: 14px; right: 14px; }
.modal[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Auth */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth { width: min(420px, 100%); padding: 34px 32px; display: flex; flex-direction: column; gap: 16px; }
.auth.wide { width: min(620px, 100%); }
.auth .brand { padding: 0; margin-bottom: 8px; }
.auth p.muted { margin: -8px 0 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .with-aside, .with-aside.narrow { grid-template-columns: minmax(0, 1fr) 360px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .with-aside, .with-aside.narrow, .edit-grid, .edit-grid.rev, .dash-row { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; width: 290px; transform: translateX(-100%); transition: transform .25s ease; box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
  body.menu-open .sidebar { transform: none; }
  body.menu-open .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(3, 6, 18, .6); }
  .icon-btn.menu-btn { display: inline-grid; margin-left: -8px; }
  .topbar { height: 66px; padding: 0 16px; gap: 10px; }
  .topbar-title { font-size: 18px; }
  .topbar .search { display: none; }
  .content { padding: 18px 16px; gap: 20px; }
  .hero-body { padding: 28px 24px; }
  .hero-media { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .hero-glyph { margin: 0; }
  .hide-sm { display: none; }
  .topbar-actions .btn { padding: 0 12px; }
  .hero-edit, .contact-grid { grid-template-columns: 1fr; }
  .thumb { width: 96px; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .tiles { gap: 12px; }
  .tile { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 16px; }
  .tile-arrow { display: none; }
  .tile-t { font-size: 15px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 18px; flex-direction: column; gap: 8px; }
  .stat strong { font-size: 34px; }
  .stat span { font-size: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .chips.seg .chip { padding: 0 18px; height: 44px; }
  .sort { height: 44px; width: 100%; }
  .search.sm { width: 100%; }
  .item-row { flex-wrap: wrap; gap: 12px; }
  .pad { padding: 18px; }
  .quote-form { padding: 20px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .table td, .table th { padding: 12px; }
}

/* =========================================================
   v2 — Referanslar, Müşteri Takibi
   ========================================================= */
.b-red { background: rgba(240, 82, 82, .18); border-color: rgba(240, 82, 82, .6); color: #ffb0b0; }
.txt-red { color: #ff8d8d !important; }
.money { font-variant-numeric: tabular-nums; }
.money.pos, .bal.pos { color: #8fb0ff; }
.money.neg, .bal.neg { color: #ffc46b; }
.bal { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bal small { font-weight: 500; font-size: 12px; opacity: .8; }
.bal.zero { color: var(--muted); }
.bal.lg { font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -.01em; }
.bal.lg small { font-size: 15px; }
.stat strong.money { font-size: 32px; }
.stat.alarm { border-color: rgba(240, 82, 82, .55); }
.stat.alarm strong { color: #ff9b9b; }
.edit-grid.wide-aside { grid-template-columns: minmax(0, 1fr) 420px; }
tr.editing td { background: var(--accent-soft); }
.ekstre tfoot td { border-top: 2px solid var(--line-2); border-bottom: 0; padding-top: 16px; }
.empty.slim { padding: 28px 16px; }

.due-list { display: flex; flex-direction: column; gap: 10px; }
.due { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 10, 26, .35); transition: border-color .15s; }
a.due:hover { border-color: var(--accent-2); }
.due > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.due .r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.due .money { font-weight: 700; }

.cari-head { display: flex; justify-content: space-between; gap: 24px; padding: 26px 28px; flex-wrap: wrap; background: linear-gradient(110deg, rgba(61, 90, 254, .22), rgba(13, 21, 48, .7) 60%); }
.cari-who { display: flex; gap: 18px; align-items: center; min-width: 0; }
.avatar.xl { width: 64px; height: 64px; font-size: 26px; border-radius: 18px; flex: none; }
.cari-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 8px; }
.cari-meta > span, .cari-meta > a { display: inline-flex; align-items: center; gap: 6px; }
.cari-meta .i { width: 16px; height: 16px; }
.cari-meta a:hover { color: var(--text); }
.cari-bal { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.cari-bal .btn-row { margin-top: 10px; justify-content: flex-end; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-stats > div { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(13, 21, 48, .6); display: flex; flex-direction: column; gap: 2px; }
.mini-stats span { color: var(--muted); font-size: 13.5px; }
.mini-stats strong { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mini-stats small { color: var(--muted); font-size: 12px; }
.mini-stats.flat { grid-template-columns: repeat(4, 1fr); }

.tur-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tur-pick input { position: absolute; opacity: 0; pointer-events: none; }
.tur-pick span { display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; align-items: center; padding: 11px 12px; border-radius: 12px; border: 1px solid #34457a; cursor: pointer; transition: .15s; height: 100%; }
.tur-pick span .i { grid-row: span 2; color: var(--muted); }
.tur-pick b { font-size: 14.5px; }
.tur-pick small { grid-column: 2; color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.tur-pick span:hover { border-color: #6077c9; }
.tur-pick input:checked + span { border-color: var(--accent-2); background: var(--accent-soft); }
.tur-pick input:checked + span .i { color: #fff; }
.tur-pick input:focus-visible + span { outline: 2px solid var(--accent-2); }
input.input-lg { font-size: 22px !important; font-weight: 700; padding: 12px 16px !important; }
.file-in { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px dashed #3c4e86; border-radius: 10px; color: var(--muted); cursor: pointer; }
.file-in:hover { border-color: var(--accent-2); color: var(--text); }
.file-in input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-in span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.print-only { display: none; }

/* Referans kartları ve kayan bant */
.ref { display: inline-flex; align-items: center; gap: 14px; height: 86px; padding: 0 22px 0 16px; margin-right: 16px; flex: none; border-radius: 16px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(22, 34, 74, .6), rgba(13, 21, 48, .8)); transition: border-color .2s, transform .2s, background .2s; }
a.ref:hover { border-color: rgba(93, 120, 255, .8); background: linear-gradient(180deg, rgba(30, 45, 98, .75), rgba(16, 26, 60, .85)); transform: translateY(-2px); }
.ref-logo { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; font-weight: 800; font-size: 18px; letter-spacing: .5px; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h, 230) 70% 58%), hsl(calc(var(--h, 230) + 40) 65% 42%)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 16px -6px hsl(var(--h, 230) 70% 40% / .8); }
.ref-logo.img { width: auto; min-width: 52px; max-width: 120px; padding: 6px 10px; background: #fff; box-shadow: none; }
.ref-logo.img img { max-height: 40px; max-width: 100px; object-fit: contain; }
.ref-logo.sm { width: 38px; height: 38px; min-width: 38px; font-size: 14px; border-radius: 10px; }
.ref-logo.img.sm img { max-height: 28px; max-width: 70px; }
.ref-txt { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.ref-txt b { font-size: 16.5px; font-weight: 700; }
.ref-txt small { color: var(--muted); font-size: 12.5px; }
.marquee { position: relative; overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: kayan var(--sure, 60s) linear infinite; }
.marquee-dup { display: flex; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes kayan { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.refs .marquee + .marquee { margin-top: 12px; }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ref-grid .ref { margin: 0; }
.logo-drop .drop-preview { aspect-ratio: 3 / 1; background: #f4f6fb; }
.logo-drop .drop-preview img { object-fit: contain; padding: 12px; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .marquee-dup { display: none; }
}
@media (max-width: 1280px) { .edit-grid.wide-aside { grid-template-columns: minmax(0, 1fr) 380px; } }
@media (max-width: 1100px) { .edit-grid.wide-aside { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .mini-stats, .mini-stats.flat { grid-template-columns: 1fr 1fr; }
  .cari-bal { align-items: flex-start; text-align: left; }
  .cari-bal .btn-row { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .ref { height: 72px; padding: 0 16px 0 12px; }
  .ref-logo { width: 44px; height: 44px; font-size: 16px; }
  .tur-pick { grid-template-columns: 1fr; }
  .mini-stats, .mini-stats.flat { grid-template-columns: 1fr; }
}

/* Yazdırma (cari ekstre) */
@media print {
  @page { margin: 14mm; }
  body { background: #fff !important; color: #111 !important; font-size: 12px; }
  .sidebar, .topbar, .scrim, .no-print, .wa-float, .alert, .mini-stats, .back { display: none !important; }
  .app { display: block; }
  .content { padding: 0; gap: 14px; max-width: none; }
  .card, .cari-head { background: #fff !important; border: 1px solid #ccc !important; box-shadow: none !important; }
  * { color: #111 !important; text-shadow: none !important; }
  .edit-grid, .edit-grid.wide-aside { grid-template-columns: 1fr !important; }
  .table th { background: #eee !important; }
  .table td { border-color: #ddd !important; }
  .badge { background: none !important; border-color: #999 !important; }
  .avatar { background: #ddd !important; }
  .print-only { display: inline; }
}

.section-head p { margin: 4px 0 0; }
.section-head { align-items: flex-end; }
.section-head .link { white-space: nowrap; flex: none; }

/* Cihaz fotoğrafları: kırpmadan tam göster (dikey / kare / yatay hepsi) */
.pcard-img { position: relative; aspect-ratio: 4 / 5; background: #0a1128; }
.pcard-img::before { content: ""; position: absolute; inset: -30px; background: var(--bg, none) center / cover; filter: blur(28px) brightness(.45) saturate(1.2); }
.pcard-img img { position: relative; object-fit: contain; }
.pcard:hover .pcard-img img { transform: scale(1.03); }
.detail-img.fit { position: relative; aspect-ratio: auto; height: min(78vh, 760px); background: #0a1128; }
.detail-img.fit::before { content: ""; position: absolute; inset: -40px; background: var(--bg) center / cover; filter: blur(36px) brightness(.4); }
.detail-img.fit img { position: relative; object-fit: contain; }
@media (max-width: 600px) { .detail-img.fit { height: auto; aspect-ratio: 4 / 5; } }

/* Firma logosu */
.brand-logo { height: 40px; width: auto; max-width: 190px; object-fit: contain; flex: none; }
.brand-logo + .brand-name { font-size: 18px; }
.logo-row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.logo-drop.dark .drop-preview { background: #0a1128; }
.logo-drop.sq .drop-preview { aspect-ratio: 1; }
.brand-preview { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; background: #070d20; border: 1px solid var(--line); }
.brand-preview .brand { padding: 0; }
@media (max-width: 600px) { .logo-row { grid-template-columns: 1fr; } }
.brand { flex-wrap: wrap; row-gap: 8px; }
.brand-name { white-space: nowrap; }
.brand:has(.brand-logo) + .brand-sub { padding-left: 14px; }

/* Story oluşturucu */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.story-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.story-frame { width: 100%; max-width: 400px; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); background: #060b1c; }
.story-frame canvas { width: 100%; height: 100%; display: block; }
.center-txt { text-align: center; margin: 0; }
.btn-row.center { justify-content: center; margin: 0; }
@media (max-width: 1100px) { .story-grid { grid-template-columns: 1fr; } .story-side { position: static; order: -1; } .story-frame { max-width: 320px; } }

/* Referans bandı — sade marka yazıları */
.wm-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; display: flex; flex-direction: column; gap: 18px; }
.marquee.soft { padding: 0; }
.marquee.soft .marquee-track, .marquee.soft .marquee-dup { align-items: center; }
.wm { display: inline-flex; align-items: center; padding: 0 30px; white-space: nowrap; color: rgba(200, 212, 245, .38); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.2; transition: color .25s, opacity .25s; }
.marquee.rev .wm { color: rgba(200, 212, 245, .28); }
a.wm:hover { color: #fff; }
.wm-s0 { font-weight: 800; letter-spacing: -.02em; }
.wm-s1 { font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(17px, 1.7vw, 24px); }
.wm-s2 { font-weight: 400; letter-spacing: -.01em; }
.wm-s3 { font-weight: 700; font-style: italic; letter-spacing: -.01em; }
.wm img { height: 34px; width: auto; max-width: 160px; object-fit: contain; filter: brightness(0) invert(1); opacity: .4; transition: opacity .25s; }
a.wm:hover img { opacity: 1; }
.wm-sep { width: 6px; height: 6px; border-radius: 50%; background: rgba(93, 120, 255, .55); flex: none; }
@media (max-width: 600px) { .wm { padding: 0 18px; } .wm-band { padding: 18px 0; gap: 12px; } }

/* Referanslar sayfası */
.ref-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 56px 48px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(120deg, #0b1330, #0e1840 60%, #151c4d); }
.ref-hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(140,160,255,.05) 0 1px, transparent 1px 56px), repeating-linear-gradient(0deg, rgba(140,160,255,.05) 0 1px, transparent 1px 56px); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 75%); pointer-events: none; }
.ref-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: suzul 12s ease-in-out infinite alternate; }
.ref-orb.a { width: 420px; height: 420px; right: -80px; top: -160px; background: rgba(93, 120, 255, .45); }
.ref-orb.b { width: 340px; height: 340px; right: 280px; bottom: -220px; background: rgba(154, 107, 255, .35); animation-delay: -6s; }
@keyframes suzul { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
.ref-hero-body, .ref-stat { position: relative; z-index: 1; }
.ref-hero h1 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin: 14px 0 0; }
.ref-hero .lead { max-width: 560px; }
.grad { background: linear-gradient(90deg, #8ea2ff, #c39bff 60%, #8ea2ff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: parilti 6s linear infinite; }
@keyframes parilti { to { background-position: 200% center; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(93, 120, 255, .14); border: 1px solid rgba(93, 120, 255, .35); color: #b9c5ff; font-weight: 600; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow .i { width: 16px; height: 16px; }
.ref-stat { display: flex; align-items: center; gap: 16px; }
.ref-stat strong { font-size: clamp(64px, 8vw, 112px); font-weight: 800; line-height: .9; letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #8ea2ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.ref-stat span { color: var(--text-2); font-size: 18px; line-height: 1.3; }

.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; }
.lw-cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 150px; padding: 26px 18px; background: var(--bg); text-align: center; isolation: isolate; opacity: 0; transform: translateY(14px); animation: belir .6s ease forwards; animation-delay: calc(var(--i) * 45ms); }
.lw-cell::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(93, 120, 255, .28), transparent 65%); }
.lw-cell:hover::before { opacity: 1; }
@keyframes belir { to { opacity: 1; transform: none; } }
.lw-name { color: rgba(205, 215, 245, .55); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; transition: color .3s, transform .3s; }
.lw-name.wm-s1 { font-size: clamp(15px, 1.4vw, 19px); }
.lw-name img { height: 46px; width: auto; max-width: 170px; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; transition: opacity .3s; }
.lw-url { position: absolute; left: 0; right: 0; bottom: 20px; justify-content: center; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #8ea2ff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.lw-url .i { width: 13px; height: 13px; }
.lw-cell:hover .lw-name { color: #fff; transform: translateY(-4px); }
.lw-cell:hover .lw-name img { opacity: 1; }
.lw-cell:hover .lw-url { opacity: 1; transform: none; }
@media (hover: none) { .lw-url { opacity: .7; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lw-cell { animation: none; opacity: 1; transform: none; } .ref-orb, .grad { animation: none; } }
@media (max-width: 900px) { .ref-hero { padding: 36px 24px; } }
@media (max-width: 600px) { .logo-wall { grid-template-columns: 1fr 1fr; } .lw-cell { min-height: 110px; padding: 18px 10px; } .ref-stat strong { font-size: 64px; } }
