/* ==========================================================================
   YOBO CREATIVE STUDIO — style.css
   Koyu tema (dark mode), modern dijital ajans tasarımı
   ========================================================================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border-color: rgba(255, 255, 255, 0.08);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1ab;
  --text-muted: #6b6b76;

  --accent-1: #7c5cff;   /* mor */
  --accent-2: #ff5c8a;   /* pembe */
  --accent-3: #5ce1ff;   /* camgöbeği */

  --gradient-brand: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  --gradient-text: linear-gradient(120deg, var(--accent-3), var(--accent-1) 50%, var(--accent-2));

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-glow: 0 0 60px rgba(124, 92, 255, 0.25);

  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Sabit header'ın altında kalmaması için anchor linklerine kaydırma payı */
section[id] { scroll-margin-top: 96px; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* [hidden] öznitelikli her eleman, .btn gibi kendi display kuralı olan
   sınıflara sahip olsa bile mutlaka gizlensin (ör. giriş yapınca
   "Kayıt Ol / Giriş Yap" butonu ile üye rozetinin aynı anda görünmemesi için). */
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-3);
  background: rgba(92, 225, 255, 0.08);
  border: 1px solid rgba(92, 225, 255, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ---------- BUTONLAR ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #0a0a0f;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 18px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-dot { color: var(--accent-2); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--text-primary); }

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gradient-brand);
  transition: width 0.25s ease;
}

.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.auth-slot {
  display: flex;
  align-items: center;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 6px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
}

.user-pill-avatar {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.user-pill-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-pill-logout:hover {
  background: rgba(255, 92, 92, 0.15);
  color: #ff8a8a;
}

@media (max-width: 540px) {
  .auth-slot .btn { padding: 10px 16px; font-size: 13px; }
  .user-pill-name { max-width: 70px; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.4), transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 15, 0.55) 0%, rgba(10, 10, 15, 0.82) 60%, var(--bg-primary) 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 140vw;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.35) 0%, rgba(255, 92, 138, 0.12) 45%, transparent 70%);
  filter: blur(40px);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.9; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Kayan banner (marquee) */
.marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  /* Süre (animation-duration) ve kayma mesafesi (--marquee-shift) script.js
     tarafından, gerçek ölçülen piksel genişliğine göre dinamik olarak
     ayarlanır (bkz. setupHeroMarquee) — burada sadece güvenli bir
     varsayılan/fallback bırakılıyor. */
  animation: scrollMarquee 28s linear infinite;
  will-change: transform;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.marquee-track .dot { color: var(--accent-1); }

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(var(--marquee-shift, -50%)); }
}

/* ==========================================================================
   SECTION HEAD (ortak)
   ========================================================================== */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 17px;
}

/* ==========================================================================
   HİZMETLER
   ========================================================================== */
.services {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* ---------- HİZMETLER SLIDER / CAROUSEL ---------- */

.services-slider {
  position: relative;
}

.services-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  /* Bandın sol/sağ kenarlarını yumuşakça kaybettirerek modern bir "fade" efekti */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.services-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  cursor: grab;
  touch-action: pan-y;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.services-track.is-dragging {
  cursor: grabbing;
}

/* Ok butonlarına tıklanınca bir kart genişliği kadar yumuşak kayış — sürükleme
   ve otomatik akış sırasında script.js her frame'i kendi hesaplayıp uyguladığı
   için bu transition SADECE .is-jumping sınıfı eklendiğinde devreye girer. */
.services-track.is-jumping {
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Sol / Sağ Navigasyon Okları ---------- */

.marquee-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 26, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.marquee-arrow-left { left: 6px; }
.marquee-arrow-right { right: 6px; }

.marquee-arrow:hover {
  background: var(--gradient-brand);
  color: #0a0a0f;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
  box-shadow:
    0 0 0 1px rgba(124, 92, 255, 0.4),
    0 10px 30px rgba(124, 92, 255, 0.45),
    0 0 40px rgba(92, 225, 255, 0.35);
}

.marquee-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

@media (max-width: 640px) {
  .marquee-arrow { width: 42px; height: 42px; font-size: 14px; }
  .marquee-arrow-left { left: 2px; }
  .marquee-arrow-right { right: 2px; }
}

.service-card {
  flex-shrink: 0;
  width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 20px 30px;
  transform: translateY(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.08);
  border-color: rgba(124, 92, 255, 0.65);
  background: var(--bg-card-hover);
  box-shadow:
    0 0 0 1px rgba(124, 92, 255, 0.4),
    0 30px 70px rgba(124, 92, 255, 0.35),
    0 0 45px rgba(255, 92, 138, 0.25),
    0 0 75px rgba(92, 225, 255, 0.15);
  z-index: 5;
  position: relative;
}

@media (max-width: 640px) {
  .service-card { width: 250px; }
  .services-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
  }
}

.service-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--bg-secondary);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.service-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0) 35%, rgba(10, 10, 15, 0.75) 100%);
  transition: opacity 0.35s ease;
}

.service-card:hover .service-image {
  transform: scale(1.1);
  filter: saturate(1.2) brightness(1.05);
}

.service-icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--gradient-brand);
  color: #0a0a0f;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.service-card:nth-child(3n+2) .service-icon {
  background: linear-gradient(120deg, var(--accent-3), var(--accent-1));
  box-shadow: 0 8px 24px rgba(92, 225, 255, 0.3);
}

.service-card:nth-child(3n+3) .service-icon {
  background: linear-gradient(120deg, var(--accent-2), var(--accent-1));
  box-shadow: 0 8px 24px rgba(255, 92, 138, 0.3);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  box-shadow: 0 0 26px rgba(124, 92, 255, 0.6);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 4px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 15px;
  padding: 0 4px;
}

/* ==========================================================================
   HAKKIMIZDA (Modal içeriği — bkz. .modal-box-lg)
   ========================================================================== */
.about-text {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.85;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  text-align: left;
}

.about-feature {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.35);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--gradient-brand);
  color: #0a0a0f;
  font-size: 15px;
  margin-bottom: 14px;
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.about-feature p {
  color: var(--text-secondary);
  font-size: 13px;
}

@media (max-width: 560px) {
  .about-features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PORTFOLYO
   ========================================================================== */
.portfolio {
  padding: 110px 0;
  background: var(--bg-secondary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.portfolio-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 24px 60px rgba(124, 92, 255, 0.25), 0 0 40px rgba(255, 92, 138, 0.15);
}

.portfolio-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.portfolio-card:hover .portfolio-card-image img {
  transform: scale(1.12);
  filter: saturate(1.2) brightness(1.05);
}

.portfolio-card-body {
  padding: 22px 20px 26px;
}

.portfolio-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-3);
  background: rgba(92, 225, 255, 0.08);
  border: 1px solid rgba(92, 225, 255, 0.25);
  padding: 4px 11px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.portfolio-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio-card-body p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
}

.portfolio-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 12.5px;
  font-style: italic;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MÜŞTERİ YORUMLARI
   ========================================================================== */
.testimonials {
  padding: 110px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.35);
}

.testimonial-card.is-new {
  border-color: rgba(92, 225, 255, 0.4);
  box-shadow: 0 0 30px rgba(92, 225, 255, 0.12);
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.testimonial-stars i {
  color: var(--accent-3);
  font-size: 13px;
  filter: drop-shadow(0 0 6px rgba(92, 225, 255, 0.5));
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.testimonial-author h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.testimonial-author span i { color: var(--accent-1); }

.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 980px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  padding: 140px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(124, 92, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.cta-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #0a0a0f;
  font-size: 26px;
  box-shadow: var(--shadow-glow);
}

.cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.cta p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 36px;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 90px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 20px 0 24px;
  max-width: 320px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.socials a:hover {
  background: var(--gradient-brand);
  color: #0a0a0f;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover { color: var(--accent-3); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a { padding: 12px 0; width: 100%; }

  .nav-toggle { display: flex; }

  .header-actions .btn-primary { display: none; }
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .cta { padding: 100px 0; }
  .cta-stats { gap: 32px; }
}

/* ==========================================================================
   MODAL (Form Pencereleri)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.modal-open { overflow: hidden; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-box-lg { max-width: 640px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #0a0a0f;
  font-size: 22px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ---------- ÜYELİK (Kayıt Ol / Giriş Yap) SEKMELERİ ---------- */
.auth-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 5px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab:hover { color: var(--text-primary); }

.auth-tab.active {
  background: var(--gradient-brand);
  color: #0a0a0f;
}

.auth-form { display: none; }
.auth-form.is-active { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.field-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-1);
}

.btn-block { width: 100%; justify-content: center; margin-top: 4px; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px 0;
}

.form-success i {
  font-size: 42px;
  color: #4ade80;
  margin-bottom: 8px;
}

.form-success p {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.form-success span {
  color: var(--text-secondary);
  font-size: 14px;
}

.modal-form.submitted .form-fields { display: none; }
.modal-form.submitted .form-success { display: flex; }

.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(255, 92, 92, 0.1);
  border: 1px solid rgba(255, 92, 92, 0.3);
  color: #ff8a8a;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 18px;
}

.form-error.show { display: flex; }

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: rgba(255, 92, 92, 0.5);
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .modal-box { padding: 32px 24px; }
}

/* ==========================================================================
   ADMIN PANELİ (admin.html)
   ========================================================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.admin-layout.auth-ok { opacity: 1; }

.admin-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-sidebar .logo { margin-bottom: 44px; padding-left: 4px; }

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-nav-link i { width: 18px; text-align: center; }

.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.admin-nav-link.active {
  background: var(--gradient-brand);
  color: #0a0a0f;
  font-weight: 600;
}

.admin-nav-link.active .badge {
  background: rgba(10, 10, 15, 0.25);
  color: #0a0a0f;
}

.badge {
  margin-left: auto;
  min-width: 22px;
  text-align: center;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.admin-sidebar-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.admin-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s ease;
}

.admin-back:hover { color: var(--text-primary); }

.admin-main {
  flex: 1;
  min-width: 0;
  padding: 44px 48px 60px;
  overflow-x: hidden;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.admin-topbar h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.admin-topbar p { color: var(--text-secondary); font-size: 14px; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-stat-card .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-stat-card .stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: initial;
}

.admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.lead-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.lead-card:hover { border-color: rgba(124, 92, 255, 0.35); }
.lead-card.read { opacity: 0.6; }

.lead-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.lead-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.lead-who { flex: 1; min-width: 0; }

.lead-who h4 {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lead-date { font-size: 12px; color: var(--text-muted); }

.lead-status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
}

.lead-status.new { background: rgba(124, 92, 255, 0.15); color: var(--accent-1); }
.lead-status.read { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }

.lead-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.lead-card-body p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
  word-break: break-word;
}

.lead-card-body p i { margin-top: 3px; width: 14px; color: var(--accent-3); }

.lead-card-actions {
  display: flex;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.lead-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lead-action:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.lead-action.primary {
  background: rgba(124, 92, 255, 0.12);
  border-color: rgba(124, 92, 255, 0.35);
  color: var(--accent-1);
}

.lead-action.primary:hover {
  background: rgba(124, 92, 255, 0.22);
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.25);
  color: #ffffff;
}

.lead-action.danger {
  background: rgba(255, 92, 92, 0.08);
  border-color: rgba(255, 92, 92, 0.2);
  color: #ff8a8a;
}

.lead-action.danger:hover {
  background: rgba(255, 92, 92, 0.18);
  color: #ff5c5c;
  border-color: rgba(255, 92, 92, 0.4);
  box-shadow: 0 8px 20px rgba(255, 92, 92, 0.2);
}

.lead-action:active { transform: translateY(0); }

/* ---------- Talep Detayı Modal İçeriği ---------- */

.detail-body {
  display: flex;
  flex-direction: column;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child { border-bottom: none; }

.detail-row .detail-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.detail-row .detail-value {
  font-size: 14.5px;
  color: var(--text-primary);
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-line;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.detail-delete-btn {
  background: rgba(255, 92, 92, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.3);
  color: #ff8a8a;
}

.detail-delete-btn:hover {
  background: rgba(255, 92, 92, 0.22);
  border-color: rgba(255, 92, 92, 0.5);
  color: #ff5c5c;
  box-shadow: 0 10px 24px rgba(255, 92, 92, 0.2);
}

@media (max-width: 480px) {
  .detail-actions { flex-direction: column; }
}

.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 20px;
  color: var(--text-muted);
  text-align: center;
}

.empty-state i { font-size: 42px; margin-bottom: 16px; opacity: 0.5; }
.empty-state p { font-size: 15px; }

@media (max-width: 900px) {
  .admin-layout { flex-direction: column; }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 18px 20px;
  }

  .admin-sidebar .logo { margin-bottom: 0; }
  .admin-nav { flex-direction: row; flex: 1; }
  .admin-sidebar-footer {
    border-top: none;
    padding-top: 0;
    display: flex;
    gap: 16px;
  }
  .admin-main { padding: 28px 20px 48px; }
  .admin-stats { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .admin-nav-link span.link-label { display: none; }
  .admin-list { grid-template-columns: 1fr; }
}

.admin-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s ease;
}

.admin-logout:hover { color: #ff8a8a; }

/* ==========================================================================
   GİRİŞ SAYFASI (login.html)
   ========================================================================== */
.login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  max-width: 160vw;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.32) 0%, rgba(255, 92, 138, 0.12) 45%, transparent 70%);
  filter: blur(50px);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.login-card.shake { animation: shakeCard 0.4s ease; }

@keyframes shakeCard {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-header h1 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 8px;
}

.login-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.login-error {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(255, 92, 92, 0.1);
  border: 1px solid rgba(255, 92, 92, 0.3);
  color: #ff8a8a;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 18px;
}

.login-error.show { display: flex; }

.form-options {
  display: flex;
  align-items: center;
  margin: -6px 0 22px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-field input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent-1);
  cursor: pointer;
}

.password-field { position: relative; }

.password-field input { padding-right: 44px; }

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 15px;
  padding: 4px;
  transition: color 0.2s ease;
}

.password-toggle:hover { color: var(--text-primary); }

.login-back {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.login-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.login-back a:hover { color: var(--text-primary); }