/* ==========================================================================
   ECZANE.NETWORK - Modern B2B Eczacılık Ekosistemi Tasarım Sistemi
   ========================================================================== */

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

:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #ccfbf1;
  --primary-dark: #042f2e;
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Mobil alt bar için alan */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* ==========================================================================
   HEADER & LOGO ALTI MENÜ (DESKTOP) & MOBİL HAMBURGER
   ========================================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* Üst Bildirim / Bilgi Çubuğu */
.header-topbar {
  background: var(--secondary);
  color: #e2e8f0;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.topbar-badge {
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-phone {
  color: #38bdf8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-phone:hover {
  color: #7dd3fc;
}

/* Ana Logo ve Eylem Çubuğu (Üst Kısım) */
.header-main-row {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--secondary);
  line-height: 1.1;
}
.brand-name span {
  color: var(--primary);
}
.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Tepe Hızlı Arama Alanı */
.header-search-box {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.search-form-header {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  transition: var(--transition);
}
.search-form-header:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.search-form-header input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
  padding: 6px 0;
}
.search-form-header button {
  background: var(--primary);
  color: white;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.search-form-header button:hover {
  background: var(--primary-hover);
}

/* Header Sağ Eylemler (Giriş, Kayıt, Teklif Al) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 991.98px) {
  .header-actions {
    display: none !important;
  }
  .header-search-box {
    display: none !important;
  }
}
.btn-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: var(--primary-hover);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
}
.btn-hotline:hover {
  background: #ccfbf1;
}
.btn-rfq-pill {
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.25);
}
.btn-rfq-pill:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* ==========================================================================
   LOGO ALTI MASAÜSTÜ MENÜ ŞERİDİ (DESKTOP NAVIGATION)
   Kullanıcı Talebi: "Masaüstü görünümde menü logo altında yer alsın.
   menü çok uzun olduğu için logo yanından başladığında ekrana sığmıyor."
   ========================================================================== */

.desktop-nav-bar {
  display: none;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

@media (min-width: 992px) {
  .desktop-nav-bar {
    display: block;
  }
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}
.desktop-nav-list::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.desktop-nav-item {
  position: relative;
  white-space: nowrap;
}

.desktop-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--secondary-light);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.desktop-nav-link i {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.desktop-nav-link:hover,
.desktop-nav-item.active .desktop-nav-link {
  color: var(--primary);
  background: rgba(13, 148, 136, 0.05);
  border-bottom-color: var(--primary);
}

.desktop-nav-link:hover i,
.desktop-nav-item.active .desktop-nav-link i {
  color: var(--primary);
}

.nav-tag-highlight {
  background: #fee2e2;
  color: #dc2626;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-left: 3px;
}

.nav-tag-ai {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-left: 3px;
}

/* ==========================================================================
   MOBİL BAŞLIK, HAMBURGER BUTON & ÇEKMECE (DRAWER)
   ========================================================================== */

.mobile-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 992px) {
  .mobile-header-controls {
    display: none;
  }
}

.btn-hamburger {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.btn-hamburger:hover {
  background: #e2e8f0;
}

/* Mobil Hamburger Çekmecesi Overlay & Menü */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 2001;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  flex-shrink: 0;
}
.drawer-close-btn {
  background: #e2e8f0;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}
.drawer-close-btn:hover {
  background: #cbd5e1;
}

.drawer-body {
  padding: 15px 0;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobil Menü İçi Arama Kutusu */
.drawer-search-box {
  margin: 0 16px 12px 16px;
}
.drawer-search-form {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 2px 4px 2px 14px;
  transition: var(--transition);
}
.drawer-search-form:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}
.drawer-search-form input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--text-main);
  padding: 7px 0;
}
.drawer-search-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: var(--transition);
}
.drawer-search-form button:hover {
  background: var(--primary-hover);
}

/* Mobil Menü İçi Hızlı Eylem Butonları (Header'dan Aktarılanlar) */
.drawer-action-buttons {
  margin: 0 16px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-btn-rfq {
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  color: #ffffff !important;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.25);
  text-align: center;
  transition: var(--transition);
}
.drawer-btn-rfq:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}
.drawer-contact-row {
  display: flex;
  gap: 8px;
}
.drawer-btn-phone,
.drawer-btn-whatsapp {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}
.drawer-btn-phone {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: var(--primary-hover);
}
.drawer-btn-phone:hover {
  background: #ccfbf1;
}
.drawer-btn-whatsapp {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}
.drawer-btn-whatsapp:hover {
  background: #dcfce7;
}

.drawer-auth-buttons {
  display: flex;
  gap: 8px;
}
.drawer-auth-buttons .btn {
  font-size: 13px;
  padding: 8px 12px;
}

.drawer-contact-card {
  margin: 0 16px 15px 16px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer-contact-card span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.drawer-contact-card a {
  color: var(--primary-hover);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-color);
}
.drawer-menu-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
}
.drawer-menu-item a:hover {
  background: #f8fafc;
  color: var(--primary);
}
.drawer-menu-item a .menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.drawer-menu-item a i {
  font-size: 16px;
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.drawer-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobil Alt Bar (Sticky Bottom Navigation) */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 1050;
}
@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}
.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
}
.bottom-bar-item i {
  font-size: 18px;
}
.bottom-bar-item.active,
.bottom-bar-item:hover {
  color: var(--primary);
}
.bottom-bar-item.highlight-ai i {
  color: #8b5cf6;
}

/* ==========================================================================
   GENEL BUTONLAR & BİLEŞENLER
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary-light);
}
.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0fdfa;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: #d97706;
}
.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.badge-verified {
  background: #dcfce7;
  color: #15803d;
}
.badge-primary {
  background: var(--primary-light);
  color: var(--primary-hover);
}
.badge-warning {
  background: var(--accent-light);
  color: #b45309;
}
.badge-danger {
  background: #fee2e2;
  color: #b91c1c;
}

/* ==========================================================================
   HERO & AI ARAMA ALANI (ANA SAYFA)
   ========================================================================== */

.hero-section {
  background: radial-gradient(circle at top, #0f172a 0%, #042f2e 100%);
  color: #ffffff;
  padding: 60px 0 50px 0;
  position: relative;
  overflow: hidden;
}
.hero-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #5eead4;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }
}
.hero-subtitle {
  font-size: 17px;
  color: #cbd5e1;
  margin-bottom: 35px;
  line-height: 1.5;
}

/* Büyük AI Arama Kutusu */
.hero-ai-search {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  max-width: 760px;
  margin: 0 auto 25px auto;
  gap: 8px;
}
.hero-ai-search .search-icon {
  font-size: 20px;
  color: var(--primary);
  padding-left: 15px;
}
.hero-ai-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 10px;
  color: var(--text-main);
  background: transparent;
}
.hero-ai-search button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-ai-search button:hover {
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

/* Hızlı Kategori Hapları */
.hero-quick-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.quick-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  transition: var(--transition);
}
.quick-pill:hover {
  background: #ffffff;
  color: var(--secondary);
}

/* ==========================================================================
   BÖLÜM VE KART TASARIMLARI
   ========================================================================== */

.section {
  padding: 60px 0;
}
.section-gray {
  background-color: #f1f5f9;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 15px;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.3px;
}
.section-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.section-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-link:hover {
  gap: 9px;
  color: var(--primary-hover);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 24px;
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Firma Kartı */
.company-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #99f6e4;
}
.company-card-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.company-logo-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
}
.company-meta {
  flex: 1;
}
.company-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}
.company-category {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}
.company-badges {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.company-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}
.company-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.company-rating {
  font-size: 13px;
  font-weight: 700;
  color: #d97706;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Yazılım Kartı */
.software-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.software-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.software-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
}
.software-vendor {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.software-features {
  list-style: none;
  margin: 15px 0;
  padding: 0;
}
.software-features li {
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.software-features li i {
  color: var(--success);
  font-size: 11px;
}

/* Robot Kartı */
.robot-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.robot-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
  background: #f1f5f9;
  padding: 12px;
  border-radius: var(--radius-md);
}
.spec-item {
  font-size: 12px;
}
.spec-label {
  color: var(--text-muted);
  display: block;
}
.spec-value {
  font-weight: 700;
  color: var(--secondary);
}

/* Fırsat / Ortak Alım Kartı */
.opp-card {
  background: #fff;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: var(--transition);
}
.opp-card:hover {
  border-color: var(--accent);
  background: #fffbeb;
}
.opp-discount {
  font-size: 22px;
  font-weight: 800;
  color: #b45309;
}

/* ==========================================================================
   FORM, WIZARD & MODALLAR
   ========================================================================== */

.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Wizard Adım Çubuğu */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}
.wizard-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
  flex: 1;
}
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #e2e8f0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.wizard-step-item.active .step-circle {
  background: var(--primary);
  color: #fff;
}
.step-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.wizard-step-item.active .step-title {
  color: var(--primary-hover);
}

/* ==========================================================================
   FOOTER (KURUMSAL VE DETAYLI)
   ========================================================================== */

.site-footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 13.5px;
}
.footer-links a:hover {
  color: #5eead4;
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-contact-item i {
  color: var(--primary);
  font-size: 16px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
}

/* ==========================================================================
   ECZANESCORE & GRAFİK ELEMANLARI
   ========================================================================== */

.score-card-hero {
  background: linear-gradient(135deg, #042f2e 0%, #0f172a 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.score-circle-display {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  border: 8px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}
.score-number {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: #5eead4;
}
.score-total {
  font-size: 12px;
  color: #94a3b8;
}

/* Flash Mesajı */
.flash-alert {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flash-alert.success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.flash-alert.error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
