/* ─── CYCC — Sticky Card Collection (Smooth Light) ─── */
:root {
  --bg: #f8fafc;        /* Genel arka plan çok açık gri */
  --surface: #ffffff;   /* Kartlar bembeyaz */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  
  --brand: #0f2c59;     /* Porsche vari lacivert marka rengi */
  --brand-light: #1a4585;
  --danger: #dc2626;
  
  --nav-height: 80px;
  --radius-lg: 32px;    /* Dev kartların köşe yuvarlaklığı */
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: transparent;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── SPLASH SCREEN (AAA DESIGNER) ─── */
.splash-screen {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: var(--bg); 
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Tüm animasyon bittikten sonra perde fade-out ile yok olacak */
  animation: fadeOutSplash 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: 2.6s;
  pointer-events: none;
}

.splash-logo-wrap {
  width: 100%;
  max-width: 220px; /* SVG çok daha zarif ve küçük */
}

.splash-svg {
  width: 100%;
  height: auto;
  /* Çizim bittikten sonra çok ufak bir metalik parlama atıp normale döner */
  animation: fillGlow 1.5s ease-out forwards;
  animation-delay: 1.8s;
}

/* Çizgi animasyonu (Stroke) */
.draw-path {
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  /* Çizgiler pürüzsüzce, tek döngüde akıp bitecek (1.8s) */
  animation: designerDraw 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.p-1 { animation-delay: 0.1s; }
.p-2 { animation-delay: 0.3s; }
.p-3 { animation-delay: 0.5s; }
.p-4 { animation-delay: 0.7s; }

@keyframes designerDraw {
  0% { stroke-dashoffset: 4000; opacity: 0; }
  10% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes fillGlow {
  0% { fill: transparent; }
  50% { fill: rgba(255, 255, 255, 0.05); } 
  100% { fill: transparent; }
}

@keyframes fadeOutSplash {
  0% { opacity: 1; }
  100% { opacity: 0; display: none; }
}

/* Sayfa açılışında scroll kilitli */
body.splash-active {
  overflow: hidden;
}

/* ─── WINDOWS STYLE CUSTOM CURSOR ─── */
/* Klasik Beyaz Windows Oku (Siyah kenarlıklı) SVG Data URI */
body, html {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 2.5v17l5-5h7z' fill='%23ffffff' stroke='%23000000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}

/* Tıklanabilir alanlar için Klasik Windows 'El' (Pointer) İmleci */
a, button, input[type="submit"], input[type="radio"], input[type="checkbox"], select, label {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 12V3.5a1.5 1.5 0 0 1 3 0V9h1V2.5a1.5 1.5 0 0 1 3 0V9h1V4.5a1.5 1.5 0 0 1 3 0V11a7.5 7.5 0 0 1-15 0v-4a1.5 1.5 0 0 1 3 0V12z' fill='%23ffffff' stroke='%23000000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 8 2, pointer !important;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
input[type="text"], input[type="email"], input[type="number"], input[type="tel"], textarea { cursor: text; }

/* ─── GLOBAL VIDEO BACKGROUND ─── */
.global-video-wrap {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  z-index: -1;
  background: #ffffff;
}
.global-video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); 
}
.global-video-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  /* Beyaz, yarı saydam ve çok güçlü buzlu cam efekti */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: none;
}

/* ─── NAVBAR ─── */
.nav-wrap {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  height: var(--nav-height);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand {
  font-family: 'Michroma', sans-serif;
  font-size: 18px; font-weight: 400; letter-spacing: 0.15em; 
  color: var(--text-main); /* Beyaz buzlu arka plan üstünde siyah */
  text-transform: uppercase;
}
.brand span { 
  font-size: 12px; letter-spacing: 0.2em; color: var(--text-muted); 
  display: block; margin-top: -2px;
}

.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text-main); }

.nav-links .btn-nav { 
  background: var(--brand); color: #fff !important; 
  padding: 10px 20px; border-radius: var(--radius); border: none; cursor:pointer;
  transition: all 0.2s;
}
.nav-links .btn-nav:hover { background: var(--brand-light); }

/* ─── MOBILE NAVBAR ─── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 101; 
}
.nav-burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: center;
}

/* Burger X Animasyonu */
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--text-main); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--text-main); }

@media (max-width: 768px) {
  .nav-wrap { height: 72px; }
  .brand { font-size: 16px; }

  .nav-burger { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { 
    display: block; 
    padding: 16px; 
    font-size: 24px; 
    font-weight: 800; 
    color: var(--text-main) !important; 
    letter-spacing: -0.02em;
  }
  
  .nav-links .btn-nav {
    margin: 24px auto 0;
    display: block;
    width: 100%;
    max-width: 280px;
    padding: 18px;
    font-size: 16px;
    background: var(--brand) !important;
    color: #fff !important;
    border-color: var(--brand) !important;
  }
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-weight: 700; color: var(--text-main); letter-spacing: -0.03em; }
.sec-title { font-size: clamp(32px, 5vw, 48px); margin-bottom: 16px; font-weight: 800; letter-spacing: -0.04em; }
.sec-desc { font-size: 18px; color: var(--text-muted); max-width: 640px; line-height: 1.7; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
  padding: 120px 0 160px;
  z-index: 1;
}
.hero-title { font-size: clamp(48px, 8vw, 96px); font-weight: 800; line-height: 1; margin-bottom: 32px; color: var(--text-main); letter-spacing: -0.04em; }
.hero-title span { color: var(--brand); }
.hero-desc { font-size: 20px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.6; font-weight: 500;}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 48px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; font-size: 15px; font-weight: 600;
  border-radius: var(--radius); cursor: pointer; border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1); letter-spacing: 0.02em;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(15, 44, 89, 0.2); }
.btn-primary:hover { background: var(--brand-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(15, 44, 89, 0.3); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text-main); }
.btn-outline:hover { background: var(--surface); border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; border-color: var(--border); color: var(--text-main); }
.btn-outline-dark:hover { border-color: var(--text-main); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* Hero Buton Overrides İptal (Standart kalsın) */

/* ─── PURE SEAMLESS FLOW LAYOUT ─── */
.stack-container {
  width: 100%;
  position: relative;
  z-index: 2;
  background: #ffffff; /* Tüm içerik alanı bembeyaz olacak */
  border-top: 1px solid rgba(0,0,0,0.05);
}

.card-wrapper {
  width: 100%;
}

.card-section {
  position: relative;
  background: #ffffff; 
  padding: 120px 0;
  margin: 0; 
  border-radius: 0;
  box-shadow: none;
  border-top: none;
  border-bottom: 1px solid rgba(0,0,0,0.05); /* Bölümler arası ince şık bir çizgi */
  overflow: hidden;
}
.card-section:last-child {
  border-bottom: none;
  padding-bottom: 160px;
}

@media (max-width: 768px) {
  .card-section { padding: 80px 0; }
}

/* ─── SECTION NUMBER INDICATOR ─── */
.section-number {
  position: absolute;
  top: 48px;
  right: 48px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Michroma', monospace;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  opacity: 0; /* JS ile animasyonla belirecek */
  transform: scale(0.8) rotate(-15deg); /* Hafif döndürülmüş ve küçük başlasın */
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 768px) {
  .card-section { padding: 60px 0; border-radius: 24px 24px 0 0; margin-top: -40px; }
  .card-section:first-child { margin-top: -60px; }
  .section-number { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 12px; }
}

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

/* ─── STATS ─── */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 60px; border-bottom: 1px solid var(--border); margin-bottom: 60px; }
.stat-item { text-align: center; }
.stat-num { font-size: clamp(32px, 5vw, 56px); font-weight: 800; color: var(--brand); margin-bottom: 4px; letter-spacing: -0.04em; }
.stat-lbl { font-size: 13px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; gap: 32px; } .hero-actions { flex-direction: column; } }

/* ─── SERVICES ─── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); margin-top: 64px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.svc-card {
  padding: 48px 32px; background: var(--surface); transition: background 0.3s;
}
.svc-card:hover { background: #f8fafc; }
.svc-icon { font-size: 13px; font-weight: 800; color: var(--brand); margin-bottom: 24px; letter-spacing: 0.1em; display: inline-block; border-bottom: 2px solid var(--brand); padding-bottom: 8px;}
.svc-title { font-size: 22px; margin-bottom: 12px; color: var(--text-main); font-weight: 800; letter-spacing: -0.02em; }
.svc-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 768px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .svc-grid { grid-template-columns: 1fr; } }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { border-radius: 20px; overflow: hidden; background: var(--bg); aspect-ratio: 4/5; }
.about-content p { margin-bottom: 24px; color: var(--text-muted); font-size: 17px; line-height: 1.8; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ─── CONTACT / FOOTER IN STICKY CARD ─── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.contact-card { padding: 48px 32px; border-radius: var(--radius-lg); background: var(--bg); text-align: center; }
.contact-card h4 { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;}
.contact-card p { font-size: 18px; font-weight: 700; color: var(--text-main); }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--border); padding-top: 48px; margin-top: 80px;}
.footer-copy { font-size: 14px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.footer-links a:hover { color: var(--text-main); }


/* ─── MODAL & STEP WIZARD (LIGHT THEME) ─── */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-container {
  background: var(--surface); width: 100%; max-width: 720px; max-height: 90vh;
  border-radius: 20px; box-shadow: 0 40px 100px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.05);
  display: flex; flex-direction: column;
  transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-container { transform: translateY(0); }
.modal-header {
  padding: 32px 40px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-title { font-size: 20px; font-weight: 800; color: var(--text-main); margin: 0; letter-spacing: -0.02em; }
.modal-close {
  background: none; border: none; font-size: 28px; color: var(--text-muted);
  cursor: pointer; line-height: 1; padding: 0; transition: color 0.2s;
}
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 40px; overflow-y: auto; }

/* ─── COLOR SWATCHES ─── */
.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.color-swatch {
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch input[type="radio"] {
  opacity: 0; position: absolute; width: 100%; height: 100%; cursor: pointer; margin:0;
}
/* Seçili olduğunda etrafında mavi bir halka */
.color-swatch:has(input:checked) {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand);
}
.custom-color-wrap {
  background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
  border: 1px solid var(--border);
}
.custom-color-icon {
  position: absolute; font-size: 16px; font-weight: bold; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.5); pointer-events: none;
}
/* ─── MODAL STEP WIZARD (ULTRA SMOOTH) ─── */
.step-indicators { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; position: relative; }
.step-item { display: flex; flex-direction: column; align-items: center; z-index: 2; width: 25%; }
.step-circle { 
  width: 36px; height: 36px; border-radius: 50%; background: var(--surface); 
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; 
  font-size: 14px; font-weight: 700; color: var(--text-muted); transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1); 
}
.step-item.active .step-circle { border-color: var(--brand); background: var(--brand); color: #fff; transform: scale(1.1); box-shadow: 0 4px 10px rgba(15, 44, 89, 0.2); }
.step-item.done .step-circle { border-color: var(--brand); color: var(--brand); background: var(--surface); }
.step-label { 
  font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); 
  margin-top: 10px; letter-spacing: 0.05em; text-align: center; transition: color 0.4s;
}
.step-item.active .step-label, .step-item.done .step-label { color: var(--text-main); }
.step-line-bg { position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); z-index: 1; }
.step-line-fill { height: 100%; background: var(--brand); width: 0%; transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1); }

/* Pürüzsüz Adım Geçişleri */
.step-panel { 
  display: none; 
  opacity: 0; 
  transform: translateX(20px); 
}
.step-panel.active { 
  display: block; 
  animation: slideFadeIn 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards; 
}
@keyframes slideFadeIn { 
  from { opacity: 0; transform: translateX(20px); } 
  to { opacity: 1; transform: translateX(0); } 
}

/* Hata Durumunda Titreme Animasyonu (Shake) */
.shake-error {
  animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.form-header { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-main); border-bottom: 2px solid var(--bg); padding-bottom: 12px; margin-bottom: 24px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.f-row.full { grid-template-columns: 1fr; }
.f-group { display: flex; flex-direction: column; }
.f-label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em;}
.f-label .req { color: var(--danger); margin-left: 2px; }

/* Pürüzsüz Inputlar */
.f-input {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; font-size: 15px; font-family: inherit; color: var(--text-main); font-weight: 500;
  transition: all 0.3s ease; outline: none; appearance: none;
}
.f-input:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px rgba(15,44,89,0.05); }
.f-input.invalid { border-color: var(--danger); background: #fef2f2; }
.f-input::placeholder { color: #94a3b8; font-weight: 400;}
textarea.f-input { min-height: 120px; resize: vertical; }
select.f-input { cursor: pointer; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 48px; }

/* Dosya Yükleme Butonu (Daha Şık) */
input[type="file"].f-input {
  padding: 12px 16px;
  cursor: pointer;
  background: #f8fafc;
  color: var(--text-muted);
}
input[type="file"].f-input::file-selector-button {
  border: none;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  margin-right: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
input[type="file"].f-input::file-selector-button:hover {
  background: var(--brand-light);
}

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-item {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); padding: 16px; background: var(--bg);
  border-radius: var(--radius); cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.2s;
}
.check-item:hover { border-color: var(--brand-light); background: #f0f4f8;}
.check-item.invalid-box { border-color: var(--danger); background: #fef2f2; }
.check-item input { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; margin: 0; }

.f-err, .check-err { font-size: 12px; color: var(--danger); margin-top: 6px; opacity: 0; transform: translateY(-4px); transition: all 0.3s; font-weight: 500; display: block; height: 0; overflow: hidden;}
.f-err.show, .check-err.show { opacity: 1; transform: translateY(0); height: auto; margin-top: 6px;}
.d-none { display: none !important; }

.step-actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--bg); padding-top: 32px; margin-top: 40px; }

.success-box { text-align: center; padding: 40px 20px; }
.success-icon { width: 72px; height: 72px; background: #f0fdf4; color: #166534; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 24px; }
.code-display { background: var(--bg); border: 1px solid var(--border); padding: 32px; border-radius: var(--radius); margin: 32px auto; max-width: 360px; }
.code-display p { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 8px; font-weight: 700; }
.code-display h3 { font-family: monospace; font-size: 28px; letter-spacing: 0.05em; color: var(--brand); margin: 0; font-weight: 800;}

@media (max-width: 600px) { .f-row { grid-template-columns: 1fr; } .check-grid { grid-template-columns: 1fr; } .modal-body, .modal-header { padding: 24px; } }

/* ─── DARK FOOTER ─── */
.footer-wrapper {
  position: relative;
  z-index: 10 !important; 
  width: 100%;
}

.site-footer {
  position: relative;
  background: #0f172a; /* Derin lacivert/siyah tonu */
  color: #ffffff;
  border-radius: 0; 
  box-shadow: none; 
  padding: 100px 0 60px;
  min-height: auto;
  overflow: hidden;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 60px;
  margin-bottom: 40px;
}

/* Minimalist Footer Grid */
.footer-minimal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.fm-col h4 {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.fm-link, .fm-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  text-decoration: none;
  transition: color 0.2s;
}
.fm-link:hover {
  color: var(--brand-light);
}
.fm-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-minimal-grid { grid-template-columns: 1fr; gap: 40px; }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-bottom .brand { font-size: 14px; color: #ffffff; }
.footer-bottom .brand span { color: rgba(255, 255, 255, 0.5); }
.footer-bottom .footer-copy { color: rgba(255, 255, 255, 0.5); font-size: 14px; }
.footer-bottom .footer-links { display: flex; gap: 24px; }
.footer-bottom .footer-links a { color: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 500; }
.footer-bottom .footer-links a:hover { color: #ffffff; }

.track-wrap { max-width: 720px; margin: 0 auto; }
.search-box { background: var(--surface); border: 1px solid var(--border); padding: 48px; border-radius: var(--radius-lg); box-shadow: 0 20px 40px rgba(0,0,0,0.03); margin-bottom: 32px; }
.search-input-group { display: flex; gap: 16px; margin-top: 24px; }
.search-input-group .f-input { flex: 1; font-family: monospace; font-size: 18px; letter-spacing: 1px; font-weight: 700; padding: 18px 24px;}
@media (max-width: 480px) { .search-input-group { flex-direction: column; } .search-box { padding: 24px; } }

.track-alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 20px; border-radius: var(--radius); font-size: 15px; margin-bottom: 32px; font-weight: 500;}

.result-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.03); }
.r-header { padding: 32px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; background: var(--bg); }
.r-code { font-family: monospace; font-size: 24px; font-weight: 800; color: var(--brand); letter-spacing: 1px; }

.badge { padding: 8px 16px; border-radius: 30px; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.badge.warn { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.badge.info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge.primary { background: #f0f4f8; color: var(--brand); border: 1px solid #cbd5e1; }
.badge.success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.badge.danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.r-grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.r-item { padding: 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.r-item:nth-child(2n) { border-right: none; }
.r-lbl { font-size: 12px; color: var(--text-muted); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.r-val { font-size: 16px; font-weight: 600; color: var(--text-main); }
@media (max-width: 480px) { .r-grid { grid-template-columns: 1fr; } .r-item { border-right: none; } }

.r-timeline { padding: 40px 32px; }
.tl-item { display: flex; gap: 20px; padding-bottom: 32px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: 7px; top: 24px; bottom: -8px; width: 2px; background: var(--border); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); margin-top: 4px; position: relative; z-index: 2; border: 2px solid var(--text-muted); }
.tl-dot.warn { border-color: #f59e0b; }
.tl-dot.info { border-color: #3b82f6; }
.tl-dot.primary { border-color: var(--brand); background: var(--brand); }
.tl-dot.success { border-color: #22c55e; }
.tl-content .tl-date { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }
.tl-content .tl-note { font-size: 16px; font-weight: 600; color: var(--text-main); }

/* ─── FLOATING CONTACT BUBBLES ─── */
.floating-bubbles {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 90; 
  animation: floatUp 1s cubic-bezier(0.19, 1, 0.22, 1) backwards;
  animation-delay: 1s; /* Sayfa açıldıktan 1 saniye sonra gelsinler */
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.bubble-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s;
}

.bubble-btn:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.bubble-call {
  background: var(--text-main); /* Siyah/koyu lacivert */
}

.bubble-wa {
  background: #25D366; /* Orijinal WhatsApp Yeşili */
}

@media (max-width: 768px) {
  .floating-bubbles {
    bottom: 24px;
    right: 24px;
    gap: 12px;
  }
  .bubble-btn {
    width: 48px;
    height: 48px;
  }
  .bubble-btn svg {
    width: 20px;
    height: 20px;
  }
}