/* operators.css - page-specific styles for operators.html */
/* Global shared styles live in assets/css/veloryn.css */

/* ── Base typography ── */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: 'Sora', sans-serif;
}

/* ── Hero background — responsive operator images ── */
.operators-hero {
  background-image: url('../images/hero/operators-1280.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Mobile: shift hero image left */
@media (max-width: 767px) {
  .operators-hero {
    background-position: 80% 0%;
  }
}

/* Tablet: shift hero image left */
@media (min-width: 768px) and (max-width: 1279px) {
  .operators-hero {
    background-position: 80% 0%;
  }
}

@media (min-width: 1280px) {
  .operators-hero {
    background-image: url('../images/hero/operators-1920.webp');
  }
}

@media (min-width: 1920px) {
  .operators-hero {
    background-image: url('../images/hero/operators-2560.webp');
  }
}

/* ── Technical grid overlay ── */
.technical-grid {
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(30, 95, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 95, 255, 0.05) 1px, transparent 1px);
}

/* ── Radial glow centred behind hero content ── */
.radial-pulse-glow {
  background: radial-gradient(circle at 25% 55%, rgba(30, 95, 255, 0.11) 0%, rgba(10, 18, 36, 0) 65%);
}

/* ── Central node glow ── */
.central-node {
  box-shadow: 0 0 32px 12px rgba(30, 95, 255, 0.38);
}

/* ── Orbital rings — pulsing opacity ── */
@keyframes ring-pulse {
  0%, 100% { opacity: 0.18; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.32; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes ring-pulse-outer {
  0%, 100% { opacity: 0.10; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.20; transform: translate(-50%, -50%) scale(1.03); }
}

.ring-inner {
  animation: ring-pulse 4s ease-in-out infinite;
}

.ring-outer {
  animation: ring-pulse-outer 4s ease-in-out infinite;
  animation-delay: 0.8s;
}

/* ── Hero entrance animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow  { animation: fadeUp 0.55s ease both; animation-delay: 0.10s; }
.hero-headline { animation: fadeUp 0.60s ease both; animation-delay: 0.22s; }
.hero-sub      { animation: fadeUp 0.60s ease both; animation-delay: 0.36s; }
.hero-cta      { animation: fadeUp 0.60s ease both; animation-delay: 0.50s; }

/* ── Primary CTA button (Book a 30-min Ops Audit) ── */
.btn-ops-primary {
  background-color: #1E5FFF;
  border-radius: 4px;
  transition: background-color 0.25s ease-out, transform 0.25s ease-out;
}

.btn-ops-primary:hover {
  background-color: #4AA3FF;
  transform: scale(1.02);
}

/* ── Secondary button: matches "See how we build" from index.html ── */
.btn-hero-secondary {
  background-color: transparent;
  border: 1px solid #26304A;
  border-radius: 4px;
  transition: background-color 0.25s ease-out, border-color 0.25s ease-out;
}

.btn-hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.04);
}

/* ── Keyboard focus (accessibility) ── */
.btn-ops-primary:focus-visible,
.btn-hero-secondary:focus-visible {
  outline: 2px solid rgba(30, 95, 255, 0.65);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ════════════════════════════════════════════════
   IMAGE GLITCH EFFECT
════════════════════════════════════════════════ */

/* Smooth filter transition for desaturation snap */
.glitch-img {
  transition: filter 60ms linear;
}

/* Channel overlays and scanline: JS controls opacity + translate */
.glitch-channel,
.glitch-scan {
  will-change: opacity, transform;
  transition: none;
}

/* Border glow pulse */
@keyframes imgGlowPulse {
  0%, 100% {
    box-shadow:
      0 0 28px rgba(30, 95, 255, 0.18),
      0 0  0px rgba(74, 163, 255, 0.00);
  }
  50% {
    box-shadow:
      0 0 55px rgba(30, 95, 255, 0.42),
      0 0 22px rgba(74, 163, 255, 0.20);
  }
}

.operator-img-glow {
  animation: imgGlowPulse 5s ease-in-out infinite;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .glitch-img      { transition: none !important; filter: none !important; }
  .glitch-channel,
  .glitch-scan     { opacity: 0 !important; transform: none !important; }
  .operator-img-glow { animation: none !important; box-shadow: 0 0 28px rgba(30,95,255,0.20) !important; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-eyebrow,
  .hero-headline,
  .hero-sub,
  .hero-cta,
  .ring-inner,
  .ring-outer {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ════════════════════════════════════════════════
   SECTION: WHAT THEY DO — responsibility cards
════════════════════════════════════════════════ */

.what-they-do-card.heading-glow:hover h3 {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.60);
}

/* ════════════════════════════════════════════════
   TABLET BAR FRAME (md only)
════════════════════════════════════════════════ */

/* Body text: full width on tablet, constrained on mobile and desktop */
.op-body-text {
  max-width: 560px;
}

/* Tablet-only overrides — tighten spacing and expand body text */
@media (min-width: 768px) and (max-width: 1023px) {
  .operator-model-section {
    padding: 64px 0 56px !important;
  }
  .why-it-matters-section {
    padding: 16px 0 56px !important;
  }
  .op-body-text {
    max-width: 100%;
  }
}

.tablet-frame {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(10, 18, 36, 0.60);
}

.mobile-frame {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 18, 36, 0.50);
}

/* Mobile-only section spacing — tighten vertical gaps below 768px */
@media (max-width: 767px) {
  .operator-model-section {
    padding: 56px 0 40px !important;
  }
  .why-it-matters-section {
    padding: 12px 0 40px !important;
  }
  .what-they-do-section {
    padding: 12px 0 56px !important;
  }
  .how-it-works-section {
    padding: 12px 0 56px !important;
  }
}

/* ════════════════════════════════════════════════
   GET STARTED CTA — button
════════════════════════════════════════════════ */

.ops-cta-btn {
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ops-cta-btn:hover {
  transform: scale(1.03);
  background-color: #4AA3FF;
  box-shadow: 0 0 32px rgba(30, 95, 255, 0.40);
}

.ops-cta-arrow {
  transition: transform 0.2s ease;
}

.ops-cta-btn:hover .ops-cta-arrow {
  transform: translateX(4px);
}

/* ════════════════════════════════════════════════
   HOW IT WORKS — phase icon boxes
════════════════════════════════════════════════ */

.phase-icon-box {
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
  cursor: default;
}

.phase-icon-box:hover {
  transform: scale(1.10);
  border-color: rgba(46, 230, 214, 0.85);
  box-shadow: 0 0 32px rgba(46, 230, 214, 0.40);
  background-color: #0A1224;
}

.phase-icon {
  transition: font-size 250ms ease;
  display: inline-block;
}

.phase-icon-box:hover .phase-icon {
  font-size: 34px !important;
}

/* ── Icon float animation (staggered per card) ── */
@keyframes wtdIconFloat {
  0%   { transform: translateY(0)    scale(1);    }
  50%  { transform: translateY(-3px) scale(1.06); }
  100% { transform: translateY(0)    scale(1);    }
}

.wtd-icon {
  display: inline-block;
  will-change: transform;
  animation: wtdIconFloat 3.6s ease-in-out infinite;
}

.wtd-icon-1 { animation-delay: 0s;     }
.wtd-icon-2 { animation-delay: 0.40s;  }
.wtd-icon-3 { animation-delay: 0.80s;  }

/* Image frame: card shell */
.operator-frame {
  border-radius: 16px;
  background-color: rgba(15, 23, 42, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

/* Geometric corner accents (top-right and bottom-left) */
.operator-corner-tr {
  top: -32px;
  right: -32px;
  width: 88px;
  height: 88px;
  border-top: 1px solid rgba(30, 95, 255, 0.20);
  border-right: 1px solid rgba(30, 95, 255, 0.20);
}

.operator-corner-bl {
  bottom: -32px;
  left: -32px;
  width: 88px;
  height: 88px;
  border-bottom: 1px solid rgba(30, 95, 255, 0.20);
  border-left: 1px solid rgba(30, 95, 255, 0.20);
}


/* ── Hero text stroke (global standard) ── */
.hero-headline,
.hero-sub {
}
