/* ==========================================================================
   HEADER
   ========================================================================== */
/*
 * Dark-first header (refinement pass 01): the site is now light-on-dark
 * everywhere, transparent-over-hero or solid-on-scroll alike, so text
 * color no longer needs to flip between states — only the background
 * (transparent vs. a translucent dark panel) changes.
 */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  background: rgba(20, 16, 43, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.site-header.is-transparent { background: transparent; border-bottom-color: transparent; }
.site-header.is-scrolled { background: rgba(20, 16, 43, 0.88); border-bottom-color: var(--c-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.site-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--c-white); }
.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a { font-weight: 600; font-size: 0.96rem; color: var(--c-soft-white); transition: color var(--dur-fast); }
.main-nav a:hover { color: var(--c-violet-light); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; color: var(--c-white); }
.nav-toggle span { width: 24px; height: 2px; background: currentColor; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: 84px; left: 0; right: 0; bottom: 0;
    background: var(--c-ink-soft); color: var(--c-white);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out);
    overflow-y: auto; padding: 32px 24px; z-index: var(--z-nav-mobile);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { color: var(--c-white); }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   CUSTOM CURSOR (desktop only — see cursor.js, which no-ops on touch)
   ========================================================================== */
.chaunsa-cursor {
  position: fixed; top: 0; left: 0; width: 28px; height: 28px;
  border: 2px solid var(--c-violet-light); border-radius: 50%;
  pointer-events: none; z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width var(--dur-fast) var(--ease-out), height var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
  opacity: 0; mix-blend-mode: difference;
}
.chaunsa-cursor.is-active { opacity: 1; }
.chaunsa-cursor.is-magnetic { width: 52px; height: 52px; background: rgba(157,140,255,0.15); }
@media (hover: none), (pointer: coarse) { .chaunsa-cursor { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 84px; position: relative;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-fallback-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(91,63,212,0.25), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(157,140,255,0.18), transparent 50%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-eyebrow {
  display: inline-block; background: rgba(157,140,255,0.15); color: var(--c-violet-light);
  padding: 7px 18px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600; margin-bottom: 22px;
}
.hero-lede { font-size: 1.18rem; color: var(--c-text-muted); max-width: 600px; }
.hero-scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; z-index: 1;
}
.hero-scroll-cue span {
  display: block; width: 4px; height: 8px; background: var(--c-violet-light);
  border-radius: 2px; margin: 8px auto 0; animation: scrollCue 1.8s infinite;
}
@keyframes scrollCue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue span { animation: none; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--c-ink); color: #B9B3D6; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: 14px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #B9B3D6; }
.footer-grid a:hover { color: var(--c-violet-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 0.88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 782px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: #25D366; color: #fff; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25); transition: transform var(--dur-fast);
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 28px; height: 28px; }
