/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header & Navigation ===== */
header {
  background: #f7f7f7;
  border-bottom: 1px solid #e2e2e2;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #007bff;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a:focus {
  color: #007bff;
}

nav a.active {
  color: #007bff;
  border-bottom-color: #007bff;
}

/* ===== Main Content ===== */
main {
  padding: 2rem 0;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #111;
}

.intro {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 2rem;
}

section {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: #222;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.section-content {
  color: #333;
  margin-top: 0.5rem;
}

.section-content p {
  margin-bottom: 1rem;
}

/* ===== FAQ ===== */
.faq {
  margin-top: 3rem;
}

.faq h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fafafa;
  transition: background 0.2s;
}

.faq-item[open] {
  background: #fff;
  border-color: #007bff;
}

.faq-item summary {
  font-weight: 600;
  padding: 1rem;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #007bff;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-item .answer {
  padding: 0 1rem 1rem 1rem;
  color: #444;
}

/* ===== Footer ===== */
footer {
  background: #f7f7f7;
  border-top: 1px solid #e2e2e2;
  padding: 1.5rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  nav ul.open {
    display: flex;
  }

  nav ul li {
    padding: 0.5rem 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}