/* ==========================================================================
   MuafiyetliAraba.com - 2026 Modern Premium Automotive Theme
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --secondary: #090d16;
  --secondary-soft: #0f172a;
  --accent: #059669;
  --accent-hover: #047857;
  --accent-light: #ecfdf5;
  --accent-border: #a7f3d0;
  --danger: #dc2626;
  --danger-light: #fef2f2;
  --danger-border: #fecaca;
  --warning: #d97706;
  --warning-light: #fffbeb;
  --warning-border: #fde68a;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 32px -6px rgba(15, 23, 42, 0.14), 0 8px 14px -4px rgba(15, 23, 42, 0.06);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */

.header-top {
  background: var(--secondary);
  color: #94a3b8;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.header-ticker strong {
  color: #38bdf8;
}
.ticker-badge {
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.ticker-divider {
  opacity: 0.3;
}
.ticker-yerli {
  color: #cbd5e1;
}
.top-link {
  color: #93c5fd !important;
  font-weight: 600;
}
.top-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.main-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--secondary-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.4px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 24px;
}
.logo-text span {
  color: var(--primary);
}
.logo-badge {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #334155;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-nav-calc {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.btn-nav-calc:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
}

.mobile-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 20px;
  cursor: pointer;
  color: var(--secondary-soft);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.mobile-toggle:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  background: linear-gradient(145deg, #090d16 0%, #0f172a 60%, #1e293b 100%);
  color: #ffffff;
  padding: 55px 0 50px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #ffffff;
}
.hero h1 span {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 16.5px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 24px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-badge-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 14px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}
.hero-badge-item strong {
  color: #38bdf8;
}

/* Hero Search Bar */
.hero-search-wrapper {
  margin-top: 10px;
}
.hero-search-form {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 6px;
  display: flex;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.4);
  max-width: 680px;
}
.hero-search-form input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 15.5px;
  outline: none;
  border-radius: 8px;
  color: #0f172a;
}
.hero-search-form button {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-search-form button:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.hero-quick-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}
.hero-quick-link {
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.hero-quick-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

/* ==========================================================================
   Section & General Layout
   ========================================================================== */

.section {
  padding: 50px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.section-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--secondary-soft);
  letter-spacing: -0.3px;
}
.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.section-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover {
  color: var(--primary-hover);
  transform: translateX(2px);
}

/* ==========================================================================
   Cities Grid & City Pills (İllere Göre Bayiler Bölümü)
   ========================================================================== */

.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}
@media (min-width: 640px) {
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .cities-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .cities-grid { grid-template-columns: repeat(5, 1fr); }
}

.city-pill {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}
.city-pill:hover {
  border-color: var(--primary) !important;
  background: #f8fafc !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.08) !important;
}
.city-pill-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}
.city-pill .city-plate {
  background: #0f172a !important;
  color: #ffffff !important;
  font-family: ui-monospace, SFMono-Regular, monospace !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
  letter-spacing: 0.5px !important;
  flex-shrink: 0 !important;
  transition: background-color 0.15s ease !important;
}
.city-pill:hover .city-plate {
  background: var(--primary) !important;
}
.city-pill .city-name {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.15s ease !important;
}
.city-pill:hover .city-name {
  color: var(--primary) !important;
}
.city-pill-arrow {
  color: #94a3b8 !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
  transition: transform 0.15s ease, color 0.15s ease !important;
}
.city-pill:hover .city-pill-arrow {
  color: var(--primary) !important;
  transform: translateX(2px) !important;
}

/* Breadcrumbs */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb-trail a {
  color: #475569;
  font-weight: 500;
}
.breadcrumb-trail a:hover {
  color: var(--primary);
}
.breadcrumb-trail span {
  opacity: 0.4;
}
.breadcrumb-trail strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Badges */
.car-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.badge-yerli {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.badge-uygun {
  background: var(--accent-light);
  color: var(--accent-hover);
  border: 1px solid var(--accent-border);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.badge-body {
  background: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
}
.badge-info {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

/* ==========================================================================
   Vehicle Cards Grid (Modeller & Homepage)
   ========================================================================== */

.grid-cars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 22px;
}
.car-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-xs);
}
.car-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.car-card-img {
  width: 100%;
  height: 180px;
  background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
  padding: 16px;
  position: relative;
}
.car-card-img img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}
.car-card:hover .car-card-img img {
  transform: scale(1.06);
}
.car-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.car-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary-soft);
  margin-bottom: 4px;
  line-height: 1.3;
}
.car-title a {
  color: inherit;
}
.car-title a:hover {
  color: var(--primary);
}
.car-specs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.car-prices {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  margin-top: auto;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
  font-size: 13px;
}
.price-row:last-child {
  margin-bottom: 0;
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}
.price-val-norm {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 13.5px;
}
.price-val-muaf {
  color: var(--accent);
  font-weight: 900;
  font-size: 18.5px;
  letter-spacing: -0.3px;
}
.price-saving {
  color: var(--accent);
  font-weight: 700;
  font-size: 12.5px;
}

.btn-car-detail {
  background: #f1f5f9;
  color: #1e293b;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
  display: block;
}
.car-card:hover .btn-car-detail {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   Brand Cards Grid
   ========================================================================== */

.grid-brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 14px;
}
.brand-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
}
.brand-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.brand-card:hover img {
  transform: scale(1.12);
}
.brand-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.brand-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary-soft);
}
.brand-count {
  font-size: 11px;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* ==========================================================================
   Model Detail Page - Ultra Rich Presentation
   ========================================================================== */

.model-hero-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.model-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

/* Model Studio Stage */
.model-studio-stage {
  background: radial-gradient(circle at center, #eff6ff 0%, #f8fafc 70%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 280px;
}
.model-studio-img {
  max-width: 100%;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}
.model-studio-stage:hover .model-studio-img {
  transform: scale(1.03);
}

/* Color Swatches */
.model-color-section {
  width: 100%;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.color-swatches-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.color-swatches-list {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.color-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.color-dot:hover,
.color-dot.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px var(--primary);
}

/* Price Box */
.model-price-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 18px;
}
.price-box-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.price-box-main {
  font-size: 34px;
  font-weight: 900;
  color: #15803d;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.price-box-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.price-box-meta .norm {
  color: #64748b;
  text-decoration: line-through;
}
.price-box-meta .save {
  background: #dcfce7;
  color: #15803d;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 800;
}
.price-box-meta .orthopedic {
  color: #0369a1;
  font-weight: 600;
}

/* Quick Page Anchor Nav */
.model-anchor-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.anchor-nav-item {
  white-space: nowrap;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: all 0.15s ease;
}
.anchor-nav-item:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary);
}

/* Specifications Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}
.spec-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease;
}
.spec-box:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
.spec-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.spec-info {
  overflow: hidden;
}
.spec-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.spec-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Version Package Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
}
.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.custom-table th {
  background: #f8fafc;
  padding: 14px 18px;
  text-align: left;
  font-weight: 800;
  color: #334155;
  border-bottom: 1.5px solid var(--border);
  font-size: 13px;
}
.custom-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.custom-table tr:last-child td {
  border-bottom: none;
}
.custom-table tr:hover td {
  background: #f8fafc;
}

/* Price History Archive Table */
.history-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.history-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}
.history-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

/* ==========================================================================
   Calculator Widget & Forms
   ========================================================================== */

.calc-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.15s ease;
  outline: none;
}
.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.preset-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.btn-preset {
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-preset:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary);
}

.calc-result-box {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.result-header {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #38bdf8;
  margin-bottom: 6px;
}
.result-price {
  font-size: 32px;
  font-weight: 900;
  color: #4ade80;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.result-detail-list {
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}
.result-detail-list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13.5px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.result-detail-list li strong {
  color: #ffffff;
}

/* ==========================================================================
   Filter Bar (Modeller Kataloğu)
   ========================================================================== */

.filter-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.filter-tab-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.filter-tab-btn:hover,
.filter-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   Dealer Cards & Google Maps Integration
   ========================================================================== */

.dealer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
}
.dealer-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.dealer-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}
.dealer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}
.dealer-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--secondary-soft);
  line-height: 1.3;
}
.dealer-address {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.dealer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.btn-directions {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
}
.btn-directions:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
}
.btn-call {
  background: #f0fdf4;
  color: #166534 !important;
  border: 1px solid #bbf7d0;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.btn-call:hover {
  background: #dcfce7;
  border-color: #86efac;
}
.btn-map-link {
  background: #f8fafc;
  color: #334155 !important;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.btn-map-link:hover {
  background: var(--primary-light);
  color: var(--primary) !important;
  border-color: var(--primary-border);
}
.map-embed-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  background: #f1f5f9;
}
.map-embed-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.inline-dealer-map {
  margin-top: 14px;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: none;
}
.inline-dealer-map.active {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul a {
  color: #94a3b8;
  font-size: 14px;
}
.footer-col ul a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .hero h1 { font-size: 30px; }
  .model-hero-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-top { display: none; }
  .mobile-toggle { display: inline-flex !important; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    gap: 8px;
  }
  .nav-links.show { display: flex !important; }
  .nav-links a { width: 100%; font-size: 15px; padding: 10px 14px; }
}

@media (max-width: 768px) {
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 26px; }
  .hero-search-form { flex-direction: column; }
  .hero-search-form button { padding: 14px; justify-content: center; }
  .grid-cars { grid-template-columns: 1fr; }
  .grid-brands { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .model-hero-card { padding: 20px; }
  .price-box-main { font-size: 28px; }
}

/* ==========================================================================
   OBD-II Fault Codes (Arıza Kodları) Styles
   ========================================================================== */

.fc-hero {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  border: 1px solid #e2e8f0;
}
.fc-hero-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.fc-search-wrapper {
  max-width: 680px;
}
.fc-search-input {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  font-size: 15px;
}
.fc-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.fc-search-btn {
  background: var(--primary);
  color: #ffffff;
  transition: all 0.2s ease;
}
.fc-search-btn:hover {
  background: var(--primary-dark);
}
.fc-live-results {
  max-height: 380px;
  z-index: 999;
}

/* ==========================================================================
   Universal Utility & Responsive Grid System (Tailwind-compatible)
   ========================================================================== */

/* Display & Flexbox */
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.inline-grid { display: inline-grid !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.hidden { display: none !important; }

.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }
.shrink-0 { flex-shrink: 0 !important; }

/* Grid Columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .sm\:inline { display: inline !important; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:items-center { align-items: center !important; }
  .md\:text-lg { font-size: 1.125rem !important; }
  .md\:text-2xl { font-size: 1.5rem !important; }
  .md\:text-3xl { font-size: 1.875rem !important; }
  .md\:text-4xl { font-size: 2.25rem !important; }
  .md\:text-5xl { font-size: 3rem !important; }
  .md\:p-8 { padding: 2rem !important; }
  .md\:p-12 { padding: 3rem !important; }
  .md\:inline { display: inline !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; }
}

/* Gap */
.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-3\.5 { gap: 0.875rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }

/* Spacing (Padding & Margin) */
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-3\.5 { padding: 0.875rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-3\.5 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem !important; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem !important; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem !important; }

/* Typography */
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
.text-5xl { font-size: 3rem !important; line-height: 1 !important; }

.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-black { font-weight: 900 !important; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.leading-relaxed { line-height: 1.625 !important; }
.truncate { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.uppercase { text-transform: uppercase !important; }

/* Colors */
.text-foreground { color: #0f172a !important; }
.text-muted { color: #64748b !important; }
.text-primary { color: #2563eb !important; }
.text-white { color: #ffffff !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-indigo-600 { color: #4f46e5 !important; }
.text-amber-500 { color: #f59e0b !important; }
.text-amber-600 { color: #d97706 !important; }
.text-rose-600 { color: #e11d48 !important; }
.text-sky-300 { color: #7dd3fc !important; }

/* Backgrounds & Borders */
.bg-card { background-color: #ffffff !important; }
.bg-secondary { background-color: #f1f5f9 !important; }
.bg-primary { background-color: #2563eb !important; }
.bg-white { background-color: #ffffff !important; }
.bg-slate-900 { background-color: #0f172a !important; }
.bg-emerald-50 { background-color: #ecfdf5 !important; }

.border { border: 1px solid #e2e8f0 !important; }
.border-t { border-top: 1px solid #e2e8f0 !important; }
.border-b { border-bottom: 1px solid #e2e8f0 !important; }
.border-slate-800 { border-color: #1e293b !important; }

.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top: 1px solid #e2e8f0 !important;
}

.rounded-lg { border-radius: 8px !important; }
.rounded-xl { border-radius: 12px !important; }
.rounded-2xl { border-radius: 16px !important; }
.rounded-3xl { border-radius: 24px !important; }
.rounded-full { border-radius: 9999px !important; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }

.w-full { width: 100% !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.min-w-0 { min-width: 0 !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.overflow-hidden { overflow: hidden !important; }
.z-50 { z-index: 50 !important; }

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.95); }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==========================================================================
   OBD-II Arıza Kodları - Özel Tasarım Bileşenleri (Pixel-Perfect)
   ========================================================================== */

.fault-codes-page {
  padding-top: 24px;
  padding-bottom: 60px;
}

/* Hero Bölümü */
.fc-hero {
  background: linear-gradient(135deg, #090d16 0%, #0f172a 40%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: 28px;
  padding: 48px 24px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fc-hero h1 {
  color: #ffffff !important;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .fc-hero {
    padding: 60px 40px;
  }
  .fc-hero h1 {
    font-size: 3rem;
  }
}
.fc-hero p {
  color: #94a3b8 !important;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}
.fc-hero-badge {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.fc-hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
}

/* Hero Arama Kutusu */
.fc-search-wrapper {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.fc-search-wrapper form {
  position: relative;
  display: flex;
  align-items: center;
}
.fc-search-wrapper .search-icon {
  position: absolute;
  left: 18px;
  font-size: 1.15rem;
  pointer-events: none;
  z-index: 2;
  color: #94a3b8;
}
.fc-search-input {
  width: 100%;
  padding: 16px 120px 16px 52px;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  font-size: 1rem;
  color: #0f172a;
  outline: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.fc-search-input:focus {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3), 0 12px 30px rgba(0, 0, 0, 0.4);
}
.fc-search-btn {
  position: absolute;
  right: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.fc-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

/* Canlı Arama Sonuç Dropdown */
.fc-live-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
  max-height: 380px;
  overflow-y: auto;
  z-index: 999;
  text-align: left;
}

/* Kod Grubu Kartları (P, B, C, U) */
.fc-group-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.fc-group-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.12);
}
.fc-group-letter {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

/* Kategori Kartları */
.fc-cat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.fc-cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.14);
}
.fc-cat-card h3 {
  color: #0f172a;
  transition: color 0.15s ease;
}
.fc-cat-card:hover h3 {
  color: var(--primary);
}

/* Kod Satır Kartları (Popüler & Kategori) */
.fc-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.fc-code-row:last-child {
  border-bottom: none;
}
.fc-code-row:hover {
  background-color: #f8fafc;
}
.fc-code-badge {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
  width: 80px;
  flex-shrink: 0;
}
.badge-danger {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}
.badge-warning {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}
.badge-success {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

/* Akordeon Kod Aralıkları */
.fc-range-accordion {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 10px;
}
.fc-range-accordion summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  transition: background-color 0.15s ease;
}
.fc-range-accordion summary::-webkit-details-marker {
  display: none;
}
.fc-range-accordion summary:hover {
  background-color: #f8fafc;
}
.fc-range-accordion[open] summary {
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8fafc;
}
.fc-range-grid {
  padding: 14px;
  background: #f8fafc;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .fc-range-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1024px) {
  .fc-range-grid { grid-template-columns: repeat(8, 1fr); }
}
.fc-code-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}
.fc-code-pill:hover {
  background: #eff6ff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* Arıza Kodu Detay Sayfası */
.fc-detail-hero {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.fc-detail-code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 2.75rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}
.summary-paragraph {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 24px;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

/* Detay KPI Kartları */
.fc-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.fc-kpi-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
  font-weight: 600;
}
.fc-kpi-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
}

/* Detay Madde Listeleri (Belirtiler, Nedenler, Tamir Adımları) */
.fc-symptom-item, .fc-cause-item, .fc-solution-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.fc-symptom-item {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
}
.fc-cause-item {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e40af;
}
.fc-solution-item {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #166534;
}

/* Yetkili Servis CTA Kutusu */
.fc-dealer-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  margin-top: 32px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

/* ==========================================================================
   81 İl & GEO Rehberi Styles
   ========================================================================== */

.geo-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0369a1 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25);
  margin-bottom: 32px;
}
.metrop-hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.metrop-hub-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}
.plate-badge {
  background: #0f172a;
  color: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 800;
  display: inline-block;
  font-size: 1.1rem;
}
.city-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.city-item-card:hover {
  border-color: var(--primary);
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.city-plate-mini {
  background: #f1f5f9;
  color: #334155;
  border-radius: 6px;
  padding: 3px 8px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
}
.region-btn {
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s ease;
  background: #f1f5f9;
  color: #334155;
}
.region-btn:hover {
  background: #e2e8f0;
}
.region-btn.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

