/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9fb;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Links */
a {
  color: #ff4e50;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, background-color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
}
a:hover {
  color: #e04345;
  background-color: rgba(255, 78, 80, 0.1);
  border-bottom: 2px solid #e04345;
  border-radius: 4px;
  padding: 2px 4px;
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}
.fade-in.delay-1 { animation-delay: 0.3s; }
.fade-in.delay-2 { animation-delay: 0.6s; }

/* Header */
header {
  background: linear-gradient(to right, #1e1e2f, #3a3a5a);
  color: #fff;
  padding: 2em 1em;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.5rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Main */
main {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

main section h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  border-left: 6px solid #ff4e50;
  padding-left: 10px;
}

main p {
  margin-bottom: 1em;
  color: #444;
}

/* Video */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 20px 0;
}
.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  left: 0;
  top: 0;
}

/* FAQ */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.faq-item.active {
  border-color: #ff4e50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.faq-question {
  background: #ff4e50;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 1.1em;
  padding: 15px;
  transition: background 0.3s ease;
}
.faq-question:hover {
  background: #e04345;
}
.faq-answer {
  padding: 0 15px 15px;
  display: none;
  background-color: #fafafa;
  border-top: 1px solid #ddd;
  color: #555;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #2c3e50;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-bottom: 0.5rem;
  }

  main {
    padding: 20px 10px;
  }

  .faq-question {
    font-size: 1rem;
    padding: 12px;
  }
}
