/* ==========================================================================
   Playland Şube Bilgi Sistemi & Operasyon Portalı - Modern Design System v2.0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

/* Fallback local font declarations */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand Identity - Playland Official Inspired Palette */
  --brand-primary: #0284c7;        /* Crisp Electric Blue */
  --brand-primary-hover: #0369a1;
  --brand-primary-light: #e0f2fe;
  --brand-primary-subtle: rgba(2, 132, 199, 0.08);

  --brand-red: #f43f5e;            /* Playland Vibrant Crimson */
  --brand-red-light: #ffe4e6;
  --brand-green: #10b981;          /* Playland Energetic Emerald */
  --brand-green-light: #d1fae5;
  --brand-amber: #f59e0b;          /* Playland Warm Amber/Gold */
  --brand-amber-light: #fef3c7;
  --brand-purple: #8b5cf6;         /* Royal Purple Accent */
  --brand-purple-light: #ede9fe;

  /* Surfaces & Backgrounds - Light Theme */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-input: #ffffff;
  --border-subtle: #f1f5f9;
  --border-default: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #0284c7;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --text-inverse: #ffffff;

  /* Radii & Geometry */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Shadows - Modern Layered Diffusion */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-glow: 0 0 30px -5px rgba(2, 132, 199, 0.35);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', 'Outfit', 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', 'Manrope', sans-serif;

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --bg-page: #090d16;
  --bg-surface: #101626;
  --bg-surface-elevated: #161e33;
  --bg-card: #131a2c;
  --bg-alt: #1a2238;
  --bg-input: #101728;
  --border-subtle: #1a233a;
  --border-default: #242f4c;
  --border-hover: #3b4870;
  --border-focus: #38bdf8;

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --text-inverse: #0f172a;

  --brand-primary-light: rgba(2, 132, 199, 0.2);
  --brand-primary-subtle: rgba(2, 132, 199, 0.15);
  --brand-red-light: rgba(244, 63, 94, 0.2);
  --brand-green-light: rgba(16, 185, 129, 0.2);
  --brand-amber-light: rgba(245, 158, 11, 0.2);
  --brand-purple-light: rgba(139, 92, 246, 0.2);

  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.4);
  --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.35);
  --shadow-md: 0 4px 8px -1px rgb(0 0 0 / 0.45);
  --shadow-lg: 0 12px 20px -3px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 24px 32px -5px rgb(0 0 0 / 0.6);
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg, picture, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-to-content {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-150%);
  transition: transform var(--transition-fast);
}

.skip-to-content:focus {
  transform: translateY(0);
}

/* Layout Container */
.container {
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border-default);
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

[data-theme="dark"] .site-header {
  background: rgba(16, 22, 38, 0.85);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--border-default);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-meta .title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.brand-meta .badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--brand-primary);
  background-color: var(--brand-primary-subtle);
}

.nav-link.active {
  color: var(--brand-primary);
  background-color: var(--brand-primary-light);
  font-weight: 700;
}

.nav-count-badge {
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--border-default);
  color: var(--text-muted);
  font-weight: 700;
}

.nav-link.active .nav-count-badge {
  background: var(--brand-primary);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-alt);
  border-color: var(--border-hover);
  color: var(--text-main);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; color: var(--brand-amber); }
[data-theme="dark"] .moon-icon { display: none; }

.emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-red), #e11d48);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
  transition: all var(--transition-fast);
}

.emergency-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.45);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-main);
  place-items: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 48px 0 40px;
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.05) 0%, transparent 40%),
              linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-default);
}

[data-theme="dark"] .hero-section {
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, #101626 0%, #090d16 100%);
}

.hero-wrapper {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary-light);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 32px;
}

/* Hero Search Bar */
.hero-search-container {
  max-width: 640px;
  margin-inline: auto;
  position: relative;
  margin-bottom: 24px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.02);
  transition: all var(--transition-normal);
  padding: 6px 8px 6px 20px;
}

[data-theme="dark"] .search-input-wrapper {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
}

.search-input-wrapper:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 12px 35px -5px rgba(2, 132, 199, 0.25), 0 0 0 4px rgba(2, 132, 199, 0.12);
  transform: translateY(-2px);
}

.search-icon {
  width: 22px;
  height: 22px;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.search-input-wrapper:focus-within .search-icon {
  color: var(--brand-primary);
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-faint);
  font-weight: 400;
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-clear-btn {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  place-items: center;
  transition: all var(--transition-fast);
}

.search-clear-btn:hover {
  background: var(--border-hover);
  color: var(--text-main);
}

.search-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: monospace;
}

/* Quick Search Suggestions */
.quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-tag-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-faint);
}

.quick-tag-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.quick-tag-btn:hover {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 36px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border-default);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================================
   Filter & Directory Controls
   ========================================================================== */
.directory-section {
  padding: 48px 0 80px;
}

.directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.directory-header-meta h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.directory-header-meta p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--bg-surface);
  padding: 6px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.filter-btn:hover {
  color: var(--brand-primary);
  background: var(--brand-primary-subtle);
}

.filter-btn[aria-pressed="true"] {
  background: var(--text-main);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .filter-btn[aria-pressed="true"] {
  background: var(--brand-primary);
  color: #fff;
}

/* ==========================================================================
   Guide Cards Grid
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  text-decoration: none;
  overflow: hidden;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background var(--transition-normal);
}

.guide-card[data-category="store"]::before { background: var(--brand-amber); }
.guide-card[data-category="cards"]::before { background: var(--brand-primary); }
.guide-card[data-category="service"]::before { background: var(--brand-red); }
.guide-card[data-category="reports"]::before { background: var(--brand-green); }
.guide-card[data-category="contact"]::before { background: var(--brand-purple); }
.guide-card[data-category="workflow"]::before { background: #6366f1; }

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.guide-card:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  transition: transform var(--transition-fast);
}

.guide-card:hover .card-icon-box {
  transform: scale(1.08);
}

.card-icon-box svg {
  width: 24px;
  height: 24px;
}

/* Category Specific Styles */
.guide-card[data-category="store"] .card-icon-box {
  background: var(--brand-amber-light);
  color: #b45309;
}
.guide-card[data-category="cards"] .card-icon-box {
  background: var(--brand-primary-light);
  color: #0284c7;
}
.guide-card[data-category="service"] .card-icon-box {
  background: var(--brand-red-light);
  color: #e11d48;
}
.guide-card[data-category="reports"] .card-icon-box {
  background: var(--brand-green-light);
  color: #059669;
}
.guide-card[data-category="contact"] .card-icon-box {
  background: var(--brand-purple-light);
  color: #7c3aed;
}
.guide-card[data-category="workflow"] .card-icon-box {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}

.card-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guide-card[data-category="store"] .card-category-badge { background: var(--brand-amber-light); color: #b45309; }
.guide-card[data-category="cards"] .card-category-badge { background: var(--brand-primary-light); color: #0284c7; }
.guide-card[data-category="service"] .card-category-badge { background: var(--brand-red-light); color: #e11d48; }
.guide-card[data-category="reports"] .card-category-badge { background: var(--brand-green-light); color: #059669; }
.guide-card[data-category="contact"] .card-category-badge { background: var(--brand-purple-light); color: #7c3aed; }
.guide-card[data-category="workflow"] .card-category-badge { background: rgba(99, 102, 241, 0.12); color: #4f46e5; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  transition: color var(--transition-fast);
}

.guide-card:hover .card-title {
  color: var(--brand-primary);
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.card-badge-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-badge-info svg {
  width: 14px;
  height: 14px;
}

.card-arrow-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.guide-card:hover .card-arrow-action {
  background: var(--brand-primary);
  color: #ffffff;
  transform: translateX(4px);
}

.card-arrow-action svg {
  width: 16px;
  height: 16px;
}

/* Empty Results State */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-xl);
  max-width: 500px;
  margin: 32px auto;
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--text-faint);
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   Guide Detail Pages Layout
   ========================================================================== */
.guide-page-layout {
  padding: 32px 0 80px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--brand-primary);
}

.breadcrumb-sep {
  color: var(--text-faint);
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 700;
}

/* Guide Header Banner (Compact & Sleek) */
.guide-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0284c7 140%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(20px, 2.5vw, 30px) clamp(22px, 3.2vw, 38px);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .guide-hero-banner {
  background: linear-gradient(135deg, #090d16 0%, #161e33 60%, #0369a1 140%);
  border: 1px solid var(--border-default);
}

.guide-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.guide-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.guide-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.guide-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.guide-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.guide-hero-desc {
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  color: #e2e8f0;
  line-height: 1.55;
  margin-bottom: 0;
}

.guide-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  line-height: 1.4;
  white-space: nowrap;
}

.hero-action-btn.primary {
  background: #6366f1;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.hero-action-btn.primary:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}

.hero-action-btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Article Layout Grid (Sidebar + Content) */
.article-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

/* Sticky Sidebar Table of Contents */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  max-height: calc(100vh - var(--header-height) - 48px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-default);
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  line-height: 1.4;
}

.sidebar-link:hover {
  color: var(--brand-primary);
  background: var(--brand-primary-subtle);
}

.sidebar-link.active {
  color: var(--brand-primary);
  background: var(--brand-primary-light);
  font-weight: 700;
}

.sidebar-link-num {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-alt);
  color: var(--text-muted);
}

.sidebar-link.active .sidebar-link-num {
  background: var(--brand-primary);
  color: #fff;
}

.sidebar-quick-help {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-default);
}

.sidebar-help-card {
  background: var(--brand-primary-subtle);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.sidebar-help-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.sidebar-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background var(--transition-fast);
}

.sidebar-help-btn:hover {
  background: var(--brand-primary-hover);
}

/* Article Main Content Sections */
.article-main,
.article-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.content-section {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.2vw, 36px);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin-bottom: 32px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.section-icon-badge svg {
  width: 20px;
  height: 20px;
}

/* Step-by-Step Interactive Cards */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  margin-top: 6px;
}

.step-card:hover {
  background: var(--bg-surface);
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.step-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.98rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.step-body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
}

.step-body strong {
  color: var(--text-main);
  font-weight: 700;
}

.step-body a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.step-body a:hover {
  color: var(--brand-primary-hover);
}

/* Checklists */
.checklist-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.5;
}

.checklist-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-icon svg {
  width: 14px;
  height: 14px;
}

/* Notice / Callout Boxes */
.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 18px 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.notice-box.warning {
  background: var(--brand-amber-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #92400e;
}

.notice-box.info {
  background: var(--brand-primary-light);
  border: 1px solid rgba(2, 132, 199, 0.3);
  color: #0369a1;
}

.notice-box.danger {
  background: var(--brand-red-light);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #9f1239;
}

.notice-box.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
}

[data-theme="dark"] .notice-box.warning { color: #fde68a; }
[data-theme="dark"] .notice-box.info { color: #bae6fd; }
[data-theme="dark"] .notice-box.danger { color: #fecdd3; }
[data-theme="dark"] .notice-box.success { color: #a7f3d0; }

.notice-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Template / Tutanak Container with One-Click Copy */
.template-container {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-default);
}

.template-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.template-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
  transition: all var(--transition-fast);
}

.template-copy-btn:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
}

.template-content {
  padding: 22px;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--text-main);
  white-space: pre-line;
  font-family: inherit;
}

/* Screenshot Galleries */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* Mobile Screenshot Gallery (Vertical / Phone Mockup) */
.gallery-grid.mobile-gallery {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid.mobile-gallery .thumbnail-image-wrapper {
  aspect-ratio: 9 / 18.5;
  background: var(--bg-alt);
  padding: 10px;
}

.gallery-grid.mobile-gallery .gallery-thumbnail img {
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-thumbnail {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: var(--bg-alt);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
}

.gallery-thumbnail:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.thumbnail-image-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
  display: grid;
  place-items: center;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-thumbnail:hover img {
  transform: scale(1.06);
}

.thumbnail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-surface);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.thumbnail-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-primary);
}

/* Downloads Section */
.download-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.download-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  background: var(--brand-primary-subtle);
}

.download-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.download-icon.pdf {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.download-icon.excel {
  background: var(--brand-green-light);
  color: var(--brand-green);
}

.download-icon svg {
  width: 24px;
  height: 24px;
}

.download-title {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.download-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.download-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.download-card:hover .download-action-btn {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

/* Related Guides Section */
.related-guides-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-default);
}

.related-guides-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.related-guides-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.related-guides-section svg,
.related-guides-grid svg,
.related-grid svg {
  max-width: 24px;
  max-height: 24px;
}

/* ==========================================================================
   Units (Merkez Birimleri) Page Styles
   ========================================================================== */
.units-page {
  padding: 40px 0 80px;
}

.units-hero-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0284c7 140%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 36px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.units-hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.units-hero-text p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 540px;
}

.units-search-bar {
  max-width: 520px;
  margin-bottom: 32px;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.unit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.unit-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.unit-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.unit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
}

.unit-card-header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.unit-members-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.unit-member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.unit-member-item:hover {
  background: var(--bg-surface);
  border-color: var(--border-default);
}

.member-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), #2563eb);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.member-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.member-email-link {
  font-size: 0.78rem;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.member-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.member-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.member-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

/* ==========================================================================
   Contact (İletişim) Page Styles
   ========================================================================== */
.contact-page {
  padding: 40px 0 80px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.contact-info-card:nth-child(1) .contact-card-icon { background: var(--brand-primary-light); color: var(--brand-primary); }
.contact-info-card:nth-child(2) .contact-card-icon { background: var(--brand-green-light); color: var(--brand-green); }
.contact-info-card:nth-child(3) .contact-card-icon { background: var(--brand-red-light); color: var(--brand-red); }

.contact-card-icon svg {
  width: 30px;
  height: 30px;
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-card-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.contact-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.contact-card-btn:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

/* Contact Form & Branches Grid */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
}

.contact-form-header {
  margin-bottom: 24px;
}

.contact-form-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-form-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all var(--transition-fast);
}

.submit-btn:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

/* ==========================================================================
   Thank You / Utility Page Styles
   ========================================================================== */
.thank-you-wrapper {
  padding: 60px 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thank-you-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  max-width: 650px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.thank-you-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-green), var(--brand-yellow), var(--brand-red));
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.1);
  animation: pulseGreen 2.5s infinite;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
}

.thank-you-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.thank-you-badge {
  display: inline-block;
  background: var(--brand-green-light);
  color: #059669;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

[data-theme="dark"] .thank-you-badge {
  color: #34d399;
}

.thank-you-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.contact-card-copy-btn {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.contact-card-copy-btn:hover {
  background: var(--brand-primary-light);
}

.contact-quick-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-branch-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.quick-branch-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-branch-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-branch-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quick-branch-info-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-primary);
}

/* ==========================================================================
   Lightbox / Modal Image Viewer
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: grid;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content-box {
  position: relative;
  max-width: 1080px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-default);
}

.lightbox-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-counter {
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text-muted);
}

.lightbox-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-main);
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.lightbox-image-viewport {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #0b0f19;
  min-height: 300px;
  max-height: calc(90vh - 140px);
  overflow: auto;
}

.lightbox-image-viewport img {
  max-width: 100%;
  max-height: calc(85vh - 160px);
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}

.lightbox-footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
}

.lightbox-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover:not(:disabled) {
  background: var(--brand-primary);
  color: #fff;
}

.lightbox-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lightbox-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--text-main);
  color: var(--text-inverse);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  margin-top: auto;
  padding: 60px 0 28px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 38px;
  width: auto;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--brand-primary);
  transform: translateX(3px);
}

.footer-contact-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-default);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 24px;
  }
  .sidebar-nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-link {
    background: var(--bg-alt);
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: grid;
  }
  .brand-divider, .brand-meta {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Workflow Process & Mockup Components
   ========================================================================== */
.flow-diagram {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
  padding: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-fast);
}

.flow-step.active {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.flow-step .badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.flow-step .label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.flow-step .who {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.mockup-wrap {
  margin: 18px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-default);
}

.browser-bar .dots {
  display: flex;
  gap: 6px;
}

.browser-bar .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.browser-bar .dots span:nth-child(1) { background: #ef4444; }
.browser-bar .dots span:nth-child(2) { background: #f59e0b; }
.browser-bar .dots span:nth-child(3) { background: #10b981; }

.browser-bar .url {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  flex: 1;
  max-width: 380px;
}

.browser-content {
  padding: 20px;
  overflow-x: auto;
}

.mockup-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -8px;
  margin-bottom: 20px;
  font-style: italic;
}

.field-demo {
  background: var(--bg-alt);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 14px 0;
}

.field-demo label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.field-demo .input {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: default;
  transition: all var(--transition-fast);
}

.btn-demo.primary { background: var(--brand-primary); color: #fff; }
.btn-demo.success { background: var(--brand-green); color: #fff; }
.btn-demo.danger { background: var(--brand-red); color: #fff; }
.btn-demo.ghost { background: var(--bg-alt); color: var(--text-main); border: 1px solid var(--border-default); }

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
}

table.alanlar {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

table.alanlar th {
  background: var(--bg-alt);
  color: var(--text-main);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-default);
}

table.alanlar td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
  color: var(--text-muted);
}

table.alanlar tr:last-child td {
  border-bottom: none;
}

table.alanlar .field-name {
  font-weight: 700;
  color: var(--text-main);
}

table.alanlar .zorunlu {
  color: var(--brand-red);
  font-weight: 700;
}

table.alanlar .otomatik {
  color: #0284c7;
  font-weight: 600;
}

[data-theme="dark"] table.alanlar .otomatik {
  color: #38bdf8;
}

.sss-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.sss-item summary {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sss-item summary:hover {
  background: var(--bg-alt);
}

.sss-item summary svg {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.sss-item[open] summary svg {
  transform: rotate(180deg);
}

.sss-body {
  padding: 14px 18px;
  border-top: 1px solid var(--border-default);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  background: var(--bg-alt);
}

[data-theme="dark"] .guide-card[data-category="workflow"] .card-icon-box { background: rgba(99, 102, 241, 0.22); color: #a5b4fc; }
[data-theme="dark"] .guide-card[data-category="workflow"] .card-category-badge { background: rgba(99, 102, 241, 0.22); color: #a5b4fc; }

/* Video Showcase Component */
.video-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 18px 0 24px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.video-showcase-card:hover {
  border-color: #6366f1;
  box-shadow: var(--shadow-lg);
}

.video-player-frame {
  position: relative;
  width: 100%;
  background: #090d16;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-player-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  outline: none;
}

.video-meta-footer {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
}

.video-info-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-play-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.video-title-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.video-subtitle-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.video-actions-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.video-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-default);
  background: var(--bg-alt);
  color: var(--text-main);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.video-action-btn:hover {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

.video-action-btn.primary {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

.video-action-btn.primary:hover {
  background: #4f46e5;
  border-color: #4f46e5;
}

/* ==========================================================================
   Workflow Sub-Groups Color Theming & Sub-Filter Pills
   ========================================================================== */
.workflow-subfilters-wrapper {
  margin: 14px 0 24px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.workflow-subfilters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.workflow-subfilters-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.workflow-subfilters-title svg {
  color: #4f46e5;
}

.workflow-group-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.wf-sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wf-sub-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Individual Inactive Button Themed Borders & Soft Tints */
.wf-sub-btn[data-wf="all"] {
  border-color: #94a3b8;
  color: var(--text-main);
}
.wf-sub-btn[data-wf="sales-refund"] {
  border-color: #f43f5e;
  background: rgba(225, 29, 72, 0.06);
  color: #be123c;
}
.wf-sub-btn[data-wf="closing"] {
  border-color: #10b981;
  background: rgba(5, 150, 105, 0.06);
  color: #047857;
}
.wf-sub-btn[data-wf="invoice"] {
  border-color: #f59e0b;
  background: rgba(217, 119, 6, 0.06);
  color: #b45309;
}
.wf-sub-btn[data-wf="expense"] {
  border-color: #14b8a6;
  background: rgba(13, 148, 136, 0.06);
  color: #0f766e;
}
.wf-sub-btn[data-wf="mobile"] {
  border-color: #38bdf8;
  background: rgba(2, 132, 199, 0.06);
  color: #0369a1;
}
.wf-sub-btn[data-wf="shift"] {
  border-color: #818cf8;
  background: rgba(79, 70, 229, 0.06);
  color: #3730a3;
}

/* Active State Styles */
.wf-sub-btn.active {
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.wf-sub-btn[data-wf="all"].active {
  background: #1e293b;
  border-color: #1e293b;
}
.wf-sub-btn[data-wf="sales-refund"].active {
  background: #e11d48;
  border-color: #e11d48;
}
.wf-sub-btn[data-wf="closing"].active {
  background: #059669;
  border-color: #059669;
}
.wf-sub-btn[data-wf="invoice"].active {
  background: #d97706;
  border-color: #d97706;
}
.wf-sub-btn[data-wf="expense"].active {
  background: #0d9488;
  border-color: #0d9488;
}
.wf-sub-btn[data-wf="mobile"].active {
  background: #0284c7;
  border-color: #0284c7;
}
.wf-sub-btn[data-wf="shift"].active {
  background: #4f46e5;
  border-color: #4f46e5;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .wf-sub-btn[data-wf="all"] {
  border-color: #64748b;
  background: var(--bg-alt);
}
[data-theme="dark"] .wf-sub-btn[data-wf="sales-refund"] {
  border-color: rgba(244, 63, 94, 0.6);
  background: rgba(225, 29, 72, 0.14);
  color: #fda4af;
}
[data-theme="dark"] .wf-sub-btn[data-wf="closing"] {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(5, 150, 105, 0.14);
  color: #6ee7b7;
}
[data-theme="dark"] .wf-sub-btn[data-wf="invoice"] {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(217, 119, 6, 0.14);
  color: #fcd34d;
}
[data-theme="dark"] .wf-sub-btn[data-wf="expense"] {
  border-color: rgba(20, 184, 166, 0.6);
  background: rgba(13, 148, 136, 0.14);
  color: #5eead4;
}
[data-theme="dark"] .wf-sub-btn[data-wf="mobile"] {
  border-color: rgba(56, 189, 248, 0.6);
  background: rgba(2, 132, 199, 0.14);
  color: #7dd3fc;
}
[data-theme="dark"] .wf-sub-btn[data-wf="shift"] {
  border-color: rgba(129, 140, 248, 0.6);
  background: rgba(79, 70, 229, 0.14);
  color: #a5b4fc;
}

.wf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.wf-dot.all { background: var(--text-muted); }
.wf-dot.sales-refund { background: #e11d48; }
.wf-dot.closing { background: #059669; }
.wf-dot.invoice { background: #d97706; }
.wf-dot.expense { background: #0d9488; }
.wf-dot.mobile { background: #0284c7; }
.wf-dot.shift { background: #4f46e5; }

/* Workflow Card Theming - Single clean 4px stripe via ::before */
.guide-card[data-workflow-group="sales-refund"]::before {
  background: #e11d48 !important;
}

.guide-card[data-workflow-group="closing"]::before {
  background: #059669 !important;
}

.guide-card[data-workflow-group="invoice"]::before {
  background: #d97706 !important;
}

.guide-card[data-workflow-group="expense"]::before {
  background: #0d9488 !important;
}

.guide-card[data-workflow-group="mobile"]::before {
  background: #0284c7 !important;
}

.guide-card[data-workflow-group="shift"]::before {
  background: #4f46e5 !important;
}

/* 1. Satış İptal & İade (Gül / Kırmızı) */
.guide-card[data-workflow-group="sales-refund"] .card-icon-box {
  background: rgba(225, 29, 72, 0.12) !important;
  color: #e11d48 !important;
}
.guide-card[data-workflow-group="sales-refund"] .card-category-badge {
  background: rgba(225, 29, 72, 0.12) !important;
  color: #e11d48 !important;
  border: 1px solid rgba(225, 29, 72, 0.25);
}
[data-theme="dark"] .guide-card[data-workflow-group="sales-refund"] .card-icon-box {
  background: rgba(225, 29, 72, 0.22) !important;
  color: #fda4af !important;
}
[data-theme="dark"] .guide-card[data-workflow-group="sales-refund"] .card-category-badge {
  background: rgba(225, 29, 72, 0.22) !important;
  color: #fda4af !important;
}

/* 2. Gün Sonu Kapanış (Zümrüt Yeşili) */
.guide-card[data-workflow-group="closing"] .card-icon-box {
  background: rgba(5, 150, 105, 0.12) !important;
  color: #059669 !important;
}
.guide-card[data-workflow-group="closing"] .card-category-badge {
  background: rgba(5, 150, 105, 0.12) !important;
  color: #059669 !important;
  border: 1px solid rgba(5, 150, 105, 0.25);
}
[data-theme="dark"] .guide-card[data-workflow-group="closing"] .card-icon-box {
  background: rgba(5, 150, 105, 0.22) !important;
  color: #6ee7b7 !important;
}
[data-theme="dark"] .guide-card[data-workflow-group="closing"] .card-category-badge {
  background: rgba(5, 150, 105, 0.22) !important;
  color: #6ee7b7 !important;
}

/* 3. Şube Fatura Talep (Kehribar / Amber) */
.guide-card[data-workflow-group="invoice"] .card-icon-box {
  background: rgba(217, 119, 6, 0.12) !important;
  color: #d97706 !important;
}
.guide-card[data-workflow-group="invoice"] .card-category-badge {
  background: rgba(217, 119, 6, 0.12) !important;
  color: #d97706 !important;
  border: 1px solid rgba(217, 119, 6, 0.25);
}
[data-theme="dark"] .guide-card[data-workflow-group="invoice"] .card-icon-box {
  background: rgba(217, 119, 6, 0.22) !important;
  color: #fcd34d !important;
}
[data-theme="dark"] .guide-card[data-workflow-group="invoice"] .card-category-badge {
  background: rgba(217, 119, 6, 0.22) !important;
  color: #fcd34d !important;
}

/* 4. Şube Masraf (Deniz Turkuazı / Teal) */
.guide-card[data-workflow-group="expense"] .card-icon-box {
  background: rgba(13, 148, 136, 0.12) !important;
  color: #0d9488 !important;
}
.guide-card[data-workflow-group="expense"] .card-category-badge {
  background: rgba(13, 148, 136, 0.12) !important;
  color: #0d9488 !important;
  border: 1px solid rgba(13, 148, 136, 0.25);
}
[data-theme="dark"] .guide-card[data-workflow-group="expense"] .card-icon-box {
  background: rgba(13, 148, 136, 0.22) !important;
  color: #5eead4 !important;
}
[data-theme="dark"] .guide-card[data-workflow-group="expense"] .card-category-badge {
  background: rgba(13, 148, 136, 0.22) !important;
  color: #5eead4 !important;
}

/* 5. Mobil Uygulama (Gök Mavisi / Sky) */
.guide-card[data-workflow-group="mobile"] .card-icon-box {
  background: rgba(2, 132, 199, 0.12) !important;
  color: #0284c7 !important;
}
.guide-card[data-workflow-group="mobile"] .card-category-badge {
  background: rgba(2, 132, 199, 0.12) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.25);
}
[data-theme="dark"] .guide-card[data-workflow-group="mobile"] .card-icon-box {
  background: rgba(2, 132, 199, 0.22) !important;
  color: #7dd3fc !important;
}
[data-theme="dark"] .guide-card[data-workflow-group="mobile"] .card-category-badge {
  background: rgba(2, 132, 199, 0.22) !important;
  color: #7dd3fc !important;
}

/* 6. Vardiya Planlama (İndigo & Mor) */
.guide-card[data-workflow-group="shift"] .card-icon-box {
  background: rgba(79, 70, 229, 0.12) !important;
  color: #4f46e5 !important;
}
.guide-card[data-workflow-group="shift"] .card-category-badge {
  background: rgba(79, 70, 229, 0.12) !important;
  color: #4f46e5 !important;
  border: 1px solid rgba(79, 70, 229, 0.25);
}
[data-theme="dark"] .guide-card[data-workflow-group="shift"] .card-icon-box {
  background: rgba(79, 70, 229, 0.22) !important;
  color: #a5b4fc !important;
}
[data-theme="dark"] .guide-card[data-workflow-group="shift"] .card-category-badge {
  background: rgba(79, 70, 229, 0.22) !important;
  color: #a5b4fc !important;
}

/* Print & PDF Export Friendly Styles */
@media print {
  @page {
    margin: 12mm 15mm;
    size: A4 portrait;
  }

  .site-header,
  .site-footer,
  .breadcrumb-nav,
  .article-sidebar,
  .related-guides-section,
  .hero-actions,
  .guide-hero-actions,
  .theme-toggle-btn,
  .emergency-btn,
  .skip-to-content,
  .toast-notice,
  .back-to-top-btn,
  .video-card-section,
  .toc-fab,
  .scroll-top-fab,
  .toc-mobile-overlay,
  .toc-mobile-drawer {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 10.5pt !important;
    line-height: 1.5 !important;
  }

  .guide-page-layout {
    padding: 0 !important;
  }

  .guide-page-layout .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .article-grid {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .article-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .guide-hero-banner {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    padding: 16px 20px !important;
    margin-bottom: 24px !important;
    border-radius: 8px !important;
    page-break-after: avoid;
    break-after: avoid;
  }

  .guide-hero-title {
    color: #0f172a !important;
    font-size: 20pt !important;
    margin-bottom: 8px !important;
  }

  .guide-hero-desc {
    color: #334155 !important;
    font-size: 10.5pt !important;
    line-height: 1.4 !important;
  }

  .guide-hero-meta {
    margin-bottom: 10px !important;
  }

  .guide-category-tag,
  .guide-meta-item {
    background: #e2e8f0 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 8.5pt !important;
    padding: 3px 8px !important;
  }

  .content-section {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    padding: 18px 20px !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .section-title,
  .step-card-title {
    color: #0f172a !important;
  }

  .step-badge {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
  }

  .callout,
  .warning-box,
  .info-box,
  .tip-box,
  .success-box {
    border: 1px solid #cbd5e1 !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .table-wrap,
  table {
    page-break-inside: avoid;
    break-inside: avoid;
    width: 100% !important;
  }

  table th,
  table td {
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
  }

  details.faq-item .faq-body,
  details.sss-item .sss-body {
    display: block !important;
    padding: 10px 0 !important;
  }

  details.faq-item,
  details.sss-item {
    page-break-inside: avoid;
    break-inside: avoid;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .browser-mockup,
  .mockup-wrap {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #cbd5e1 !important;
  }
}
