/* ========== PARTICLES BACKGROUND ========== */
.particles-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
}

.particles-bg::before,
.particles-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 255, 57, 0.1) 0%, transparent 70%);
  animation: float-particles 20s infinite ease-in-out;
}

.particles-bg::before {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.particles-bg::after {
  bottom: 10%;
  right: 10%;
  animation-delay: 10s;
}

@keyframes float-particles {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

/* ========== HERO STATS BADGES ========== */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem;
  background: rgba(180, 255, 57, 0.1);
  border: 2px solid var(--neon-green);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.stat-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(180, 255, 57, 0.3);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ========== FLOATING PLUS SIGNS ========== */
.floating-plus {
  position: absolute;
  font-size: 3rem;
  color: var(--neon-purple);
  font-weight: bold;
  animation: float-plus 4s infinite ease-in-out;
  opacity: 0.6;
}

.plus-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.plus-2 {
  bottom: 20%;
  left: 15%;
  animation-delay: 1.3s;
}

.plus-3 {
  top: 50%;
  right: 25%;
  animation-delay: 2.6s;
}

@keyframes float-plus {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(10px, -10px) rotate(180deg);
  }
}

/* ========== SERVICE CARD GLOW EFFECT ========== */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(180, 255, 57, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.service-card:hover .service-glow {
  opacity: 1;
  animation: rotate-glow 3s linear infinite;
}

@keyframes rotate-glow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========== PROFESSIONAL SCROLL ANIMATIONS (OUTLOUD STYLE) ========== */

/* Fade in up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scale up animation */
@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide in from left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Base scroll reveal classes */
/* JavaScript yüklenmeden önce kartlar görünür */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* JavaScript yüklendiğinde animasyon aktif olur */
.js-loaded .scroll-reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-loaded .scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for scroll reveal */
.js-loaded .scroll-reveal[data-delay="0"].visible { transition-delay: 0s; }
.js-loaded .scroll-reveal[data-delay="100"].visible { transition-delay: 0.1s; }
.js-loaded .scroll-reveal[data-delay="200"].visible { transition-delay: 0.2s; }
.js-loaded .scroll-reveal[data-delay="300"].visible { transition-delay: 0.3s; }
.js-loaded .scroll-reveal[data-delay="400"].visible { transition-delay: 0.4s; }
.js-loaded .scroll-reveal[data-delay="500"].visible { transition-delay: 0.5s; }
.js-loaded .scroll-reveal[data-delay="600"].visible { transition-delay: 0.6s; }

/* Fade in up with stagger support - Hero section */
/* Bu animasyon sayfa yüklendiğinde otomatik başlar */
.fade-in-up {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animasyon başlamadan önce gizli */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up[data-delay="0"] { animation-delay: 0s; }
.fade-in-up[data-delay="100"] { animation-delay: 0.1s; }
.fade-in-up[data-delay="200"] { animation-delay: 0.2s; }
.fade-in-up[data-delay="300"] { animation-delay: 0.3s; }
.fade-in-up[data-delay="400"] { animation-delay: 0.4s; }
.fade-in-up[data-delay="500"] { animation-delay: 0.5s; }
.fade-in-up[data-delay="600"] { animation-delay: 0.6s; }

/* Parallax section */
.parallax-section {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* SVG Icon styling for professional look */
.service-icon svg,
.card-icon svg,
.cta-icon svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon svg,
.floating-3d-card:hover .card-icon svg {
  transform: scale(1.1) rotate(5deg);
}

/* Enhanced service icon container */
.service-icon {
  color: #b4ff39;
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-icon {
  color: #ffffff;
  font-size: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Section reveal with blur effect */
.section-blur-reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-blur-reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ========== STAGGERED ANIMATIONS ========== */
.animate-on-scroll[data-delay="0"] {
  transition-delay: 0s;
}

.animate-on-scroll[data-delay="100"] {
  transition-delay: 0.1s;
}

.animate-on-scroll[data-delay="200"] {
  transition-delay: 0.2s;
}

.animate-on-scroll[data-delay="300"] {
  transition-delay: 0.3s;
}

.animate-on-scroll[data-delay="400"] {
  transition-delay: 0.4s;
}

.animate-on-scroll[data-delay="500"] {
  transition-delay: 0.5s;
}

.animate-on-scroll[data-delay="600"] {
  transition-delay: 0.6s;
}

/* ========== CLIENTS GRID ========== */
.clients-section {
  padding: 80px 0;
  background: var(--bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.clients-section::before {
  content: '+';
  position: absolute;
  font-size: 15rem;
  color: var(--neon-purple);
  opacity: 0.05;
  top: -5rem;
  left: 5%;
  font-weight: bold;
}

.clients-section::after {
  content: '+';
  position: absolute;
  font-size: 12rem;
  color: var(--neon-green);
  opacity: 0.05;
  bottom: -3rem;
  right: 10%;
  font-weight: bold;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.client-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(180, 255, 57, 0.2);
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.client-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(180, 255, 57, 0.2), transparent);
  transition: left 0.5s ease;
}

.client-item:hover::before {
  left: 100%;
}

.client-item:hover {
  transform: translateY(-5px);
  border-color: var(--neon-green);
  background: rgba(180, 255, 57, 0.1);
  box-shadow: 0 0 20px rgba(180, 255, 57, 0.3);
}

/* ========== SCROLL TRIGGERED ANIMATIONS ========== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll.visible {
  animation: slideInUp 0.6s ease-out forwards;
}

/* ========== FLOATING CARDS ENHANCED ========== */
.floating-card {
  position: absolute;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-purple));
  box-shadow: 0 20px 40px rgba(180, 255, 57, 0.3);
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  width: 200px;
  height: 200px;
  top: 50px;
  left: 50px;
  animation-delay: 0s;
}

.card-1::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(45deg, var(--neon-green), var(--neon-purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotate-border 4s linear infinite;
}

.card-2 {
  width: 150px;
  height: 150px;
  top: 200px;
  right: 100px;
  animation-delay: 1s;
  opacity: 0.8;
}

.card-3 {
  width: 180px;
  height: 180px;
  bottom: 50px;
  left: 150px;
  animation-delay: 2s;
  opacity: 0.6;
}

@keyframes rotate-border {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========== TEXT GLOW ANIMATION ========== */
@keyframes text-glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(180, 255, 57, 0.5),
                 0 0 20px rgba(180, 255, 57, 0.3),
                 0 0 30px rgba(180, 255, 57, 0.2);
  }
  50% {
    text-shadow: 0 0 20px rgba(180, 255, 57, 0.8),
                 0 0 30px rgba(180, 255, 57, 0.5),
                 0 0 40px rgba(180, 255, 57, 0.3);
  }
}

.section-badge {
  animation: text-glow 2s ease-in-out infinite;
}

/* ========== HERO SECTION BACKGROUND ========== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.hero-section > .container {
  position: relative;
  z-index: 1;
}
