/* Universal Hero System - Base Styles */
.hero--universal {
  --hero-h1: clamp(2rem, 5vw, 3.5rem);
  --hero-p: var(--font-size-md);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg);
  color: var(--color-accent-contrast);
}

@media (max-width: 640px) {
  .hero--universal { --hero-p: var(--font-size-base); }
}

.hero--universal .hero-universal-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero--universal .hero-universal-copy h1 {
  font-size: var(--hero-h1);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-accent-contrast);
}

.hero--universal .hero-universal-copy p {
  font-size: var(--hero-p);
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero--universal .btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.hero--universal .btn-primary:hover {
  background: var(--color-accent-hover, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.hero--universal .hero-universal-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero--universal .hero-universal-video,
.hero--universal .hero-universal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* AI Dev Variant - Complete AI Chatbot Development Page Styles */
/* Base hero--ai-dev styles from base.css */
.hero.hero--universal.hero--ai-dev { 
  position: relative; 
  padding: clamp(140px, 18vw, 180px) 0 clamp(280px, 34vw, 320px) 0; 
  background: linear-gradient(180deg, #05070d 0%, #020305 100%); 
  overflow: hidden; 
}

.hero.hero--universal.hero--ai-dev::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: radial-gradient(120% 80% at 50% -20%, rgba(82,106,255,.35), transparent 65%); 
  pointer-events: none;
}

.hero.hero--universal.hero--ai-dev .hero-ai-dev-inner { 
  position: relative; 
  display: flex;
  justify-content: center; 
  padding-bottom: clamp(48px, 8vw, 72px); 
}

.hero.hero--universal.hero--ai-dev .hero-ai-dev-copy { 
  max-width: 720px; 
  text-align: center; 
  color: #fff; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: clamp(20px, 3vw, 32px);
}


.hero.hero--universal.hero--ai-dev .hero-ai-dev-copy p {
  margin: 0;
  color: rgba(230, 233, 239, 0.82);
  line-height: 1.7;
  font-size: var(--hero-p);
}

.hero.hero--universal.hero--ai-dev .hero-ai-dev-copy .btn-primary { 
  margin-top: 10px; 
}

.hero.hero--universal.hero--ai-dev .hero-ai-dev-media::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(180deg, rgba(5,7,13,.95) 0%, rgba(5,7,13,0) 32%, rgba(5,7,13,.25) 100%); 
  pointer-events: none; 
  opacity: .88; 
  transition: opacity .6s ease; 
}

.hero.hero--universal.hero--ai-dev .hero-ai-dev-video { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
}

.hero.hero--universal.hero--ai-dev .hero-ai-dev-media {
  margin: 0 auto !important;
}

/* ML Dev Variant - Light theme, bg image, media card below (matches supply-chain) */
.hero.hero--universal.hero--ml-dev {
  --hero-h1: 62px;
  background: url(/images/machine-learning-bg.webp) center center / cover no-repeat;
  padding: 140px 0 0;
  min-height: 160vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
}


.hero.hero--universal.hero--ml-dev .hero-ai-dev-inner {
  position: relative;
  top: 12vh;
  z-index: 2;
}

.hero.hero--universal.hero--ml-dev .hero-ai-dev-inner .hero-ai-dev-copy {
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
}

.hero.hero--universal.hero--ml-dev .hero-ai-dev-copy h1 {
  font-size: var(--hero-h1);
  line-height: 1.1;
  color: #0b0b0b;
  margin: 0 0 20px;
}

.hero.hero--universal.hero--ml-dev .hero-ai-dev-copy p {
  font-size: var(--hero-p);
  color: #1c1c1c;
  margin: 0 0 28px;
}

.hero.hero--universal.hero--ml-dev .hero-ai-dev-copy .btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  border-radius: 10px;
  padding: 12px 32px;
}

.hero.hero--universal.hero--ml-dev .hero-ai-dev-media {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  left: 0;
  bottom: 0;
  transform: none;
}

.hero.hero--universal.hero--ml-dev .hero-ai-dev-video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 960px) {
  .hero.hero--universal.hero--ml-dev {
    --hero-h1: 44px;
    padding: 110px 0 0;
    min-height: 140vh;
  }
}

@media (max-width: 640px) {
  .hero.hero--universal.hero--ml-dev {
    --hero-h1: 34px;
    padding: 90px 0 0;
    min-height: auto;
  }
  .hero.hero--universal.hero--ml-dev .hero-ai-dev-inner {
    position: relative;
    top: 0;
  }
  .hero.hero--universal.hero--ml-dev .hero-ai-dev-media {
    margin: 32px auto 0;
    border-radius: 20px;
  }
}

/* AI Agent Variant - Dark theme, sticky inner, rounded video below */
.hero.hero--universal.hero--ai-agent {
  --hero-h1: 52px;
  position: relative;
  min-height: 180vh;
  padding: 120px 0 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
}

.hero.hero--universal.hero--ai-agent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -20%, rgba(82,106,255,.35), transparent 65%);
  pointer-events: none;
}

.hero.hero--universal.hero--ai-agent .hero-ai-dev-inner {
  position: sticky;
  top: 25vh;
  z-index: 3;
  margin: 0;
  padding: 48px 32px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, transparent 75%);
}

.hero.hero--universal.hero--ai-agent .hero-ai-dev-copy h1 {
  font-size: var(--hero-h1);
  line-height: 1.08;
  margin: 0 0 24px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero.hero--universal.hero--ai-agent .hero-ai-dev-copy p {
  font-size: var(--hero-p);
  line-height: 1.65;
  color: var(--color-text, #e6e9ef);
  max-width: 780px;
  margin: 0 auto 28px;
}

.hero.hero--universal.hero--ai-agent .hero-ai-dev-copy .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero.hero--universal.hero--ai-agent .hero-ai-dev-copy .btn-primary:hover {
  background: var(--color-accent-hover, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.35);
}

.hero.hero--universal.hero--ai-agent .hero-ai-dev-media {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
  margin-top: 80px;
}

.hero.hero--universal.hero--ai-agent .hero-ai-dev-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

@media (max-width: 960px) {
  .hero.hero--universal.hero--ai-agent { --hero-h1: 42px; }
}

@media (max-width: 768px) {
  .hero.hero--universal.hero--ai-agent {
    min-height: 140vh;
    padding-top: 100px;
  }
  .hero.hero--universal.hero--ai-agent .hero-ai-dev-inner { top: 20vh; }
  .hero.hero--universal.hero--ai-agent .hero-ai-dev-media { margin-top: 60px; padding: 0 16px; }
  .hero.hero--universal.hero--ai-agent .hero-ai-dev-video { border-radius: 12px; }
}

@media (max-width: 640px) {
  .hero.hero--universal.hero--ai-agent { --hero-h1: 32px; }
}

/* AI Copilot Variant - Full-screen video bg, gradient overlay, centered content */
.hero.hero--universal.hero--ai-copilot {
  --hero-h1: 52px;
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero.hero--universal.hero--ai-copilot::before {
  display: none;
}

.hero.hero--universal.hero--ai-copilot .hero-ai-dev-media {
  position: absolute;
  width: 100vw;
  max-width: 100%;
  top: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero.hero--universal.hero--ai-copilot .hero-ai-dev-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero.hero--universal.hero--ai-copilot .hero-universal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 1));
  z-index: 1;
}

.hero.hero--universal.hero--ai-copilot .hero-ai-dev-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px;
}

.hero.hero--universal.hero--ai-copilot .hero-ai-dev-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero.hero--universal.hero--ai-copilot .hero-ai-dev-copy h1 {
  font-size: var(--hero-h1);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero.hero--universal.hero--ai-copilot .hero-ai-dev-copy p {
  font-size: var(--hero-p);
  line-height: 1.7;
  color: var(--color-text, #e6e9ef);
  margin: 0;
  max-width: 800px;
}

.hero.hero--universal.hero--ai-copilot .hero-ai-dev-copy .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero.hero--universal.hero--ai-copilot .hero-ai-dev-copy .btn-primary:hover {
  background: var(--color-accent-hover, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.35);
}

@media (max-width: 900px) {
  .hero.hero--universal.hero--ai-copilot { --hero-h1: 42px; }
}

@media (max-width: 640px) {
  .hero.hero--universal.hero--ai-copilot { --hero-h1: 32px; }
}

/* RPS Variant - Full-screen video bg, lighter gradient overlay, pill CTA */
/* Apple-style staggered reveal animation */
@keyframes heroRevealUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero.hero--universal.hero--rps .hero-ai-dev-copy h1,
.hero.hero--universal.hero--rps .hero-ai-dev-copy p,
.hero.hero--universal.hero--rps .hero-ai-dev-copy .btn-primary {
  opacity: 0;
  animation: heroRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero.hero--universal.hero--rps .hero-ai-dev-copy h1 {
  animation-delay: 0.15s;
}

.hero.hero--universal.hero--rps .hero-ai-dev-copy p {
  animation-delay: 0.4s;
}

.hero.hero--universal.hero--rps .hero-ai-dev-copy .btn-primary {
  animation-delay: 0.65s;
}

/* Overlay fade-in */
.hero.hero--universal.hero--rps .hero-universal-overlay {
  opacity: 0;
  animation: heroRevealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero--universal.hero--rps .hero-ai-dev-copy h1,
  .hero.hero--universal.hero--rps .hero-ai-dev-copy p,
  .hero.hero--universal.hero--rps .hero-ai-dev-copy .btn-primary,
  .hero.hero--universal.hero--rps .hero-universal-overlay {
    animation: none;
    opacity: 1;
  }
}

.hero.hero--universal.hero--rps {
  --hero-h1: 56px;
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.hero.hero--universal.hero--rps::before {
  display: none;
}

.hero.hero--universal.hero--rps .hero-ai-dev-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero.hero--universal.hero--rps .hero-ai-dev-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero.hero--universal.hero--rps .hero-universal-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 1));
}

.hero.hero--universal.hero--rps .hero-ai-dev-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 24px 90px;
  text-align: center;
}

.hero.hero--universal.hero--rps .hero-ai-dev-copy {
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero.hero--universal.hero--rps .hero-ai-dev-copy h1 {
  font-size: var(--hero-h1);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero.hero--universal.hero--rps .hero-ai-dev-copy p {
  font-size: var(--hero-p);
  line-height: 1.7;
  color: #d9e2f2;
  margin: 0;
  max-width: 860px;
}

.hero.hero--universal.hero--rps .hero-ai-dev-copy .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #0b0b0b;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero.hero--universal.hero--rps .hero-ai-dev-copy .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .hero.hero--universal.hero--rps { --hero-h1: 44px; }
  .hero.hero--universal.hero--rps .hero-ai-dev-inner { padding: 110px 20px 80px; }
}

@media (max-width: 640px) {
  .hero.hero--universal.hero--rps { --hero-h1: 34px; min-height: auto; }
  .hero.hero--universal.hero--rps .hero-ai-dev-inner { padding: 90px 16px 60px; }
  .hero.hero--universal.hero--rps .hero-ai-dev-copy { gap: 18px; }
  .hero.hero--universal.hero--rps .hero-ai-dev-copy p { max-width: 100%; }
  .hero.hero--universal.hero--rps .hero-ai-dev-copy .btn-primary { padding: 12px 24px; font-size: 15px; }
}

@media (max-width: 480px) {
  .hero.hero--universal.hero--rps { --hero-h1: 28px; }
  .hero.hero--universal.hero--rps .hero-ai-dev-inner { padding: 86px 14px 48px; }
  .hero.hero--universal.hero--rps .hero-ai-dev-copy { gap: 14px; }
  .hero.hero--universal.hero--rps .hero-ai-dev-copy p { font-size: 14px; line-height: 1.6; }
  .hero.hero--universal.hero--rps .hero-ai-dev-copy .btn-primary { padding: 11px 20px; font-size: 14px; }
}

/* Page-specific sticky media overrides from ai-chatbot-development.php */
/* Higher specificity to override base styles */
body.page-ai-chatbot .hero.hero--universal.hero--ai-dev {
  position: relative;
  min-height: 180vh;
  padding: 120px 0 0;
  overflow: visible;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background: #000;
}

body.page-ai-chatbot .hero.hero--universal.hero--ai-dev::before {
  content: '';
  background: url('/images/assets-ext/bg-liness.webp') no-repeat;
  background-size: 100%;
  height: 1200px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

body.page-ai-chatbot .hero.hero--universal.hero--ai-dev .hero-ai-dev-inner {
  position: sticky;
  top: 25vh;
  z-index: 3;
  margin: 0 auto;
  padding: 48px 32px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, transparent 75%);
}


body.page-ai-chatbot .hero.hero--universal.hero--ai-dev .hero-ai-dev-media {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-radius: 22px;
  overflow: hidden;
  bottom: 50%;
  top: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

body.page-ai-chatbot .hero.hero--universal.hero--ai-dev .hero-ai-dev-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Parallax Variant - Sticky scroll behavior */
.hero.hero--universal.hero--parallax {
  position: relative;
  min-height: 180vh;
  padding: 120px 0 0;
  overflow: visible;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background: #000;
}

.hero.hero--universal.hero--parallax::before {
  content: '';
  background: url('/images/assets-ext/bg-liness.webp') no-repeat;
  background-size: 100%;
  height: 1200px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.hero.hero--universal.hero--parallax .hero-universal-inner {
  position: sticky;
  top: 25vh;
  z-index: 3;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 32px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, transparent 75%);
}


.hero.hero--universal.hero--parallax .hero-universal-copy p {
  font-size: var(--hero-p);
  line-height: 1.65;
  color: var(--color-text, #e6e9ef);
  margin: 0;
}

.hero.hero--universal.hero--parallax .hero-universal-copy .btn-primary {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: var(--color-accent-contrast);
  font-weight: 700;
  text-decoration: none;
  max-width: 260px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 14px 28px rgba(var(--color-accent-rgb), .3);
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero.hero--universal.hero--parallax .hero-universal-copy .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(var(--color-accent-rgb), .36);
}

.hero.hero--universal.hero--parallax .hero-universal-copy .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(var(--color-accent-rgb), .24);
}

.hero.hero--universal.hero--parallax .hero-universal-media {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border-radius: 22px;
  overflow: hidden;
  bottom: 50%;
  top: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero.hero--universal.hero--parallax .hero-universal-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero.hero--universal.hero--parallax .hero-universal-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Universal Hero Extended Base Styles */
.hero--universal .hero-universal-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero--universal .hero-universal-copy {
  text-align: center;
  color: var(--color-accent-contrast);
}

.hero--universal .hero-universal-copy h1 {
  margin: 0;
  font-size: var(--hero-h1);
  line-height: 1.1;
  color: var(--color-accent-contrast);
}

.hero--universal .hero-universal-copy p {
  margin: 20px 0;
  font-size: var(--hero-p);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.hero--universal .hero-universal-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero--universal .hero-universal-video,
.hero--universal .hero-universal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* AI Integration Variant - From ai-integration-services.php */
.hero.hero--universal.hero--ai-integration {
  --hero-h1: 62px;
  --hero-p: 1.25rem;
  position: relative;
  min-height: 180vh;
  padding: 120px 0 0;
  overflow: visible;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background: #000;
}

/* AI Integration specific classes */
.hero.hero--universal.hero--ai-integration .hero-ai-integration-inner {
  position: sticky;
  top: 25vh;
  z-index: 3;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 32px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, transparent 75%);
}

.hero.hero--universal.hero--ai-integration .hero-ai-integration-copy h1 {
  font-size: var(--hero-h1);
  line-height: 1.1;
  margin: 0 0 24px;
  color: #fff;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero.hero--universal.hero--ai-integration .hero-ai-integration-copy p {
  font-size: var(--hero-p);
  line-height: 1.6;
  color: var(--color-text, #e6e9ef);
  margin: 0 0 36px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.hero.hero--universal.hero--ai-integration .hero-ai-integration-copy .btn-primary {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  border: none;
  font-weight: 600;
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero.hero--universal.hero--ai-integration .hero-ai-integration-copy .btn-primary:hover {
  background: var(--color-accent-hover, #0d4fd6);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(18, 99, 255, 0.3);
}

.hero.hero--universal.hero--ai-integration .hero-ai-integration-media {
  width: calc(100% - 160px);
  max-width: 1320px;
  margin: 0;
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
  top: 100%;
  bottom: 50%;
}

.hero.hero--universal.hero--ai-integration .hero-ai-integration-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive for AI Integration */
@media (max-width: 960px) {
  .hero.hero--universal.hero--ai-integration {
    --hero-h1: 42px;
    --hero-p: var(--font-size-md);
  }
  .hero.hero--universal.hero--ai-integration .hero-ai-integration-media {
    width: calc(100% - 40px);
  }
}

@media (max-width: 640px) {
  .hero.hero--universal.hero--ai-integration {
    --hero-h1: 32px;
    padding: 80px 0 0;
    min-height: auto;
  }
  .hero.hero--universal.hero--ai-integration .hero-ai-integration-inner {
    position: relative;
    top: 0;
  }
  .hero.hero--universal.hero--ai-integration .hero-ai-integration-media {
    width: calc(100% - 32px);
    border-radius: 16px;
    margin-bottom: 60px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero--universal {
    min-height: 90vh;
    padding: 2rem 1rem;
  }

  .hero--universal .hero-universal-inner {
    max-width: 100%;
  }

  .hero--universal .btn-primary {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero--universal {
    min-height: 80vh;
  }

  .hero--universal .hero-universal-copy h1 {
    font-size: 1.75rem;
  }

  .hero--universal .hero-universal-copy p {
    font-size: 1rem;
  }
}

/* ── RPS Hero (video/image full-bleed, centered copy) ── */
.rps-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.rps-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.rps-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rps-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,1));
}
.rps-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 24px 90px;
  text-align: center;
}
.rps-hero-copy {
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
}
.rps-hero-copy h1 {
  font-size: 56px;
  line-height: 1.08;
  margin: 0 0 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rps-hero-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: #d9e2f2;
  margin: 0 auto 32px;
  max-width: 860px;
}
.rps-hero-copy .rps-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #0b0b0b;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rps-hero-copy .rps-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
@media (max-width: 900px) {
  .rps-hero-copy h1 { font-size: 44px; }
  .rps-hero-content { padding: 110px 20px 80px; }
}
@media (max-width: 640px) {
  .rps-hero-copy h1 { font-size: 34px; }
  .rps-hero-copy p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rps-hero-copy .rps-cta { transition: none; }
}
