/* ==========================================================================
   ReNova Neu — Reimagined Supplementary Stylesheet
   Reflects the exact color system from the design reference poster:
   Deep Dark Purple (#1F0E45), Rich Violet (#5B21B6 / #7C3AED), Soft Lavender (#F3EEF9),
   Hexagonal badges, polygon chevron callouts, and white/dark violet cards.
   NO hot pink/rani color.
   ========================================================================== */

:root {
  --brand-purple-dark: #1F0E45;
  --brand-purple-mid: #2A1054;
  --brand-purple-rich: #5B21B6;
  --brand-purple-light: #7C3AED;
  --brand-cyan: #06B6D4;
  --brand-cyan-light: #22D3EE;
  --bg-light: #F3E7FE;
  --border-purple-subtle: #DCC3FA;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-light);
  color: #1F0E45;
}

/* Brand gradient text matching reference hero design */
.brand-gradient-text {
  background: linear-gradient(135deg, #1F0E45 0%, #5B21B6 60%, #7C3AED 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.brand-gradient-purple-violet {
  background: linear-gradient(135deg, #1F0E45 0%, #5B21B6 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* App preloader */
#app-preloader {
  transition: opacity 0.45s ease, visibility 0.45s ease;
  background-color: #160933;
}

.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-spinner {
  border-top-color: #7C3AED;
  border-right-color: #06B6D4;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pulse-dot {
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

/* Polygon Chevron Banner/Badge matching reference template style (Two-color gradient) */
.chevron-badge-dark {
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  background: linear-gradient(135deg, #6D28D9 0%, #1F0E45 75%);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.5);
}

.chevron-badge-purple {
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  background: linear-gradient(135deg, #6D28D9 0%, #1F0E45 75%);
}

.chevron-banner-bottom {
  clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%);
  background: linear-gradient(90deg, #1F0E45 0%, #4C1D95 60%, #6D28D9 100%);
}

/* Rich linear gradient purple section matching reference screenshot */
.section-gradient-purple {
  background: linear-gradient(140deg, #321369 0%, #1F0E45 45%, #12062E 100%);
}

.section-gradient-purple-subtle {
  background: linear-gradient(140deg, #2E125D 0%, #1A0B3B 50%, #0F0524 100%);
}

/* Reference card styles matching template image (Two-tone Light Purple to Dark Purple gradient) */
.reference-card-dark {
  background: linear-gradient(180deg, #3D177C 0%, #230B4D 40%, #14062E 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 40px -10px rgba(18, 6, 46, 0.6);
}

.card-two-tone-purple {
  background: linear-gradient(180deg, #4C1D95 0%, #280E56 35%, #150734 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.55);
  box-shadow: 0 20px 45px -10px rgba(21, 7, 52, 0.7);
}

.reference-card-light {
  background: #FFFFFF;
  border: 1.5px solid #D4C7EC;
  box-shadow: 0 10px 25px -5px rgba(31, 14, 69, 0.06);
}

.reference-card-purple-accent {
  background: #FAF8FD;
  border: 1.5px solid #D4C7EC;
  border-left: 5px solid #5B21B6;
}

/* Glow effects */
.glow-purple {
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.35);
}

.glow-cyan {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}

/* Hexagon icon container */
.hexagon-icon-wrap {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, #5B21B6, #2E1065);
}

/* Buttons matching reference deep purple & violet design */
.btn-primary-gradient {
  background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
  box-shadow: 0 10px 25px -5px rgba(91, 33, 182, 0.45);
  transition: all 0.25s ease;
}

.btn-primary-gradient:hover {
  background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(91, 33, 182, 0.55);
}

/* Scroll-reveal primitive */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav drawer slide */
.mobile-drawer {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Lightbox modal */
#lightbox-modal {
  transition: opacity 0.25s ease;
}

/* Capability tile icon chips (Why Neu bento grid) */
.icon-chip {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 18px -6px rgba(31, 14, 69, 0.35);
}

.icon-chip svg {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-chip-purple {
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 60%, #2E1065 100%);
}

.icon-chip-cyan {
  background: linear-gradient(135deg, #22D3EE 0%, #06B6D4 60%, #0E7490 100%);
}

.capability-tile {
  will-change: transform;
}

.capability-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #A855F7 0%, #7C3AED 55%, #6D28D9 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 0;
}

.capability-tile::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -160%;
  width: 60%;
  height: 220%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
  transform: rotate(20deg);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 1;
}

.capability-tile:hover::before {
  opacity: 1;
}

.capability-tile:hover::after {
  left: 160%;
}

/* Stats strip counters */
.stat-item {
  position: relative;
}

.counter {
  font-variant-numeric: tabular-nums;
}

/* Desktop nav link underline grow */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Strategic Pillars Card with #F2EEF7 top level accent and dynamic hover background animation */
.pillar-card-f2eef7 {
  position: relative;
  background: linear-gradient(180deg, rgba(242, 238, 247, 0.16) 0%, rgba(61, 23, 124, 0.95) 28%, #14062E 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.45);
  border-top: 4px solid #F2EEF7;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.5s ease;
  box-shadow: 0 15px 35px -10px rgba(18, 6, 46, 0.6);
}

.pillar-card-f2eef7::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(242, 238, 247, 0.3) 0%, rgba(124, 58, 237, 0.18) 50%, transparent 80%);
  opacity: 0.5;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.pillar-card-f2eef7::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(242, 238, 247, 0.28) 50%,
    transparent 60%
  );
  transform: rotate(30deg);
  transition: transform 0.8s ease, left 0.8s ease;
  pointer-events: none;
}

.pillar-card-f2eef7:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #F2EEF7;
  border-top-color: #F2EEF7;
  box-shadow: 0 25px 50px -10px rgba(124, 58, 237, 0.55), 0 0 25px rgba(242, 238, 247, 0.35);
  background: linear-gradient(180deg, rgba(242, 238, 247, 0.28) 0%, rgba(91, 33, 182, 0.98) 32%, #230B4D 100%);
}

.pillar-card-f2eef7:hover::before {
  opacity: 1;
  transform: scale(1.15);
}

.pillar-card-f2eef7:hover::after {
  left: 100%;
}


