/* ===== Reset & Variables ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #818cf8;
  --primary-dark: #6366f1;
  --primary-light: #a5b4fc;
  --accent: #22d3ee;
  --bg: #080b1a;
  --bg-2: #0d1229;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(129, 140, 248, 0.3);
  --gradient: linear-gradient(135deg, #6366f1, #22d3ee);
  --gradient-2: linear-gradient(135deg, #8b5cf6, #ec4899);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ===== Light Theme ===== */
[data-theme="light"] {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;
  --accent: #0891b2;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-card: #f8fafc;
  --bg-card-hover: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(79, 70, 229, 0.2);
  --gradient: linear-gradient(135deg, #4f46e5, #0891b2);
  --gradient-2: linear-gradient(135deg, #7c3aed, #db2777);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ============================================================
   ANIMASYONLU ARKA PLAN SİSTEMİ
   ============================================================ */

.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* --- Canvas (parçacık ağı JS tarafından çizilir) --- */
#bgCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* --- Aurora şeritleri --- */
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: auroraFade 8s ease-in-out infinite;
}

.aurora-1 {
  width: 900px;
  height: 300px;
  background: linear-gradient(90deg,
    transparent,
    rgba(99, 102, 241, 0.25),
    rgba(139, 92, 246, 0.35),
    rgba(236, 72, 153, 0.2),
    transparent
  );
  top: 5%;
  left: -20%;
  animation-delay: 0s;
  animation-duration: 9s;
}

.aurora-2 {
  width: 700px;
  height: 200px;
  background: linear-gradient(90deg,
    transparent,
    rgba(34, 211, 238, 0.2),
    rgba(99, 102, 241, 0.3),
    rgba(34, 211, 238, 0.15),
    transparent
  );
  top: 30%;
  right: -15%;
  animation-delay: 3s;
  animation-duration: 11s;
}

.aurora-3 {
  width: 800px;
  height: 250px;
  background: linear-gradient(90deg,
    transparent,
    rgba(139, 92, 246, 0.2),
    rgba(34, 211, 238, 0.28),
    rgba(99, 102, 241, 0.18),
    transparent
  );
  bottom: 10%;
  left: 10%;
  animation-delay: 6s;
  animation-duration: 13s;
}

@keyframes auroraFade {
  0%   { opacity: 0;    transform: translateX(-40px) scaleY(0.8); }
  25%  { opacity: 1;    transform: translateX(0px)   scaleY(1); }
  75%  { opacity: 0.7;  transform: translateX(60px)  scaleY(1.1); }
  100% { opacity: 0;    transform: translateX(120px) scaleY(0.8); }
}

/* --- Işık topları (Orbs) --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 15s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation-duration: 14s;
  animation-delay: 0s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, transparent 70%);
  top: 20%;
  right: -150px;
  animation-duration: 18s;
  animation-delay: 2s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  bottom: 10%;
  left: 30%;
  animation-duration: 12s;
  animation-delay: 4s;
}

.orb-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  bottom: -80px;
  right: 20%;
  animation-duration: 16s;
  animation-delay: 7s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40px, -60px) scale(1.1); }
  66%  { transform: translate(-30px, 40px) scale(0.95); }
  100% { transform: translate(60px, -20px) scale(1.05); }
}

/* --- Animasyonlu ızgara --- */
.bg-grid {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(129, 140, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 25s linear infinite;
}

@keyframes gridScroll {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(60px, 60px) rotate(0.5deg); }
}

/* --- Akan yıldızlar --- */
.shooting-star {
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
  border-radius: 2px;
  opacity: 0;
  animation: shootingStar 6s ease-in-out infinite;
}

.ss-1 { top: 12%; left: -10%; animation-delay: 0s;   animation-duration: 5s;  transform: rotate(-15deg); }
.ss-2 { top: 28%; left: -10%; animation-delay: 2s;   animation-duration: 7s;  transform: rotate(-20deg); }
.ss-3 { top: 55%; left: -10%; animation-delay: 4s;   animation-duration: 6s;  transform: rotate(-10deg); }
.ss-4 { top: 70%; left: -10%; animation-delay: 1.5s; animation-duration: 8s;  transform: rotate(-18deg); }
.ss-5 { top: 40%; left: -10%; animation-delay: 3.5s; animation-duration: 5.5s; transform: rotate(-12deg); }

@keyframes shootingStar {
  0%   { opacity: 0; transform: translateX(-100px) rotate(var(--rot, -15deg)); }
  10%  { opacity: 1; }
  80%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateX(110vw) rotate(var(--rot, -15deg)); }
}

/* Bireysel rotasyon fix'i */
.ss-1 { --rot: -15deg; }
.ss-2 { --rot: -20deg; }
.ss-3 { --rot: -10deg; }
.ss-4 { --rot: -18deg; }
.ss-5 { --rot: -12deg; }

/* --- Geometrik halkalar --- */
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ringPulse 8s ease-in-out infinite;
}

.ring-1 {
  width: 300px;
  height: 300px;
  border-color: rgba(99, 102, 241, 0.15);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.ring-2 {
  width: 500px;
  height: 500px;
  border-color: rgba(34, 211, 238, 0.08);
  bottom: 5%;
  left: -5%;
  animation-delay: 3s;
  animation-duration: 11s;
}

.ring-3 {
  width: 200px;
  height: 200px;
  border-color: rgba(139, 92, 246, 0.2);
  top: 50%;
  right: 25%;
  animation-delay: 5s;
  animation-duration: 7s;
}

@keyframes ringPulse {
  0%   { transform: scale(1)    rotate(0deg);   opacity: 0.4; }
  50%  { transform: scale(1.12) rotate(180deg); opacity: 1;   }
  100% { transform: scale(1)    rotate(360deg); opacity: 0.4; }
}

/* --- Yüzen parlak noktalar --- */
.dot {
  position: absolute;
  border-radius: 50%;
  animation: dotFloat linear infinite;
}

.dot-1 { width: 6px;  height: 6px;  background: rgba(129,140,248,0.8); top: 20%; left: 15%; animation-duration: 7s;  animation-delay: 0s;   box-shadow: 0 0 10px rgba(129,140,248,0.6); }
.dot-2 { width: 4px;  height: 4px;  background: rgba(34,211,238,0.8);  top: 45%; left: 80%; animation-duration: 9s;  animation-delay: 1s;   box-shadow: 0 0 8px  rgba(34,211,238,0.6); }
.dot-3 { width: 8px;  height: 8px;  background: rgba(139,92,246,0.7);  top: 70%; left: 40%; animation-duration: 11s; animation-delay: 2s;   box-shadow: 0 0 14px rgba(139,92,246,0.5); }
.dot-4 { width: 5px;  height: 5px;  background: rgba(236,72,153,0.7);  top: 30%; left: 60%; animation-duration: 8s;  animation-delay: 3.5s; box-shadow: 0 0 10px rgba(236,72,153,0.5); }
.dot-5 { width: 3px;  height: 3px;  background: rgba(129,140,248,0.9); top: 80%; left: 70%; animation-duration: 6s;  animation-delay: 0.5s; box-shadow: 0 0 6px  rgba(129,140,248,0.7); }
.dot-6 { width: 7px;  height: 7px;  background: rgba(34,211,238,0.6);  top: 55%; left: 10%; animation-duration: 13s; animation-delay: 4s;   box-shadow: 0 0 12px rgba(34,211,238,0.4); }

@keyframes dotFloat {
  0%   { transform: translateY(0)    rotate(0deg)   scale(1);    opacity: 0.7; }
  25%  { transform: translateY(-30px) rotate(90deg)  scale(1.3);  opacity: 1; }
  50%  { transform: translateY(-15px) rotate(180deg) scale(0.9);  opacity: 0.8; }
  75%  { transform: translateY(-40px) rotate(270deg) scale(1.2);  opacity: 1; }
  100% { transform: translateY(0)    rotate(360deg) scale(1);    opacity: 0.7; }
}

/* ===== Light Theme Background Overrides ===== */
[data-theme="light"] .orb-1 {
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
}
[data-theme="light"] .orb-2 {
  background: radial-gradient(circle, rgba(8, 145, 178, 0.07) 0%, transparent 70%);
}
[data-theme="light"] .orb-3 {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}
[data-theme="light"] .orb-4 {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
}

[data-theme="light"] .bg-scene {
  background: linear-gradient(180deg, #f0f4ff 0%, #fafbff 50%, #f0f4ff 100%);
}

[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .aurora-1 {
  background: linear-gradient(90deg,
    transparent,
    rgba(79, 70, 229, 0.08),
    rgba(139, 92, 246, 0.12),
    rgba(79, 70, 229, 0.06),
    transparent
  );
}
[data-theme="light"] .aurora-2 {
  background: linear-gradient(90deg,
    transparent,
    rgba(8, 145, 178, 0.07),
    rgba(79, 70, 229, 0.1),
    rgba(8, 145, 178, 0.05),
    transparent
  );
}
[data-theme="light"] .aurora-3 {
  background: linear-gradient(90deg,
    transparent,
    rgba(139, 92, 246, 0.07),
    rgba(8, 145, 178, 0.09),
    rgba(79, 70, 229, 0.06),
    transparent
  );
}

[data-theme="light"] .shooting-star {
  background: linear-gradient(90deg, transparent, rgba(79,70,229,0.6), transparent);
}

[data-theme="light"] .ring-1 { border-color: rgba(79, 70, 229, 0.1); }
[data-theme="light"] .ring-2 { border-color: rgba(8, 145, 178, 0.07); }
[data-theme="light"] .ring-3 { border-color: rgba(139, 92, 246, 0.12); }

[data-theme="light"] .dot-1 { background: rgba(99,102,241,0.5); box-shadow: 0 0 10px rgba(99,102,241,0.3); }
[data-theme="light"] .dot-2 { background: rgba(8,145,178,0.5);  box-shadow: 0 0 8px  rgba(8,145,178,0.3); }
[data-theme="light"] .dot-3 { background: rgba(139,92,246,0.5); box-shadow: 0 0 14px rgba(139,92,246,0.3); }
[data-theme="light"] .dot-4 { background: rgba(236,72,153,0.4); box-shadow: 0 0 10px rgba(236,72,153,0.2); }
[data-theme="light"] .dot-5 { background: rgba(99,102,241,0.6); box-shadow: 0 0 6px  rgba(99,102,241,0.3); }
[data-theme="light"] .dot-6 { background: rgba(8,145,178,0.4);  box-shadow: 0 0 12px rgba(8,145,178,0.2); }

[data-theme="light"] #bgCanvas { opacity: 0.25; }


/* Light theme card overrides */
[data-theme="light"] .about-card,
[data-theme="light"] .team-card,
[data-theme="light"] .service-card,
[data-theme="light"] .process-step {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
}

[data-theme="light"] .about-card:hover,
[data-theme="light"] .team-card:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .process-step:hover {
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.12);
  background: #ffffff;
}

[data-theme="light"] .service-card.featured {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.04), rgba(8, 145, 178, 0.03));
  border-color: rgba(79, 70, 229, 0.2);
}

[data-theme="light"] .contact-form {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1e293b;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
  color: #94a3b8;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
  background: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

[data-theme="light"] .form-group select option {
  background: #ffffff;
  color: #1e293b;
}

[data-theme="light"] .footer {
  background: #f8fafc;
  border-top-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
}

[data-theme="light"] .footer-bottom {
  background: #f1f5f9;
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .particle {
  opacity: 0.4;
}

[data-theme="light"] .hero-bg::before,
[data-theme="light"] .hero-bg::after {
  opacity: 0.4;
}

[data-theme="light"] .toast {
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: none;
}

[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, 0.15);
  color: #1e293b;
}

[data-theme="light"] .btn-outline:hover {
  border-color: #4f46e5;
  color: #4f46e5;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.15);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 11, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(8, 11, 26, 0.92);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(129, 140, 248, 0.15);
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(79, 70, 229, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.logo-img {
  height: 50px;
  width: 50px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 2px 10px rgba(99, 102, 241, 0.5));
  transition: var(--transition);
  border: 2px solid rgba(129, 140, 248, 0.35);
  box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.4);
}

.logo:hover .logo-img {
  filter: drop-shadow(0 4px 18px rgba(99, 102, 241, 0.7));
  border-color: rgba(129, 140, 248, 0.8);
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.15);
}

[data-theme="light"] .logo-img {
  filter: drop-shadow(0 2px 8px rgba(79, 70, 229, 0.15));
}

[data-theme="light"] .logo:hover .logo-img {
  filter: drop-shadow(0 4px 12px rgba(79, 70, 229, 0.3));
}

.logo-accent {
  color: var(--primary);
}

.logo-img--footer {
  display: none;
}

.logo-icon-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.btn-nav {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
}

.btn-nav:hover {
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(129, 140, 248, 0.2);
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.3);
  transform: scale(1.1);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* When light theme is active */
[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(79, 70, 229, 0.1);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 0 16px rgba(79, 70, 229, 0.2);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  animation: floatOrb1 8s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2) 0%, transparent 70%);
  bottom: 50px;
  left: -50px;
  border-radius: 50%;
  animation: floatOrb2 10s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 40px) scale(1.15); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.2);
  animation: pulseBadge 3s infinite alternate;
}

@keyframes pulseBadge {
  0% { box-shadow: 0 0 15px rgba(79, 70, 229, 0.2); transform: scale(1); }
  100% { box-shadow: 0 0 25px rgba(79, 70, 229, 0.5); transform: scale(1.02); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(to right, #818cf8, #22d3ee, #c084fc, #818cf8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  background: rgba(79, 70, 229, 0.1);
  padding: 6px 16px;
  border-radius: 4px;
  border-left: 3px solid var(--primary);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-text strong {
  color: var(--text);
}

.about-list {
  margin-top: 24px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.about-card:hover {
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.07);
}

.about-card-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Team ===== */
.team-section {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.team-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.team-card:hover {
  border-color: rgba(129, 140, 248, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.team-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

.contact-item a {
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary);
}

/* ===== Services ===== */
.services {
  background: transparent;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 18, 41, 0.4);
  backdrop-filter: blur(0px);
  pointer-events: none;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  border-color: rgba(129, 140, 248, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.service-card.featured {
  border-color: rgba(129, 140, 248, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.06));
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.service-link:hover {
  color: var(--accent);
}

/* ===== Process ===== */
.process {
  background: transparent;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 18, 41, 0.5) 50%, transparent 100%);
  pointer-events: none;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.process-step:hover {
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.process-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  padding-top: 40px;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}


/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 0;
  background: rgba(5, 7, 15, 0.6);
  backdrop-filter: blur(10px);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
  background: rgba(5, 7, 15, 0.5);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(13, 18, 41, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--text);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(34, 197, 94, 0.1);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Particles ===== */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.7);
  box-shadow: 0 0 6px 2px rgba(129, 140, 248, 0.4);
  animation: particleFloat linear infinite;
  pointer-events: none;
}

.particle:nth-child(even) {
  background: rgba(34, 211, 238, 0.7);
  box-shadow: 0 0 6px 2px rgba(34, 211, 238, 0.4);
}

.particle:nth-child(3n) {
  background: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 6px 2px rgba(139, 92, 246, 0.4);
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
}

/* ===== Dark mode button fix ===== */
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.2);
}

/* ===== Glowing section dividers ===== */
.section-tag {
  position: relative;
}

.section-tag::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gradient);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-arrow {
    display: none;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    max-width: 100%;
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-stats {
    gap: 32px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}

/* ============================================================
   WHATSAPP BİLEŞENLERİ
   ============================================================ */

/* --- İletişim listesindeki WP ikonu --- */
.wp-icon-sm {
  width: 22px;
  height: 22px;
  color: #25d366;
  flex-shrink: 0;
}

/* --- İletişim bölümündeki büyük WP butonu --- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1ebe5d, #0e7a6e);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-whatsapp:hover::before { opacity: 1; }

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-whatsapp span {
  position: relative;
  z-index: 1;
}

/* --- Sabit yüzen WhatsApp balonu --- */
.wp-bubble {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  animation: wpBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 1.5s;
  transform-origin: bottom right;
}

@keyframes wpBounceIn {
  0%   { opacity: 0; transform: scale(0) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.wp-bubble svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.wp-bubble:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
}

/* Etiket (hover'da göster, başta göster) */
.wp-bubble-label {
  white-space: nowrap;
  font-size: 0.88rem;
}

/* Ping animasyonu (yeşil halka) */
.wp-bubble-ping {
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 3px solid rgba(37, 211, 102, 0.6);
  animation: wpPing 2s ease-out infinite;
  pointer-events: none;
}

@keyframes wpPing {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Light theme WhatsApp overrides */
[data-theme="light"] .btn-whatsapp {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

[data-theme="light"] .wp-bubble {
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4);
}

