/* ==========================================================
   HepsiGörev - Orijinal Mor Logo & Modern Kurumsal Tasarım
   ========================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* HepsiGörev Orijinal Mor & Kurumsal Koyu Zemin */
  --brand-primary: #7444b4;
  --brand-light: #925add;
  --brand-hover: #63369d;
  --brand-glow: rgba(146, 90, 221, 0.25);
  --brand-surface: rgba(146, 90, 221, 0.08);

  --bg-dark: #090d1a;
  --bg-card: #101628;
  --bg-card-inner: #0c1222;
  --bg-input: #090e1c;
  --border-color: #1c263d;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: #925add;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-color);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-main) !important;
  background-color: var(--bg-dark) !important;
  color: var(--text-main) !important;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse at 50% 12%, rgba(146, 90, 221, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 60%, rgba(116, 68, 180, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(146, 90, 221, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Konteyner */
.hg-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Üst Menü (Navbar) */
.hg-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 13, 26, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.hg-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hg-brand {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}

.hg-brand-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(146, 90, 221, 0.3));
}

/* Mobil Hamburger Butonu (Varsayılan masaüstünde gizli) */
.hg-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #ffffff;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hg-nav-toggle:hover {
  background: rgba(146, 90, 221, 0.2);
  border-color: var(--brand-light);
}

.hg-nav-collapse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 28px;
}

.hg-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.hg-nav-link {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.hg-nav-link:hover,
.hg-nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06);
}

.hg-nav-link.active {
  color: var(--brand-light) !important;
  background: var(--brand-surface) !important;
}

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

/* 992px Altı (Tablet & Mobil) Menü Çekmecesi */
@media (max-width: 992px) {
  .hg-nav-toggle {
    display: inline-flex;
  }

  .hg-nav-collapse {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    background: #0b1020;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    margin-left: 0;
    z-index: 1001;
  }

  .hg-nav-collapse.open {
    display: flex;
    animation: hgNavFade 0.22s ease-out forwards;
  }

  .hg-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }

  .hg-nav-link {
    padding: 11px 14px;
    font-size: 14.5px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
  }

  .hg-nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
  }

  .hg-lang-select {
    width: 100%;
    padding: 10px 14px;
  }

  .hg-nav-actions .hg-btn {
    width: 100%;
    padding: 12px;
  }
}

@keyframes hgNavFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Butonlar */
.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.hg-btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary)) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(116, 68, 180, 0.35);
}

.hg-btn-primary:hover {
  background: linear-gradient(135deg, #9d68e5, #63369d) !important;
  box-shadow: 0 6px 22px rgba(116, 68, 180, 0.5);
  transform: translateY(-1px);
}

.hg-btn-outline {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}

.hg-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: var(--border-light) !important;
}

.hg-lang-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

/* ==========================================================
   Hero & Giriş Alanı (Güzelleştirilmiş Bölüm)
   ========================================================== */
.hg-hero-section {
  padding: 55px 0 45px;
  position: relative;
}

.hg-hero-centered {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 34px;
}

/* Üst Rozet (Badge) */
.hg-hero-badge-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.hg-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(146, 90, 221, 0.12);
  border: 1px solid rgba(146, 90, 221, 0.3);
  border-radius: var(--radius-full);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 16px rgba(146, 90, 221, 0.15);
}

.hg-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

.hg-hero-centered h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.hg-hero-centered h1 span.hg-highlight {
  color: #c084fc;
}

.hg-hero-centered p {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 22px;
}

/* Güven Rozetleri (Hero Altı) */
.hg-hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 36px;
}

.hg-hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hg-hero-trust-row i {
  color: #a855f7;
  font-size: 14px;
}

/* ==========================================================
   Modern & Şık Giriş Kartı (Güzelleştirilmiş Tasarım)
   ========================================================== */
.hg-login-container {
  max-width: 640px;
  margin: 0 auto 55px;
  position: relative;
}

/* Kart Arkası İnce Mor Işıma */
.hg-login-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(146, 90, 221, 0.4), transparent 60%);
  z-index: 0;
}

.hg-login-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
}

.hg-login-header {
  text-align: center;
  margin-bottom: 26px;
}

.hg-login-header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.hg-login-header h3 i {
  color: var(--brand-light);
  font-size: 20px;
}

.hg-login-header p {
  font-size: 14px;
  color: var(--text-muted);
}

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

@media (max-width: 620px) {
  .hg-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.hg-form-group {
  margin-bottom: 0;
}

.hg-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
  text-align: left;
}

.hg-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hg-input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-subtle);
  font-size: 15px;
  transition: var(--transition);
  pointer-events: none;
  z-index: 2;
}

.hg-input {
  width: 100%;
  background: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 14px 12px 42px !important;
  font-family: var(--font-main);
  font-size: 14px;
  color: #ffffff !important;
  outline: none;
  transition: var(--transition);
  height: 46px !important;
}

.hg-input:focus {
  border-color: var(--brand-light) !important;
  box-shadow: 0 0 0 3px rgba(146, 90, 221, 0.25) !important;
  background: #0d1428 !important;
}

.hg-input:focus + .hg-input-icon,
.hg-input-wrap:focus-within .hg-input-icon {
  color: var(--brand-light);
}

.hg-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 13px;
}

.hg-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.hg-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-light);
  cursor: pointer;
}

.hg-forgot-link {
  color: #c084fc !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: var(--transition);
}

.hg-forgot-link:hover {
  color: #d8b4fe !important;
  text-decoration: underline !important;
}

.hg-btn-submit {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}

.hg-signup-prompt {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.hg-signup-prompt a {
  color: #c084fc !important;
  font-weight: 700;
  text-decoration: none !important;
  margin-left: 4px;
}

.hg-signup-prompt a:hover {
  text-decoration: underline !important;
}

/* ==========================================================
   4 Adımda Kullanım (HepsiGörev Nasıl Kullanılır?)
   ========================================================== */
.hg-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
}

.hg-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(146, 90, 221, 0.12);
  border: 1px solid rgba(146, 90, 221, 0.25);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hg-section-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.hg-section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.hg-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .hg-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hg-steps-grid { grid-template-columns: 1fr; }
}

.hg-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.hg-step-card:hover {
  border-color: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(146, 90, 221, 0.2);
}

.hg-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(116, 68, 180, 0.4);
}

.hg-step-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.hg-step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Kurumsal 3 Kart */
.hg-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .hg-features-grid { grid-template-columns: 1fr; }
}

.hg-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  transition: var(--transition);
}

.hg-feature-box:hover {
  border-color: rgba(146, 90, 221, 0.4);
  transform: translateY(-2px);
}

.hg-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(116, 68, 180, 0.35);
}

.hg-feature-box h4 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-align: center;
}

.hg-feature-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 auto;
  text-align: center;
}

/* FAQ */
.hg-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.hg-faq-header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  user-select: none;
}

.hg-faq-header i {
  color: var(--brand-light);
}

.hg-faq-body {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.hg-footer {
  border-top: 1px solid var(--border-color);
  background: #060913;
  padding: 24px 0;
  margin-top: 55px;
}

.hg-footer-grid {
  display: none;
}

.hg-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  color: var(--text-subtle);
  text-align: center;
}

.hg-payments {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hg-payment-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}



/* ==========================================================
   2-Sütunlu Geniş Hero Düzeni (Yan Boşlukları Dolduran Tasarım)
   ========================================================== */
.hg-hero-grid-2col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  padding: 30px 0 50px;
}

@media (max-width: 992px) {
  .hg-hero-grid-2col {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 20px 0 40px;
  }
  .hg-hero-left {
    text-align: center;
  }
  .hg-hero-left p {
    text-align: justify;
    text-justify: inter-word;
    margin-left: auto;
    margin-right: auto;
  }
}

.hg-hero-left {
  text-align: center;
}

.hg-hero-left .hg-hero-badge-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.hg-hero-left h1 {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 18px auto;
  letter-spacing: -0.5px;
  line-height: 1.22;
  text-align: center;
  width: 100%;
}

.hg-hero-left h1 span.hg-highlight {
  color: #c084fc;
  background: linear-gradient(135deg, #c084fc, #925add);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hg-hero-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 auto 28px auto;
  max-width: 620px;
  text-align: justify;
  text-justify: inter-word;
}

/* Sol Taraf 4'lü Güven Izgarası */
.hg-trust-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .hg-hero-left h1 {
    font-size: 28px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }
  .hg-hero-left p {
    font-size: 14.5px !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    margin: 0 auto 22px !important;
  }
  .hg-trust-grid-2x2 {
    gap: 10px;
    margin-bottom: 24px;
  }
  .hg-trust-pill {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .hg-trust-pill-text {
    font-size: 12.5px !important;
  }
}

@media (max-width: 480px) {
  .hg-hero-left h1 {
    font-size: 25px !important;
    text-align: center !important;
  }
  .hg-hero-left p {
    text-align: justify !important;
    text-justify: inter-word !important;
  }
  .hg-trust-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

.hg-trust-pill {
  background: rgba(16, 22, 40, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.hg-trust-pill:hover {
  border-color: var(--brand-light);
  background: rgba(146, 90, 221, 0.08);
  transform: translateX(3px);
}

.hg-trust-pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(146, 90, 221, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.hg-trust-pill-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
}

/* Sol Taraf İstatistik Sayaçları */
.hg-live-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.hg-stat-item h4 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.hg-stat-item p {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

/* Sağdaki Giriş Kartının Genişletilmesi ve Hizalanması */
.hg-hero-right {
  position: relative;
}

.hg-hero-right .hg-login-container {
  max-width: 100%;
  margin: 0;
}

/* ==========================================================
   Gelişmiş 2 Sütunlu SSS (FAQ) Izgara Tasarımı
   ========================================================== */
.hg-faq-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .hg-faq-grid-2col {
    grid-template-columns: 1fr;
  }
}

.hg-faq-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hg-faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.hg-faq-card:hover {
  border-color: rgba(146, 90, 221, 0.4);
  transform: translateY(-2px);
}

.hg-faq-card.active {
  border-color: var(--brand-light);
  box-shadow: 0 8px 24px -6px rgba(146, 90, 221, 0.2);
}

.hg-faq-header {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
}

.hg-faq-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hg-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(146, 90, 221, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.hg-faq-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

.hg-faq-chevron {
  color: var(--brand-light);
  font-size: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.hg-faq-card.active .hg-faq-chevron {
  transform: rotate(180deg);
}

.hg-faq-body {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  border-top: 1px solid transparent;
  transition: var(--transition);
}

.hg-faq-card.active .hg-faq-body {
  border-top-color: rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

/* SSS Altı Hızlı Destek Kutusu */
.hg-faq-support-box {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(16, 22, 40, 0.9), rgba(12, 18, 34, 0.9));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .hg-faq-support-box {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

.hg-faq-support-text h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.hg-faq-support-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================
   HİZMETLER (SERVICES) SAYFASI STİLLERİ
   ========================================================== */
.hg-services-section {
  padding: 40px 0 60px;
}

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

/* Custom Dropdown Filters */
.hg-dropdown {
  position: relative;
  display: inline-block;
}

.hg-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--brand-primary);
  border: 1px solid rgba(146, 90, 221, 0.4);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.hg-dropdown-toggle:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

.hg-dropdown-toggle.currency {
  background: #0284c7;
  border-color: rgba(2, 132, 199, 0.5);
}

.hg-dropdown-toggle.currency:hover {
  background: #0369a1;
}

.hg-dropdown-menu,
.hg-custom-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1000;
  min-width: 330px;
  max-width: 480px;
  max-height: 340px;
  overflow-y: auto;
  background: #101628;
  border: 1px solid rgba(146, 90, 221, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  padding: 6px;
  list-style: none;
  margin: 0;
  display: none;
}

.hg-dropdown-menu.show,
.open > .hg-custom-dropdown {
  display: block;
}

/* Custom Scrollbar for Dropdown */
.hg-dropdown-menu::-webkit-scrollbar,
.hg-custom-dropdown::-webkit-scrollbar {
  width: 6px;
}
.hg-dropdown-menu::-webkit-scrollbar-track,
.hg-custom-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.hg-dropdown-menu::-webkit-scrollbar-thumb,
.hg-custom-dropdown::-webkit-scrollbar-thumb {
  background: rgba(146, 90, 221, 0.5);
  border-radius: 9999px;
}
.hg-dropdown-menu::-webkit-scrollbar-thumb:hover,
.hg-custom-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(146, 90, 221, 0.8);
}

.hg-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hg-dropdown-item:hover {
  background: rgba(146, 90, 221, 0.15);
  color: #ffffff;
}

.hg-dropdown-item.active {
  background: rgba(146, 90, 221, 0.25);
  color: #c084fc;
  font-weight: 600;
}

.hg-dropdown-item-icon {
  width: 20px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
}

.hg-category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hg-cat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
  text-decoration: none !important;
}

.hg-cat-pill:hover,
.hg-cat-pill.active {
  background: rgba(146, 90, 221, 0.18);
  border-color: var(--brand-light);
  color: #ffffff;
}

.hg-services-search-wrap {
  position: relative;
  min-width: 280px;
  max-width: 360px;
  flex: 1;
}

.hg-services-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  font-size: 14px;
}

.hg-services-search-wrap input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 38px;
  color: #ffffff;
  font-size: 14px;
  transition: var(--transition);
}

.hg-services-search-wrap input:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(146, 90, 221, 0.2);
}

/* Services Table Card */
.hg-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.hg-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.hg-table th {
  background: #080c18;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.hg-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  color: var(--text-main);
}

/* Category Row Styling */
.hg-category-row,
.hg-cat-row {
  background: transparent !important;
}

.hg-category-row td,
.hg-cat-row td {
  background: linear-gradient(90deg, rgba(146, 90, 221, 0.22) 0%, rgba(99, 102, 241, 0.12) 40%, rgba(13, 20, 40, 0.7) 100%) !important;
  border-top: 2px solid rgba(146, 90, 221, 0.35) !important;
  border-bottom: 1px solid rgba(146, 90, 221, 0.25) !important;
  border-left: 4px solid #a855f7 !important;
  padding: 14px 20px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hg-category-header-wrap,
.hg-cat-row-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.hg-category-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.hg-category-icon-box,
.hg-cat-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(146, 90, 221, 0.35), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(146, 90, 221, 0.3);
}

.hg-cat-icon {
  font-size: 16px;
}

.hg-cat-emoji {
  font-size: 18px;
  line-height: 1;
}

.hg-category-name,
.hg-cat-row-content strong {
  font-family: var(--font-heading);
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hg-category-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(146, 90, 221, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #d8b4fe;
  letter-spacing: 0.3px;
}

.hg-service-row:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.hg-service-id {
  font-family: monospace;
  font-size: 12.5px;
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 7px;
  border-radius: 4px;
}

.hg-service-title {
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hg-service-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(146, 90, 221, 0.15);
  color: #c084fc;
  border: 1px solid rgba(146, 90, 221, 0.3);
}

.hg-service-badge.fast {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.hg-service-badge.guaranteed {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.hg-service-rate {
  font-weight: 700;
  color: #34d399;
  font-size: 14.5px;
  white-space: nowrap;
}

.hg-detail-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hg-detail-btn:hover {
  background: rgba(146, 90, 221, 0.2);
  border-color: var(--brand-light);
  color: #ffffff;
}

/* Modal */
.modal-content {
  background: #111628 !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  color: #f8fafc !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(146, 90, 221, 0.15) !important;
}

.modal-header {
  border-bottom: 1px solid var(--border-color) !important;
  padding: 18px 24px !important;
}

.modal-header .modal-title,
.modal-header h4 {
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 17px !important;
}

.modal-header .close {
  color: #94a3b8 !important;
  opacity: 0.8 !important;
  text-shadow: none !important;
  font-size: 24px !important;
  transition: var(--transition) !important;
}

.modal-header .close:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}

.modal-body {
  padding: 24px !important;
  color: #cbd5e1 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.modal-body * {
  color: #cbd5e1 !important;
}

.modal-body strong, 
.modal-body b, 
.modal-body h1, 
.modal-body h2, 
.modal-body h3, 
.modal-body h4 {
  color: #ffffff !important;
}

.modal-footer {
  border-top: 1px solid var(--border-color) !important;
  padding: 16px 24px !important;
}

.modal-footer .btn-primary,
.modal-footer .btn {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary)) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
  padding: 9px 20px !important;
  box-shadow: 0 4px 14px rgba(116, 68, 180, 0.35) !important;
}

.hg-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hg-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.hg-modal-card {
  background: #111628;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.hg-modal-backdrop.active .hg-modal-card {
  transform: scale(1);
}

.hg-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hg-modal-header h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.hg-modal-close {
  background: transparent;
  border: none;
  color: var(--text-subtle);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.hg-modal-close:hover {
  color: #ffffff;
}

.hg-modal-body {
  padding: 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hg-modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
}

.hg-spec-item span:first-child {
  display: block;
  font-size: 11.5px;
  color: var(--text-subtle);
}

.hg-spec-item span:last-child {
  font-weight: 600;
  color: #ffffff;
  font-size: 13.5px;
}

/* Kullanıcı Paneli Üst Butonları */
.hg-auth-btn-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  text-decoration: none !important;
  transition: var(--transition);
  white-space: nowrap;
}
.hg-auth-btn-account:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.hg-auth-btn-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-size: 14px;
  text-decoration: none !important;
  transition: var(--transition);
  flex-shrink: 0;
}
.hg-auth-btn-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
  border-color: #ef4444;
  transform: scale(1.04);
}

/* ==========================================================
   Giriş Yapmış Kullanıcı Üst Menüsü (Auth Navbar)
   ========================================================== */
.hg-auth-nav {
  background: #080c18 !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hg-auth-nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 64px !important;
  gap: 16px !important;
  width: 100% !important;
}

.hg-auth-menu {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  flex: 1 !important;
  min-width: 0 !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.hg-auth-menu::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.hg-auth-menu li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
}

.hg-auth-menu li a {
  color: var(--text-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 7px 12px !important;
  border-radius: var(--radius-sm) !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.hg-auth-menu li a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.hg-auth-menu li a.active {
  color: #ffffff !important;
  background: rgba(146, 90, 221, 0.25) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(146, 90, 221, 0.45) !important;
}

.hg-auth-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

/* Tablet & Mobil için 2 Katmanlı Akıllı Düzen (Flex Order) */
@media (max-width: 992px) {
  .hg-auth-nav-inner {
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 0 8px !important;
    gap: 8px 12px !important;
  }
  .hg-auth-nav-inner .navbar-header {
    order: 1 !important;
    margin-right: 0 !important;
  }
  .hg-auth-actions {
    order: 2 !important;
    margin-left: auto !important;
  }
  .hg-auth-menu {
    order: 3 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    padding-top: 6px !important;
    padding-bottom: 2px !important;
  }
  .hg-auth-menu li a {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 576px) {
  .hg-auth-btn-account span {
    display: none !important;
  }
  .hg-auth-btn-account {
    padding: 7px 10px !important;
  }
}

/* ==========================================================
   Perfect Panel Dinamik Form Kontrolleri & Tablo Stilleri (Dark Theme)
   ========================================================== */
.form-control,
select.form-control,
textarea.form-control,
input.form-control {
  background-color: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  font-family: var(--font-main) !important;
  font-size: 14px !important;
  box-shadow: none !important;
  transition: var(--transition) !important;
  height: auto !important;
  min-height: 44px !important;
}

.form-control:focus,
select.form-control:focus,
textarea.form-control:focus,
input.form-control:focus {
  border-color: var(--brand-light) !important;
  background-color: #0d1428 !important;
  box-shadow: 0 0 0 3px rgba(146, 90, 221, 0.25) !important;
  color: #ffffff !important;
}

select.form-control option {
  background-color: #101628 !important;
  color: #ffffff !important;
}

/* Perfect Panel Siparişler & Genel Tablolar */
.well,
.well-float,
.panel,
.panel-default {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-main) !important;
  box-shadow: var(--shadow-card) !important;
}

.table {
  background-color: transparent !important;
  color: var(--text-main) !important;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th {
  background: #080c18 !important;
  color: var(--text-muted) !important;
  border-bottom: 1px solid var(--border-color) !important;
  border-top: none !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 16px !important;
}

.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-top: none !important;
  color: #cbd5e1 !important;
  vertical-align: middle !important;
  padding: 14px 16px !important;
  font-size: 13.5px !important;
  background: transparent !important;
}

.table > tbody > tr:hover td {
  background-color: rgba(146, 90, 221, 0.06) !important;
  color: #ffffff !important;
}

/* Siparişler Sekmeleri (Nav Pills) */
.nav-pills > li > a {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-muted) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  margin-right: 6px !important;
  transition: var(--transition) !important;
}

.nav-pills > li > a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:focus,
.nav-pills > li.active > a:hover {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary)) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(116, 68, 180, 0.35) !important;
}

/* Input group addon ve arama butonları */
.input-group-addon,
.input-group-btn .btn-default {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-muted) !important;
}

/* Servis Yıldız Butonu (Favori) */
[data-favorite-service-id] {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
}
[data-favorite-service-id] i {
  color: var(--text-subtle) !important;
  transition: var(--transition);
}
[data-favorite-service-id]:hover i {
  color: #f59e0b !important;
  transform: scale(1.2);
}
[data-favorite-service-id].favorite-active i,
.favorite-active [data-favorite-icon] {
  color: #f59e0b !important;
}
