/* GLOBAL STYLES -------------------------------------------------- */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #0b0c10;
  color: #f5f5f5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #F7931A;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* HEADER --------------------------------------------------------- */

header {
  background: #0b0c10;
  border-bottom: 1px solid #1f2833;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1.5rem;
}

/* Header logos – keep aspect ratio and limit size */
.logo img {
  height: auto;
  width: auto;
  max-height: 40px;
}

.logo-right img {
  height: auto;
  width: auto;
  max-height: 48px;
}

/* Hidden on desktop, shown on mobile */
.brand-mobile {
  display: none;
}


/* NAVIGATION ----------------------------------------------------- */

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

nav li {
  font-size: 0.9rem;
}


/* MAIN LAYOUT ---------------------------------------------------- */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}


/* HERO SECTION --------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 2rem 1.5rem;
  border-radius: 1.2rem;

  background:
    linear-gradient(
      to bottom,
      rgba(11, 12, 16, 0.50),
      rgba(11, 12, 16, 0.62)
    ),
    url("../img/header-bg.jpg") center center / cover no-repeat;
}
.hero {
  padding: 3rem 2rem 2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #e0e0e0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #F7931A;
  margin-bottom: 1rem;
  position: relative;
}

/* Thin gold underline accent */
.hero-tag::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 55%;
  height: 2px;
  background: #F7931A;
  opacity: 0.9;
  border-radius: 2px;
}

.hero-card {
  background: radial-gradient(circle at top, #1f2833 0, #0b0c10 60%);
  border-radius: 1.2rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid #1f2833;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hero-metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #9fa7b8;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
}

.hero-metric-main {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.hero-metric-sub {
  font-size: 0.9rem;
  color: #c0c5d2;
}


/* SECTIONS ------------------------------------------------------- */

.section {
  margin-top: 3rem;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section p {
  line-height: 1.7;
  color: #d0d4dd;
}

.section-divider {
  border: 0;
  border-top: 1px solid #1f2833;
  margin: 2.5rem auto;
  max-width: 900px;
  opacity: 0.7;
}


/* CARDS & GRIDS -------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  border-radius: 1rem;
  border: 1px solid #1f2833;
  background: #0f1117;
  padding: 1.25rem 1.15rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.92rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9fa7b8;
  margin-bottom: 0.35rem;
}


/* ROADMAP -------------------------------------------------------- */

.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 1.25rem;
}

.roadmap-phase {
  border-radius: 1rem;
  border: 1px solid #1f2833;
  background: #0f1117;
  padding: 1.25rem 1.1rem;
}

.roadmap-phase h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.roadmap-phase ul {
  padding-left: 1.2rem;
  margin: 0;
}

.roadmap-phase li {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}


/* CONTACT LIST --------------------------------------------------- */

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.contact-list li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}


/* FOOTER --------------------------------------------------------- */

.footer {
  border-top: 1px solid #1f2833;
  background: #06070a;
  color: #9fa7b8;
  font-size: 0.8rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

/* Footer columns */
.footer-col {
  text-align: center;
}

/* Left: Logo */
.footer-logo img {
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Center: Badge, copy, legal */
.footer-badge {
  margin-bottom: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
}

.sdvosb-flag {
  font-size: 1rem;
}

.sdvosb-text {
  color: #9fa7b8;
}

.footer-copy {
  margin-top: 0.15rem;
}

.footer-legal {
  margin-top: 0.35rem;
}

/* Right: Social */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer links */
.footer a {
  color: #9fa7b8;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Footer X button helper */
.footer-x {
  margin: 0;
}

/* Force the X icon in the footer to be black */
.footer-x {
  color: #000000 !important;
}

/* Back to Top button ------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #F7931A;
  background-color: rgba(11, 12, 16, 0.9);
  color: #F7931A;
  font-size: 1.3rem;
  display: none;              /* hidden by default */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.55);
}

.back-to-top:hover {
  background-color: #F7931A;
  color: #0b0c10;
}

/* When the button is active/visible */
.back-to-top.show {
  display: flex;
}

/* X (Twitter) Button ---------------------------------- */
.x-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  color: #0b0c10;
  background-color: #F7931A;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.2s;
  border: 1px solid #F7931A;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.x-button:hover {
  background-color: #ffc166;
}

/* FAQ Section ---------------------------------------- */

.faq-section {
  margin-top: 3rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid #1f2833;
  background: #0f1117;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: 0.98rem;
}

.faq-question span:first-child {
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F7931A;
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

/* Answer is hidden by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
  font-size: 0.95rem;
  color: #d0d4dd;
}

/* When item is open, show the answer */
.faq-item.open .faq-answer {
  max-height: 400px; /* big enough for most answers */
  padding-top: 0.5rem;
  padding-bottom: 0.9rem;
}

/* Turn + into × by rotating it when open */
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
/* FAQ Section ---------------------------------------- */

.faq-section {
  margin-top: 3rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid #1f2833;
  background: #0f1117;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: 0.98rem;
}

.faq-question span:first-child {
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F7931A;
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

/* Answer is hidden by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
  font-size: 0.95rem;
  color: #d0d4dd;
}

/* When item is open, show the answer */
.faq-item.open .faq-answer {
  max-height: 400px; /* big enough for most answers */
  padding-top: 0.5rem;
  padding-bottom: 0.9rem;
}

/* Turn + into × by rotating it when open */
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* Scroll Fade-Up Animation ------------------------------------- */

.scroll-fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scroll-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* MOBILE STYLES -------------------------------------------------- */

@media (max-width: 900px) {

  /* Hide horizontal logo */
  .logo-right {
    display: none !important;
  }

  /* Show mobile brand */
  .brand-mobile {
    display: block !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
  }

  .brand-mobile span {
    display: block;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #c7c7c7;
    margin-top: -2px;
  }

  /* Mobile header layout */
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
  }

  .logo img {
    max-height: 32px;
  }

  /* Mobile nav: vertical list */
  nav ul {
    display: block;
    padding: 0;
    margin-top: 0.25rem;
  }

  nav li {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
  }

  nav a {
    display: inline-block;
    padding: 0.2rem 0;
  }

  /* Hero becomes single column */
  .hero {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .hero-card {
    margin-top: 1.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  /* Grids stack on mobile */
  .grid-3,
  .roadmap {
    grid-template-columns: 1fr;
  }

  main {
    padding: 2rem 1.25rem 3rem;
  }
}
/* MENU BUTTON (Mobile Only) ------------------------- */

.mobile-menu-button {
  display: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  color: #F7931A;
  border: 1px solid #F7931A;
  border-radius: 6px;
}

/* Collapsible navigation container */
.mobile-collapsible {
  width: 100%;
}

/* MOBILE MENU RULES -------------------------------- */
@media (max-width: 900px) {

  /* Hide full horizontal logo */
  .logo-right {
    display: none !important;
  }

  /* Stack header */
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Show mobile brand */
  .brand-mobile {
    display: block;
  }

  /* Show the MENU button */
  .mobile-menu-button {
    display: block;
    margin-top: 0.5rem;
  }

  /* Hide menu links by default */
  .mobile-collapsible ul {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    padding-left: 0;
  }

  /* When active (we'll toggle this with JS) */
  .mobile-collapsible.open ul {
    display: block;
  }

  /* Mobile nav links */
  .mobile-collapsible li {
    margin-bottom: 0.4rem;
    font-size: 1rem;
  }
}

@media (max-width: 900px) {

  /* ...existing mobile styles... */

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 1rem;
  }
}
