/* ==========================================================================
   Ankara Gece Express - Mobil Dönüşüm (CRO) Odaklı Stil Dosyası
   Google Ads 10/10 Kalite Puanı & Yüksek Dönüşümlü Kurye Mimarisi
   ========================================================================== */

:root {
  /* Aydınlık Mod (Temiz, kurumsal, güven veren renkler) */
  --bg-base: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-subtle: #f1f5f9;
  --bg-pill: #e2e8f0;
  --bg-pill-active: #ea580c;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --border-light: #e2e8f0;
  --border-accent: #ea580c;
  
  /* Dönüşüm Eylem Renkleri (Sıcak turuncu çağrı & Zümrüt WhatsApp) */
  --btn-call: #ea580c;
  --btn-call-hover: #c2410c;
  --btn-call-shadow: rgba(234, 88, 12, 0.35);
  
  --btn-wa: #16a34a;
  --btn-wa-hover: #15803d;
  --btn-wa-shadow: rgba(22, 163, 74, 0.35);
  
  --status-live: #22c55e;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1080px;
}

[data-theme="dark"] {
  /* Koyu Mod (Gece marketine uygun derin obsidyen ve antrasit) */
  --bg-base: #090d16;
  --bg-card: #111827;
  --bg-card-hover: #172033;
  --bg-subtle: #172033;
  --bg-pill: #1f293d;
  --bg-pill-active: #f97316;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #090d16;
  
  --border-light: #1e293b;
  --border-accent: #f97316;
  
  --btn-call: #ea580c;
  --btn-call-hover: #f97316;
  --btn-call-shadow: rgba(234, 88, 12, 0.45);
  
  --btn-wa: #16a34a;
  --btn-wa-hover: #22c55e;
  --btn-wa-shadow: rgba(22, 163, 74, 0.45);
}

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

html {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 86px; /* Mobilde yapışkan alt butonlar için alan */
  background-color: var(--bg-base);
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 64px;
    gap: 1rem;
  }
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
  min-width: 0;
}

.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-call);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--btn-call-shadow);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .brand-badge {
    width: 38px;
    height: 38px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .brand-title {
    font-size: 1.05rem;
  }
}

.brand-sub {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .brand-sub {
    font-size: 0.72rem;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-right {
    gap: 0.5rem;
  }
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-full);
  background-color: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(34, 197, 94, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.live-text-mobile {
  display: inline;
}

.live-text-desktop {
  display: none;
}

@media (min-width: 640px) {
  .live-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }
  .live-text-mobile {
    display: none;
  }
  .live-text-desktop {
    display: inline;
  }
}

[data-theme="dark"] .live-pill {
  color: #4ade80;
  background-color: rgba(34, 197, 94, 0.18);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--status-live);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--status-live);
  opacity: 0.7;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-desktop-call {
  display: none;
}

@media (min-width: 840px) {
  .header-desktop-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-md);
    background-color: var(--btn-call);
    color: #fff;
    font-weight: 800;
    font-size: 0.92rem;
    box-shadow: 0 4px 14px var(--btn-call-shadow);
    transition: transform 0.15s ease, background-color 0.15s ease;
  }
  .header-desktop-call:hover {
    background-color: var(--btn-call-hover);
    transform: translateY(-1px);
  }
}

/* Hero Section */
.hero {
  padding: 2.25rem 0 2rem;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }
}

.hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hero-notice .bold-tag {
  color: var(--btn-call);
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.1rem;
  }
}

.hero-title .hero-highlight {
  color: var(--btn-call);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 1.75rem;
}

/* Çift Dönüşüm Butonları */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

@media (min-width: 540px) {
  .hero-cta {
    flex-direction: row;
    max-width: 580px;
  }
}

.btn-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  border: 1px solid transparent;
  user-select: none;
}

.btn-action:active {
  transform: scale(0.97);
}

.btn-action-phone {
  background-color: var(--btn-call);
  border-color: #c2410c;
  box-shadow: 0 4px 14px var(--btn-call-shadow);
}

.btn-action-phone:hover {
  background-color: var(--btn-call-hover);
  box-shadow: 0 6px 20px var(--btn-call-shadow);
}

.btn-action-wa {
  background-color: var(--btn-wa);
  border-color: #15803d;
  box-shadow: 0 4px 14px var(--btn-wa-shadow);
}

.btn-action-wa:hover {
  background-color: var(--btn-wa-hover);
  box-shadow: 0 6px 20px var(--btn-wa-shadow);
}

/* Hızlı İhtiyaç / WhatsApp Sepet Oluşturucu (Micro-CRO Widget) */
.quick-builder-card {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: left;
}

@media (min-width: 640px) {
  .quick-builder-card {
    padding: 1.5rem 1.75rem;
  }
}

.builder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.builder-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.builder-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.builder-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.item-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background-color: var(--bg-pill);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.item-pill:hover {
  border-color: var(--border-accent);
}

.item-pill.selected {
  background-color: var(--btn-call);
  color: #fff;
  border-color: var(--btn-call);
  box-shadow: 0 2px 8px var(--btn-call-shadow);
}

.item-pill .pill-check {
  display: none;
}

.item-pill.selected .pill-check {
  display: inline-block;
}

.builder-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--btn-wa);
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px var(--btn-wa-shadow);
}

.builder-submit-btn:hover {
  background-color: var(--btn-wa-hover);
}

.builder-submit-btn:active {
  transform: scale(0.98);
}

/* Güven Rozetleri Çubuğu */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 720px;
  margin: 1.75rem auto 0;
}

@media (min-width: 640px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: left;
}

.trust-cell-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  color: var(--btn-call);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-cell-text {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.trust-cell-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--btn-call);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Kategori Kartları */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.cat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .cat-card:hover {
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}

.cat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  color: var(--btn-call);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.cat-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.cat-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.cat-action {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  color: var(--btn-wa);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 0.15s ease;
}

.cat-action:hover {
  background-color: rgba(22, 163, 74, 0.15);
}

/* Nasıl Çalışır? (3 Adım) */
.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  position: relative;
}

.step-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  font-weight: 900;
  color: var(--border-light);
  line-height: 1;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  color: var(--btn-call);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.step-detail {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Hizmet Bölgeleri */
.regions-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
}

.regions-group {
  margin-bottom: 1.25rem;
}

.regions-group:last-child {
  margin-bottom: 0;
}

.regions-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.area-tag {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.area-tag.primary {
  background-color: rgba(234, 88, 12, 0.1);
  color: var(--btn-call);
  border-color: rgba(234, 88, 12, 0.25);
  font-weight: 700;
}

/* SSS Accordion */
.faq-box {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
}

.faq-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

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

.faq-body {
  display: none;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.faq-card.active .faq-body {
  display: block;
}

/* Bilgilendirme Notu */
.service-notice {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.notice-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  color: var(--btn-call);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notice-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer-col p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--btn-call);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Mobil Yapışkan Dönüşüm Çubuğu (Persistent Floating Dock) */
.mobile-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  padding: 0.65rem 0.85rem;
  display: flex;
  gap: 0.65rem;
}

@media (min-width: 769px) {
  .mobile-dock {
    display: none;
  }
}

.dock-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
  transition: transform 0.1s ease;
}

.dock-btn:active {
  transform: scale(0.97);
}

.dock-btn-call {
  background-color: var(--btn-call);
  box-shadow: 0 4px 12px var(--btn-call-shadow);
}

.dock-btn-wa {
  background-color: var(--btn-wa);
  box-shadow: 0 4px 12px var(--btn-wa-shadow);
}
