/* ===== Base ===== */
body {
  background:
    radial-gradient(1200px 600px at 10% -10%, #14213d 0%, rgba(10, 15, 25, 0) 60%),
    radial-gradient(1000px 500px at 110% 10%, #0b1220 0%, rgba(8, 12, 20, 0) 60%),
    linear-gradient(180deg, #05070c 0%, #0a0f19 100%);
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* ===== Global CSS variables ===== */
:root{
  /* Dark navy palette */
  --navy-900:#0b1220;
  --navy-800:#0e172a;

  /* Neutral grays */
  --z200:#e5e7eb;
  --z300:#cbd5e1;
  --z400:#94a3b8;

  /* Generic ring + accent */
  --ring: rgba(255,255,255,.10);
  --accent:#10b981;

  /* Emerald palette for FAQ */
  --emerald-300:#6ee7b7;
  --emerald-400:#34d399;
  --emerald-500:#10b981;
}

/* ===== Why AwardSofts: sticky + hover preview (CLEAN) ===== */

/* layout */
.why-split{ padding: 6rem 0; }
.why-split__inner{
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  display: grid; gap: 28px; grid-template-columns: 1fr;
}
@media (min-width: 1024px){
  .why-split__inner{ grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
}

/* left (sticky) */
.why-split__left{
  position: sticky; top: 100px; align-self: start;
  color: var(--z200);
}
.why-title{
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900; color: #34d399; margin: 0 0 .5rem;
  position: relative; display: inline-block; padding-bottom: .5rem;
}
.why-title::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:72px;
  background: linear-gradient(90deg, rgba(16,185,129,.85), rgba(56,189,248,.55));
  border-radius:999px;
}
.why-lead{ color: var(--z300); max-width: 48ch; }

/* right column */
.why-split__right{ display: grid; gap: 18px; }

/* preview panel (sticky; empty by default; cannot intercept clicks) */
.why-preview{
  position: sticky; top: 100px;
  height: 56vh; min-height: 380px;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--ring);
  background: #0a0f19; box-shadow: 0 24px 60px rgba(0,0,0,.35);
  pointer-events: none; z-index: 0; opacity: 1;
}
.preview__img{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .45s ease;
  filter: saturate(1.05) contrast(1.05);
}
.preview__img.is-active{ opacity: 1; }

/* NO overlay by default to avoid dim look */
.preview__veil { display: none; }

/* list of items */
.why-list{
  list-style:none; margin:0; padding:0;
  display:grid; gap: 12px;
  position: relative; z-index: 1;
}
.why-item{
  cursor: pointer; border-radius: 16px;
  border: 1px solid var(--ring);
  background: rgba(255,255,255,.04);
  padding: 16px 18px; color: var(--z200);
  transition: transform .18s ease, background .2s ease, border-color .2s ease;
  outline: none;
}
.why-item h3{
  margin:.1rem 0 .35rem;
  font-size: 1.05rem; font-weight: 700; color: #34d399;
}
.why-item p{
  margin:0; font-size:.94rem; color: var(--z300);
}
.why-item:hover, .why-item:focus-visible{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

/* when empty, keep preview invisible (no dimming) */
.why-preview.is-empty .preview__img { opacity: 0; }

/* mobile tweaks */
@media (max-width: 1023.98px){
  .why-split__left{ position: static; }
  .why-preview{
    position: relative; top: auto;
    height: 42vh; min-height: 260px;
  }
}

/* ==== Emerald FAQ styles (aligned with container) ==== */

/* remove default divider lines if still present */
#faq .divide-y > :not([hidden]) ~ :not([hidden]){
  border-top-width:0 !important;
}

/* FAQ title */
#faq h2{
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  color: var(--emerald-400);
  letter-spacing: -0.01em;
  text-shadow: 0 8px 30px rgba(16,185,129,.15);
}

/* layout inside container */
#faq .faq-inner{
  margin-top: 2rem;
}

#faq .faq-list{
  display: grid;
  gap: 0.75rem;
}

/* FAQ item container */
#faq details{
  border: 1px solid rgba(16,185,129,.25);
  background: rgba(16,185,129,.06);
  border-radius: 16px;
  overflow: hidden;
  transition: background .2s ease, border-color .2s ease,
              box-shadow .25s ease, transform .18s ease;
}

/* summary row */
#faq summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  position: relative;
}
#faq summary::-webkit-details-marker{ display:none; }

/* subtle emerald bar on the left */
#faq summary::before{
  content:"";
  position:absolute; left:8px; top:10px; bottom:10px;
  width:4px; border-radius:999px;
  background: rgba(16,185,129,.55);
  transition: width .2s ease, background .2s ease, left .2s ease;
}

/* chevron */
#faq summary svg{
  color: var(--emerald-300);
  transition: transform .25s ease, color .2s ease;
}

#faq details[open] summary svg{
  transform: rotate(180deg);
  color: var(--emerald-400);
}

/* OPEN STATE */
#faq details[open]{
  background: rgba(16,185,129,.14);
  border-color: rgba(16,185,129,.45);
  box-shadow: 0 12px 50px rgba(16,185,129,.12);
  transform: translateY(-1px);
}

#faq details[open] summary::before{
  left:10px; width:6px; background: var(--emerald-500);
}

/* answer panel */
#faq details > p{
  margin: 0;
  padding: 8px 16px 16px 16px;
  color: #d1d5db;
}

/* hover/focus */
#faq details:hover{
  background: rgba(16,185,129,.10);
  border-color: rgba(16,185,129,.35);
}
#faq details:focus-within{
  outline: 2px solid rgba(16,185,129,.35);
  outline-offset: 2px;
}

/* reduce motion just for FAQ transitions (optional, small) */
@media (prefers-reduced-motion: reduce){
  #faq details,
  #faq summary,
  #faq summary::before {
    transition: none;
  }
}

/* ===== Hero auto slider ===== */
.hero-slider{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;          /* same look as before */
  overflow: hidden;
  border-radius: 0.75rem;       /* matches rounded-xl */
}

.hero-slide{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 12s infinite;   /* total = images × 3s (4 × 3s) */
}

/* Stagger each slide */
.hero-slide:nth-child(1){ animation-delay: 0s; }
.hero-slide:nth-child(2){ animation-delay: 3s; }
.hero-slide:nth-child(3){ animation-delay: 6s; }
.hero-slide:nth-child(4){ animation-delay: 9s; }

/* Crossfade timing */
@keyframes heroFade{
  0%    { opacity: 0; }
  2.5%  { opacity: 1; }    /* ~0.3s fade-in (2.5% of 12s) */
  22.5% { opacity: 1; }    /* hold */
  25%   { opacity: 0; }    /* fade-out */
  100%  { opacity: 0; }
}