/* futuristic.css - Elegant Light Theme overrides */

:root {
  --glow-crimson: rgba(181, 50, 58, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 10px 32px -8px rgba(15, 23, 42, 0.08);
  
  /* Make dark colors a bit softer/bluer for a modern tech feel */
  --ink: #0f172a;     /* Slate 900 */
  --ink-2: #334155;   /* Slate 700 */
  --steel: #64748b;   /* Slate 500 */
  --mist: #f8fafc;    /* Slate 50 */
  --rule: #e2e8f0;    /* Slate 200 */
}

/* Ambient animated background */
body {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 15% 10%, var(--glow-crimson) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
    linear-gradient(to bottom, transparent, rgba(255,255,255,0.8) 100%);
  background-attachment: fixed;
}

/* Sections */
.section--mist { background: transparent; }
.section--paper { background: rgba(255,255,255,0.3); }

/* Header Glassmorphism */
.site-head {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.03);
}

/* Buttons */
.btn {
  letter-spacing: 0.02em;
}
.btn--primary {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson)) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px -4px rgba(181, 50, 58, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #ef4444, var(--crimson-bright)) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px -4px rgba(181, 50, 58, 0.6);
  transform: translateY(-2px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Cards & Pillars (Glassmorphism) */
.card, .pillar, .caps__item, .step, .rail__panel, .stats div {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  border-radius: var(--r-lg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover, .pillar:hover, .caps__item:hover, .step:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 48px -12px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-color: #fff;
}

/* Grids / Borders removal */
.caps, .pillars, .stats, .modules, .compliance {
  background: transparent !important;
  border: none !important;
  gap: clamp(16px, 2vw, 24px) !important;
}

/* Fix step borders */
.step {
  border: 1px solid var(--glass-border) !important;
  padding: 26px !important;
  margin-bottom: 16px;
}
.steps { gap: 16px; }

/* The AI Console (Hero visual) */
.console {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 48px -12px rgba(181, 50, 58, 0.12), 0 0 0 1px rgba(255,255,255,0.4) inset;
  color: var(--ink);
}
.console__bar {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.console__dot {
  background: rgba(15, 23, 42, 0.15);
}
.console__dot:first-child {
  background: var(--crimson);
}
.console__title {
  color: var(--steel);
}
.console__q { color: var(--ink); font-weight: 600; }
.console__a { color: var(--ink-2); border-left-color: var(--crimson-bright); }
.console__a b { color: var(--ink); }

/* Overriding Dark Sections */
.section--ink {
  background: linear-gradient(180deg, transparent 0%, rgba(181, 50, 58, 0.03) 100%);
  color: var(--ink-2);
}
.section--ink h2, .section--ink h3, .section--ink h4 {
  color: var(--ink);
}
.section--ink .lede, .section--ink p, .section--ink li {
  color: var(--steel) !important;
}
.section--ink .chips li {
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.5);
}

/* Compliance Grid */
.compliance > div {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  border-radius: var(--r-lg);
  transition: all 0.3s ease;
}
.compliance > div:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(15,23,42,0.1);
}
.compliance h4 { color: var(--ink); }
.compliance li { color: var(--ink-2); }

/* CTA Band sleek rewrite */
.cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  backdrop-filter: blur(24px);
  border: 1px solid #fff;
  box-shadow: 0 24px 60px -12px rgba(181, 50, 58, 0.15);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(181, 50, 58, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.cta > div { position: relative; z-index: 1; }
.cta h2 { color: var(--ink); }
.cta p { color: var(--steel); }
.cta .btn--light {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson)) !important;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 16px -4px rgba(181, 50, 58, 0.4);
}
.cta .btn--light:hover {
  background: linear-gradient(135deg, #ef4444, var(--crimson-bright)) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px -4px rgba(181, 50, 58, 0.5);
  transform: translateY(-2px);
}
.cta .btn--outline-light {
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.15);
  background: rgba(255,255,255,0.5);
}
.cta .btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.2);
}

/* Light Footer */
.site-foot {
  background: var(--mist);
  color: var(--steel);
  border-top: 1px solid var(--rule);
}
.site-foot h4 { color: var(--ink); font-weight: 700; }
.site-foot a { color: var(--steel); }
.site-foot a:hover { color: var(--crimson); }
.foot__brand img.brand__h { filter: none !important; opacity: 1 !important; }
.foot__base { border-top-color: var(--rule); color: var(--steel-light); }

/* Typography styling for "futuristic" feel */
h1 {
  background: linear-gradient(135deg, var(--ink) 0%, var(--steel) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
}
h1 em {
  background: linear-gradient(135deg, var(--crimson-bright) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}
h2 {
  letter-spacing: -0.03em;
}

/* Rail stage tags (active state) */
.rail__stage[aria-selected="true"] {
  background: linear-gradient(160deg, var(--crimson), var(--crimson-bright));
  box-shadow: 0 4px 12px rgba(181, 50, 58, 0.3);
}

/* Stats */
.stats div {
  display: flex; flex-direction: column; justify-content: center;
}
.stats dt {
  background: linear-gradient(135deg, var(--crimson) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Center Sub-Page Heroes to fix empty right column */
#main > .section--tight:first-child .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#main > .section--tight:first-child .measure {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  max-width: 840px; /* Give it a bit more breathing room since it's centered */
}
#main > .section--tight:first-child .badges {
  justify-content: center;
}
#main > .section--tight:first-child .hero__actions {
  justify-content: center;
  margin-top: 24px;
}
#main > .section--tight:first-child .crumb {
  align-self: center;
  margin-bottom: 24px;
}

/* Hero Split layout & SVG overrides */
#main > .section--tight:first-child .wrap.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  text-align: left;
  gap: clamp(32px, 5vw, 64px);
}
#main > .section--tight:first-child .wrap.hero-split .crumb {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: end;
  margin-bottom: 0;
}
#main > .section--tight:first-child .wrap.hero-split .measure {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  align-items: flex-start;
  text-align: left;
  margin: 0;
}
#main > .section--tight:first-child .wrap.hero-split .hero-split__graphic {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
#main > .section--tight:first-child .wrap.hero-split .badges,
#main > .section--tight:first-child .wrap.hero-split .hero__actions {
  justify-content: flex-start;
}
@media (max-width: 900px) {
  #main > .section--tight:first-child .wrap.hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #main > .section--tight:first-child .wrap.hero-split .crumb {
    grid-column: 1 / -1;
    grid-row: auto;
    align-self: center;
    margin-bottom: 16px;
  }
  #main > .section--tight:first-child .wrap.hero-split .measure {
    grid-column: 1 / -1;
    grid-row: auto;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }
  #main > .section--tight:first-child .wrap.hero-split .hero-split__graphic {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 32px;
  }
  #main > .section--tight:first-child .wrap.hero-split .badges,
  #main > .section--tight:first-child .wrap.hero-split .hero__actions {
    justify-content: center;
  }
}

/* AI SVG Animation Classes */
.ai-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  animation: float 6s ease-in-out infinite;
  display: block;
  margin: 0 auto;
}
.ai-svg-ring {
  transform-origin: 200px 200px;
  animation: spin 24s linear infinite;
}
.ai-svg-ring--reverse {
  animation: spin 32s linear infinite reverse;
}
.ai-svg-node {
  animation: pulse 3s ease-in-out infinite alternate;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0% { opacity: 0.6; r: 4; }
  100% { opacity: 1; r: 7; filter: drop-shadow(0 0 10px var(--crimson)); }
}
