/* additional_styles.css — styles for /q-and-a/ and /project/ pages */

/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: #000000;
  color: #ffffff;
  font-family: visiaPro, "visiaPro Fallback", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: visiaPro, "visiaPro Fallback", Arial, sans-serif;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: #ffffff;
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  letter-spacing: -0.25px;
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 900;
  margin-bottom: 10px;
}

p {
  margin: 0 0 16px 0;
  font-weight: 800;
  line-height: 1.65;
  color: #e0e0e0;
}

a {
  color: #00FF7E;
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 126, 0.4);
  transition: text-decoration-color 0.2s ease;
}

a:hover {
  text-decoration-color: #00FF7E;
}

strong {
  font-weight: 900;
  color: #ffffff;
}

/* ===================== LAYOUT ===================== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #000000;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 32px;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #00FF7E;
  font-size: 20px;
  font-weight: 900;
}

.site-logo img {
  width: 34px;
  height: 34px;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 15px;
  font-weight: 900;
  color: #949E9E;
  text-decoration: none;
  padding: 8px 14px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  color: #00FF7E;
  background: rgba(0, 255, 126, 0.08);
  text-decoration: none;
}

.site-nav a.nav-active {
  color: #00FF7E;
  background: rgba(0, 255, 126, 0.1);
  border-color: rgba(0, 255, 126, 0.4);
}

.main-content {
  flex: 1;
  margin-top: 90px;
  padding-bottom: 80px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===================== HERO SECTION ===================== */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 180px;
  background: linear-gradient(247deg, #00FF7E 4.67%, #5865F2 96.93%);
  filter: blur(80px);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero .hero-subtitle {
  font-size: 18px;
  font-weight: 800;
  color: #949E9E;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 126, 0.1);
  border: 1px solid rgba(0, 255, 126, 0.3);
  border-radius: 100px;
  padding: 4px 14px 6px;
  font-size: 13px;
  font-weight: 900;
  color: #00FF7E;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* ===================== SECTIONS ===================== */
.content-section {
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-section:last-child {
  border-bottom: none;
}

.section-label {
  font-size: 12px;
  font-weight: 900;
  color: #00FF7E;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-intro {
  font-size: 17px;
  color: #949E9E;
  margin-bottom: 36px;
  max-width: 700px;
  font-weight: 800;
  line-height: 1.65;
}

/* ===================== CARDS ===================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.card {
  background: #121212;
  border: 1px solid #272A2A;
  border-radius: 20px;
  padding: 28px 24px;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(0, 255, 126, 0.3);
  background: #161616;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 126, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: #00FF7E;
  color: #00FF7E;
}

.card h3 {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.card p {
  font-size: 15px;
  color: #949E9E;
  margin: 0;
  line-height: 1.6;
  font-weight: 800;
}

/* Card with gradient border */
.card-featured {
  background: #121212;
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
}

.card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(247deg, #5865F2 4.67%, #00FF7E 96.93%);
  mask: linear-gradient(#fff 0, #fff 0) content-box exclude, linear-gradient(#fff 0, #fff 0);
  pointer-events: none;
}

/* ===================== FAQ / Q&A ACCORDION ===================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.faq-item {
  background: #121212;
  border: 1px solid #272A2A;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(0, 255, 126, 0.25);
}

.faq-item.is-open {
  border-color: rgba(0, 255, 126, 0.35);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: visiaPro, "visiaPro Fallback", Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #00FF7E;
}

.faq-item.is-open .faq-question {
  color: #00FF7E;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #949E9E;
  transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #00FF7E;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 16px;
  color: #949E9E;
  font-weight: 800;
  line-height: 1.7;
}

.faq-answer p {
  color: #949E9E;
  font-size: 16px;
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-divider {
  height: 1px;
  background: #272A2A;
  margin: 0 24px;
  display: none;
}

.faq-item.is-open .faq-divider {
  display: block;
}

/* ===================== STAT BLOCKS ===================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.stat-block {
  background: #121212;
  border: 1px solid #272A2A;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.stat-block:hover {
  border-color: rgba(0, 255, 126, 0.3);
}

.stat-value {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #00FF7E;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 14px;
  font-weight: 800;
  color: #949E9E;
  line-height: 1.4;
}

/* ===================== STEP LIST ===================== */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.step-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step-item:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(0, 255, 126, 0.1);
  border: 1px solid rgba(0, 255, 126, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #00FF7E;
  margin-top: 2px;
}

.step-content h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 15px;
  color: #949E9E;
  margin: 0;
  line-height: 1.65;
}

/* ===================== INLINE HIGHLIGHT ===================== */
.text-green {
  color: #00FF7E;
}

.text-muted {
  color: #949E9E;
}

.highlight-box {
  background: rgba(0, 255, 126, 0.07);
  border: 1px solid rgba(0, 255, 126, 0.25);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p {
  color: #cccccc;
  margin: 0;
  font-size: 16px;
}

/* ===================== INTERNAL LINK BUTTON ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: visiaPro, "visiaPro Fallback", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  border-radius: 100px;
  padding: 10px 22px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: #00FF7E;
  color: #000000;
  border-color: #00FF7E;
}

.btn-primary:hover {
  background: rgb(0, 178, 88);
  border-color: rgb(0, 178, 88);
  color: #000000;
  text-decoration: none;
}

.btn-outline {
  background: rgba(0, 255, 126, 0.08);
  color: #00FF7E;
  border-color: rgba(0, 255, 126, 0.4);
}

.btn-outline:hover {
  background: rgba(0, 255, 126, 0.15);
  border-color: #00FF7E;
  color: #00FF7E;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: #949E9E;
  border-color: #272A2A;
}

.btn-ghost:hover {
  color: #00FF7E;
  background: rgba(0, 255, 126, 0.06);
  border-color: rgba(0, 255, 126, 0.3);
  text-decoration: none;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-left a {
  font-size: 14px;
  color: #949E9E;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-left a:hover {
  color: #00FF7E;
  text-decoration: none;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social a {
  color: #949E9E;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-copy {
  font-size: 13px;
  color: #3B4040;
  font-weight: 800;
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 900;
  color: #3B4040;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #949E9E;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #00FF7E;
  text-decoration: none;
}

.breadcrumb-sep {
  color: #3B4040;
  user-select: none;
}

.breadcrumb-current {
  color: #ffffff;
}

/* ===================== BACK BUTTON ===================== */
.back-home-wrap {
  padding: 48px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===================== PROSE CONTENT ===================== */
.prose h2 {
  font-size: 26px;
  margin: 40px 0 14px;
  color: #ffffff;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  font-size: 16px;
  color: #cccccc;
  line-height: 1.75;
  margin-bottom: 18px;
  font-weight: 800;
}

.prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.prose ul li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 16px;
  color: #cccccc;
  font-weight: 800;
  line-height: 1.65;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: #00FF7E;
  border-radius: 50%;
  opacity: 0.7;
}

.prose a {
  color: #00FF7E;
}

/* ===================== DIVIDERS ===================== */
.section-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 48px 0;
  border: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .site-header {
    padding: 14px 16px;
  }

  .site-nav {
    display: none;
  }

  .main-content {
    margin-top: 72px;
  }

  .container,
  .container-wide {
    padding: 0 16px;
  }

  .page-hero {
    padding: 40px 0 32px;
    margin-bottom: 36px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .faq-question {
    font-size: 15px;
    padding: 18px 18px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .faq-divider {
    margin: 0 18px;
  }

  .step-item {
    gap: 14px;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-value {
    font-size: 28px;
  }

  .card {
    padding: 20px 16px;
  }
}