.hero {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-top: -30px;
}
.hero-subtitle {
  color: rgb(255, 255, 255);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 500;
  opacity: 0;
  margin-top: auto;
  backdrop-filter: blur(10px);
  display: inline-block;
  animation: 0.8s ease 0.2s 1 normal forwards running slideUp;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.2);
  border-image: initial;
}

.hero-description {
  font-size: 1.3rem;
  color: #bbb;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0;
  animation: slideUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.8s ease 0.8s forwards;
}

.hero-buttons12 {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.8s ease 0.8s forwards;
}

.hero-title1 {
  font-size: clamp(6.5rem, 8.5vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: slideUp 0.8s ease 0.4s forwards;
  text-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.hero-subtitle,
.hero-title,
.hero-description,
.hero-buttons {
  transform: translateY(30px);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  margin-top: 0;
  margin-bottom: 50px;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: linear-gradient(130deg, rgb(34, 102, 116), rgb(45, 212, 191));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  backdrop-filter: blur(10px);
  margin-top: 15px;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #96ceb4,
    #feca57
  );
  background-size: 300% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.faq-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item:nth-child(2) {
  animation-delay: 0.1s;
}
.faq-item:nth-child(3) {
  animation-delay: 0.2s;
}
.faq-item:nth-child(4) {
  animation-delay: 0.3s;
}
.faq-item:nth-child(5) {
  animation-delay: 0.4s;
}
.faq-item:nth-child(6) {
  animation-delay: 0.5s;
}

.faq-question {
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: linear-gradient(130deg, rgb(34, 102, 116), rgb(45, 212, 191));
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(130deg, rgb(34, 102, 116), rgb(45, 212, 191));
}

.faq-question-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.5;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.faq-icon::before {
  width: 20px;
  height: 3px;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.faq-icon::after {
  width: 3px;
  height: 20px;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon::after {
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  backdrop-filter: blur(10px);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 28px 24px 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease 0.1s;
  margin-top: 20px;
}

.faq-item.active .faq-answer-content {
  opacity: 1;
  transform: translateY(0);
}

/* =============================
  Tablet & Small Laptop (≤992px)
   ============================= */
@media (max-width: 992px) {
  .faq-container {
    padding: 24px;
    max-width: 90%;
  }

  .faq-question-text {
    font-size: 1.05rem;
  }

  .faq-answer-content {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* =============================
  Tablet (≤768px)
   ============================= */
@media (max-width: 768px) {
  .faq-container {
    padding: 20px;
    max-width: 95%;
  }

  .faq-question {
    padding: 18px;
    flex-direction: row;
  }

  .faq-question-text {
    font-size: 1rem;
    line-height: 1.4;
  }

  .faq-answer-content {
    font-size: 0.9rem;
    padding: 0 18px 18px;
  }

  .faq-icon {
    width: 22px;
    height: 22px;
  }
}

/* =============================
  iPhone 15 Pro Max / 14 Pro Max / 13 Pro Max (≤430px)
   ============================= */
@media (max-width: 430px) {
  .faq-container {
    padding: 16px;
  }

  .faq-question {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .faq-question-text {
    font-size: 0.95rem;
    text-align: left;
  }

  .faq-answer-content {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
    margin-left: 0;
  }

  .faq-icon::before {
    width: 16px;
  }

  .faq-icon::after {
    height: 16px;
  }
}

/* =============================
  iPhone 12 / 13 / 14 / 15 (≤390px)
   ============================= */
@media (max-width: 390px) {
  .faq-container {
    padding: 14px;
  }

  .faq-question {
    padding: 14px;
  }

  .faq-question-text {
    font-size: 0.9rem;
  }

  .faq-answer-content {
    font-size: 0.85rem;
    padding: 0 14px 14px;
  }

  .faq-icon {
    width: 18px;
    height: 18px;
  }

  .faq-icon::before {
    width: 14px;
  }

  .faq-icon::after {
    height: 14px;
  }
}

/* =============================
  iPhone SE / Android Small (≤375px)
   ============================= */
@media (max-width: 375px) {
  .faq-container {
    padding: 12px;
  }

  .faq-question {
    padding: 12px;
    gap: 8px;
  }

  .faq-question-text {
    font-size: 0.88rem;
  }

  .faq-answer-content {
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 0 12px 12px;
  }

  .faq-icon {
    width: 16px;
    height: 16px;
  }
}

/* =============================
  Extra Small (≤340px)
   ============================= */
@media (max-width: 340px) {
  .faq-question-text {
    font-size: 0.8rem;
  }
  .faq-answer-content {
    font-size: 0.75rem;
  }
}
