/* ==========================================================================
   FLAGSHIP SHOWCASE SHARED STYLESHEET
   Used by StaffAttract and ESP Inc. Showcase Banners
   NextGen TechEdge Solutions
   ========================================================================== */

/* 1. Flagship Hero Banner Container */
.flagship-hero-banner {
  background: linear-gradient(135deg, #0e091b 0%, #150d26 50%, #1b0a24 100%);
  border: 1.5px solid rgba(132, 38, 176, 0.45);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 20px 60px -15px rgba(10, 4, 20, 0.8), 0 0 35px rgba(132, 38, 176, 0.25);
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  margin-bottom: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  width: 100%;
}

.flagship-hero-banner:hover {
  border-color: rgba(223, 65, 76, 0.6);
  box-shadow: 0 25px 70px -15px rgba(10, 4, 20, 0.85), 0 0 45px rgba(223, 65, 76, 0.25);
}

/* ESP Specific Border & Glow Accents */
.flagship-hero-banner.esp-hero-banner {
  border-color: rgba(0, 212, 170, 0.45);
  box-shadow: 0 20px 60px -15px rgba(10, 4, 20, 0.8), 0 0 35px rgba(0, 212, 170, 0.2);
}

.flagship-hero-banner.esp-hero-banner:hover {
  border-color: rgba(184, 28, 140, 0.7);
  box-shadow: 0 25px 70px -15px rgba(10, 4, 20, 0.85), 0 0 45px rgba(184, 28, 140, 0.35);
}

/* Ambient Glow Orbs */
.flagship-glow-orb {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(184, 28, 140, 0.25) 0%, rgba(132, 38, 176, 0.15) 45%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.flagship-glow-orb.esp-glow-orb {
  background: radial-gradient(circle, rgba(0, 212, 170, 0.22) 0%, rgba(184, 28, 140, 0.18) 45%, transparent 70%);
}

/* 2. Flagship Hero Grid (2-Column) */
.flagship-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

/* 3. Eyebrow & Badges */
.flagship-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.flagship-pulse-dot {
  width: 9px;
  height: 9px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulseDot 2s infinite ease-in-out;
}

.flagship-pulse-dot.dot-cyan {
  background: #00d4aa;
  box-shadow: 0 0 10px #00d4aa;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.flagship-badge-label {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f472b6;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
}

.flagship-badge-label.badge-cyan {
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.12);
  border-color: rgba(0, 212, 170, 0.35);
}

.flagship-badge-sub {
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

/* 4. Hero Title & Supporting Text */
.flagship-hero-title {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}

.flagship-hero-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.flagship-hero-title a:hover {
  color: #f472b6;
}

.flagship-hero-title .gradient-text {
  background: linear-gradient(135deg, #f472b6 0%, #c084fc 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.flagship-hero-desc {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 22px 0;
}

/* 5. Capability / Transformation Rotator (GSAP Driven) */
.flagship-capabilities-rotator {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(132, 38, 176, 0.35);
  border-radius: 16px;
  padding: 16px 20px 14px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.flagship-capabilities-rotator:hover {
  border-color: rgba(184, 28, 140, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.flagship-capabilities-rotator.esp-rotator {
  border-color: rgba(0, 212, 170, 0.35);
}

.flagship-capabilities-rotator.esp-rotator:hover {
  border-color: rgba(0, 212, 170, 0.65);
}

.rotator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rotator-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #e879f9;
}

.rotator-kicker.kicker-cyan {
  color: #00d4aa;
}

.rotator-kicker svg {
  color: #38bdf8;
}

.rotator-kicker.kicker-cyan svg {
  color: #00d4aa;
}

.rotator-counter {
  font-family: 'Space Grotesk', monospace, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
}

.rotator-counter-current {
  color: #38bdf8;
}

.rotator-counter-current.current-cyan {
  color: #00d4aa;
}

.rotator-viewport {
  min-height: 54px;
  display: flex;
  align-items: center;
}

.rotator-active-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.rotator-bullet-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.rotator-bullet-icon.bullet-cyan {
  background: linear-gradient(135deg, #8426b0 0%, #00d4aa 100%);
  box-shadow: 0 0 10px rgba(0, 212, 170, 0.45);
}

.rotator-text {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
}

.rotator-progress-track {
  width: 100%;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}

.rotator-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8 0%, #c084fc 50%, #f472b6 100%);
  border-radius: 2px;
}

.rotator-progress-fill.fill-cyan {
  background: linear-gradient(90deg, #00d4aa 0%, #c084fc 50%, #f472b6 100%);
}

/* 6. Tech Stack Pills */
.flagship-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.tech-pill-dark {
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.tech-pill-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* 7. Action CTAs */
.flagship-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-flagship-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.90rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #8426b0 0%, #b81c8c 50%, #df414c 100%);
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(132, 38, 176, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-flagship-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(184, 28, 140, 0.5);
  color: #ffffff;
}

.btn-flagship-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 11px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-flagship-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* 8. Right-Side Browser & Mockup Composition */
.flagship-visual-wrap {
  position: relative;
  width: 100%;
}

.flagship-browser-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #110c1c;
  border-top-left-radius: 18px !important;
  border-top-right-radius: 18px !important;
  border-bottom-left-radius: 18px !important;
  border-bottom-right-radius: 18px !important;
}

.flagship-browser-bar {
  background: #1e152d !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.flagship-browser-address {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-size: 0.72rem !important;
  padding: 3px 12px !important;
  border-radius: 999px !important;
  font-family: 'Space Grotesk', monospace, sans-serif !important;
}

.flagship-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.06em;
}

.flagship-live-tag.tag-cyan {
  color: #00d4aa;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.live-dot.dot-cyan {
  background: #00d4aa;
  box-shadow: 0 0 8px #00d4aa;
}

.flagship-browser-media {
  height: 310px !important;
  max-height: 310px !important;
  min-height: 310px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #0d0818 !important;
}

.flagship-browser-media img.flagship-img {
  width: 100% !important;
  height: 100% !important;
  max-height: 310px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* 9. Standalone Flagship Section Wrapper (for Individual Case Study Page) */
.flagship-standalone-section {
  padding: clamp(90px, 9vw, 130px) 0 40px;
  background: linear-gradient(180deg, #090514 0%, #120a21 100%);
  position: relative;
  overflow: hidden;
}

/* 10. Responsive Breakpoints */
@media (max-width: 991px) {
  .flagship-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .flagship-hero-banner {
    padding: 32px 24px !important;
  }
  .flagship-browser-media {
    height: 260px !important;
    max-height: 260px !important;
    min-height: 260px !important;
  }
}

@media (max-width: 640px) {
  .flagship-hero-banner {
    padding: 24px 18px !important;
    border-radius: 18px !important;
    margin-top: 24px !important;
  }
  .flagship-hero-title {
    font-size: 1.45rem !important;
  }
  .rotator-active-item {
    gap: 9px !important;
  }
  .rotator-bullet-icon {
    width: 22px !important;
    height: 22px !important;
  }
  .rotator-text {
    font-size: 0.88rem !important;
  }
  .btn-flagship-primary,
  .btn-flagship-secondary {
    width: 100%;
    justify-content: center;
  }
  .flagship-browser-media {
    height: 220px !important;
    max-height: 220px !important;
    min-height: 220px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flagship-pulse-dot {
    animation: none !important;
  }
  .rotator-progress-fill,
  .rotator-active-item {
    transition: none !important;
  }
}

/* ==========================================================================
   SHOWCASE-SPECIFIC THEME ENHANCEMENTS (Keywell, GlycoGPT, WayFlyer, ESP)
   ========================================================================== */

/* Keywell Showcase Theme */
.flagship-hero-banner.keywell-hero-banner {
  background: linear-gradient(135deg, #090b1c 0%, #0d122b 50%, #161230 100%);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 60px -15px rgba(6, 10, 28, 0.8), 0 0 35px rgba(56, 189, 248, 0.18);
}
.flagship-hero-banner.keywell-hero-banner:hover {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 25px 70px -15px rgba(6, 10, 28, 0.85), 0 0 45px rgba(56, 189, 248, 0.3);
}
.flagship-glow-orb.keywell-glow-orb {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(132, 38, 176, 0.18) 45%, transparent 70%);
}
.flagship-badge-label.badge-blue {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}
.flagship-pulse-dot.dot-blue {
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}
.flagship-capabilities-rotator.keywell-rotator {
  border-color: rgba(56, 189, 248, 0.32);
}
.rotator-kicker.kicker-blue { color: #38bdf8; }
.rotator-kicker.kicker-blue svg { color: #38bdf8; }
.rotator-counter-current.current-blue { color: #38bdf8; }
.rotator-bullet-icon.bullet-blue {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}
.rotator-progress-fill.fill-blue {
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
}
.flagship-browser-media img.keywell-img {
  object-fit: cover !important;
  object-position: top center !important;
}

/* GlycoGPT Showcase Theme (Reversed Layout) */
.flagship-hero-banner.glyco-hero-banner {
  background: linear-gradient(135deg, #081116 0%, #0c181d 50%, #151124 100%);
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 0 20px 60px -15px rgba(4, 16, 20, 0.8), 0 0 35px rgba(20, 184, 166, 0.18);
}
.flagship-hero-banner.glyco-hero-banner:hover {
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 25px 70px -15px rgba(4, 16, 20, 0.85), 0 0 45px rgba(45, 212, 191, 0.3);
}
.flagship-glow-orb.glyco-glow-orb {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22) 0%, rgba(99, 102, 241, 0.18) 45%, transparent 70%);
  left: -80px;
  right: auto;
}
.flagship-badge-label.badge-teal {
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.35);
}
.flagship-pulse-dot.dot-teal {
  background: #2dd4bf;
  box-shadow: 0 0 10px #2dd4bf;
}
.flagship-capabilities-rotator.glyco-rotator {
  border-color: rgba(20, 184, 166, 0.32);
}
.rotator-kicker.kicker-teal { color: #2dd4bf; }
.rotator-kicker.kicker-teal svg { color: #2dd4bf; }
.rotator-counter-current.current-teal { color: #2dd4bf; }
.rotator-bullet-icon.bullet-teal {
  background: linear-gradient(135deg, #0f766e 0%, #2dd4bf 100%);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.4);
}
.rotator-progress-fill.fill-teal {
  background: linear-gradient(90deg, #2dd4bf 0%, #38bdf8 50%, #a855f7 100%);
}

/* Reversed Grid Layout (for GlycoGPT) */
.flagship-hero-grid.reversed {
  grid-template-columns: 0.88fr 1.12fr;
}
@media (max-width: 991px) {
  .flagship-hero-grid.reversed {
    grid-template-columns: 1fr !important;
  }
  .flagship-hero-grid.reversed .flagship-hero-content {
    order: 1;
  }
  .flagship-hero-grid.reversed .flagship-visual-wrap {
    order: 2;
  }
}

/* WayFlyer Showcase Theme */
.flagship-hero-banner.wayflyer-hero-banner {
  background: linear-gradient(135deg, #0d0a1b 0%, #130d26 50%, #1a0b22 100%);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 20px 60px -15px rgba(12, 6, 24, 0.8), 0 0 35px rgba(168, 85, 247, 0.2);
}
.flagship-hero-banner.wayflyer-hero-banner:hover {
  border-color: rgba(217, 70, 239, 0.7);
  box-shadow: 0 25px 70px -15px rgba(12, 6, 24, 0.85), 0 0 45px rgba(217, 70, 239, 0.32);
}
.flagship-glow-orb.wayflyer-glow-orb {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(217, 70, 239, 0.18) 45%, transparent 70%);
}
.flagship-badge-label.badge-purple {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  border-color: rgba(192, 132, 252, 0.35);
}
.flagship-pulse-dot.dot-purple {
  background: #c084fc;
  box-shadow: 0 0 10px #c084fc;
}
.flagship-capabilities-rotator.wayflyer-rotator {
  border-color: rgba(168, 85, 247, 0.32);
}
.rotator-kicker.kicker-purple { color: #c084fc; }
.rotator-kicker.kicker-purple svg { color: #c084fc; }
.rotator-counter-current.current-purple { color: #c084fc; }
.rotator-bullet-icon.bullet-purple {
  background: linear-gradient(135deg, #7e22ce 0%, #c084fc 100%);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.4);
}
.rotator-progress-fill.fill-purple {
  background: linear-gradient(90deg, #c084fc 0%, #f472b6 50%, #38bdf8 100%);
}
.flagship-live-tag.tag-purple {
  color: #c084fc;
}
.live-dot.dot-purple {
  background: #c084fc;
  box-shadow: 0 0 8px #c084fc;
}

/* Metric badges overlay */
.flagship-metric-badge {
  position: absolute;
  background: rgba(14, 10, 25, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 8px 14px;
  z-index: 4;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.flagship-metric-badge .metric-val {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}
.flagship-metric-badge .metric-lbl {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
}
