/* ============================================================
   Softtech DTC — AI Use Case Envanteri Portalı
   Landing (softtechdtc.com) ile aynı tasarım dili:
   void-black #050508 · electric cyan #00f0ff · neon purple #b026ff
   Space Grotesk (display) · Manrope (body) · JetBrains Mono (HUD)
   ============================================================ */

:root {
  --bg-0: #050508;
  --primary: #00f0ff;
  --accent: #b026ff;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(255, 255, 255, 0.09);
  --card-bg: rgba(12, 14, 20, 0.66);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f6;
  --text-soft: #c8cbd5;
  --text-mute: #8b8d98;
  --ok: #10b981;
  --warn: #f59e0b;
  --hot: #ff5ea0;
  --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 240, 255, 0.12);

  --c-genai: linear-gradient(135deg, #00f0ff, #4dc4ff);
  --c-agentic: linear-gradient(135deg, #8c5cff, #b026ff);
  --c-brand: linear-gradient(135deg, #00f0ff, #b026ff);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-0);
  overflow-x: hidden;
}
body { min-height: 100vh; }

/* ── Arka plan: landing'in mesh ışıması (cyan + purple, void üstünde) ── */
.aurora { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; background: var(--bg-0); }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); }
.blob-1 { width: 560px; height: 560px; top: -180px; right: -120px; opacity: 0.16;
  background: radial-gradient(circle, #00f0ff 0%, transparent 62%); animation: drift1 28s ease-in-out infinite; }
.blob-2 { width: 640px; height: 640px; bottom: -220px; left: -180px; opacity: 0.13;
  background: radial-gradient(circle, #b026ff 0%, transparent 62%); animation: drift2 32s ease-in-out infinite; }
.blob-3 { width: 480px; height: 480px; top: 42%; left: 55%; opacity: 0.07;
  background: radial-gradient(circle, #00f0ff 0%, transparent 62%); animation: drift3 36s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(-90px, 70px) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(90px, -60px) scale(1.12); } }
@keyframes drift3 { 50% { transform: translate(-50%, -50%) scale(1.18); } 0%, 100% { transform: translate(-50%, -50%) scale(1); } }

/* ── Topbar — glassmorphic çubuk (landing .glass-nav reçetesi) ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 28px;
  background: rgba(5, 5, 8, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 14px; }
/* Landing'deki kurumsal Softtech logosu (beyaza filtrelenir, landing ile aynı) */
.brand-logo { height: 42px; width: auto; display: block; filter: brightness(0) invert(1); }
.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.brand-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute); margin-top: 3px;
}

.search-wrap {
  position: relative;
  max-width: 540px; width: 100%;
  justify-self: center;
  display: flex; align-items: center;
}
.search-wrap input {
  width: 100%;
  padding: 12px 44px 12px 42px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.search-wrap input::placeholder { color: var(--text-mute); }
.search-wrap input:focus { border-color: rgba(0, 240, 255, 0.5); background: var(--surface-2); box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.14), 0 0 24px rgba(0, 240, 255, 0.1); }
.search-icon { position: absolute; left: 14px; color: var(--text-mute); }
.search-wrap kbd {
  position: absolute; right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 2px 7px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.04);
}

.counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em; color: var(--text-soft);
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

/* Dil anahtarı — EN | TR (landing'in mono HUD dili) */
.topbar-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px;
}
.lang-toggle button {
  font: 600 10.5px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border: none; border-radius: 999px;
  background: transparent;
  color: var(--text-mute);
  cursor: pointer;
  transition: all .2s;
}
.lang-toggle button:hover { color: var(--text); }
.lang-toggle button.active {
  background: rgba(0, 240, 255, 0.12);
  color: var(--primary);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

/* ── İstatistikler — landing'in mono HUD rakam dili ── */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 20px 28px 8px;
}
.stat-card {
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  transition: transform .3s ease, border-color .3s, background .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.12);
}
.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 25px; font-weight: 500; color: #fff;
  display: flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-mute); font-size: 9.5px; margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.18em;
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-genai { background: var(--primary); box-shadow: 0 0 12px rgba(0, 240, 255, 0.7); }
.dot-agentic { background: var(--accent); box-shadow: 0 0 12px rgba(176, 38, 255, 0.7); }

/* ── Filtreler — landing chip dili ── */
.filters {
  padding: 14px 28px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
}
.filter-group { display: flex; align-items: center; gap: 6px; }
.filter-label {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-mute); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.2em; margin-right: 4px;
}
.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  padding: 8px 15px;
  border-radius: 999px;
  font: 500 11.5px/1 'Space Grotesk', sans-serif;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: rgba(0, 240, 255, 0.4); color: var(--text); background: var(--surface-2); }
.chip.active {
  background: rgba(0, 240, 255, 0.12);
  color: var(--primary);
  border-color: rgba(0, 240, 255, 0.55);
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

/* ── Kanban Board ──────────────────────────────────────── */
.board {
  display: flex;
  gap: 16px;
  padding: 8px 28px 28px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(0, 240, 255, 0.25) transparent;
  align-items: stretch;
  /* Kolonlar viewport'a sığsın — header/stat/filtre alanını çıkar */
  height: calc(100vh - 250px);
  min-height: 460px;
}
.board::-webkit-scrollbar { height: 12px; }
.board::-webkit-scrollbar-track { background: transparent; }
.board::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.35), rgba(176, 38, 255, 0.35));
  border-radius: 999px; border: 3px solid var(--bg-0);
}
.board-loading {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-mute); padding: 60px 0; margin: 0 auto;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em;
}
.spinner {
  width: 22px; height: 22px;
  border: 2.5px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.column {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;     /* board'un yüksekliğini doldursun */
  min-height: 0;    /* flex item'ın iç scroll yapabilmesi için kritik */
}
.column::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--column-accent, var(--c-brand));
  opacity: 0.9;
}
.column-head {
  padding: 18px 18px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.column-title-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; }
.column-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--column-accent, var(--c-brand));
  flex-shrink: 0;
}
.column-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.column-count {
  font: 500 11px/1 'JetBrains Mono', monospace;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}
.column-body {
  padding: 12px;
  display: flex; flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 240, 255, 0.22) transparent;
}
.column-body::-webkit-scrollbar { width: 8px; }
.column-body::-webkit-scrollbar-track { background: transparent; }
.column-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
.column-body::-webkit-scrollbar-thumb:hover { background: rgba(0, 240, 255, 0.4); }

/* ── Kart — landing .cap-card reçetesi ── */
.card {
  position: relative;
  background: rgba(12, 14, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  transition: transform .3s ease, border-color .3s, background .3s, box-shadow .3s;
  overflow: hidden;
  user-select: none;
  flex-shrink: 0;   /* asla sıkışma — doğal yükseklikte kal */
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 240, 255, 0.12), transparent 60%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 240, 255, 0.1);
}
.card:hover::after { opacity: 1; }

.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.tag {
  font: 500 10px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tag-genai { background: rgba(0, 240, 255, 0.12); color: #7ff5ff; border-color: rgba(0, 240, 255, 0.35); }
.tag-agentic { background: rgba(176, 38, 255, 0.14); color: #dcaaff; border-color: rgba(176, 38, 255, 0.4); }
.tag-mature { background: rgba(16, 185, 129, 0.12); color: #a9f0d2; border-color: rgba(16, 185, 129, 0.32); }
.tag-growing { background: rgba(245, 158, 11, 0.12); color: #fde0a8; border-color: rgba(245, 158, 11, 0.32); }
.tag-developing { background: rgba(255, 94, 160, 0.1); color: #ffc2da; border-color: rgba(255, 94, 160, 0.3); }
.tag-low { color: #a9f0d2; border-color: rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.07); }
.tag-mid { color: #fde0a8; border-color: rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.07); }
.tag-high { color: #ffc2da; border-color: rgba(255, 94, 160, 0.3); background: rgba(255, 94, 160, 0.07); }

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 13.5px;
  letter-spacing: 0;
  line-height: 1.32;
  margin-bottom: 6px;
}
.card-snippet {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  margin-top: 10px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-mute);
}
.card-id { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; }
.card-arrow {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  transition: background .2s, color .2s, transform .2s;
}
.card:hover .card-arrow { background: var(--primary); color: #050508; transform: translate(2px, -2px); }

/* ── Modal — landing .cap-modal reçetesi ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3, 4, 8, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 5vh 16px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .25s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  width: min(820px, 100%);
  background: linear-gradient(170deg, rgba(14, 16, 22, 0.97), rgba(9, 10, 15, 0.98));
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 22px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  transform: translateY(18px) scale(0.96);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--c-brand);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-mute);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .2s;
  z-index: 1;
}
.modal-close:hover { color: var(--primary); border-color: rgba(0, 240, 255, 0.5); background: rgba(0, 240, 255, 0.08); }

.modal-head {
  padding: 28px 30px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.05), transparent);
}
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 23px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.18;
}
.modal-subtitle { color: var(--text-mute); font-size: 12.5px; margin-top: 8px; display: flex; align-items: center; gap: 8px; }

.modal-body { padding: 24px 30px 30px; display: flex; flex-direction: column; gap: 24px; }
.modal-section { animation: fadeIn .4s both; }
.modal-section:nth-child(1) { animation-delay: 0s; }
.modal-section:nth-child(2) { animation-delay: .05s; }
.modal-section:nth-child(3) { animation-delay: .1s; }
.modal-section:nth-child(4) { animation-delay: .15s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.section-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--primary);
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.section-icon {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600; color: #050508;
}

.modal-description { font-size: 14px; line-height: 1.7; color: var(--text); white-space: pre-wrap; }

.steps {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 14px 16px 14px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13.5px; line-height: 1.55;
  color: var(--text);
  counter-increment: step;
  transition: border-color .2s, transform .2s, background .2s;
}
.steps li:hover { border-color: rgba(0, 240, 255, 0.35); transform: translateX(2px); background: var(--surface-2); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 27px; height: 27px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--primary);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  display: grid; place-items: center;
  font-size: 10px;
}

.values { list-style: none; display: grid; gap: 8px; }
.values li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px; line-height: 1.5;
}
.value-bullet {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 1px;
  background: var(--primary);
  color: #050508; font-size: 11px; font-weight: 700;
}

.vendors { display: flex; flex-wrap: wrap; gap: 8px; }
.vendor-chip {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-soft);
  transition: all .2s;
}
.vendor-chip:hover { background: rgba(0, 240, 255, 0.08); border-color: rgba(0, 240, 255, 0.4); color: var(--primary); transform: translateY(-1px); }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.meta-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute);
}
.meta-value { font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; font-weight: 600; margin-top: 5px; color: var(--text); }

/* ── Boş durum ─────────────────────────────────────────── */
.empty {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-mute);
}
.empty-emoji {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px; margin-bottom: 12px; color: var(--primary);
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.45);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .topbar { grid-template-columns: 1fr auto; }
  .search-wrap { grid-column: 1 / -1; max-width: none; justify-self: stretch; }
  .meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; padding: 14px; }
  .filters { padding: 10px 14px 14px; gap: 12px 18px; }
  .board { padding: 8px 14px 30px; }
  .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
  .modal-title { font-size: 20px; }
  .topbar { padding: 14px; }
}

/* ── Ana sayfa (landing) ───────────────────────────────── */
.topbar-home { grid-template-columns: auto 1fr; }
.topbar-home .topbar-right { justify-self: end; }

.home-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font: 500 11px/1 'Space Grotesk', sans-serif;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}
.home-link:hover { border-color: rgba(0, 240, 255, 0.45); background: var(--surface-2); color: var(--primary); text-shadow: 0 0 14px rgba(0, 240, 255, 0.5); }

.hero { padding: 46px 28px 8px; text-align: center; }
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
  text-shadow: 0 0 50px rgba(0, 240, 255, 0.12);
}
.hero-title .hero-accent { color: var(--primary); text-shadow: 0 0 24px rgba(0, 240, 255, 0.5); }
.hero-subtitle {
  margin: 14px auto 0;
  max-width: 620px;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.6;
}

.stats-home { grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: 12px auto 0; }

.lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 24px 28px 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.line-card {
  position: relative;
  display: flex; flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 18px;
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s, background .3s, box-shadow .3s;
}
.line-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--line-accent, var(--c-brand));
  opacity: 0.9;
}
.line-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 240, 255, 0.1), transparent 60%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.line-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.12);
}
.line-card:hover::after { opacity: 1; }

.line-card-head { display: flex; align-items: center; justify-content: space-between; }
.line-card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.5);
}
.line-card-count {
  font: 500 11px/1 'JetBrains Mono', monospace;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}
.line-card-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 0; }
.line-card-desc {
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.55;
  flex: 1;
}
.line-card-foot {
  display: flex; align-items: center; gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--text-soft);
}
.line-card-foot .card-arrow { margin-left: auto; }
.line-card:hover .card-arrow { background: var(--primary); color: #050508; transform: translate(2px, -2px); }
.line-mini { display: inline-flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; }
.line-card.soon .line-card-icon { filter: saturate(0.35); opacity: 0.75; }
.line-card.soon .line-card-name,
.line-card.soon .line-card-desc { opacity: 0.6; }
.line-card.soon .line-card-count { color: var(--text-mute); }

@media (max-width: 1100px) {
  .stats-home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lines-grid { padding: 18px 14px 30px; grid-template-columns: 1fr; }
  .hero { padding: 30px 14px 4px; }
  .home-link span { display: none; }
}
