/* ============================================================
   FD Express Kurye — Ana Stil Dosyası
   Font: Nunito | Palet: Saf Mavi + Beyaz (Kurumsal)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Nunito+Sans:wght@400;600;700&display=swap');

/* ---- CSS DEĞİŞKENLERİ ---- */
:root {
  --blue-50:   #eff6ff;
  --blue-100:  #dbeafe;
  --blue-200:  #bfdbfe;
  --blue-300:  #93c5fd;
  --blue-400:  #60a5fa;
  --blue-500:  #3b82f6;
  --blue-600:  #2563eb;
  --blue-700:  #1d4ed8;
  --blue-800:  #1e40af;
  --blue-900:  #1e3a8a;
  --blue-950:  #172554;

  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-300:  #cbd5e1;
  --gray-400:  #94a3b8;
  --gray-500:  #64748b;
  --gray-600:  #475569;
  --gray-700:  #334155;
  --gray-800:  #1e293b;
  --gray-900:  #0f172a;

  --success:   #10b981;
  --warning:   #f59e0b;
  --danger:    #ef4444;
  --info:      #06b6d4;

  --font:      'Nunito', sans-serif;
  --font-sans: 'Nunito Sans', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 16px rgba(37,99,235,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(37,99,235,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 24px 64px rgba(37,99,235,.18);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl:32px;

  --transition: all .22s cubic-bezier(.4,0,.2,1);
  --header-h:  72px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: var(--font); }
ul { list-style: none; }

/* ---- HEADER ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--blue-100);
  box-shadow: 0 2px 20px rgba(37,99,235,.07);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(37,99,235,.13);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 900; color: var(--blue-700);
  letter-spacing: -.5px;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.logo-icon svg { width: 24px; height: 24px; fill: white; }
.logo span { color: var(--blue-500); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 16px;
  font-size: .93rem; font-weight: 600;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.nav a.active { color: var(--blue-700); background: var(--blue-100); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---- BUTONLAR ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px;
  font-family: var(--font); font-size: .93rem; font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: white;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-200);
}
.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
}
.btn-white {
  background: white;
  color: var(--blue-700);
  box-shadow: var(--shadow);
}
.btn-white:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--gray-600); padding: 8px 14px; }
.btn-ghost:hover { color: var(--blue-600); background: var(--blue-50); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 14px; font-size: .84rem; border-radius: var(--radius-sm); }
.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--blue-950) 0%, var(--blue-800) 45%, var(--blue-600) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: var(--header-h);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(255,255,255,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(96,165,250,.15) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-particles {
  position: absolute; inset: 0; overflow: hidden;
}
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.12);
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-content {
  max-width: 1280px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 460px;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 20px;
  font-size: .82rem; font-weight: 700; color: white;
  letter-spacing: .3px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .7; }
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: transparent;
  background: linear-gradient(90deg, #93c5fd, #c4b5fd, #86efac);
  -webkit-background-clip: text; background-clip: text;
}
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,.8);
  margin-bottom: 36px; max-width: 520px;
  line-height: 1.7;
}
.hero-stats {
  display: flex; gap: 32px; margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  display: block; font-size: 1.8rem; font-weight: 900;
  color: white; line-height: 1;
}
.hero-stat .lbl {
  font-size: .78rem; color: rgba(255,255,255,.65); font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}

/* ---- FIYAT HESAPLAMA KARTI (Hero) ---- */
.price-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.price-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.price-card-header h3 {
  font-size: 1.1rem; font-weight: 800; color: var(--blue-800);
}
.price-card-icon {
  width: 40px; height: 40px;
  background: var(--blue-100);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: .82rem; font-weight: 700;
  color: var(--gray-600); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px;
}
.form-control {
  width: 100%; padding: 11px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font); font-size: .93rem;
  color: var(--gray-800);
  transition: var(--transition);
  background: var(--gray-50);
}
.form-control:focus {
  outline: none;
  border-color: var(--blue-400);
  background: white;
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.price-result {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-top: 16px;
  display: none;
}
.price-result.show { display: block; }
.price-result-label { font-size: .8rem; color: rgba(255,255,255,.8); font-weight: 600; margin-bottom: 4px; }
.price-result-amount { font-size: 2.2rem; font-weight: 900; color: white; line-height: 1; }
.price-result-detail { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 4px; }
.price-breakdown { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.2); }
.price-row { display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.85); padding: 2px 0; }
.price-row.total { font-weight: 800; font-size: .9rem; color: white; border-top: 1px solid rgba(255,255,255,.3); margin-top: 6px; padding-top: 6px; }

/* ---- BÖLÜMLER ---- */
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block;
  background: var(--blue-100); color: var(--blue-700);
  font-size: .78rem; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; padding: 5px 14px;
  border-radius: 50px; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900; color: var(--gray-900);
  letter-spacing: -.5px; line-height: 1.2;
  margin-bottom: 14px;
}
.section-desc { font-size: 1.05rem; color: var(--gray-500); max-width: 560px; margin: 0 auto; }

/* ---- HİZMET KARTLARI ---- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured { border-color: var(--blue-300); background: linear-gradient(135deg, var(--blue-50), white); }
.service-card.featured::before { transform: scaleX(1); }
.service-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--blue-600); color: white;
  font-size: .7rem; font-weight: 800; padding: 3px 10px;
  border-radius: 50px; letter-spacing: .3px;
}
.service-icon {
  width: 64px; height: 64px;
  background: var(--blue-100);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--blue-600); transform: scale(1.05); }
.service-card:hover .service-icon svg { fill: white; stroke: white; }
.service-name { font-size: 1.1rem; font-weight: 800; color: var(--gray-800); margin-bottom: 6px; }
.service-desc { font-size: .87rem; color: var(--gray-500); margin-bottom: 16px; line-height: 1.5; }
.service-price { font-size: 1.5rem; font-weight: 900; color: var(--blue-700); }
.service-price span { font-size: .8rem; color: var(--gray-400); font-weight: 600; }

/* ---- TAKİP ---- */
.tracking-section {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white;
}
.tracking-card {
  max-width: 700px; margin: 0 auto;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-2xl);
  padding: 48px;
}
.tracking-card h2 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.tracking-card p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.tracking-input-wrap {
  display: flex; gap: 12px;
}
.tracking-input {
  flex: 1; padding: 14px 18px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  color: white; font-family: var(--font); font-size: 1rem;
  font-weight: 700; letter-spacing: 1px;
}
.tracking-input::placeholder { color: rgba(255,255,255,.5); font-weight: 400; letter-spacing: 0; }
.tracking-input:focus { outline: none; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.2); }

.tracking-result { margin-top: 28px; display: none; }
.tracking-result.show { display: block; }
.tracking-order-info {
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  display: flex; gap: 20px; flex-wrap: wrap;
}
.tracking-order-info .info-item { flex: 1; min-width: 130px; }
.tracking-order-info .info-label { font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.tracking-order-info .info-value { font-weight: 800; font-size: .95rem; }
.tracking-steps { display: flex; flex-direction: column; gap: 0; }
.tracking-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 12px 0; position: relative;
}
.tracking-step:not(:last-child)::after {
  content: ''; position: absolute; left: 17px; top: 44px;
  width: 2px; height: calc(100% - 12px);
  background: rgba(255,255,255,.2);
}
.tracking-step.completed .step-line { background: rgba(74,222,128,.5); }
.step-dot {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.2);
  position: relative; z-index: 1;
}
.tracking-step.completed .step-dot {
  background: var(--success); border-color: var(--success);
}
.tracking-step.current .step-dot {
  background: var(--blue-400); border-color: var(--blue-300);
  box-shadow: 0 0 16px rgba(96,165,250,.5);
  animation: stepPulse 1.5s infinite;
}
@keyframes stepPulse {
  0%,100% { box-shadow: 0 0 16px rgba(96,165,250,.5); }
  50% { box-shadow: 0 0 24px rgba(96,165,250,.8); }
}
.step-content { flex: 1; }
.step-title { font-weight: 700; font-size: .95rem; }
.step-time { font-size: .78rem; opacity: .7; margin-top: 2px; }

/* ---- NASIL ÇALIŞIR ---- */
.how-section { background: var(--gray-50); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 36px; left: 12%; right: 12%;
  height: 2px; background: linear-gradient(90deg, var(--blue-300), var(--blue-200), var(--blue-300));
}
.step-card { text-align: center; position: relative; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: white; font-size: 1.5rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
  position: relative; z-index: 1;
}
.step-card h4 { font-size: 1rem; font-weight: 800; color: var(--gray-800); margin-bottom: 8px; }
.step-card p { font-size: .87rem; color: var(--gray-500); }

/* ---- YORUMLAR ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: white; border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-100);
  padding: 28px; transition: var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.review-stars { color: #fbbf24; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: .92rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-700);
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.reviewer-name { font-weight: 700; font-size: .93rem; color: var(--gray-800); }
.reviewer-city { font-size: .8rem; color: var(--gray-500); }

/* ---- SSS ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 20px 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: .97rem; color: var(--gray-800);
  background: white; transition: var(--transition);
}
.faq-question:hover { background: var(--blue-50); color: var(--blue-700); }
.faq-item.open .faq-question { background: var(--blue-50); color: var(--blue-700); }
.faq-icon { font-size: 1.2rem; font-weight: 300; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .9rem; color: var(--gray-600); line-height: 1.7;
  background: var(--blue-50);
}
.faq-item.open .faq-answer { max-height: 300px; padding: 16px 24px 20px; }

/* ---- CTA ---- */
.cta-section {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-950));
  color: white; text-align: center;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 14px; }
.cta-section p { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { color: white; margin-bottom: 14px; }
.footer-brand p { font-size: .87rem; line-height: 1.7; color: var(--gray-400); max-width: 280px; margin-bottom: 20px; }
.footer-title { font-size: .85rem; font-weight: 800; color: white; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .87rem; color: var(--gray-400); transition: var(--transition); }
.footer-links a:hover { color: var(--blue-400); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: .87rem; color: var(--gray-400); margin-bottom: 10px; align-items: flex-start; }
.footer-contact li span:first-child { color: var(--blue-400); font-size: 1rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .84rem; color: var(--gray-500);
}
.footer-badges { display: flex; gap: 10px; align-items: center; }
.footer-badge {
  background: var(--gray-800); border: 1px solid var(--gray-700);
  border-radius: var(--radius-sm); padding: 5px 12px;
  font-size: .75rem; font-weight: 700; color: var(--gray-400);
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--gray-800);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: .95rem; transition: var(--transition);
}
.social-link:hover { background: var(--blue-700); color: white; }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(15,23,42,.7);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: white; border-radius: var(--radius-2xl);
  width: 100%; max-width: 640px; max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(.95) translateY(20px);
  transition: transform .3s, opacity .25s;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1.5px solid var(--gray-100);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 { font-size: 1.25rem; font-weight: 800; color: var(--gray-900); }
.modal-close {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--gray-100); color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; transition: var(--transition);
}
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 28px 32px; }
.modal-footer {
  padding: 20px 32px 28px;
  border-top: 1.5px solid var(--gray-100);
  display: flex; gap: 12px; justify-content: flex-end;
}

/* ---- ORDER FORM ---- */
.order-steps {
  display: flex; gap: 0; margin-bottom: 28px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--gray-100);
}
.order-step {
  flex: 1; text-align: center; padding: 10px 8px;
  font-size: .78rem; font-weight: 700; color: var(--gray-400);
  transition: var(--transition); position: relative;
}
.order-step.active { background: var(--blue-600); color: white; }
.order-step.done { background: var(--blue-100); color: var(--blue-600); }
.order-step-num { display: block; font-size: 1rem; font-weight: 900; line-height: 1; margin-bottom: 2px; }

/* ---- TOAST ---- */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  display: flex; align-items: flex-start; gap: 12px;
  background: white; border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--blue-500);
  min-width: 300px; max-width: 420px;
  animation: slideIn .3s ease;
}
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.warning { border-color: var(--warning); }
@keyframes slideIn {
  from { transform: translateX(100px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.toast-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.toast-text { flex: 1; font-size: .88rem; font-weight: 600; color: var(--gray-700); line-height: 1.6; }
.toast-text strong { color: var(--gray-900); display: block; margin-bottom: 3px; }
.toast-close { color: var(--gray-400); font-size: 1rem; cursor: pointer; flex-shrink: 0; margin-top: 1px; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: var(--transition);
  animation: float-btn 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes float-btn {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ---- PROGRESS BAR ---- */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  transition: width .1s;
}

/* ---- MÜŞTERİ PANELİ ---- */
.dashboard-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  min-height: 100vh; padding-top: var(--header-h);
}
.sidebar {
  background: white;
  border-right: 1.5px solid var(--gray-100);
  padding: 24px 0;
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.sidebar-user {
  padding: 0 20px 20px; border-bottom: 1px solid var(--gray-100); margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
}
.sidebar-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-700);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sidebar-name { font-weight: 700; font-size: .93rem; color: var(--gray-800); }
.sidebar-email { font-size: .78rem; color: var(--gray-400); }
.sidebar-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  font-size: .9rem; font-weight: 600;
  color: var(--gray-600); transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-menu a:hover { color: var(--blue-600); background: var(--blue-50); }
.sidebar-menu a.active { color: var(--blue-700); background: var(--blue-50); border-left-color: var(--blue-600); }
.sidebar-menu a span { font-size: 1.1rem; width: 20px; text-align: center; }
.main-content { padding: 32px; background: var(--gray-50); }

/* ---- BADGE ---- */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 50px;
  font-size: .75rem; font-weight: 700;
}
.badge-warning  { background: #fef3c7; color: #92400e; }
.badge-info     { background: #cffafe; color: #164e63; }
.badge-primary  { background: var(--blue-100); color: var(--blue-800); }
.badge-blue     { background: var(--blue-100); color: var(--blue-700); }
.badge-success  { background: #d1fae5; color: #065f46; }
.badge-danger   { background: #fee2e2; color: #991b1b; }
.badge-secondary{ background: var(--gray-100); color: var(--gray-600); }

/* ---- KART ---- */
.card {
  background: white; border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-100);
  overflow: hidden;
}
.card-header {
  padding: 20px 24px;
  border-bottom: 1.5px solid var(--gray-100);
  display: flex; justify-content: space-between; align-items: center;
}
.card-header h4 { font-weight: 800; font-size: 1rem; color: var(--gray-800); }
.card-body { padding: 24px; }

/* ---- MİNİMAL TABLO ---- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 11px 16px;
  font-size: .78rem; font-weight: 800; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: .5px;
  background: var(--gray-50); text-align: left;
  border-bottom: 1.5px solid var(--gray-100);
}
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--gray-50); font-size: .9rem; color: var(--gray-700); }
tbody tr:hover td { background: var(--blue-50); }
tbody tr:last-child td { border-bottom: none; }

/* ---- MOBİL ---- */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--gray-700); border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: white; padding-top: var(--header-h);
  flex-direction: column; padding: calc(var(--header-h) + 24px) 24px 24px;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); display: flex; }
.mobile-menu .nav { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.mobile-menu .nav a { display: block; font-size: 1.05rem; padding: 12px 16px; }
.mobile-menu .header-actions { display: flex; flex-direction: column; width: 100%; margin-top: 20px; }
.mobile-menu .btn { width: 100%; justify-content: center; }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .hero-content { grid-template-columns: 1fr; max-width: 600px; }
  .price-card { margin-top: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .header .nav, .header .header-actions { display: none; }
  .hamburger { display: flex; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .tracking-card { padding: 28px 20px; }
  .tracking-input-wrap { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main-content { padding: 20px 16px; }
}

/* Fiyat hesaplayıcı - mobil */
@media (max-width: 768px) {
  .price-card {
    display: block !important;
    margin: 24px 16px 0;
    padding: 24px 20px;
  }
  .price-result-amount { font-size: 1.8rem; }
}

/* Auth sayfaları mobil düzeltmesi */
@media (max-width: 520px) {
  .auth-card { padding: 28px 16px !important; }
  .auth-wrap { padding: 24px 16px !important; }
}

/* Mobil bottom nav (müşteri/kurye paneli için) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1.5px solid #e2e8f0;
  z-index: 999;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(15, 23, 42, .08);
}
.mobile-bottom-nav .nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
}
.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 4px;
  text-decoration: none;
  color: #64748b;
  font-size: .66rem;
  font-weight: 700;
  border-radius: 8px;
  transition: .15s;
}
.mobile-bottom-nav a .icon { font-size: 1.2rem; line-height: 1; }
.mobile-bottom-nav a.active { color: #2563eb; background: #eff6ff; }
.mobile-bottom-nav a:active { transform: scale(.96); }

@media (max-width: 768px) {
  .mobile-bottom-nav { display: block; }
  .has-bottom-nav .main-content { padding-bottom: 80px !important; }
}