/* ==========================================================================
   DreamIT ImpactOS - Page Specific Styles
   Visual Design: VaultEx by Emote Agency (Editorial Fintech / Impact)
   ========================================================================== */

/* ---------------------------------------------------------
   1. HERO SECTION & VAULTEX GEOMETRIC VISUAL
   --------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + clamp(48px, 6vw, 96px));
  padding-bottom: clamp(64px, 8vw, 130px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-10);
  }
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: clamp(52px, 6.5vw, 100px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--foreground);
  margin-bottom: var(--space-6);
}

.hero-title span.accent-lime {
  background: var(--grad-lime-sage);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.accent-lilac {
  background: var(--grad-lilac-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.62;
  color: var(--muted);
  margin-bottom: var(--space-8);
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
  font-size: 0.85rem;
  color: var(--muted);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-badge-item svg {
  color: var(--foreground);
}

/* VaultEx Signature Geometric Product Visual Container & Hero Dashboard */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.hero-visual-frame {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Abstract Background Geometrics behind Console */
.geo-shape-large {
  position: absolute;
  width: clamp(280px, 32vw, 440px);
  height: clamp(280px, 32vw, 440px);
  border-radius: 50%;
  background: var(--grad-lime-sage);
  opacity: 0.35;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.geo-shape-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 36px solid var(--lilac);
  opacity: 0.20;
  top: 10%;
  right: -20px;
  z-index: 1;
  pointer-events: none;
}

/* Primary Hero Dashboard Live Telemetry Console (Dark VaultEx Card) */
.hero-dashboard-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  background: #0D0E12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-hero, 24px);
  box-shadow: 0 32px 80px rgba(5, 5, 6, 0.24), 0 8px 24px rgba(5, 5, 6, 0.12);
  padding: clamp(18px, 2.5vw, 24px);
  color: #F3F2F4;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(5, 5, 6, 0.32), 0 12px 32px rgba(5, 5, 6, 0.18);
}

/* Chrome Window Bar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
  flex-wrap: wrap;
}

.dash-window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dash-window-dots .dot.red { background: #EF4444; }
.dash-window-dots .dot.amber { background: #F59E0B; }
.dash-window-dots .dot.green { background: #10B981; }

.dash-env-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill, 999px);
  background: rgba(92, 180, 76, 0.15);
  border: 1px solid rgba(92, 180, 76, 0.35);
  font-size: 0.68rem;
  font-weight: 700;
  color: #5CB44C;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5CB44C;
  box-shadow: 0 0 8px #5CB44C;
  animation: liveConsolePulse 2s infinite ease-in-out;
}

@keyframes liveConsolePulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* Dashboard Body Content */
.dash-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 6-Metric Mini KPI Grid */
.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  transition: all var(--transition-fast, 0.2s);
}

.mini-kpi:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.mini-kpi-label {
  font-size: 0.68rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
  font-weight: 600;
}

.mini-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono, monospace);
  color: #F8FAFC;
  line-height: 1.15;
}

.mini-kpi-sub {
  font-size: 0.68rem;
  color: #64748B;
  margin-top: 3px;
}

/* 2-Column Split: Progress Bars & Risk Signal */
.dash-middle-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
}

.dash-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.dash-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 6px;
}

.demo-tag {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill, 999px);
  background: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Primary Elevated Dashboard Card (Alternative Frame) */
.hero-product-card {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.10);
  border-radius: var(--radius-hero);
  box-shadow: 0 24px 70px rgba(5, 5, 6, 0.10), 0 4px 16px rgba(5, 5, 6, 0.04);
  overflow: hidden;
  padding: var(--space-6);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(5, 5, 6, 0.06);
}

.hero-floating-metric {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--surface-dark);
  color: #FFFFFF;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-floating-badge {
  position: absolute;
  top: -16px;
  right: 20px;
  background: var(--lime);
  color: var(--foreground);
  font-weight: 700;
  font-size: 0.785rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  z-index: 4;
}

/* ---------------------------------------------------------
   2. SECTION 02: FRAGMENTATION VS UNIFIED INTELLIGENCE
   --------------------------------------------------------- */
.frag-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: var(--space-10) 0;
}

.frag-card {
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.frag-card:hover {
  border-color: rgba(5, 5, 6, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.frag-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  color: var(--foreground);
}

.frag-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.frag-card p {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.5;
}

.frag-arrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: var(--space-10) auto;
  color: var(--foreground);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------------------------------------------------------
   3. SECTION 03: CONTINUOUS IMPACT PIPELINE TRACK
   --------------------------------------------------------- */
.pipeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: var(--space-10) 0;
}

.pipeline-node {
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.pipeline-node:hover {
  border-color: var(--foreground);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.node-step {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.node-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
}

.master-transform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: var(--space-8);
}

.transform-box {
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
}

.transform-box::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--foreground);
  font-weight: 700;
  z-index: 2;
}

.transform-box:last-child::after {
  display: none;
}

/* ---------------------------------------------------------
   4. SECTION 04: EDITORIAL PLATFORM MODULES
   --------------------------------------------------------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.module-card {
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.08);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 38px);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(5, 5, 6, 0.2);
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  margin-bottom: var(--space-5);
}

.module-card h4 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.module-card p {
  font-size: 0.95rem;
  color: var(--muted);
  flex: 1;
  line-height: 1.65;
}

.module-link {
  margin-top: var(--space-6);
  font-size: 0.885rem;
  font-weight: 700;
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.module-link:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------
   5. LIVE DEMO APPLICATION SHELL
   --------------------------------------------------------- */
.live-demo-shell {
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-top: var(--space-8);
}

.demo-header-bar {
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(5, 5, 6, 0.08);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.demo-tab-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.demo-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.885rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-tab-btn:hover {
  color: var(--foreground);
  background: rgba(5, 5, 6, 0.04);
}

.demo-tab-btn.active {
  background: #FFFFFF;
  color: var(--foreground);
  border-color: rgba(5, 5, 6, 0.10);
  box-shadow: var(--shadow-sm);
}

.demo-viewport {
  padding: clamp(24px, 4vw, 40px);
  min-height: 520px;
}

.demo-tab-pane {
  display: none;
}

.demo-tab-pane.active {
  display: block;
}

.demo-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid rgba(5, 5, 6, 0.06);
}

.demo-filter-select {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.12);
  color: var(--foreground);
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
}

/* ---------------------------------------------------------
   6. CSR OPPORTUNITY MAP (Stylized Light SVG)
   --------------------------------------------------------- */
.map-interactive-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .map-interactive-wrap {
    grid-template-columns: 1.35fr 1fr;
  }
}

.svg-map-frame {
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.state-path {
  fill: #E9E8EC;
  stroke: #FFFFFF;
  stroke-width: 2;
  transition: all 0.2s ease;
  cursor: pointer;
}

.state-path:hover, .state-path.selected {
  fill: var(--lime);
  stroke: var(--foreground);
}

.state-path.high-need {
  fill: #D8D6DF;
}

.map-sidebar-details {
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.08);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-card);
}

/* ---------------------------------------------------------
   7. CSR WHITE SPACES BAR CHART
   --------------------------------------------------------- */
.whitespace-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.whitespace-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.whitespace-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.885rem;
  font-weight: 500;
  color: var(--foreground);
}

.whitespace-bar-track {
  height: 14px;
  background: var(--bg-primary);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid rgba(5, 5, 6, 0.06);
}

.whitespace-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--foreground);
  transition: width 1s ease-in-out;
}

.whitespace-bar-fill.neglected {
  background: var(--lime);
}

/* ---------------------------------------------------------
   8. TRUST + EXECUTION SPLIT
   --------------------------------------------------------- */
.split-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 992px) {
  .split-deck {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

.split-center-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.hub-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--foreground);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}

.hub-circle span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lime);
}

/* ---------------------------------------------------------
   9. VERNACULAR FIELD SIMULATION
   --------------------------------------------------------- */
.phone-mockup-frame {
  max-width: 380px;
  margin: 0 auto;
  border: 12px solid #050506;
  border-radius: 44px;
  background: #FAFAFC;
  box-shadow: var(--shadow-xl), 0 20px 60px rgba(5, 5, 6, 0.12);
  overflow: hidden;
}

.phone-speaker-bar {
  width: 90px;
  height: 4px;
  background: #D8D6DF;
  border-radius: 4px;
  margin: 12px auto 14px auto;
}

.phone-screen {
  padding: 20px 18px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.voice-wave-anim {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 38px;
  margin: 14px 0;
}

.wave-bar {
  width: 4px;
  height: 14px;
  background: var(--foreground);
  border-radius: 2px;
  animation: soundwave 1.2s infinite ease-in-out alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes soundwave {
  0% { height: 6px; }
  100% { height: 34px; }
}

/* ---------------------------------------------------------
   10. REPORT PREVIEW (Print-ready)
   --------------------------------------------------------- */
.report-paper {
  background: #FFFFFF;
  color: #050506;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  font-family: var(--font-sans);
  position: relative;
  border: 1px solid rgba(5, 5, 6, 0.08);
}

.report-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(5, 5, 6, 0.03);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  pointer-events: none;
  white-space: nowrap;
}

.report-header-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 2px solid #050506;
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-6);
}

.report-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--bg-primary);
  border: 1px solid rgba(5, 5, 6, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: var(--space-6);
}

.report-meta-item .lbl {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}

.report-meta-item .val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--foreground);
  font-family: var(--font-mono);
}

/* ---------------------------------------------------------
   11. FOUNDER PROFILE CARDS (No Fabricated Info)
   --------------------------------------------------------- */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.founder-card {
  background: #FFFFFF;
  border: 1px solid rgba(5, 5, 6, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.founder-portrait-wrap {
  height: 280px;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(5, 5, 6, 0.06);
}

.founder-portrait-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px dashed rgba(5, 5, 6, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.founder-body {
  padding: var(--space-6);
  flex: 1;
}

.founder-body h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.founder-role {
  color: var(--foreground);
  font-weight: 700;
  font-size: 0.925rem;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-notice {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 2px solid rgba(5, 5, 6, 0.15);
  padding-left: 12px;
  margin-top: 14px;
}
