/* ---------- Base ---------- */
:root {
  --blue-900: #0d1b2a;
  --blue-800: #1b263b;
  --blue-700: #415a77;
  --yellow:   #facc15;
  --white:    #f1f5f9;
}

*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  background: var(--blue-900);
}

img {max-width: 100%; display:block;}

.container {width: min(90%, 1100px); margin-inline: auto}

a {color: inherit; text-decoration: none}

/* ========== Logo text ========== */
.logo-text{
  font-family:"Playfair Display", serif;
  font-size:clamp(2rem,4vw,2.75rem);   /* responsivo 32-44 px aprox. */
  font-weight:800;
  line-height:1;
  background:linear-gradient(90deg,#facc15 0%,#38bdf8 100%);
  -webkit-background-clip:text;
  -moz-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;  /* faz o gradiente aparecer */
  -moz-text-fill-color:transparent;
  text-fill-color:transparent;
  letter-spacing:0.5px;
}


/* ---------- Navbar ---------- */
.navbar {
  backdrop-filter: blur(8px);
  background: rgba(13, 27, 42, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-flex {display:flex; align-items:center; justify-content:space-between; padding-block: .75rem}

.logo {height: 38px}

.menu a {
  margin-left: 2rem;
  font-weight: 600;
  transition: .2s;
  font-size: 1rem;
  white-space: nowrap;
}
.menu a:hover {color: var(--yellow)}

/* ---------- Hero ---------- */
.hero {padding: 6rem 0 4rem}
.hero-inner {text-align:center}
.hero-title {
  font-family:"Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height:1.1;
  margin-bottom:1rem;
}
.hero-sub {max-width: 720px; margin-inline:auto; margin-bottom:2rem}

.btn-primary, .btn-secondary {
  display:inline-block;
  padding:.9rem 2rem;
  border-radius: 50rem;
  font-weight:600;
  transition:.25s;
}
.btn-primary {background: var(--yellow); color: var(--blue-900)}
.btn-primary:hover {transform: translateY(-3px); box-shadow:0 6px 20px rgba(0,0,0,.25)}

.btn-secondary {border:2px solid var(--yellow); color:var(--white)}
.btn-secondary:hover {background: var(--yellow); color: var(--blue-900)}

/* ---------- Cards Grid ---------- */
.section {padding:4rem 0}
.grid {display:grid; gap:2rem; grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}

.card {
  padding:2rem;
  border-radius:1rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform .3s;
}
.card:hover {transform: translateY(-6px)}

.card h2 {font-size:1.4rem; margin-bottom:.75rem; color: var(--yellow)}
.card p {margin-bottom:1rem}
.card ul {margin-left:1rem; margin-bottom:1rem}
.badge {
  display:inline-block;
  background: var(--yellow);
  color: var(--blue-900);
  padding:.25rem .9rem;
  border-radius:50rem;
  font-size:.75rem;
  font-weight:700;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--blue-800);
  text-align:center;
  padding:4rem 2rem;
}
.cta h3 {font-size:1.8rem; margin-bottom:1rem; font-weight:800}
.cta p {margin-bottom:1.5rem}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--blue-900);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

/* Footer for other pages */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-section {
  min-width: 150px;
}

.footer-section h3 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Simple footer for index page */
.footer-simple {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--blue-900);
  font-size: .875rem;
  letter-spacing: .5px;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-simple a {
  color: var(--white);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer-simple a:hover {
  color: var(--yellow);
}

/* Base background */
.bg-anim {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--blue-900);
  min-height: 100vh;
}

/* Floating particles animation */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  min-height: 100vh;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(250, 204, 21, 0.3);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.2);
}

.particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation: float 8s infinite;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation: float 12s infinite;
}

.particle:nth-child(3) {
  top: 40%;
  left: 40%;
  animation: float 10s infinite;
}

.particle:nth-child(4) {
  top: 80%;
  left: 60%;
  animation: float 14s infinite;
}

.particle:nth-child(5) {
  top: 30%;
  left: 70%;
  animation: float 16s infinite;
}

.particle:nth-child(6) {
  top: 70%;
  left: 30%;
  animation: float 20s infinite;
}

.particle:nth-child(7) {
  top: 50%;
  left: 50%;
  animation: float 18s infinite;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(100px, 50px);
  }
  50% {
    transform: translate(0, 100px);
  }
  75% {
    transform: translate(-100px, 50px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* ===== Transparency chart ===== */
#reservesChart{
  max-width:380px;
  margin-inline:auto;
}

/* Mobile Menu Styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--yellow);
  margin: 5px 0;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* Accessibility Improvements */
.navbar {
  position: relative;
}

.navbar a:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.menu a {
  position: relative;
}

.menu a:hover,
.menu a:focus {
  color: var(--yellow);
}

/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #facc15;
  color: #111;
  padding: 10px 18px;
  z-index: 1000;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: top 0.3s;
  outline: none;
  border: 2px solid #fff;
  text-shadow: 0 1px 2px #fff8;
}

.skip-link:focus {
  top: 0;
}

/* Table of Contents */
.toc {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.toc h3 {
  color: var(--yellow);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  padding: 0.25rem 0;
}

.toc-list a:hover,
.toc-list a:focus {
  color: var(--yellow);
}

/* Related Links */
.related-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-links h3 {
  color: var(--yellow);
  margin-bottom: 1rem;
}

.related-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.related-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
}

.related-links a:hover,
.related-links a:focus {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--yellow);
    color: var(--blue-900);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--yellow);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner p {
    color: var(--white);
    margin-top: 1rem;
    font-size: 1.2rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Parallax Elements */
.parallax {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Lazy Loading Images */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* Ecosystem Grid */
.ecosystem-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.ecosystem-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ecosystem-item h3 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ecosystem-item p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.partners {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partners h3 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.partner-logos img {
  opacity: 0.9;
  transition: all 0.3s ease;
  width: 180px;
  height: auto;
}

.partner-logos img:hover {
  opacity: 1;
}

/* BReal Features */
.breal-features {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature h3 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Ecosystem Section */
.ecosystem-section {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ecosystem-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.ecosystem-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  opacity: 0.9;
}

.ecosystem-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* BReal Card Styles */
.breal-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--yellow);
  position: relative;
  padding: 2rem;
}

.breal-card::before {
  display: none;
}

.breal-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.breal-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.breal-features .feature {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
}

.breal-features h4 {
  color: var(--yellow);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.breal-features p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Partners Section */
.partners-section {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(65, 90, 119, 0.1) 0%, rgba(13, 27, 42, 0) 100%);
  pointer-events: none;
}

.partners-section .container {
  position: relative;
  z-index: 1;
}

.partners-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.partners-section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--yellow);
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.partner-logos img {
  opacity: 0.9;
  transition: all 0.3s ease;
  width: 180px;
  height: auto;
}

.partner-logos img:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* Transparency Section */
.transparency-section {
  padding: 3rem 0;
  text-align: center;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
}

.transparency-section h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.transparency-section p {
  opacity: 0.9;
}

/* Badge */
.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue-900);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .ecosystem-main-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    gap: 1rem;
  }
  
  .ecosystem-side-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: auto;
  }

  .breal-features {
    flex-direction: column;
    gap: 0.75rem;
  }

  .breal-card {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .ecosystem-section {
    padding: 2rem 0;
  }

  .ecosystem-item {
    padding: 1.25rem;
  }

  .partners-section {
    padding: 2rem 0;
  }
}

/* Ensure text remains readable on all pages */
.page {
  position: relative;
  z-index: 1;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(10px);
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ensure section backgrounds are semi-transparent */
.ecosystem-section,
.partners-section,
.transparency-section {
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(10px);
  margin: 2rem 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ensure metric boxes and tables are readable */
.metric-box,
table th,
table td {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

/* Section dividers and spacing */
section {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0;
}

section:last-of-type {
  border-bottom: none;
}

/* Transparency page metrics */
.metrics-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-box h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--yellow);
}

.metric-box span {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

#reservesChart {
  margin: 2rem auto 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer spacing */
.footer {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background: var(--blue-900);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--white);
}

.modal-content h3 {
  color: var(--yellow);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.modal-content p {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.modal-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.modal-content li {
  color: var(--white);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.modal-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* Safari Mobile Fixes */
@supports (-webkit-touch-callout: none) {
  .ecosystem-main-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .ecosystem-side-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .staking-card {
    margin-top: 1.5rem;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* General Mobile Fixes */
@media (max-width: 768px) {
  .ecosystem-main-grid {
    display: flex;
    flex-direction: column;
  }

  .ecosystem-side-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .staking-card {
    margin-top: 1.5rem;
  }
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-primary);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
}

.faq-item h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  
  .faq-item {
    padding: 20px;
  }
}

/* FAQ Page Styles */
.faq-categories {
  margin-top: 2rem;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category h2 {
  color: var(--yellow);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.faq-item p {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .faq-category {
    margin-bottom: 2rem;
  }

  .faq-category h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-item {
    padding: 1.25rem;
  }
}

/* Chart Container */
.chart-container {
  max-width: 380px;
  margin: 2rem auto 0 auto;
  padding: 1.5rem 1.5rem 0 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.info-card h2 {
  color: var(--yellow);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.info-card p {
  color: var(--white);
  line-height: 1.6;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .info-cards {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .info-card {
    padding: 1.25rem;
  }
}

/* Prospera Tables - bordas mais visíveis */
.prospera-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border-radius: 0.75rem;
  border: 2.5px solid var(--yellow);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.prospera-table th, .prospera-table td {
  border-bottom: 1.5px solid var(--yellow);
  padding: 0.85rem 1rem;
}

.prospera-table th {
  background: rgba(250,204,21,0.10);
  color: var(--yellow);
  font-weight: 700;
  font-size: 1.05rem;
}

.prospera-table tr:last-child td {
  border-bottom: none;
}

/* Grid de cards de How to Get & Use PROSP - sempre 4 colunas no desktop */
.how-to-get-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1100px) {
  .how-to-get-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .how-to-get-grid {
    grid-template-columns: 1fr;
  }
}

/* Prospera - Mobile improvements */
@media (max-width: 700px) {
  .hero-inner {
    padding: 2.5rem 0 1.5rem 0;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.1;
  }
  .hero-sub, .ecosystem-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.2rem !important;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 0;
    margin-bottom: 1rem;
  }
  .utility-warning {
    font-size: 0.98rem !important;
    padding: 0.8rem 1rem !important;
    margin: 1rem auto 0 auto !important;
    width: 100%;
    box-sizing: border-box;
  }
  .ecosystem-section {
    padding: 1.5rem 0 !important;
  }
  .grid, .how-to-get-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .card {
    padding: 1.1rem !important;
    font-size: 0.98rem;
  }
  .prospera-table {
    font-size: 0.95rem;
    border-radius: 0 !important;
    min-width: 500px;
  }
  .prospera-table th, .prospera-table td {
    padding: 0.6rem 0.5rem;
  }
  .partner-logos {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding: 0.5rem;
  }
  .partner-logos img {
    width: 80vw;
    max-width: 220px;
    height: auto;
  }
  .chart-container {
    padding: 1rem 0.3rem 0.5rem 0.3rem !important;
    max-width: 98vw;
    min-width: 0;
    box-sizing: border-box;
  }
  .chart-container canvas {
    width: 90vw !important;
    max-width: 320px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }
}


