/* Technology Brief Clean Final
   Unified with Story page design system. */

.technology-brief-page {
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 242, 255, 0.08), transparent 32%),
    radial-gradient(circle at 20% 45%, rgba(0, 80, 120, 0.08), transparent 30%),
    radial-gradient(circle at 80% 68%, rgba(0, 242, 255, 0.06), transparent 32%),
    #020817 !important;
  color: rgba(226, 232, 240, 0.92);
}

.tech-clean-main {
  width: 100%;
  overflow-x: hidden;
  padding-top: 138px;
}

.tech-clean-main,
.tech-clean-main *,
.technology-brief-page footer,
.technology-brief-page footer * {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.tech-clean-hero {
  width: 100%;
  padding: 4.4rem 0 5.25rem;
  position: relative;
  overflow: visible;
}

.tech-clean-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1760px, 92vw);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 242, 255, 0.18),
    rgba(0, 242, 255, 0.62),
    rgba(0, 242, 255, 0.18),
    transparent
  );
  box-shadow:
    0 0 14px rgba(0, 242, 255, 0.35),
    0 0 34px rgba(0, 242, 255, 0.16);
  z-index: 20;
}

.tech-clean-hero-stage {
  position: relative;
  width: min(92vw, 1760px);
  max-width: 1760px;
  margin: 0 auto;
  overflow: visible;
}

.tech-clean-image-panel {
  position: relative;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow:
    0 0 44px rgba(0, 242, 255, 0.16),
    0 0 90px rgba(0, 242, 255, 0.10),
    0 34px 120px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.tech-clean-image-panel img {
  width: 100%;
  height: auto;
  max-height: 900px;
  display: block;
  object-fit: contain;
  object-position: center center;
  border: 0;
  border-radius: 0;
  position: relative;
  z-index: 2;
}

.tech-clean-image-panel::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44%;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(2, 8, 23, 0.72),
      rgba(2, 8, 23, 0.34),
      transparent
    );
}

.tech-clean-image-panel::after {
  content: "";
  position: absolute;
  z-index: 7;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 26%;
  pointer-events: none;
  background:
    linear-gradient(
      110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.035) 38%,
      rgba(0, 242, 255, 0.13) 50%,
      rgba(255, 255, 255, 0.04) 60%,
      transparent 100%
    );
  filter: blur(1px) drop-shadow(0 0 18px rgba(0, 242, 255, 0.24));
  mix-blend-mode: screen;
  opacity: 0.75;
  animation: techCleanGlare 7.5s linear infinite;
}

.tech-clean-stars {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: hidden;
}

.tech-clean-stars::before,
.tech-clean-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
  mix-blend-mode: screen;
}

.tech-clean-stars::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.9) 0 1.4px, transparent 2.4px),
    radial-gradient(circle, rgba(0,242,255,0.78) 0 1.2px, transparent 2.2px),
    radial-gradient(circle, rgba(255,255,255,0.58) 0 1px, transparent 2px);
  background-size: 180px 180px, 260px 260px, 360px 360px;
  background-position: 18px 22px, 120px 80px, 60px 140px;
  opacity: 0.42;
  filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.35));
  animation: techCleanStarDrift 18s linear infinite;
}

.tech-clean-stars::after {
  background-image:
    radial-gradient(circle, rgba(0,242,255,0.85) 0 1.8px, transparent 3.2px),
    radial-gradient(circle, rgba(255,255,255,0.78) 0 1.5px, transparent 2.8px);
  background-size: 420px 420px, 560px 560px;
  background-position: 80px 40px, 300px 180px;
  opacity: 0.32;
  filter: drop-shadow(0 0 12px rgba(0, 242, 255, 0.45));
  animation: techCleanStarPulse 9s ease-in-out infinite;
}

.tech-clean-copy-panel {
  position: absolute;
  z-index: 12;
  left: clamp(56px, 4.6vw, 104px);
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  width: min(620px, 34vw);
  padding: clamp(2rem, 2.4vw, 3rem);
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(
      90deg,
      rgba(2, 8, 23, 0.96),
      rgba(2, 8, 23, 0.80),
      rgba(2, 8, 23, 0.26)
    );
  backdrop-filter: blur(12px);
  box-shadow:
    22px 0 70px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(0, 242, 255, 0.09);
}

.tech-clean-kicker {
  color: rgb(34, 211, 238);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 1.15rem;
}

.tech-clean-copy-panel h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(3.25rem, 3.8vw, 5.9rem);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.tech-clean-copy-panel p:not(.tech-clean-kicker) {
  max-width: 540px;
  font-size: 1.22rem;
  line-height: 1.68;
  font-weight: 400;
  color: rgba(226, 232, 240, 0.96);
  margin: 1.05rem 0 0;
}

.tech-clean-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.tech-clean-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}

.tech-clean-btn.primary {
  color: #001017;
  background: rgb(34, 211, 238);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.28);
}

.tech-clean-btn.secondary {
  color: rgb(103, 232, 249);
  border: 1px solid rgba(0, 242, 255, 0.38);
  background: rgba(2, 8, 23, 0.38);
}

.tech-flow-section,
.tech-brief-section {
  padding: 6.5rem max(5vw, 64px);
}

.tech-section-inner,
.tech-brief-grid {
  width: min(1480px, 86vw);
  margin: 0 auto;
}

.tech-flow-section h2,
.tech-brief-section h2 {
  max-width: 860px;
  font-size: clamp(2.2rem, 2.8vw, 3.75rem);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 1rem 0 3rem;
}

.tech-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.tech-flow-grid article,
.tech-brief-grid article {
  border: 1px solid rgba(0, 242, 255, 0.22);
  border-radius: 24px;
  background: rgba(2, 8, 23, 0.52);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  padding: 2rem;
}

.tech-flow-grid span {
  display: block;
  color: rgb(34, 211, 238);
  font-weight: 700;
  margin-bottom: 1rem;
}

.tech-flow-grid h3,
.tech-brief-grid h2 {
  color: #ffffff;
}

.tech-clean-main p,
.tech-clean-main li {
  font-size: clamp(1.08rem, 0.66vw, 1.2rem);
  line-height: 1.74;
  color: rgba(226, 232, 240, 0.92);
}

.tech-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@keyframes techCleanGlare {
  0% { transform: translateX(0) skewX(-12deg); opacity: 0; }
  12% { opacity: 0.55; }
  45% { opacity: 0.82; }
  72% { opacity: 0.38; }
  100% { transform: translateX(520%) skewX(-12deg); opacity: 0; }
}

@keyframes techCleanStarDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-120px, 90px, 0); }
}

@keyframes techCleanStarPulse {
  0%, 100% { opacity: 0.18; transform: translate3d(0, 0, 0) scale(0.98); }
  50% { opacity: 0.46; transform: translate3d(22px, -14px, 0) scale(1.03); }
}

@media (min-width: 1800px) {
  .tech-clean-hero-stage {
    width: 1760px;
    max-width: 1760px;
  }

  .tech-section-inner,
  .tech-brief-grid {
    width: 1480px;
    max-width: 1480px;
  }
}

@media (max-width: 1100px) {
  .tech-clean-main {
    padding-top: 106px;
  }

  .tech-clean-hero {
    padding: 2.5rem 20px 3rem;
  }

  .tech-clean-hero-stage {
    width: 100%;
    max-width: 100%;
  }

  .tech-clean-copy-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: none;
    margin-top: 1rem;
  }

  .tech-clean-image-panel::before {
    display: none;
  }

  .tech-clean-copy-panel h1 {
    max-width: 720px;
    font-size: clamp(2.8rem, 10vw, 5rem);
  }

  .tech-clean-copy-panel p:not(.tech-clean-kicker) {
    max-width: 720px;
    font-size: 1.08rem;
  }

  .tech-flow-grid,
  .tech-brief-grid {
    grid-template-columns: 1fr;
  }

  .tech-flow-section,
  .tech-brief-section {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-clean-image-panel::after,
  .tech-clean-stars::before,
  .tech-clean-stars::after {
    animation: none !important;
  }
}

/* === TECHNOLOGY HERO IMAGE RIGHT ALIGN OVERRIDE === */

/* Keep the banner clipped cleanly */
.tech-clean-image-panel {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

/* Make the image wider and shift it right */
.tech-clean-image-panel img {
  width: 112% !important;
  max-width: none !important;
  max-height: 900px !important;
  margin-left: auto !important;
  object-fit: cover !important;
  object-position: right center !important;
  transform: translateX(7%) !important;
}

/* Give the text panel a little more room on the left */
.tech-clean-copy-panel {
  width: min(600px, 33vw) !important;
  left: clamp(52px, 4.2vw, 92px) !important;
}

/* Slightly widen the dark readability sweep */
.tech-clean-image-panel::before {
  width: 46% !important;
}

/* Tablet/mobile safety */
@media (max-width: 1100px) {
  .tech-clean-image-panel img {
    width: 100% !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .tech-clean-copy-panel {
    width: 100% !important;
  }

  .tech-clean-image-panel::before {
    width: 100% !important;
  }
}

/* === TECHNOLOGY HERO IMAGE RIGHT NO-CROP OVERRIDE ===
   Keeps the image on the right without over-zooming or heavy cropping. */

.tech-clean-image-panel {
  min-height: 620px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  background:
    radial-gradient(circle at 76% 48%, rgba(0, 242, 255, 0.12), transparent 36%),
    linear-gradient(90deg, rgba(2, 8, 23, 0.96), rgba(2, 8, 23, 0.72), rgba(2, 8, 23, 0.92)) !important;
  overflow: hidden !important;
}

/* Image sits to the right as an image, not as a cropped background */
.tech-clean-image-panel img {
  width: auto !important;
  max-width: 72% !important;
  height: auto !important;
  max-height: 620px !important;
  margin-left: auto !important;
  margin-right: clamp(24px, 4vw, 82px) !important;
  object-fit: contain !important;
  object-position: right center !important;
  transform: none !important;
}

/* Left readability sweep stays for text */
.tech-clean-image-panel::before {
  width: 52% !important;
  background:
    linear-gradient(
      90deg,
      rgba(2, 8, 23, 0.86),
      rgba(2, 8, 23, 0.56),
      rgba(2, 8, 23, 0.12),
      transparent
    ) !important;
}

/* Text panel now has clear space on the left */
.tech-clean-copy-panel {
  left: clamp(58px, 5vw, 110px) !important;
  width: min(600px, 34vw) !important;
}

/* Desktop title stays strong */
.tech-clean-copy-panel h1 {
  font-size: clamp(3.2rem, 3.65vw, 5.6rem) !important;
  line-height: 1.02 !important;
}

/* Ultra-wide */
@media (min-width: 1800px) {
  .tech-clean-image-panel {
    min-height: 660px !important;
  }

  .tech-clean-image-panel img {
    max-height: 660px !important;
    max-width: 70% !important;
  }
}

/* Mobile/tablet */
@media (max-width: 1100px) {
  .tech-clean-image-panel {
    min-height: auto !important;
    display: block !important;
  }

  .tech-clean-image-panel img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
  }

  .tech-clean-copy-panel {
    width: 100% !important;
    left: auto !important;
  }
}

/* === TECHNOLOGY HERO TWO-LINE TITLE COPY === */

.tech-clean-copy-panel h1 {
  max-width: 620px !important;
  font-size: clamp(3.05rem, 3.45vw, 5.35rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.05em !important;
}

.tech-clean-copy-panel h1 span {
  display: block !important;
}

.tech-clean-copy-panel p:not(.tech-clean-kicker) {
  max-width: 590px !important;
  font-size: 1.18rem !important;
  line-height: 1.68 !important;
}

@media (max-width: 1100px) {
  .tech-clean-copy-panel h1 {
    max-width: 720px !important;
    font-size: clamp(2.7rem, 9vw, 4.8rem) !important;
  }

  .tech-clean-copy-panel p:not(.tech-clean-kicker) {
    max-width: 720px !important;
    font-size: 1.06rem !important;
  }
}
