body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background-color: #0f0f0f;
  color: #fff;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  background-color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  box-sizing: border-box;
}

nav img {
  height: 70px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #ccc;
  font-weight: 600;
  transition: color 0.3s;
  white-space: nowrap;
}

nav a:hover {
  color: #acfa30;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 3rem;
  text-align: center;
  box-sizing: border-box;
  background-color: #0f0f0f;
}

.container {
  max-width: 800px;
  width: 100%;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.section {
  margin: 3rem 0;
}

.benefits {
  list-style: none;
  padding: 0;
}

.benefits li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #ccc;
}

button {
  padding: 0.75rem 1.2rem;
  background-color: #acfa30;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  margin-top: 2rem;
}

button:hover {
  background-color: #8cd400;
}

footer {
  text-align: center;
  padding: 0rem;
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  background-color: #0f0f0f;
  padding: 1rem 0; /* vertical padding for entire footer */
}

footer p {
  margin: 0;       /* remove default spacing */
  padding: 0;      /* remove any padding */
}

.ticker-wrapper {
  background-color: #bf59c4;
  height: 30px;
  overflow: hidden;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 1099;
  font-family: 'Bebas Neue', sans-serif;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  will-change: transform;
  animation: ticker-scroll 15s linear infinite;
  color: white;
  font-weight: bold;
  line-height: 30px;
  font-size: 18px;
  padding-left: 100%;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* FAQ Accordion Styling */
.faq {
  text-align: left;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #2c2c2c;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  background-color: #1a1a1a;
  color: #acfa30;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  padding: 1rem;
  margin: 0;
  border: none;
  text-align: center;
  cursor: pointer;
  line-height:1.4;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background-color: #2c2c2c;
  color: #ccc;
  padding: 0 1rem; /* horizontal padding only */
  font-size: 1rem;
  line-height: 1.5;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.faq-question.active + .faq-answer {
  max-height: 500px; /* large enough to fit your longest answer */
  opacity: 1;
  padding: 1rem;
}

.faq-question:hover {
  background-color: #2a2a2a; /* a subtle, darker grey */
  color: #acfa30; /* slightly lighter than base text, not too bright */
}

/* Hamburger button hidden by default */
.menu-toggle {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  nav {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    z-index: 10 /* above ticker*/
  }

  /* Logo */
  nav img {
    height: 50px;
    margin: 0;
  }

  /* Hamburger button visible on mobile */
  .menu-toggle {
    all: unset; /* strips ALL browser styles */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    background: none !important;
    outline: none !important;
  }

  .menu-toggle:focus,
  .menu-toggle:active {
    outline: none !important;
    background: none !important;
    box-shadow: none !important;
  }

  .menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #acfa30; /* neon green */
    border-radius: 2px;
    transition: background-color 0.2s ease-in-out; /* smooth color change */
  }

  .menu-toggle:hover .bar {
    color: #95db28;
  }

  /* Mobile menu */
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center; /* center text */
    gap: 0; /* no gap between items so borders touch */
    position: absolute;
    right: 0;
    top: 100%;
    right: 0; /* stick to the right edge */
    width: 40%; /* 40% of screen width */
    background-color: inherit; /* match nav bar color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease-in-out;
    z-index: 10;
  }

  nav ul.show {
    transform: scaleY(1);
  }

    /* Menu items styling */
  nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid currentColor; /* thin border same as text color */
  }
  
  nav ul li a {
    display: block;
    padding: 0.75rem 0;
    color: inherit; /* match nav text color */
    text-decoration: none;
  }
  
  /* Remove last border */
  nav ul li:last-child {
    border-bottom: none;
  }

  /* Ticker adjustment */
  .ticker-wrapper {
    position: relative;
    top: 0;
    margin: 0;
    width: 100%;
    z-index: 1; /* keeps ticker under the menu */
    font-size: 0.65rem;
  }

  /* Prevent navbar from covering content */
  main {
    padding: 6rem 1rem 2rem;
    align-items: center;
  }

  .faq-question {
    background-color: #1a1a1a;  /* dark background */
    color: #acfa30 !important;  /* green text like SCOOP */
    font-size: 1rem;            /* slightly smaller for mobile */
    font-weight: 600;
    width: 100%;
    padding: 0.8rem;            /* reduced padding for smaller screens */
    margin: 0;
    border: none;
    text-align: center;
    cursor: pointer;
    line-height: 1.4;           /* ensures proper text wrapping */
    word-wrap: break-word;       /* forces long questions to wrap */
  }

  /* Buttons consistent */
  button,
  input[type="submit"] {
    color: black !important;
    background-color: #acfa30;
    border: none;
  }
}

