/* ============================================
   Website Builder (SiteQ AI) Sayfası Stilleri
   Tailwind öncelikli — burada yalnızca Tailwind ile
   çözülemeyen arka plan, animasyon ve efektler bulunur.
   ============================================ */

/* ---- Hero arka planı ---- */
.wb-hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(99, 102, 241, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(139, 92, 246, 0.2), transparent 60%),
    linear-gradient(160deg, #0e0c28 0%, #171436 45%, #1e1b4b 100%);
}

/* Nokta deseni (hero, koyu bölümler ve CTA'da kullanılır) */
.wb-dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Birincil CTA parlaması */
.wb-cta-glow {
  position: relative;
}

.wb-cta-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 0.875rem;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef);
  filter: blur(14px);
  opacity: 0.45;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.wb-cta-glow:hover::after {
  opacity: 0.7;
}

/* ---- Mockup ---- */

/* Mockup arkasındaki renkli parlama */
.wb-mockup-glow {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(217, 70, 239, 0.3));
  filter: blur(40px);
  transform: scale(0.92) translateY(12px);
}

@media (min-width: 1024px) {
  .wb-mockup {
    animation: wb-drift 8s ease-in-out infinite;
  }
}

@keyframes wb-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Prompt metni: daktilo efekti */
.wb-typing {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-right: 2px solid #818cf8;
  animation: wb-typing 4s steps(55, end) infinite,
    wb-caret 0.8s step-end infinite;
}

@keyframes wb-typing {
  0% { max-width: 0; }
  70%, 100% { max-width: 100%; }
}

@keyframes wb-caret {
  0%, 100% { border-color: #818cf8; }
  50% { border-color: transparent; }
}

/* Bento kartındaki yanıp sönen imleç */
.wb-caret-inline {
  color: #6366f1;
  font-weight: 700;
  animation: wb-caret-blink 0.8s step-end infinite;
}

@keyframes wb-caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Mini site bölümleri: sırayla belirme (oluşturuluyor hissi) */
.wb-reveal {
  animation: wb-reveal 0.7s ease-out backwards;
}

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

/* "Oluşturuluyor" durum noktası */
.wb-pulse-dot {
  animation: wb-pulse 1.4s ease-in-out infinite;
}

@keyframes wb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Yüzen rozetler */
.wb-float-badge {
  animation: float 5s ease-in-out infinite;
}

.wb-float-badge-2 {
  animation: float-delay 6s ease-in-out infinite;
}

/* SEO skor halkaları (conic-gradient ile %98 dolu) */
.wb-seo-ring,
.wb-seo-ring-lg {
  background:
    radial-gradient(closest-side, #ffffff 79%, transparent 80% 100%),
    conic-gradient(#10b981 353deg, #e5e7eb 0deg);
}

.wb-seo-ring-lg {
  background:
    radial-gradient(closest-side, #ffffff 74%, transparent 75% 100%),
    conic-gradient(#10b981 353deg, #e5e7eb 0deg);
}

/* ---- Kart hover'ları: performans dostu, zıplamasız ---- */
.wb-step-card,
.wb-feature-card,
.wb-price-card,
.wb-build-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.wb-step-card:hover,
.wb-feature-card:hover,
.wb-build-card:hover {
  transform: translateY(-4px);
}

.wb-price-card:hover {
  transform: translateY(-4px);
}

/* Hareket azaltma tercihi olan kullanıcılar için animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  .wb-typing,
  .wb-caret-inline,
  .wb-pulse-dot,
  .wb-reveal,
  .wb-float-badge,
  .wb-float-badge-2,
  .wb-mockup {
    animation: none;
  }

  .wb-typing {
    border-right: none;
    white-space: normal;
  }
}
