/* ==========================================================================
   Hi Phone Akademi - Profesyonel Anakart & Mikro Lehimleme Eğitim Merkezi
   Tasarım Sistemi: Apple Servis Kalitesi & Mikro-Elektronik Laboratuvar Teması
   Renk Paleti:
   - Antrasit: #0f172a
   - Uzay Grisi: #1e293b
   - Elektrik Mavisi: #3b82f6
   - Altın / Turuncu: #f59e0b
   ========================================================================== */

:root {
  --bg-anthracite: #0f172a;
  --bg-space-gray: #1e293b;
  --accent-electric-blue: #3b82f6;
  --accent-amber-gold: #f59e0b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(30, 41, 59, 0.65);
}

/* Temel Ayarlar ve Yumuşak Kaydırma */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background-color: var(--bg-anthracite);
  color: var(--text-primary);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-anthracite);
  color: var(--text-primary);
  overflow-x: hidden;
  selection-background-color: var(--accent-electric-blue);
}

::selection {
  background: rgba(59, 130, 246, 0.35);
  color: #ffffff;
}

/* Özel Kaydırma Çubuğu (Scrollbar) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #090e1a;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
  border: 2px solid #090e1a;
}

::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Mikro-Elektronik Devre (PCB) Arka Plan Deseni */
.bg-pcb-grid {
  background-color: #0f172a;
  background-image: 
    radial-gradient(rgba(59, 130, 246, 0.12) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  background-position: 0 0, 0 0, 0 0;
}

/* Işıltı (Ambient Glow) Efektleri */
.glow-blue {
  box-shadow: 0 0 40px -10px rgba(59, 130, 246, 0.45);
}

.glow-amber {
  box-shadow: 0 0 40px -10px rgba(245, 158, 11, 0.4);
}

.glow-blue-sm {
  box-shadow: 0 0 20px -5px rgba(59, 130, 246, 0.4);
}

/* Glassmorphism (Cam Efektli) Kartlar */
.glass-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.78) 0%, rgba(15, 23, 42, 0.88) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(2, 6, 23, 0.8), 0 0 25px -5px rgba(59, 130, 246, 0.2);
}

.glass-card-amber:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(2, 6, 23, 0.8), 0 0 25px -5px rgba(245, 158, 11, 0.22);
}

.glass-navbar {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.glass-navbar.scrolled {
  background: rgba(11, 17, 32, 0.94);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(59, 130, 246, 0.2);
}

/* Özel Metin Gradyanları */
.text-gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-hero {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 45%, #60a5fa 80%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buton Efektleri */
.btn-primary-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-primary-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(59, 130, 246, 0.55);
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(34, 197, 94, 0.5);
  background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
}

/* Laboratuvar Telemetri ve Mikroskop Çizgileri */
.lab-hud-border {
  position: relative;
}

.lab-hud-border::before,
.lab-hud-border::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #3b82f6;
  pointer-events: none;
  opacity: 0.65;
  transition: all 0.3s ease;
}

.lab-hud-border::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid #3b82f6;
  border-left: 2px solid #3b82f6;
  border-top-left-radius: 0.75rem;
}

.lab-hud-border::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid #f59e0b;
  border-right: 2px solid #f59e0b;
  border-bottom-right-radius: 0.75rem;
}

.lab-hud-border:hover::before,
.lab-hud-border:hover::after {
  width: 24px;
  height: 24px;
  opacity: 1;
}

/* S.S.S. Accordion Animasyonu */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.96) 100%);
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.18);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: #3b82f6;
  color: #ffffff;
}

/* Video Çerçevesi Işıltı Efekti */
.video-container-glow {
  position: relative;
}

.video-container-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(245, 158, 11, 0.5), rgba(59, 130, 246, 0.6));
  z-index: -1;
  filter: blur(14px);
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.video-container-glow:hover::before {
  opacity: 0.85;
}

/* Mikro-Animasyonlar */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.whatsapp-pulse {
  animation: pulse-ring 2.2s infinite;
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-float {
  animation: float-slow 5s ease-in-out infinite;
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(400%);
  }
}

.scanline-effect {
  position: relative;
  overflow: hidden;
}

.scanline-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.08), transparent);
  animation: scanline 6s linear infinite;
  pointer-events: none;
}

/* Görünüm (Scroll Reveal) Animasyonu */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Aktif Menü Linki */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #f59e0b);
  transition: width 0.3s ease;
  border-radius: 99px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #ffffff;
}

