/*
 * Homepage UI fixes — hero seam, Meet Rizve portrait, FAQ accordion.
 * Loads after home-unique.css.
 */

/* ─── Hero → stats: no lime divider line ─────────────────────────────────── */
.rj-home .rj-hero--premium {
  padding-bottom: clamp(64px, 8vw, 108px);
  margin-bottom: clamp(12px, 2vw, 24px);
  border-bottom: none;
  overflow: hidden;
}

.rj-home .rj-hero--ide .rj-hero__showcase {
  overflow: visible;
}

.rj-home .rj-hero--ide {
  overflow: visible;
}

.rj-home .rj-hero--premium::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(72px, 10vw, 120px);
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--rj-bg, #06080f));
  z-index: 1;
}

.rj-home .rj-hero--premium > .rj-container {
  position: relative;
  z-index: 2;
}

.rj-home .rj-stat-strip--band {
  border-top: none;
  margin-top: clamp(8px, 1.5vw, 16px);
  position: relative;
  z-index: 2;
}

.rj-home .rj-stat-strip--dev {
  border-top: none;
  background: transparent;
}

.rj-home .rj-stat-strip--dev .rj-stat-strip__inner {
  display: none;
}

/* Softer hero glow — less neon band on the left */
.rj-home .rj-hero--premium::before {
  opacity: 0.45;
}

.rj-home .rj-hero__ambient .glow-orb-1 {
  opacity: 0.55;
}

.rj-home .rj-hero-showcase {
  padding-bottom: 0;
}

/* ─── Meet Rizve USA: content-first layout ─────────────────────────────────── */
.rj-home .rj-meet--usa {
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.rj-home .rj-meet--usa .rj-about-preview__actions {
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ─── FAQ: visible, 2-col desktop, smooth accordion ────────────────────────── */
.rj-home .rj-faq-section .rj-faq-item.reveal {
  opacity: 1;
  transform: none;
}

.rj-home .rj-faq-grid--premium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2rem;
}

.rj-home .rj-faq-grid--premium .rj-faq-item {
  align-self: start;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.rj-home .rj-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.rj-home .rj-faq-item summary::-webkit-details-marker {
  display: none;
}

.rj-home .rj-faq-item__q {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--rj-text);
}

.rj-home .rj-faq-item__icn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--rj-text-muted);
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.rj-home .rj-faq-item[open] .rj-faq-item__icn {
  transform: rotate(45deg);
  color: var(--rj-lime);
  background: rgba(157, 255, 87, 0.1);
}

.rj-home .rj-faq-item[open] summary .rj-faq-item__q {
  color: var(--rj-lime);
}

.rj-home .rj-faq-item__answer {
  padding: 0 1.25rem 1.15rem;
}

.rj-home .rj-faq-item__answer p {
  margin: 0;
  padding-top: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--rj-text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-block-start: 0.85rem;
}

.rj-home .rj-faq-item[open] {
  border-color: rgba(157, 255, 87, 0.22);
  background: rgba(13, 20, 36, 0.72);
}

@media (max-width: 768px) {
  .rj-home .rj-faq-grid--premium {
    grid-template-columns: 1fr;
  }

  .rj-home .rj-meet-badge {
    display: none;
  }

  .rj-home .rj-meet-frame {
    max-width: 340px;
    margin-inline: auto;
  }
}