/* ==========================================
   BLOG PAGE - ELECTRIC CABLE DESIGN
   ========================================== */

body {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  color: white;
}

.blog-hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-hero-content.aos-init,
.blog-hero-content.aos-animate {
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.blog-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4rem 0;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.blog-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #00d4ff;
  margin-bottom: 2rem;
}

.hero-badge i {
  font-size: 1rem;
}

.blog-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.blog-title span {
  display: block;
  text-align: center;
}

.blog-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Electric Cable System */
.cable-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.main-cable {
  position: absolute;
  left: calc(10% - 2px);
  top: -10%;
  width: 6px;
  height: 120%;
  background: linear-gradient(180deg, 
    rgba(0, 212, 255, 1) 0%, 
    rgba(0, 212, 255, 0.9) 10%,
    rgba(139, 92, 246, 0.7) 30%,
    rgba(0, 212, 255, 0.7) 50%,
    rgba(139, 92, 246, 0.7) 70%,
    rgba(0, 212, 255, 0.9) 90%,
    rgba(0, 212, 255, 1) 100%
  );
  box-shadow: 
    0 0 10px rgba(0, 212, 255, 0.8),
    0 0 20px rgba(0, 212, 255, 0.6),
    0 0 30px rgba(0, 212, 255, 0.4),
    0 0 40px rgba(139, 92, 246, 0.3);
  border-radius: 3px;
}

.electric-pulse {
  position: absolute;
  left: calc(10% - 6px);
  width: 18px;
  height: 60px;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.9) 15%,
    rgba(0, 212, 255, 1) 40%,
    rgba(139, 92, 246, 1) 60%,
    rgba(236, 72, 153, 1) 70%,
    rgba(0, 212, 255, 1) 85%,
    rgba(255, 255, 255, 0.9) 100%
  );
  border-radius: 9px;
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.9),
    0 0 40px rgba(0, 212, 255, 0.8),
    0 0 60px rgba(139, 92, 246, 0.6),
    0 0 80px rgba(236, 72, 153, 0.4);
  animation: pulseDown 3s linear infinite;
}

@keyframes pulseDown {
  0% {
    top: -10%;
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

/* Cable Nodes */
.cable-node {
  position: absolute;
  left: calc(10% - 14px);
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(0, 212, 255, 1) 30%, rgba(139, 92, 246, 0.8) 60%, transparent 90%);
  border: 4px solid #00d4ff;
  border-radius: 50%;
  box-shadow: 
    0 0 10px rgba(255, 255, 255, 1),
    0 0 20px rgba(0, 212, 255, 1),
    0 0 40px rgba(0, 212, 255, 0.8),
    0 0 60px rgba(139, 92, 246, 0.6);
  z-index: 10;
  animation: nodePulse 2s ease-in-out infinite;
  transition: top 0.1s ease;
}

@keyframes nodePulse {
  0%, 100% {
    box-shadow: 
      0 0 20px rgba(0, 212, 255, 0.8),
      0 0 40px rgba(0, 212, 255, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(0, 212, 255, 1),
      0 0 60px rgba(0, 212, 255, 0.6);
    transform: scale(1.15);
  }
}

.cable-node::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px white;
}

/* Blog Container */
.blog-container {
  position: relative;
  z-index: 10;
}

/* Blog Sections */
.blog-section {
  position: relative;
  padding: 8rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* Section Headers */
.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-number {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Content Cards */
.content-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 212, 255, 0.1) 50%, 
    transparent 100%
  );
  transition: left 0.5s ease;
}

.content-card:hover::before {
  left: 100%;
}

.content-card:hover {
  transform: translateY(-12px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 212, 255, 0.2);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 50%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.content-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.content-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  position: relative;
  z-index: 2;
}

.content-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.card-tags li {
  padding: 0.3rem 0.8rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #00d4ff;
  letter-spacing: 0.5px;
}

/* CTA Section */
.blog-cta {
  padding: 8rem 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 50%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  box-shadow: 
    0 0 40px rgba(0, 212, 255, 0.5),
    0 0 80px rgba(0, 212, 255, 0.3);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    box-shadow: 
      0 0 40px rgba(0, 212, 255, 0.5),
      0 0 80px rgba(0, 212, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 0 60px rgba(0, 212, 255, 0.8),
      0 0 120px rgba(0, 212, 255, 0.5);
  }
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-title {
    font-size: 2.5rem;
  }
  
  .blog-subtitle {
    font-size: 1.1rem;
  }
  
  .main-cable {
    left: 5%;
  }
  
  .cable-node {
    left: calc(5% - 12px);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .content-card {
    padding: 2rem;
  }
  
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .main-cable {
    left: 7%;
  }
  
  .cable-node {
    left: calc(7% - 12px);
  }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff 0%, #8b5cf6 50%, #ec4899 100%);
  z-index: 10000;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

