﻿:root {
  /* Kurumsal dijital ajans / yazılım: slate nötr + teal–cyan marka (tek palet) */
  --brand-950: #042f2e;
  --brand-900: #134e4a;
  --brand-800: #115e59;
  --brand-700: #0f766e;
  --brand-600: #0d9488;
  --brand-500: #14b8a6;
  --brand-400: #2dd4bf;
  --brand-300: #5eead4;
  --brand-200: #99f6e4;

  /* İkincil vurgu (öne çıkan rozet, mikro aksan) — cyan */
  --accent-cyan: #06b6d4;
  --accent-cyan-bright: #22d3ee;
  --accent-cyan-muted: #0891b2;

  /* Yapısal koyu (üst bilgi, tipografi kökü) */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;

  --ink: #0f172a;
  --ink-muted: #64748b;
  --navy: #0f172a;
  --navy-dark: #020617;

  --accent: #0d9488;
  --accent-dark: #115e59;
  /* CTA = birincil aksiyon; marka teal hattı (turuncu kaldırıldı) */
  --cta: #0f766e;
  --cta-dark: #134e4a;

  --blue: var(--brand-600);
  --blue-light: var(--brand-300);
  --white: #ffffff;

  /* Açık tema: soğuk zemin (ajans / SaaS) */
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-alt: #ecfeff;
  --text: #334155;
  --heading: #0f172a;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 56px -16px rgba(15, 23, 42, 0.16);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --header-h: 4.25rem;
  --header-text: rgba(255, 255, 255, 0.95);
  --header-text-muted: rgba(255, 255, 255, 0.78);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--brand-800);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ——— Top contact strip ——— */
.header-topbar {
  display: none;
  background: linear-gradient(90deg, var(--slate-950) 0%, var(--slate-900) 42%, var(--brand-900) 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-topbar.is-visible {
  display: block;
}
.header-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.45rem 0;
}
.header-topbar a {
  color: rgba(255, 255, 255, 0.92);
}
.header-topbar a:hover {
  color: var(--white);
}

/* ——— Header: slate → teal (kurumsal + teknoloji) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(165deg, var(--slate-900) 0%, #164e63 38%, var(--brand-800) 72%, var(--brand-900) 100%);
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.45);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.logo:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
}
.logo--image-only {
  line-height: 0;
}
.logo__img {
  width: auto;
  height: 46px;
  max-width: min(200px, 52vw);
  object-fit: contain;
  display: block;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.35rem;
}
.logo--image-only:hover .logo__img {
  background: rgba(255, 255, 255, 0.14);
}

.header-shell {
  position: relative;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  flex-wrap: wrap;
}

.nav-main__link {
  color: var(--header-text);
  font-weight: 500;
  font-size: 0.8125rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-full);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.nav-main__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
}
.nav-main__link.is-current {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.dropdown {
  position: relative;
}
.dropdown--end .dropdown-menu {
  left: auto;
  right: 0;
}
.dropdown--wide .dropdown-menu {
  min-width: 260px;
}
.dropdown.is-active-branch > .dropdown-toggle {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.dropdown-toggle {
  cursor: pointer;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--header-text);
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-full);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}
.dropdown-toggle .nav-chevron {
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.22s ease, opacity 0.15s ease;
}
.dropdown:hover .dropdown-toggle .nav-chevron,
.dropdown:focus-within .dropdown-toggle .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.dropdown:hover .dropdown-toggle,
.dropdown:focus-within .dropdown-toggle {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 240px;
  max-width: min(560px, calc(100vw - 1.5rem));
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow:
    0 4px 6px -1px rgba(4, 47, 46, 0.06),
    0 22px 48px -12px rgba(4, 47, 46, 0.22);
  border: 1px solid rgba(4, 47, 46, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.2s;
  pointer-events: none;
  z-index: 120;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-menu--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.12rem 0.35rem;
  min-width: min(480px, calc(100vw - 2rem));
}
.dropdown-menu--grid .dropdown-menu__lead {
  grid-column: 1 / -1;
}
.dropdown-menu__lead {
  font-weight: 700 !important;
  color: var(--brand-800) !important;
  border: 1px dashed rgba(13, 148, 136, 0.35);
  margin-bottom: 0.15rem;
}
.dropdown-menu__lead:hover {
  border-color: rgba(13, 148, 136, 0.55);
  background: rgba(13, 148, 136, 0.06) !important;
}
.dropdown-menu__all {
  margin-top: 0.2rem;
  padding-top: 0.55rem !important;
  border-top: 1px solid var(--border);
  font-weight: 700 !important;
  color: var(--brand-700) !important;
}
.dropdown-menu__sep {
  height: 1px;
  margin: 0.4rem 0.35rem;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.dropdown-menu__label {
  display: block;
  padding: 0.2rem 0.75rem 0.15rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.dropdown-menu a {
  display: block;
  padding: 0.52rem 0.8rem;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-menu a:hover {
  background: var(--surface-alt);
  color: var(--heading);
  text-decoration: none;
}
.dropdown-menu a.is-current {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(17, 94, 89, 0.08));
  color: var(--brand-900);
  font-weight: 600;
}
.logo.is-current-route .logo__img {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.btn-header-primary.is-current-cta {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 4px 18px rgba(0, 0, 0, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.22s ease, filter 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  font-family: inherit;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 38%, var(--brand-700) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-decoration: none;
}
/* Açık zemin üzerinde çerçeveli ikincil */
.btn-outline {
  background: transparent;
  color: var(--heading);
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.22);
  color: var(--heading);
  text-decoration: none;
}
/* Koyu kahraman / üst bilgi üzerinde beyaz çerçeve */
.home-hero .btn-outline,
.hero .btn-outline,
.site-header .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}
.home-hero .btn-outline:hover,
.hero .btn-outline:hover,
.site-header .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
}
.btn-dark {
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 55%, #0c4a6e 100%);
  color: var(--white);
  box-shadow: 0 2px 14px rgba(2, 6, 23, 0.28);
}
.btn-dark:hover {
  background: linear-gradient(135deg, var(--slate-800) 0%, #164e63 45%, var(--slate-900) 100%);
  box-shadow: 0 6px 22px rgba(2, 6, 23, 0.32);
  text-decoration: none;
}

.btn-header-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}
.btn-header-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  text-decoration: none;
}

.btn-header-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  color: var(--brand-800);
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(2, 6, 23, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.btn-header-primary:hover {
  filter: brightness(1.02);
  color: var(--brand-950);
  text-decoration: none;
}

/* ——— Hero (home + shared) ——— */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--brand-950) 0%, var(--brand-900) 32%, var(--brand-800) 62%, var(--brand-700) 100%);
  color: var(--white);
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 28%, rgba(153, 246, 228, 0.22), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(94, 234, 212, 0.18), transparent 40%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.05rem);
  line-height: 1.12;
  margin: 0 0 1.1rem;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero p.lead {
  opacity: 0.9;
  font-size: 1.0625rem;
  max-width: 34rem;
  margin-bottom: 1.85rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.92);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-stat strong {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-stat span {
  font-size: 0.8125rem;
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35);
}
.hero-card__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.hero-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.hero-card__dot:nth-child(1) {
  background: #f87171;
}
.hero-card__dot:nth-child(2) {
  background: var(--accent-cyan-bright);
}
.hero-card__dot:nth-child(3) {
  background: #4ade80;
}
.hero-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  opacity: 0.95;
}
.hero-card__sub {
  margin: 0;
  opacity: 0.78;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.hero-card__mock {
  margin-top: 1.1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  min-height: 148px;
  position: relative;
}
.hero-card__mock-bar {
  height: 8px;
  background: linear-gradient(90deg, rgba(153, 246, 228, 0.5), rgba(20, 184, 166, 0.45));
  border-radius: 0 0 4px 4px;
  margin: 1rem 1rem 0;
  width: 42%;
}
.hero-card__mock-rows {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hero-card__mock-row {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.hero-card__mock-row:nth-child(2) {
  width: 88%;
}
.hero-card__mock-row:nth-child(3) {
  width: 72%;
}
.hero-card__mock-row:nth-child(4) {
  width: 56%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(153, 246, 228, 0.18);
  color: #ccfbf1;
  border: 1px solid rgba(153, 246, 228, 0.35);
  margin-bottom: 1rem;
}

.section {
  padding: clamp(3.25rem, 7vw, 5rem) 0;
}
.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Ana sayfa — referans şeridi: otomatik kayma, scrollbar yok, teal kutu beyaz yazı (tek satır) */
.ref-showcase {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ref-showcase__head.section-title {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.ref-showcase__accent-line {
  display: block;
  width: min(7rem, 42%);
  height: 3px;
  margin: 1.15rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--brand-500), var(--brand-400), transparent);
  animation: refAccentPulse 2.8s ease-in-out infinite;
}
@keyframes refAccentPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.92);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}
.ref-showcase__stage {
  position: relative;
  width: 100%;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: linear-gradient(180deg, #ecfdf5 0%, #ccfbf1 38%, #99f6e4 100%);
}
.ref-showcase__stage::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.ref-showcase__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(6.5rem, 13vw);
  z-index: 4;
  pointer-events: none;
}
.ref-showcase__edge--left {
  left: 0;
  background: linear-gradient(90deg, #ccfbf1 0%, rgba(204, 251, 241, 0.92) 40%, transparent 100%);
}
.ref-showcase__edge--right {
  right: 0;
  background: linear-gradient(270deg, #ccfbf1 0%, rgba(204, 251, 241, 0.92) 40%, transparent 100%);
}
.ref-showcase__shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.ref-showcase__shimmer::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -30%;
  width: 26%;
  height: 120%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.35) 45%, transparent 90%);
  transform: skewX(-16deg);
  animation: refShowcaseShimmer 8s ease-in-out infinite;
}
@keyframes refShowcaseShimmer {
  0% {
    left: -35%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    left: 115%;
    opacity: 0;
  }
}
.ref-showcase__rail {
  position: relative;
  z-index: 2;
  overflow: hidden;
  overflow-x: hidden;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.ref-showcase__rail::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
}
.ref-showcase__rail:hover .ref-showcase__track {
  animation-play-state: paused;
}
.ref-showcase__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.1rem;
  width: max-content;
  padding: 0.2rem 0;
  animation: refShowcaseMarquee 42s linear infinite;
  will-change: transform;
}
@keyframes refShowcaseMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.ref-showcase__card {
  flex-shrink: 0;
  width: clamp(7rem, 10.5vw, 9rem);
  height: clamp(7rem, 10.5vw, 9rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.55rem;
  border-radius: 1rem;
  background: linear-gradient(150deg, #0d9488 0%, #0f766e 45%, #115e59 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 32px -8px rgba(4, 47, 46, 0.45);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}
.ref-showcase__rail:hover .ref-showcase__card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 16px 40px -10px rgba(4, 47, 46, 0.55);
}
.ref-showcase__label {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0.1rem;
  font-weight: 700;
  font-size: clamp(0.58rem, 1.05vw, 0.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.ref-showcase__cta {
  text-align: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
@media (prefers-reduced-motion: reduce) {
  .ref-showcase__track {
    animation: refShowcaseMarquee 90s linear infinite;
  }
  .ref-showcase__rail {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  }
  .ref-showcase__shimmer::after {
    animation: none;
    opacity: 0;
  }
  .ref-showcase__accent-line {
    animation: none;
    opacity: 0.85;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.btn--compact {
  font-size: 0.875rem;
  padding: 0.5rem 1.15rem;
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.section-title .eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 0.5rem;
}
.section-title h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.125rem);
  color: var(--heading);
  letter-spacing: -0.025em;
}
.section-title p {
  margin: 0 auto;
  color: var(--ink-muted);
  max-width: 540px;
  font-size: 1.02rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 1.35rem;
}
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 184, 166, 0.2);
}
.card--featured {
  border: 2px solid var(--brand-500);
  box-shadow: 0 12px 40px -8px rgba(13, 148, 136, 0.22);
}
.card h3 {
  margin: 0 0 0.55rem;
  color: var(--heading);
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.card .price-line,
.price-line {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.card ul.feature-list {
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin: 0 0 1.15rem;
  line-height: 1.55;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.why-item {
  background: var(--surface);
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.why-item:hover {
  border-color: rgba(20, 184, 166, 0.18);
  box-shadow: var(--shadow);
}
.why-item strong {
  color: var(--heading);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}
.why-item span {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 1rem;
  counter-reset: step;
}
.process-step {
  background: var(--surface);
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-500);
  box-shadow: var(--shadow-sm);
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-weight: 800;
  color: rgba(20, 184, 166, 0.12);
  font-size: 1.85rem;
  line-height: 1;
}
.process-step p {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.testimonial-slider {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.65rem;
  scrollbar-width: thin;
}
.testimonial {
  min-width: min(340px, 88vw);
  scroll-snap-align: start;
  background: var(--surface);
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.testimonial p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}
.testimonial cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading);
}

.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--brand-950) 0%, var(--brand-900) 40%, var(--brand-800) 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 2rem auto;
  width: min(1200px, 92vw);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(153, 246, 228, 0.2), transparent 48%);
  pointer-events: none;
}
.cta-band h2,
.cta-band p,
.cta-band .btn {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.cta-band p {
  opacity: 0.88;
  margin-bottom: 1.35rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Footer ——— */
.site-footer {
  position: relative;
  background: linear-gradient(185deg, var(--slate-950) 0%, var(--slate-900) 40%, var(--brand-950) 100%);
  color: rgba(248, 250, 252, 0.9);
  padding: clamp(3rem, 6vw, 4.25rem) 0 0;
  margin-top: 0;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.5), transparent);
}
.site-footer a {
  color: rgba(248, 250, 252, 0.88);
  transition: color 0.15s ease;
}
.site-footer a:hover {
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.15fr) repeat(3, minmax(140px, 1fr)) minmax(220px, 1.1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand p {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.82;
  max-width: 22rem;
}
.footer-brand__logo-link {
  display: inline-block;
  margin-bottom: 0.65rem;
  line-height: 0;
}
.footer-brand__logo-link:hover {
  opacity: 0.92;
  text-decoration: none;
}
.footer-brand__logo {
  max-width: min(160px, 55vw);
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.footer-heading {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-contact {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.88;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.875rem;
}
.footer-newsletter .footer-heading {
  margin-bottom: 0.75rem;
}
.footer-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.footer-newsletter-form input[type='email'] {
  flex: 1;
  min-width: 160px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
  font-size: 0.875rem;
}
.footer-newsletter-form input::placeholder {
  color: rgba(248, 250, 252, 0.45);
}
.footer-newsletter-form .btn-primary {
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
}
.footer-bottom {
  margin-top: clamp(2.5rem, 4vw, 3rem);
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  opacity: 0.72;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.footer-bottom__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
}
.footer-bottom__copy {
  margin: 0;
}

/* Sabit WhatsApp destek */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem 0.6rem 0.65rem;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  color: #fff !important;
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  text-decoration: none;
}
.whatsapp-float__icon {
  display: flex;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .whatsapp-float__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .whatsapp-float {
    padding: 0.75rem;
    border-radius: 50%;
  }
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--heading);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font: inherit;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.alert-success {
  background: #ecfdf5;
  color: #047857;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  cursor: pointer;
  line-height: 0;
}
.mobile-toggle svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 1024px) {
  .site-header:not(.is-open) .nav-wrap {
    display: none;
  }
  .nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--brand-800) 0%, var(--brand-900) 100%);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 20px 40px rgba(4, 47, 46, 0.45);
  }
  .site-header.is-open .nav-wrap {
    display: flex;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }
  .nav-main__link {
    color: var(--white);
    font-size: 0.9375rem;
    padding: 0.55rem 0.75rem;
  }
  .nav-main__link.is-current {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 0.9375rem;
    padding: 0.55rem 0.75rem;
    color: var(--white);
  }
  .dropdown.is-active-branch > .dropdown-toggle {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
  .dropdown-menu {
    position: static;
    max-width: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.4rem 0.45rem;
    margin: 0.25rem 0 0.4rem;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .dropdown-menu--grid {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
  }
  .dropdown-menu__label {
    color: rgba(255, 255, 255, 0.55);
    padding-left: 0.65rem;
  }
  .dropdown-menu__sep {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    margin: 0.35rem 0.5rem;
  }
  .dropdown-menu__lead {
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.28);
  }
  .dropdown-menu__lead:hover {
    background: rgba(255, 255, 255, 0.1) !important;
  }
  .dropdown-menu__all {
    border-top-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95) !important;
  }
  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.95);
  }
  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }
  .dropdown-menu a.is-current {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
  }
}

/* ——— Tüm public içerik sayfaları (header menü altı) ——— */
.public-page {
  padding-bottom: 2rem;
}
.public-page__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.03em;
}
.public-page__intro {
  margin: 0 0 1.75rem;
  color: var(--ink-muted);
  max-width: 42rem;
  line-height: 1.65;
}
.content-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.content-card--narrow {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.content-card--md {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.content-card--wide {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.mt-grid {
  margin-top: 2rem;
}
.breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: var(--ink-muted);
}
.breadcrumb a {
  color: var(--brand-600);
  font-weight: 500;
}
.breadcrumb a:hover {
  color: var(--brand-800);
}
.card h2,
.card__title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.card h2 a,
.card__title a {
  color: var(--heading);
  text-decoration: none;
}
.card h2 a:hover,
.card__title a:hover {
  color: var(--brand-600);
}
.faq-stack {
  max-width: 800px;
  margin-top: 2rem;
}
.faq-item {
  background: var(--surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--heading);
}
.faq-item__body {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.text-accent {
  color: var(--brand-600);
}
.lead-muted {
  color: var(--ink-muted);
  line-height: 1.65;
}
.lead {
  font-size: 1.0625rem;
  line-height: 1.65;
}
.cms-body {
  line-height: 1.75;
  color: var(--text);
}
.cms-body a {
  color: var(--brand-600);
}

/* ——— Panel kabuğu (müşteri + yönetim, mobil menü) ——— */
.dash {
  display: grid;
  grid-template-columns: 268px 1fr;
  min-height: 100vh;
  background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 38%);
  position: relative;
}
.dash--admin {
  background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 40%, #f8fafc 100%);
}
.dash--admin .dash-sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 52%, #0f172a 100%);
  border-right-color: rgba(255, 255, 255, 0.06);
}
.dash--admin .dash-brand__logo {
  background: rgba(255, 255, 255, 0.05);
}
.dash--admin .dash-page-bar {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
.dash-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(4, 47, 46, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.dash.is-nav-open .dash-overlay {
  display: block;
  opacity: 1;
}
.dash-sidebar {
  background: linear-gradient(180deg, var(--brand-900) 0%, var(--brand-950) 55%, var(--brand-950) 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 200;
  min-height: 100vh;
}
.dash-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1rem 0.75rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dash-sidebar__close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.dash-sidebar__close:hover {
  background: rgba(255, 255, 255, 0.16);
}
.dash-brand {
  padding: 0;
  margin: 0;
  border: none;
  flex: 1;
  min-width: 0;
}
.dash-brand__link {
  display: block;
  line-height: 0;
}
.dash-brand__link:hover {
  opacity: 0.92;
  text-decoration: none;
}
.dash-brand__logo {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.35rem;
}
.dash-user {
  padding: 0.85rem 1.15rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-user__name {
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.dash-user__mail {
  display: block;
  font-size: 0.75rem;
  opacity: 0.72;
  margin-top: 0.2rem;
  word-break: break-all;
}
.dash-nav {
  flex: 1;
  padding: 0.65rem 0 1rem;
  overflow-y: auto;
}
.dash-nav__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem 0.55rem 1.1rem;
  margin: 0.1rem 0.5rem;
  border-radius: 11px;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.dash-nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
}
.dash-nav__link.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.dash-nav__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.88;
}
.dash-nav__link.is-active .dash-nav__icon {
  opacity: 1;
}
.dash-sidebar__foot {
  padding: 0.75rem 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}
.dash-logout-form {
  margin: 0 0 0.65rem;
}
.dash-logout-form .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.95);
}
.dash-logout-form .btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.dash-site-link {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}
.dash-site-link:hover {
  color: #fff;
}
.dash-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.dash-page-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.dash-page-bar__menu {
  display: none;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
}
.dash-page-bar__menu:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
}
.dash-page-bar__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.dash-main {
  padding: clamp(1.15rem, 3vw, 1.85rem);
  flex: 1;
}
.cp-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.cp-section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.cp-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.cp-section__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.cp-section__body {
  padding: 0;
}
.cp-section__body--padded {
  padding: 1.1rem 1.2rem 1.25rem;
}
.cp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-600);
  margin-bottom: 0.85rem;
}
.cp-back:hover {
  color: var(--brand-800);
}
.cp-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}
.cp-empty strong {
  display: block;
  color: var(--heading);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.cp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  background: var(--surface-alt);
  color: var(--ink-muted);
  border: 1px solid var(--border);
}
.cp-badge--muted {
  background: #f1f5f9;
  color: #475569;
}
.cp-badge--info {
  background: rgba(13, 148, 136, 0.1);
  color: var(--brand-800);
  border-color: rgba(13, 148, 136, 0.2);
}
.cp-badge--ok {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.cp-badge--warn {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}
.cp-badge--danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.cp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}
.cp-meta strong {
  color: var(--heading);
  font-weight: 600;
}
.cp-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-alt);
  overflow: hidden;
  margin-top: 0.35rem;
}
.cp-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-700));
}
.cp-timeline {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}
.cp-timeline li {
  position: relative;
  padding: 0.65rem 1.2rem 0.65rem 2.35rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.cp-timeline li:last-child {
  border-bottom: none;
}
.cp-timeline li::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}
.cp-timeline time {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}
.cp-thread {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.2rem;
}
.cp-bubble {
  max-width: min(100%, 34rem);
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.cp-bubble--me {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(17, 94, 89, 0.06));
  border-color: rgba(13, 148, 136, 0.2);
}
.cp-bubble--staff {
  align-self: flex-start;
  background: var(--surface);
}
.cp-bubble__meta {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 0.4rem;
}
.cp-form-card {
  max-width: 36rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cp-form-card + .cp-form-card {
  margin-top: 1.25rem;
}
.cp-form-card h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--heading);
}
.cp-notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cp-notif-list li {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.35rem;
}
.cp-notif-list li:last-child {
  border-bottom: none;
}
.cp-notif-list li.is-unread {
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.06), transparent);
}
.cp-notif-list h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--heading);
}
.cp-notif-list p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}
.cp-notif-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1rem;
  margin-bottom: 0.25rem;
}
.stat-card {
  background: var(--surface);
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(13, 148, 136, 0.12);
}
.stat-card span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}
.stat-card strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
table.data th,
table.data td {
  padding: 0.75rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table.data tbody tr:last-child td {
  border-bottom: none;
}
table.data th {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}
table.data tbody tr:hover td {
  background: rgba(13, 148, 136, 0.03);
}
table.data a {
  font-weight: 600;
  color: var(--brand-700);
}
.cp-table-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.cp-table-actions form {
  display: inline;
}
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(160deg, #ecfdf5 0%, var(--bg) 45%, #d1fae5 100%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.auth-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--heading);
  letter-spacing: -0.03em;
}
.auth-card__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.auth-card__links {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.auth-card__links a {
  font-weight: 600;
}
.auth-card .btn-primary {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .dash {
    grid-template-columns: 1fr;
  }
  .dash-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(288px, 88vw);
    transform: translateX(-102%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 8px 0 40px rgba(4, 47, 46, 0.35);
  }
  .dash.is-nav-open .dash-sidebar {
    transform: translateX(0);
  }
  .dash-sidebar__close {
    display: inline-flex;
  }
  .dash-page-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    margin: calc(-1 * clamp(1.15rem, 3vw, 1.85rem)) calc(-1 * clamp(1.15rem, 3vw, 1.85rem)) 1.15rem;
    padding: 0.85rem clamp(1.15rem, 3vw, 1.85rem) 1rem;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .dash-page-bar__menu {
    display: inline-flex;
  }
}
@media (min-width: 901px) {
  .dash-overlay {
    display: none !important;
  }
}
