/* ===========================================
   SSS PAGE STYLES
   Modern Dijital Tasarım - FAQ Page
   =========================================== */

/* Hero Section */
.hero-sss {
  padding: 150px 0 100px;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.hero-sss::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(114, 9, 183, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  color: var(--bg-dark);
  overflow: hidden;
}

.hero-wave svg {
  width: 100%;
  height: 100px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

/* Category Header */
.category-header {
  text-align: center;
  margin-bottom: 50px;
}

.category-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.category-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* FAQ List */
.faq-list {
  max-width: 900px;
  margin: 0 auto 80px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  border-color: rgba(0, 217, 255, 0.4);
  box-shadow: 0 5px 20px rgba(0, 217, 255, 0.1);
}

.faq-item.active {
  border-color: var(--text-accent);
  box-shadow: var(--glow-cyan);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
  padding-right: 20px;
  line-height: 1.5;
}

.faq-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-primary);
  font-weight: 300;
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--gradient-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
  margin: 0;
}

/* FAQ Categories Spacing */
.faq-category {
  margin-bottom: 80px;
}

/* CTA Section */
.faq-cta {
  background: var(--bg-glass);
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 25px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
  animation: rotate 15s linear infinite;
}

.faq-cta .cta-content {
  position: relative;
  z-index: 1;
}

.faq-cta svg {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
  color: var(--text-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.faq-cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.faq-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
}

/* Staggered Animation */
.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

/* Accordion Animation Enhancement */
.faq-answer {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .category-header h2 {
    font-size: 28px;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-question h3 {
    font-size: 16px;
  }
  
  .faq-icon {
    width: 25px;
    height: 25px;
    font-size: 18px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
  
  .faq-answer p {
    font-size: 14px;
  }
  
  .faq-cta {
    padding: 50px 20px;
  }
  
  .faq-cta h2 {
    font-size: 24px;
  }
  
  .faq-cta p {
    font-size: 16px;
  }
  
  .btn {
    padding: 15px 30px;
    font-size: 14px;
  }
  
  .faq-cta svg {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .hero-sss {
    padding: 120px 0 80px;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-question {
    padding: 15px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 15px 15px;
  }
}

/* Smooth Scroll Animation */
.faq-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Icon Animation */
.faq-item.active .faq-icon {
  box-shadow: var(--glow-neon);
}

/* Additional Hover Effects */
.faq-item:hover .faq-icon {
  transform: scale(1.1);
}

.faq-item.active:hover .faq-icon {
  transform: rotate(45deg) scale(1.1);
}

