/* ============================================ */
/* NISSA.AI — v10: Liquid Intelligence (White)  */
/* Stark white canvas. Chrome and cyan pulse    */
/* through clean space. Nothing darker than     */
/* Steel. One fluid organism.                   */
/* ============================================ */

:root {
  --white: #ffffff;
  --ghost: #f5f7fa;
  --fog: #e8ecf0;
  --mist: #dde1e6;
  --silver: #b8bfc6;
  --chrome: #8a929b;
  --steel: #4a5568;       /* DARKEST color in the entire system */
  --cyan: #00d4ff;
  --cyan-deep: #0099cc;
  --cyan-glow: #00e5ff;
  --cyan-dark: #006b8f;
  --risk: #ff4757;
  --savings: #00d68f;
  --caution: #ffb800;
  --font-display: 'Orbitron', sans-serif;
  --font-h: 'Exo 2', sans-serif;
  --font-b: 'Sora', sans-serif;
  --max-w: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--steel);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: rgba(0, 212, 255, 0.15); color: var(--steel); }

.skip-link { position: absolute; top: -50px; left: 0; background: var(--cyan); color: var(--white); padding: 8px 16px; z-index: 10000; font-size: 0.85rem; border-radius: 0 0 8px 0; }
.skip-link:focus { top: 0; }

/* ============================================ */
/* GLOBAL WHITE CANVAS                          */
/* Clean, breathing, open. Imagery and chrome   */
/* textures emerge from and dissolve back into  */
/* white space. Cyan is the pulse of life.      */
/* ============================================ */

/* Subtle ambient cyan glow — top of page */
body::before {
  content: '';
  position: fixed;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.035) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================ */
/* LAYOUT                                       */
/* ============================================ */
.pw-container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.pw-narrow { max-width: 720px; }
.pw-center { text-align: center; }

.pw-section {
  position: relative;
  padding: clamp(40px, 6vh, 72px) 0;
}

/* Fluid — no hard edges between sections */
.pw-section + .pw-section { padding-top: 0; }

/* ============================================ */
/* TYPOGRAPHY — Steel is the darkest            */
/* ============================================ */
.pw-display {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--steel);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pw-heading {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--steel);
  margin-bottom: 14px;
}

.pw-accent {
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pw-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 14px;
  position: relative;
  padding-left: 28px;
}

.pw-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.5;
}

.pw-body-lg { font-size: 1.05rem; color: var(--steel); line-height: 1.8; margin-bottom: 28px; max-width: 560px; }
.pw-body { font-size: 0.95rem; color: var(--steel); line-height: 1.8; margin-bottom: 20px; }
.pw-body-sm { font-size: 0.88rem; color: var(--steel); line-height: 1.8; }
.pw-body-sm strong { color: var(--steel); }

/* ============================================ */
/* BUTTONS                                      */
/* ============================================ */
.pw-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 8px;
  color: var(--white); background: var(--steel);
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}

.pw-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(0,212,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}

.pw-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(74,85,104,0.2); }
.pw-btn-primary:hover::after { transform: translateX(100%); }
.pw-btn-primary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.pw-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 8px;
  color: var(--steel); border: 1px solid var(--mist);
  transition: all 0.4s var(--ease);
}

.pw-btn-secondary:hover { border-color: var(--cyan); color: var(--cyan-deep); transform: translateY(-2px); }
.pw-btn-secondary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.pw-btn-lg { padding: 16px 40px; font-size: 0.8rem; }
.pw-btn-full { width: 100%; }
.pw-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.pw-cta-note { font-size: 0.72rem; color: var(--silver); margin-top: 10px; }

/* ============================================ */
/* NAV — Glass on white, barely there           */
/* ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
  border-bottom-color: rgba(0,212,255,0.06);
}

.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--steel);
  text-transform: uppercase;
}

.logo-text .logo-a { color: var(--cyan); }

.nav-links { display: flex; gap: 28px; }
.nav-link { font-family: var(--font-b); font-size: 0.78rem; font-weight: 400; color: var(--chrome); transition: color 0.3s; letter-spacing: 0.02em; }
.nav-link:hover { color: var(--cyan-deep); }
.nav-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.nav-cta {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: var(--steel);
  padding: 8px 20px; border-radius: 6px;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { box-shadow: 0 4px 16px rgba(74,85,104,0.2); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span { display: block; width: 20px; height: 1.5px; background: var(--chrome); transition: all 0.3s; }

.nav-links.mobile-open {
  display: flex !important; position: absolute; top: 64px; left: 0; right: 0;
  flex-direction: column; background: rgba(255,255,255,0.97); backdrop-filter: blur(24px);
  padding: 28px; border-bottom: 1px solid var(--fog); gap: 18px;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================ */
/* HERO — Wire wordmark + butterfly             */
/* ============================================ */
.pw-hero {
  padding-top: clamp(120px, 18vh, 180px);
  padding-bottom: clamp(60px, 8vh, 100px);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* Hero ambient glow */
.pw-hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.06) 0%, transparent 55%);
  pointer-events: none;
}

/* Hero wordmark — plain HTML text, Orbitron */
.pw-hero-wordmark {
  position: relative;
  margin: 0 auto 24px;
}

.pw-hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--steel);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  display: inline-block;
  position: relative;
  text-shadow: 0 2px 4px rgba(138,146,155,0.08);
}

/* The A — cyan with relative positioning for butterfly */
.pw-hero-a {
  color: var(--cyan);
  position: relative;
  display: inline-block;
}

/* Butterfly — tiny, perched on top-right edge of A */
.pw-hero-butterfly {
  position: absolute;
  top: -10px;
  right: -16px;
  width: 38px !important;
  height: auto !important;
  max-width: 38px !important;
  filter: drop-shadow(0 2px 6px rgba(0,212,255,0.25));
  transform: rotate(-12deg);
}

/* Mission statement */
.pw-hero-mission {
  font-family: var(--font-h);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: var(--chrome);
  text-align: center;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

/* Hero background image — fluid, subtle */
.pw-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.pw-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
  filter: saturate(0.7);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 15%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 70%, rgba(0,0,0,1) 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 15%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 70%, rgba(0,0,0,1) 100%);
}

/* ============================================ */
/* CIRCUIT SYSTEM — Bold cyan traces            */
/* Thick visible connections. Every card is a   */
/* node on a circuit board. PCB energy.         */
/* ============================================ */

/* Global spine — thick, visible, always on */
.neural-spine {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.neural-spine-line {
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--cyan) 10%,
    var(--cyan) 90%,
    transparent 100%
  );
  opacity: 0.2;
  position: relative;
  animation: spinePulse 6s ease-in-out infinite;
}

@keyframes spinePulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.3; }
}

/* ============================================ */
/* CARD GRIDS — Circuit board layout            */
/* ============================================ */
.pw-card-grid {
  margin-top: 40px;
  position: relative;
}

.pw-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pw-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Vertical circuit trace between rows */
.pw-card-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
  opacity: 0.25;
  transform: translateX(-50%);
}

/* ============================================ */
/* CARDS — Big, padded, soft, bouncy            */
/* Escalating cyan intensity as you scroll.     */
/* ============================================ */
.pw-card {
  border-radius: 20px;
  background: var(--white);
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  cursor: pointer;
}

/* Dramatic bounce on hover */
.pw-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}

/* Press/click rubber compress */
.pw-card:active {
  transform: translateY(-2px) scale(0.98);
  transition-duration: 0.1s;
}

.pw-card h4 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.pw-card p { font-size: 0.88rem; color: var(--steel); line-height: 1.75; position: relative; z-index: 1; }

/* Escalating cyan glow — DRAMATIC opacity */
/* Level 1: Awakening */
.neon-pink .pw-card {
  border: 2px solid rgba(0,212,255,0.2);
  box-shadow: 0 2px 12px rgba(0,212,255,0.04);
}
.neon-pink .pw-card:hover {
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 24px 60px rgba(0,212,255,0.12), 0 0 24px rgba(0,212,255,0.06);
}

/* Level 2: Alert */
.neon-green .pw-card {
  border: 2px solid rgba(0,212,255,0.35);
  box-shadow: 0 2px 12px rgba(0,212,255,0.06);
}
.neon-green .pw-card:hover {
  border-color: rgba(0,212,255,0.65);
  box-shadow: 0 24px 60px rgba(0,212,255,0.18), 0 0 36px rgba(0,212,255,0.1);
}

/* Level 3: Fully alive */
.neon-purple .pw-card {
  border: 2px solid rgba(0,212,255,0.5);
  box-shadow: 0 2px 12px rgba(0,212,255,0.08);
}
.neon-purple .pw-card:hover {
  border-color: rgba(0,212,255,0.8);
  box-shadow: 0 24px 60px rgba(0,212,255,0.22), 0 0 48px rgba(0,212,255,0.14);
}

/* ============================================ */
/* SECTION CIRCUIT CONNECTORS                   */
/* Horizontal traces between card sections      */
/* ============================================ */
.pw-section {
  position: relative;
}

/* Horizontal circuit trace at bottom of content sections */
.pw-section > .pw-container::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  margin: 20px auto 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--cyan) 20%,
    var(--cyan) 80%,
    transparent 100%
  );
  opacity: 0.12;
}

/* ============================================ */
/* SECTION DIVIDERS — Fluid imagery transitions */
/* Chrome textures dissolving into white        */
/* ============================================ */
.pw-divider {
  width: 100%;
  height: clamp(120px, 20vh, 240px);
  overflow: hidden;
  position: relative;
}

.pw-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.8);
}

/* Top fade into white — soft blend */
.pw-divider::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, var(--white), transparent);
  z-index: 1;
}

/* Bottom fade into white — soft blend */
.pw-divider::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1;
}

/* ============================================ */
/* CHROME WAVE — Animated, full-bleed divider   */
/* ============================================ */
.pw-divider-chrome {
  height: clamp(200px, 30vh, 360px);
  overflow: hidden;
}

.pw-divider-chrome img {
  width: 140%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  filter: saturate(0.6);
  animation: chromeFlow 20s ease-in-out infinite alternate;
}

@keyframes chromeFlow {
  0% { transform: translateX(0) scale(1); }
  50% { transform: translateX(-8%) scale(1.02); }
  100% { transform: translateX(-15%) scale(1); }
}

/* Softer fades for the chrome wave */
.pw-divider-chrome::before { height: 25%; }
.pw-divider-chrome::after { height: 25%; }

/* ============================================ */
/* CABLES — Continuous twisting spiral          */
/* Like a cement mixer — never stops churning   */
/* ============================================ */
.pw-divider-cables {
  height: clamp(180px, 28vh, 320px);
  overflow: hidden;
}

.pw-divider-cables img {
  width: 180%;
  height: 140%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  filter: saturate(0.75);
  animation: cableTwist 14s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes cableTwist {
  0%   { transform: translateX(0) scale(1) rotate(0deg); }
  25%  { transform: translateX(-10%) scale(1.04) rotate(0.8deg); }
  50%  { transform: translateX(-20%) scale(1.02) rotate(-0.5deg); }
  75%  { transform: translateX(-10%) scale(1.05) rotate(0.6deg); }
  100% { transform: translateX(0) scale(1) rotate(0deg); }
}

.pw-divider-cables::before { height: 20%; }
.pw-divider-cables::after { height: 20%; }

/* ============================================ */
/* GLASS TERMINAL — How It Works                */
/* A portal into Nissa's intelligence engine.   */
/* One floating glass artifact. Awe-struck.     */
/* ============================================ */
.glass-terminal {
  max-width: 620px;
  margin: 40px auto 0;
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 2px solid rgba(0,212,255,0.25);
  box-shadow:
    0 24px 80px rgba(0,212,255,0.08),
    0 0 40px rgba(0,212,255,0.04),
    0 4px 20px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.glass-terminal:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 100px rgba(0,212,255,0.12),
    0 0 60px rgba(0,212,255,0.06),
    0 8px 30px rgba(0,0,0,0.04);
}

/* Terminal header — macOS-style dots */
.glass-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(245,247,250,0.8);
  border-bottom: 1px solid rgba(0,212,255,0.08);
}

.glass-dots { display: flex; gap: 6px; }
.glass-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mist);
}
.glass-dot:nth-child(1) { background: rgba(0,212,255,0.3); }
.glass-dot:nth-child(2) { background: rgba(0,212,255,0.2); }
.glass-dot:nth-child(3) { background: rgba(0,212,255,0.15); }

.glass-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--chrome);
  text-transform: uppercase;
}

.glass-badge {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  padding: 3px 10px;
  border-radius: 4px;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ---- Animation: hidden by default, GSAP reveals ---- */
.glass-input,
.glass-processing,
.glass-divider,
.glass-output { opacity: 0; }

.glass-finding { opacity: 0; transform: translateY(12px); }

/* Input section — the forwarded email, compact */
.glass-input {
  padding: 16px 20px;
  border-bottom: 1px solid var(--fog);
}

.glass-input-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 4px;
}

.glass-input-label {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--silver);
  min-width: 52px;
}

.glass-input-value {
  font-size: 0.78rem;
  color: var(--steel);
}

.glass-input-body {
  margin-top: 10px;
}

.glass-input-body p {
  font-size: 0.82rem;
  color: var(--chrome);
  line-height: 1.6;
  margin: 0;
}

.glass-attachment {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--chrome);
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.1);
}
.glass-attachment svg { color: var(--cyan); }

/* Processing pulse — center stage */
.glass-processing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
}

.glass-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  animation: glassPulse 2s ease-in-out infinite;
}

@keyframes glassPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); box-shadow: 0 0 0 0 rgba(0,212,255,0); }
  50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 20px 6px rgba(0,212,255,0.2); }
}

.glass-processing-text {
  font-family: var(--font-display);
  font-size: 0.58rem;
  color: var(--cyan-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Cyan divider line */
.glass-divider {
  height: 2px;
  margin: 0 20px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.25;
}

/* Output section — Nissa's intelligence */
.glass-output {
  padding: 20px;
}

.glass-greeting {
  font-family: var(--font-h);
  font-size: 0.9rem;
  color: var(--steel);
  margin-bottom: 18px;
  font-weight: 500;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fog);
}

/* Findings — premium cards with color system */
.glass-findings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.glass-finding {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--fog);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.glass-finding:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

/* No top bar — full border neon glow instead */
.glass-finding-bar { display: none; }

/* Neon glow borders — always visible, high opacity */
.glass-finding-warn {
  border: 2px solid rgba(255,208,0,0.45);
  box-shadow: 0 0 16px rgba(255,208,0,0.1);
}
.glass-finding-warn:hover {
  border-color: rgba(255,208,0,0.75);
  box-shadow: 0 0 28px rgba(255,208,0,0.18), 0 12px 32px rgba(255,208,0,0.08);
}

.glass-finding-cyan {
  border: 2px solid rgba(0,229,255,0.45);
  box-shadow: 0 0 16px rgba(0,229,255,0.1);
}
.glass-finding-cyan:hover {
  border-color: rgba(0,229,255,0.75);
  box-shadow: 0 0 28px rgba(0,229,255,0.18), 0 12px 32px rgba(0,229,255,0.08);
}

.glass-finding-red {
  border: 2px solid rgba(255,59,92,0.45);
  box-shadow: 0 0 16px rgba(255,59,92,0.1);
}
.glass-finding-red:hover {
  border-color: rgba(255,59,92,0.75);
  box-shadow: 0 0 28px rgba(255,59,92,0.18), 0 12px 32px rgba(255,59,92,0.08);
}

.glass-finding-green {
  border: 2px solid rgba(0,255,135,0.45);
  box-shadow: 0 0 16px rgba(0,255,135,0.1);
}
.glass-finding-green:hover {
  border-color: rgba(0,255,135,0.75);
  box-shadow: 0 0 28px rgba(0,255,135,0.18), 0 12px 32px rgba(0,255,135,0.08);
}

.glass-finding-content {
  padding: 16px 18px 18px;
}

.glass-finding-content strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Each finding title — neon color matched */
.glass-finding-warn .glass-finding-content strong { color: #CC9800; }
.glass-finding-cyan .glass-finding-content strong { color: #00B8D9; }
.glass-finding-red .glass-finding-content strong { color: #E6334E; }
.glass-finding-green .glass-finding-content strong { color: #00CC6A; }

.glass-finding-content p {
  font-size: 0.78rem;
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 600px) {
  .glass-findings { grid-template-columns: 1fr; }
}

/* Signature + time */
.glass-sign {
  font-size: 0.78rem;
  color: var(--chrome);
  font-style: italic;
  margin: 0;
}

.glass-time {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  color: var(--cyan-deep);
  letter-spacing: 0.03em;
}

/* Terminal glow intensifies during processing */
.glass-terminal.processing {
  border-color: rgba(0,212,255,0.5);
  box-shadow:
    0 24px 80px rgba(0,212,255,0.15),
    0 0 60px rgba(0,212,255,0.08),
    0 4px 20px rgba(0,0,0,0.03);
}

/* Terminal fully alive after output */
.glass-terminal.alive {
  border-color: rgba(0,212,255,0.4);
  box-shadow:
    0 24px 80px rgba(0,212,255,0.12),
    0 0 50px rgba(0,212,255,0.06),
    0 4px 20px rgba(0,0,0,0.03);
}

/* Counter at bottom */
.glass-counter {
  text-align: center;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--fog);
  opacity: 0;
}

.glass-counter-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.glass-counter-label {
  font-size: 0.72rem;
  color: var(--chrome);
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 600px) {
  .glass-terminal { margin: 24px 0 0; border-radius: 14px; }
  .glass-input-row { flex-direction: column; gap: 2px; }
  .glass-finding-content { padding: 10px 12px; }
  .glass-counter-num { font-size: 1.8rem; }
}

/* ============================================ */
/* REPLY CARD                                   */
/* ============================================ */
.pw-reply {
  margin-top: 18px;
  border: 1px solid var(--fog);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ghost);
}
.pw-reply-head { padding: 10px 16px; border-bottom: 1px solid var(--fog); display: flex; flex-direction: column; gap: 2px; }
.pw-reply-from { font-family: var(--font-display); font-size: 0.65rem; color: var(--cyan-deep); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pw-reply-subj { font-size: 0.78rem; color: var(--steel); }
.pw-reply-body { padding: 14px 16px; background: var(--white); }
.pw-reply-body p { font-size: 0.82rem; color: var(--steel); padding: 5px 0; border-bottom: 1px solid var(--fog); line-height: 1.65; }
.pw-reply-body p:last-child { border-bottom: none; }
.pw-reply-body strong { color: var(--steel); }

/* ============================================ */
/* STATS — Clean, precise numbers               */
/* ============================================ */
.pw-stats { display: flex; justify-content: center; gap: 48px; margin-top: 36px; }
.pw-stat { text-align: center; }
.pw-stat-val {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--steel);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.pw-stat-lbl { font-size: 0.7rem; color: var(--silver); letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================ */
/* INTEGRATIONS                                 */
/* ============================================ */
.pw-integrations { margin-top: 48px; }
.pw-int-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: center; }
.pw-int {
  font-family: var(--font-b); font-size: 0.73rem; font-weight: 400;
  color: var(--chrome); padding: 7px 14px; border-radius: 8px;
  border: 1px solid var(--fog);
  background: var(--white);
  transition: all 0.3s;
}
.pw-int:hover { border-color: rgba(0,212,255,0.3); color: var(--cyan-deep); }

/* ============================================ */
/* SOCIAL PROOF — Subtle, elegant               */
/* ============================================ */
.pw-proof {
  padding: 48px 0;
  position: relative;
}

/* Soft cyan glow lines */
.pw-proof::before, .pw-proof::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.2), transparent);
}
.pw-proof::before { top: 0; }
.pw-proof::after { bottom: 0; }

.pw-proof-row { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; max-width: 900px; margin: 24px auto 0; padding: 0 40px; }
.pw-proof-quote { max-width: 260px; text-align: center; }
.pw-proof-quote p { font-size: 0.86rem; font-style: italic; color: var(--steel); line-height: 1.65; margin-bottom: 8px; }
.pw-proof-quote cite { font-size: 0.7rem; font-style: normal; color: var(--silver); font-weight: 400; }

/* ============================================ */
/* PRICING                                      */
/* ============================================ */
.pw-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; }
.pw-toggle-label { font-size: 0.84rem; color: var(--silver); cursor: pointer; transition: color 0.3s; }
.pw-toggle-label.active { color: var(--steel); font-weight: 600; }
.pw-toggle-save { font-size: 0.62rem; background: rgba(0,214,143,0.08); color: var(--savings); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.pw-toggle-switch { width: 44px; height: 24px; background: var(--fog); border-radius: 12px; position: relative; transition: background 0.3s; }
.pw-toggle-switch.annual { background: var(--cyan-deep); }
.pw-toggle-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform 0.3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.pw-toggle-switch.annual .pw-toggle-knob { transform: translateX(20px); }

.pw-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }

.pw-price-card {
  border-radius: 20px;
  background: var(--white);
  padding: 36px 28px;
  text-align: left;
  border: 2px solid rgba(0,212,255,0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  cursor: pointer;
}

.pw-price-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 20px 50px rgba(0,212,255,0.12), 0 0 20px rgba(0,212,255,0.06);
}

.pw-price-card:active {
  transform: translateY(-2px) scale(0.98);
  transition-duration: 0.1s;
}

/* Popular tier — always glowing */
.pw-price-pop {
  border: 2px solid rgba(0,212,255,0.5);
  box-shadow: 0 4px 24px rgba(0,212,255,0.1), 0 0 20px rgba(0,212,255,0.06);
}
.pw-price-pop:hover {
  border-color: rgba(0,212,255,0.8);
  box-shadow: 0 20px 50px rgba(0,212,255,0.2), 0 0 40px rgba(0,212,255,0.12);
}
.pw-price-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: var(--white);
  font-family: var(--font-display); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 6px;
}

.pw-price-tier { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--steel); margin-bottom: 3px; letter-spacing: 0.08em; text-transform: uppercase; }
.pw-price-for { font-size: 0.76rem; color: var(--silver); margin-bottom: 16px; }
.pw-price-amt { display: flex; align-items: baseline; gap: 3px; margin-bottom: 4px; }
.pw-price-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--steel); letter-spacing: -0.01em; }
.pw-price-per { font-size: 0.78rem; color: var(--silver); }
.pw-price-note { font-size: 0.7rem; color: var(--silver); margin-bottom: 16px; opacity: 0; height: 0; overflow: hidden; transition: all 0.3s; }
.pw-price-note.visible { opacity: 1; height: auto; margin-bottom: 16px; }
.pw-price-list { list-style: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--fog); }
.pw-price-list li { font-size: 0.8rem; color: var(--steel); padding: 4px 0 4px 16px; position: relative; }
.pw-price-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); opacity: 0.4; }

/* ============================================ */
/* FAQ                                          */
/* ============================================ */
.pw-faq {
  margin-top: 36px;
  position: relative;
  padding-left: 24px;
}

/* Vertical circuit trace for FAQ */
.pw-faq::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
  opacity: 0.2;
}

.pw-faq-item {
  border-bottom: none;
  position: relative;
  padding-left: 20px;
}
/* FAQ circuit junction */
.pw-faq-item::before {
  content: '';
  position: absolute;
  top: 22px; left: -24px;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--white);
  opacity: 0.4;
  transition: all 0.4s var(--ease);
}
/* Horizontal connector from junction */
.pw-faq-item::after {
  content: '';
  position: absolute;
  top: 26px; left: -14px;
  width: 14px; height: 3px;
  background: var(--cyan);
  opacity: 0.2;
  transition: opacity 0.4s var(--ease);
}
.pw-faq-item:hover::before { opacity: 1; background: var(--cyan); box-shadow: 0 0 12px rgba(0,212,255,0.4); }
.pw-faq-item:hover::after { opacity: 0.6; }
.pw-faq-item.open::before { opacity: 1; background: var(--cyan); box-shadow: 0 0 12px rgba(0,212,255,0.4); }
.pw-faq-item.open::after { opacity: 0.6; }

.pw-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-h); font-size: 0.92rem; font-weight: 500; color: var(--steel); text-align: left; transition: color 0.3s; }
.pw-faq-q:hover { color: var(--cyan-deep); }
.pw-faq-q:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pw-faq-q svg { flex-shrink: 0; color: var(--silver); transition: transform 0.4s var(--ease), color 0.3s; }
.pw-faq-item.open .pw-faq-q svg { transform: rotate(180deg); color: var(--cyan); }
.pw-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.pw-faq-item.open .pw-faq-a { max-height: 280px; }
.pw-faq-a p { padding-bottom: 16px; font-size: 0.86rem; color: var(--steel); line-height: 1.8; }

/* ============================================ */
/* CTA — Breathing white space finale           */
/* ============================================ */
.pw-cta {
  padding-top: clamp(40px, 6vh, 72px);
  padding-bottom: clamp(40px, 6vh, 72px);
  position: relative;
}

/* CTA ambient glow */
.pw-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================ */
/* FOOTER — Fades to silence                    */
/* ============================================ */
.pw-footer {
  border-top: 1px solid var(--fog);
  padding: 48px 40px 20px;
  position: relative;
}

.pw-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.25), transparent);
}

.pw-footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.pw-footer-brand .logo-text { margin-bottom: 8px; display: block; }
.pw-footer-brand p { font-size: 0.82rem; color: var(--silver); max-width: 240px; line-height: 1.6; }
.pw-footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pw-footer-col h4 { font-family: var(--font-display); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; color: var(--steel); }
.pw-footer-col a { display: block; font-size: 0.82rem; color: var(--chrome); padding: 3px 0; transition: color 0.3s; }
.pw-footer-col a:hover { color: var(--cyan-deep); }
.pw-footer-bottom { max-width: var(--max-w); margin: 28px auto 0; padding-top: 16px; border-top: 1px solid var(--fog); }
.pw-footer-bottom p { font-size: 0.68rem; color: var(--silver); letter-spacing: 0.03em; }

/* ============================================ */
/* GPU-ACCELERATED REVEAL ANIMATIONS            */
/* Zero JS scroll cost. Pure CSS transitions.   */
/* ============================================ */
.reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cards within grids */
.pw-card.reveal-ready { transition-delay: 0s; }
.pw-card.reveal-ready:nth-child(2) { transition-delay: 0.06s; }
.pw-card.reveal-ready:nth-child(3) { transition-delay: 0.12s; }
.pw-card.reveal-ready:nth-child(4) { transition-delay: 0.18s; }
.pw-card.reveal-ready:nth-child(5) { transition-delay: 0.24s; }
.pw-card.reveal-ready:nth-child(6) { transition-delay: 0.3s; }

/* Stagger pricing cards */
.pw-price-card.reveal-ready:nth-child(2) { transition-delay: 0.08s; }
.pw-price-card.reveal-ready:nth-child(3) { transition-delay: 0.16s; }

/* Stagger integrations */
.pw-int.reveal-ready { transition-delay: 0s; }
.pw-int.reveal-ready:nth-child(2) { transition-delay: 0.03s; }
.pw-int.reveal-ready:nth-child(3) { transition-delay: 0.06s; }
.pw-int.reveal-ready:nth-child(4) { transition-delay: 0.09s; }
.pw-int.reveal-ready:nth-child(5) { transition-delay: 0.12s; }

/* Steps slide from left */
.pw-step-full.reveal-ready {
  transform: translateX(-16px);
}
.pw-step-full.reveal-ready.revealed {
  transform: translateX(0);
}

/* Pills slide from left */
.pw-pill.reveal-ready {
  transform: translateX(-12px);
}
.pw-pill.reveal-ready.revealed {
  transform: translateX(0);
}

/* Pricing number transition */
.pw-price-num {
  transition: opacity 0.12s ease;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 960px) {
  .neural-spine { display: none; }
  .nav { padding: 0 20px; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .pw-container { padding: 0 24px; }
  .pw-cols-3 { grid-template-columns: 1fr; }
  .pw-cols-2 { grid-template-columns: 1fr; }
  .pw-pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .pw-stats { flex-direction: column; gap: 24px; }
  .pw-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .pw-proof-row { flex-direction: column; align-items: center; }
  .pw-hero { min-height: auto; }
  .pw-hero-butterfly { width: 28px !important; max-width: 28px !important; top: -6px; right: -8px; }
}

@media (max-width: 600px) {
  .pw-display { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .pw-heading { font-size: clamp(1.2rem, 5.5vw, 1.7rem); }
  .pw-hero-butterfly { width: 20px !important; max-width: 20px !important; top: -4px; right: -6px; }
  .pw-container { padding: 0 18px; }
  .pw-footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pw-footer { padding: 36px 18px 16px; }
  .pw-stat-val { font-size: 1.8rem; }
}
