/* Shared styles for Nibanna static AEO content pages (/faq, /ai-receptionist, etc.).
   Mirrors the brand of the React legal pages: dark gradient, Inter, gold #f9d055. */
:root {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: #0f0f23; /* fallback behind the background video */
  padding: 2rem;
}

/* Fixed background video (same lotus video as the homepage hero) + dark scrim so the
   longer body text stays readable over it. */
.aeo-video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* light scrim — the reading panel handles text contrast */
  z-index: -1;
  pointer-events: none;
}

/* Translucent frosted "reading panel" so long text is readable while the video stays
   visible in the margins around it. */
.aeo-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 2.75rem 3rem;
  background: rgba(15, 15, 35, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}
.aeo-header { text-align: center; margin-bottom: 2.5rem; }
.aeo-header img { height: 64px; width: auto; margin-bottom: 1rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f9d055;
  text-decoration: none;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.back-link .back-arrow { width: 18px; height: 18px; transition: transform 0.2s ease; }
.back-link:hover { color: #fff; }
.back-link:hover .back-arrow { transform: translateX(-4px); }
h1 { font-size: 2.5rem; font-weight: 700; color: #fff; margin: 0 0 0.5rem 0; }
.intro { color: rgba(255, 255, 255, 0.75); font-size: 1.05rem; margin: 0 0 2.5rem 0; }
h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #f9d055;
  margin: 2rem 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
h3 { font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, 0.95); margin: 1.25rem 0 0.4rem 0; }
p { margin: 0 0 1rem 0; color: rgba(255, 255, 255, 0.85); }
ul { margin: 0 0 1rem 0; padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; color: rgba(255, 255, 255, 0.85); }
a { color: #f9d055; }
.cta {
  display: inline-block;
  margin: 0.5rem 0 0;
  background: linear-gradient(135deg, #f9d055 0%, #ebaf38 100%);
  color: #1a1a1a;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(249, 208, 85, 0.4); }
.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.related h2 { border: none; font-size: 1.05rem; margin-bottom: 0.5rem; }
.aeo-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.aeo-footer a { color: #f9d055; text-decoration: none; font-weight: 500; }
.aeo-footer a:hover { color: #fff; }
.aeo-footer .divider { margin: 0 0.5rem; opacity: 0.5; }
@media (max-width: 768px) {
  body { padding: 1rem; }
  .aeo-content { padding: 1.5rem 1.4rem 2rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.15rem; }
}
