/* ---------- Power AI background + Prime glass panel ---------- */

.power-ai-hero {
  --background: 260 87% 3%;
  --prime-text: #fff;
  --prime-muted: #8e8e8e;
  --prime-border: rgba(255, 255, 255, 0.12);
  --prime-glass: rgba(255, 255, 255, 0.045);
  --prime-font: "Inter", "Segoe UI", system-ui, sans-serif;

  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: hsl(var(--background));
  color: var(--prime-text);
  font-family: var(--prime-font);
  isolation: isolate;
}

.power-ai-hero *,
.power-ai-hero *::before,
.power-ai-hero *::after {
  box-sizing: border-box;
}

.power-ai-hero__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: hsl(var(--background));
  z-index: 0;
}

.power-ai-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  display: block;
}

.power-ai-hero__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(28px, 5vh, 56px) clamp(16px, 4vw, 40px);
}

.power-ai-hero__glass {
  position: relative;
  width: 100%;
  max-width: 1080px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--prime-border);
  background: var(--prime-glass);
  background-blend-mode: luminosity;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 80px rgba(0, 0, 0, 0.35);
  padding: clamp(24px, 4vw, 40px);
}

.power-ai-hero__glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.06) 28%,
    rgba(255, 255, 255, 0) 52%,
    rgba(255, 255, 255, 0.08) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.power-ai-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
}

@media (min-width: 960px) {
  .power-ai-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(32px, 4vw, 48px);
  }
}

.power-ai-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.power-ai-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--prime-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.power-ai-hero__title {
  margin: 0 0 14px;
  color: var(--prime-text);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.power-ai-hero__lead {
  margin: 0 0 22px;
  max-width: 42ch;
  color: rgba(208, 208, 208, 0.78);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.55;
}

.power-ai-hero__points {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.power-ai-hero__point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(220, 220, 220, 0.88);
  font-size: 14px;
  line-height: 1.55;
}

.power-ai-hero__bullet {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.power-ai-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 22px rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.power-ai-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 28px rgba(255, 255, 255, 0.28);
}

.power-ai-hero__visual {
  min-width: 0;
}

.power-ai-hero__terminal {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--prime-border);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.power-ai-hero__terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--prime-border);
  background: rgba(255, 255, 255, 0.03);
}

.power-ai-hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.power-ai-hero__terminal-title {
  margin-left: 6px;
  color: var(--prime-muted);
  font-size: 12px;
  font-weight: 500;
}

.power-ai-hero__terminal-body {
  min-height: 210px;
  padding: 16px 16px 18px;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.65;
}

.power-ai-hero__prompt {
  margin-bottom: 10px;
  color: rgba(220, 220, 220, 0.9);
}

.power-ai-hero__prompt-user {
  color: rgba(255, 255, 255, 0.92);
}

.power-ai-hero__prompt-sep {
  color: var(--prime-muted);
}

.power-ai-hero__prompt-path {
  color: rgba(190, 190, 190, 0.85);
}

.power-ai-hero__prompt-cmd {
  margin-left: 8px;
  color: var(--prime-muted);
}

.power-ai-hero__terminal-idle,
.power-ai-hero__terminal-line {
  margin: 0 0 2px;
}

.power-ai-hero__terminal-idle {
  color: var(--prime-muted);
}

.power-ai-hero__terminal-line {
  color: rgba(210, 210, 210, 0.9);
}

.power-ai-hero__cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-top: 6px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.7);
  animation: powerAiCursor 1s steps(1) infinite;
}

@keyframes powerAiCursor {
  50% {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .power-ai-hero__glass {
    border-radius: 18px;
    padding: 20px;
  }

  .power-ai-hero__cta {
    width: 100%;
  }

  .power-ai-hero__terminal-body {
    min-height: 180px;
    font-size: 11.5px;
  }
}
