/* === Base Reset & Variables === */
:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --bg: #f9fafb;
  --text: #111827;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray: #e5e7eb;
  --border: #d1d5db;
  --radius: 10px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* === Layout === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}

/* === Navbar === */
.navbar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

/* === Hero / Intro Section === */
.intro {
  text-align: center;
  padding: 80px 0 60px;
}

.intro h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.intro p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* === Username Check === */
.username-check h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.username-check input {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}

.username-check input:focus {
  border-color: var(--primary);
}

#username-message {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
}

/* === Benefits === */
.benefits {
  background-color: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.benefits h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.benefits ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 15px;
}

.benefits li {
  padding: 10px 15px;
  border-left: 4px solid var(--primary);
  background-color: var(--bg);
  border-radius: var(--radius);
  font-size: 1.1rem;
  color: var(--text);
}

/* === FAQ Accordion === */
.faq {
  padding: 60px 0;
}

.faq h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid var(--gray);
  padding: 15px 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
  color: var(--primary);
  transition: color var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
  padding-right: 15px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 10px;
}

/* === Footer === */
.footer {
  background-color: var(--white);
  border-top: 1px solid var(--gray);
  padding: 30px 0;
  text-align: center;
  font-size: 0.95rem;
}

.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact a {
  color: var(--primary);
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 12px;
  }

  .intro h1 {
    font-size: 2.2rem;
  }

  .benefits ul {
    grid-template-columns: 1fr;
  }
}

.footer-social {
  margin-top: 10px;
}
.footer-social a {
  margin-right: 15px;
  text-decoration: none;
  color: #555;
}
.footer-social a i {
  margin-right: 5px;
}
.footer-social a:hover {
  color: #000;
}
