/* Prototype showcase tokens kept local to the copied presentation. */
:root {
  --border-subtle: rgba(170, 205, 255, 0.12);
  --border-strong: rgba(170, 205, 255, 0.26);
  --text-pure: #ffffff;
  --text-main: #f0f5ff;
  --text-secondary: #c0d3ed;
  --text-muted: #8298b6;
  --blue-accent: #a8cbff;
  --blue-vivid: #5ba3ff;
  --font-sans: var(--sans);
  --font-serif: Georgia, "Times New Roman", serif;
  --radius-pill: 9999px;
  --radius-xl: 28px;
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.5);
  --shadow-device: 0 40px 90px rgba(0, 0, 0, 0.65), 0 12px 28px rgba(0, 0, 0, 0.4);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
  --duration-fast: 0.18s;
  --duration-normal: 0.35s;
}

.premium-home .ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.premium-home .ambient-glow__orb-1 {
  position: absolute;
  top: -15vh;
  left: 50%;
  width: min(1000px, 90vw);
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(82,147,245,.18) 0%, rgba(15,38,75,.08) 50%, transparent 75%);
  filter: blur(40px);
}
.premium-home .ambient-glow__orb-2 {
  position: absolute;
  top: 65vh;
  right: -10vw;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(100,166,255,.08) 0%, transparent 70%);
  filter: blur(50px);
}
.premium-home .bg-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   AIS Production-Ready Prototype — Showcase & Transformation Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Master Showcase Container
   -------------------------------------------------------------------------- */
.showcase-stage {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  perspective: 1600px;
}

.showcase-cluster {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 24px;
  align-items: center;
  position: relative;
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   Central Desktop Browser Frame
   -------------------------------------------------------------------------- */
.browser-frame {
  position: relative;
  background: #091528;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-device);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) ease, max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.45s ease;
}
.browser-frame:hover {
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.75), 0 16px 36px rgba(100, 166, 255, 0.12);
}

.browser-frame.is-tablet {
  max-width: 680px;
}

.browser-frame.is-mobile {
  max-width: 380px;
  border-radius: 36px;
  border-width: 3px;
}

.browser-frame.is-mobile .demo-site-links {
  display: none;
}

/* Browser Chrome Header */
.browser-chrome {
  height: 44px;
  background: #050d1a;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  user-select: none;
  gap: 12px;
}

/* Device Viewport Switcher Toolbar */
.browser-device-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.device-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.device-btn:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.08);
}

.device-btn.is-active {
  color: #020813;
  background: var(--blue-accent);
  box-shadow: 0 0 10px rgba(91, 163, 255, 0.5);
}

.browser-dots {
  display: flex;
  gap: 7px;
}
.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-address {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.browser-address svg {
  color: #28c840;
}

.browser-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}
.browser-actions button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
  transition: color var(--duration-fast) ease;
}
.browser-actions button:hover {
  color: var(--text-pure);
}

/* Rendered Website Viewport inside Browser */
.browser-viewport {
  position: relative;
  background: #0c182a;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Demo Website Header */
.demo-site-nav {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(5, 12, 24, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 5;
}

.demo-site-brand {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}
.demo-site-brand small {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-accent);
}

.demo-site-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #cad9ed;
}
.demo-site-links a:hover {
  color: #ffffff;
}

.demo-site-cta {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  background: #ffffff;
  color: #0b1524;
  transition: transform var(--duration-fast) ease;
}
.demo-site-cta:hover {
  transform: scale(1.04);
}

/* Demo Website Hero Area */
.demo-site-hero {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.demo-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease-spring), opacity 0.5s ease;
}

.demo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 9, 20, 0.85) 0%, rgba(3, 9, 20, 0.6) 45%, rgba(3, 9, 20, 0.15) 100%);
  z-index: 2;
}

.demo-hero-copy {
  position: relative;
  z-index: 3;
  padding: 0 36px;
  max-width: 480px;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-spring);
}

.demo-hero-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 10px;
}

.demo-hero-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.demo-hero-copy p {
  font-size: 14px;
  line-height: 1.5;
  color: #d8e5f7;
  margin-bottom: 20px;
}

.demo-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.95);
  color: #050e1d;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* Demo Website Bottom Feature Row */
.demo-site-features {
  height: 96px;
  background: #f5f2eb;
  color: #1a2536;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 4;
}

.demo-feature-item {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.demo-feature-item:last-child {
  border-right: none;
}

.demo-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(26, 37, 54, 0.06);
  display: grid;
  place-content: center;
  flex-shrink: 0;
}

.demo-feature-text strong {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: #121c2b;
  margin-bottom: 2px;
}
.demo-feature-text p {
  font-size: 11px;
  line-height: 1.35;
  color: #58677d;
}

/* --------------------------------------------------------------------------
   Companion Mobile Phone Devices (Left & Right 3D Cards)
   -------------------------------------------------------------------------- */
.companion-phone {
  position: relative;
  height: 480px;
  border-radius: 36px;
  background: #0d1a2d;
  border: 4px solid #1c2b44;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform var(--duration-normal) var(--ease-spring), border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
}

.companion-phone--left {
  transform: rotateY(12deg) rotateX(2deg) scale(0.96);
}
.companion-phone--left:hover {
  transform: rotateY(4deg) scale(1.02) translateY(-6px);
  border-color: var(--blue-accent);
  box-shadow: 0 35px 80px rgba(94, 158, 255, 0.25);
}

.companion-phone--right {
  transform: rotateY(-12deg) rotateX(2deg) scale(0.96);
}
.companion-phone--right:hover {
  transform: rotateY(-4deg) scale(1.02) translateY(-6px);
  border-color: var(--blue-accent);
  box-shadow: 0 35px 80px rgba(94, 158, 255, 0.25);
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 16px;
  background: #030811;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.companion-phone:hover .phone-screen img {
  transform: scale(1.05);
}

.phone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 9, 20, 0.6) 0%, rgba(3, 9, 20, 0.25) 40%, rgba(3, 9, 20, 0.9) 100%);
  z-index: 2;
}

.phone-content {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding: 24px 20px;
}

.phone-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 6px;
  display: block;
}

.phone-content h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.phone-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Directional Controls (Left / Right Arrow Buttons)
   -------------------------------------------------------------------------- */
.showcase-direction-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}

.arrow-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 20, 40, 0.75);
  color: var(--text-main);
  display: grid;
  place-content: center;
  backdrop-filter: blur(10px);
  transition: all var(--duration-fast) ease;
}
.arrow-button:hover {
  color: var(--text-pure);
  border-color: var(--blue-accent);
  background: rgba(16, 36, 72, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(94, 158, 255, 0.2);
}
.arrow-button:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Segmented Package Switcher Bar
   -------------------------------------------------------------------------- */
.package-switcher-wrap {
  position: relative;
  background: #040d1a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 6px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.package-btn {
  position: relative;
  z-index: 2;
  padding: 16px 20px;
  border-radius: var(--radius-pill);
  text-align: center;
  font: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

.package-btn__price {
  display: block;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #ffffff;
  transition: color var(--duration-fast) ease;
}

.package-btn__tagline {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  transition: color var(--duration-fast) ease;
}

.package-btn:hover .package-btn__tagline {
  color: var(--text-secondary);
}

.package-btn.is-active .package-btn__price {
  color: #030a16;
  font-weight: 800;
}
.package-btn.is-active .package-btn__tagline {
  color: #243b59;
  font-weight: 600;
}

/* Sliding Morphing Indicator */
.switcher-pill-tracker {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  background: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(100, 166, 255, 0.4), 0 0 1px rgba(255, 255, 255, 0.9);
  z-index: 1;
  transition: transform var(--duration-normal) var(--ease-spring), width var(--duration-normal) var(--ease-spring);
  pointer-events: none;
}

.package-switcher-action {
  position: relative;
  z-index: 2;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-accent);
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.package-switcher-action:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   "The Transformation" Before / After Interactive Slider
   -------------------------------------------------------------------------- */
.transformation-slider-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9.5;
  user-select: none;
}

/* Old 2004 Website Container (Left Side / Full Base) */
.transformation-old {
  position: absolute;
  inset: 0;
  background: #ded7c6;
  color: #2b251a;
  font-family: Arial, sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.old-browser-bar {
  height: 38px;
  background: #b5ada0;
  border-bottom: 2px solid #8e8576;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #383226;
}

.old-content-viewport {
  padding: 30px 40px;
  flex: 1;
}

.old-title-block {
  border-bottom: 3px solid #756a56;
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.old-title-block h3 {
  font-family: "Georgia", serif;
  font-size: 32px;
  color: #383020;
}
.old-title-block p {
  font-size: 13px;
  color: #615643;
}

.old-body-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
}

.old-body-split ul {
  margin-left: 20px;
  line-height: 2;
  font-size: 14px;
}

.old-alert-box {
  background: #fbf578;
  border: 3px dashed #c41818;
  padding: 20px;
  text-align: center;
}
.old-alert-box strong {
  font-size: 20px;
  color: #b70000;
  display: block;
}

/* Problem Badges floating on Old side */
.problem-badge {
  position: absolute;
  padding: 8px 16px;
  background: #c41818;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(196, 24, 24, 0.45);
  animation: badgePulse 3s infinite ease-in-out;
}
.problem-badge--1 { top: 18px; right: 28px; left: auto; }
.problem-badge--2 { bottom: 36px; left: 40px; animation-delay: 1s; }
.problem-badge--3 { bottom: 36px; right: 40px; top: auto; animation-delay: 2s; }

/* Modern 2026 Website Container (Right Side / Clipped Layer) */
.transformation-modern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  background: #081427;
  overflow: hidden;
  transition: clip-path 0.05s linear;
}

.modern-browser-bar {
  height: 38px;
  background: #040b17;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-accent);
}

.transformation-modern img {
  width: 100%;
  height: calc(100% - 38px);
  object-fit: cover;
}

.modern-hero-scrim {
  position: absolute;
  inset: 38px 0 0 auto;
  right: 0;
  width: 50%;
  min-width: 320px;
  max-width: 540px;
  background: linear-gradient(270deg, rgba(3, 9, 20, 0.94) 0%, rgba(3, 9, 20, 0.75) 65%, transparent 100%);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  box-sizing: border-box;
}

.modern-hero-scrim h3 {
  font-family: var(--font-serif);
  font-size: 38px;
  color: #ffffff;
  margin-bottom: 12px;
}
.modern-hero-scrim p {
  color: #cfe1f7;
  font-size: 16px;
  max-width: 420px;
  margin-bottom: 24px;
}

/* Draggable Split Handle */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  cursor: ew-resize;
  z-index: 20;
  transform: translateX(-50%);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #051225;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: grid;
  place-content: center;
  font-weight: 800;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Responsive Layout Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .showcase-cluster {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .companion-phone {
    display: none;
  }
  .package-switcher-wrap {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .package-switcher-action {
    display: none;
  }
}

@media (max-width: 768px) {
  .demo-site-links, .demo-site-cta {
    display: none;
  }
  .demo-site-features {
    height: auto;
    grid-template-columns: 1fr;
  }
  .demo-feature-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .package-switcher-wrap {
    grid-template-columns: 1fr;
    border-radius: var(--radius-xl);
  }
  .switcher-pill-tracker {
    display: none;
  }
  .package-btn.is-active {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(100, 166, 255, 0.35);
  }
  .package-btn.is-active .package-btn__price {
    color: #030a16;
  }
  .package-btn.is-active .package-btn__tagline {
    color: #243b59;
  }
  .transformation-slider-wrap {
    aspect-ratio: 16 / 12;
  }
  .modern-hero-scrim {
    width: 100%;
    max-width: 100%;
    padding: 24px 20px;
    background: linear-gradient(180deg, rgba(3, 9, 20, 0.3) 0%, rgba(3, 9, 20, 0.96) 65%);
    justify-content: flex-end;
  }
  .modern-hero-scrim h3 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .modern-hero-scrim p {
    font-size: 13px;
    margin-bottom: 16px;
  }
}

/* Copied prototype motion layer, scoped to the showcase so the live page's
   other sections keep their existing transitions. */
@keyframes prototypeFloatCompanionLeft {
  0%, 100% { transform: rotateY(12deg) rotateX(2deg) translateY(0) scale(.96); }
  50% { transform: rotateY(10deg) rotateX(1deg) translateY(-8px) scale(.96); }
}
@keyframes prototypeFloatCompanionRight {
  0%, 100% { transform: rotateY(-12deg) rotateX(2deg) translateY(0) scale(.96); }
  50% { transform: rotateY(-10deg) rotateX(1deg) translateY(-8px) scale(.96); }
}
.premium-home .companion-phone--left { animation: prototypeFloatCompanionLeft 6s ease-in-out infinite; }
.premium-home .companion-phone--right { animation: prototypeFloatCompanionRight 6s ease-in-out infinite 1s; }
.premium-home .is-morphing .demo-hero-bg { opacity: .2; transform: scale(.97); }
.premium-home .is-morphing .demo-hero-copy { opacity: 0; transform: translateY(12px); }
.premium-home .is-morphing .demo-site-features { opacity: .4; transform: translateY(6px); }
.premium-home .demo-hero-bg,
.premium-home .demo-hero-copy,
.premium-home .demo-site-features { transition: opacity .35s var(--ease-smooth), transform .35s var(--ease-spring); }
@media (prefers-reduced-motion: reduce) {
  .premium-home .companion-phone--left,
  .premium-home .companion-phone--right { animation: none; transform: none; }
}

/* --------------------------------------------------------------------------
   3D Three.js Studio Experience & Viewport
   -------------------------------------------------------------------------- */
.ais-3d-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 18px;
  background: rgba(10, 24, 46, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(140, 185, 255, 0.22);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 25;
}

.ais-3d-toolbar__group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ais-3d-toolbar__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #38bdf8;
  padding: 0 8px 0 4px;
}

.ais-3d-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  background: rgba(14, 30, 58, 0.65);
  border: 1px solid rgba(140, 185, 255, 0.18);
  border-radius: var(--radius-full);
  color: #c4d7f0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ais-3d-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

.ais-3d-btn.is-active {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #030a16;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.ais-3d-toggle-btn, .ais-3d-action-btn, .ais-3d-view-toggle, .ais-3d-power-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(140, 185, 255, 0.2);
  border-radius: var(--radius-full);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ais-3d-toggle-btn:hover, .ais-3d-action-btn:hover, .ais-3d-view-toggle:hover, .ais-3d-power-btn:hover {
  border-color: #38bdf8;
  color: #ffffff;
}

.ais-3d-toggle-btn.is-active {
  border-color: rgba(52, 211, 153, 0.5);
  color: #34d399;
}

.ais-3d-action-btn {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.ais-3d-action-btn:hover {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

.ais-3d-power-btn .power-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.ais-3d-power-btn.is-off .power-dot {
  background: #94a3b8;
  box-shadow: none;
}

.three-studio-viewport {
  position: relative;
  width: 100%;
  height: 540px;
  background: radial-gradient(circle at 50% 40%, rgba(14, 30, 58, 0.7) 0%, rgba(3, 10, 22, 0.96) 75%);
  border: 1px solid rgba(140, 185, 255, 0.22);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 36px;
  cursor: grab;
  touch-action: none;
  transition: all 0.4s ease;
}

.three-studio-viewport:active {
  cursor: grabbing;
}

.three-studio-viewport.is-disabled {
  display: none;
}

.three-studio-viewport canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.three-studio-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(3, 10, 22, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(140, 185, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 11px;
  color: #94a3b8;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .three-studio-viewport {
    height: 420px;
  }
  .three-studio-hint {
    font-size: 10px;
    padding: 5px 12px;
  }
}

/* --------------------------------------------------------------------------
   Reference showcase finish
   The supplied reference uses the dark demo surface from the live design
   direction. Keep these rules scoped so the copied prototype does not alter
   the pricing cards or other page sections.
   -------------------------------------------------------------------------- */
.prototype-exact-showcase .showcase-direction-controls {
  position: relative;
  z-index: 12;
  margin-bottom: 20px;
}

.prototype-exact-showcase .showcase-direction-controls .arrow-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(170, 205, 255, 0.12);
  background: rgba(8, 20, 40, 0.75);
  color: #f0f5ff;
}

.prototype-exact-showcase .showcase-direction-controls .arrow-button:hover {
  border-color: #a8cbff;
  background: rgba(16, 36, 72, 0.9);
}

.prototype-exact-showcase .demo-site-hero {
  justify-content: center;
  text-align: center;
}

.prototype-exact-showcase .demo-hero-copy {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 36px;
}

.prototype-exact-showcase .demo-hero-copy p {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.prototype-exact-showcase .demo-site-cta {
  background: rgba(8, 20, 40, 0.82);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.prototype-exact-showcase .demo-site-features {
  background: #2d2a22;
  color: #f7f5ef;
}

.prototype-exact-showcase .demo-feature-item {
  border-right-color: rgba(255, 255, 255, 0.06);
}

.prototype-exact-showcase .demo-feature-icon {
  background: transparent;
  color: #f7f5ef;
}

.prototype-exact-showcase .demo-feature-icon img {
  filter: brightness(0) invert(1);
}

.prototype-exact-showcase .demo-feature-text strong {
  color: #f7f5ef;
}

.prototype-exact-showcase .demo-feature-text p {
  color: #a9a8a4;
}

.prototype-exact-showcase .switcher-pill-tracker {
  background: #121212;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 1px rgba(255, 255, 255, 0.18);
}

.prototype-exact-showcase .package-btn.is-active .package-btn__price {
  color: #ffffff;
}

.prototype-exact-showcase .package-btn.is-active .package-btn__tagline {
  color: #b7c8df;
}

.prototype-exact-showcase .package-switcher-action {
  color: #a8cbff;
}

/* Package personalities
   The prototype examples are intentionally different businesses, so the
   showcase needs to feel like three distinct site directions too—not one
   template with three photos swapped in. */
.prototype-exact-showcase #browserFrame.is-package-starter {
  border-color: rgba(126, 205, 143, 0.46);
  box-shadow: 0 30px 70px rgba(9, 42, 22, 0.34), 0 0 0 1px rgba(216, 243, 220, 0.06);
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-site-nav {
  background: rgba(27, 67, 50, 0.94);
  border-bottom-color: rgba(216, 243, 220, 0.18);
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-site-brand small,
.prototype-exact-showcase #browserFrame.is-package-starter .demo-site-links {
  color: #d8f3dc;
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-site-links a:hover {
  color: #ffffff;
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-site-cta,
.prototype-exact-showcase #browserFrame.is-package-starter .demo-hero-btn {
  background: #1b4332;
  border: 1px solid rgba(216, 243, 220, 0.48);
  color: #ffffff;
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-hero-overlay {
  background: linear-gradient(90deg, rgba(7, 35, 20, 0.86) 0%, rgba(17, 63, 37, 0.55) 52%, rgba(8, 24, 14, 0.16) 100%);
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-hero-bg {
  object-position: center 58%;
  filter: saturate(1.08) contrast(1.04);
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-hero-kicker {
  color: #f4a261;
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-site-features {
  background: #1b4332;
  color: #f0fdf4;
  border-top-color: rgba(216, 243, 220, 0.12);
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-feature-item {
  border-right-color: rgba(216, 243, 220, 0.12);
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-feature-text strong {
  color: #f0fdf4;
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-feature-text p {
  color: #b7d7bc;
}

.prototype-exact-showcase #browserFrame.is-package-starter .demo-feature-icon img {
  filter: brightness(0) saturate(100%) invert(87%) sepia(16%) saturate(693%) hue-rotate(75deg) brightness(98%) contrast(91%);
}

.prototype-exact-showcase #browserFrame.is-package-business {
  border-color: rgba(52, 211, 153, 0.38);
  box-shadow: 0 30px 70px rgba(3, 36, 38, 0.34), 0 0 0 1px rgba(52, 211, 153, 0.05);
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-site-nav {
  background: rgba(15, 23, 42, 0.96);
  border-bottom-color: rgba(52, 211, 153, 0.18);
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-site-brand small,
.prototype-exact-showcase #browserFrame.is-package-business .demo-hero-kicker {
  color: #6ee7b7;
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-site-links {
  color: #cbd5e1;
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-site-cta,
.prototype-exact-showcase #browserFrame.is-package-business .demo-hero-btn {
  background: #059669;
  border: 1px solid rgba(167, 243, 208, 0.42);
  color: #ffffff;
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-hero-overlay {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.62) 50%, rgba(2, 8, 23, 0.16) 100%);
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-hero-bg {
  object-position: center 52%;
  filter: saturate(0.94) contrast(1.05);
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-site-features {
  background: #16263a;
  color: #f8fafc;
  border-top-color: rgba(52, 211, 153, 0.16);
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-feature-item {
  border-right-color: rgba(148, 163, 184, 0.15);
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-feature-text strong {
  color: #f8fafc;
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-feature-text p {
  color: #9fb2c8;
}

.prototype-exact-showcase #browserFrame.is-package-business .demo-feature-icon img {
  filter: brightness(0) saturate(100%) invert(79%) sepia(16%) saturate(1016%) hue-rotate(101deg) brightness(94%) contrast(90%);
}

.prototype-exact-showcase #browserFrame.is-package-store {
  border-color: rgba(230, 202, 101, 0.42);
  box-shadow: 0 30px 70px rgba(52, 32, 10, 0.36), 0 0 0 1px rgba(230, 202, 101, 0.05);
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-site-nav {
  background: rgba(12, 10, 9, 0.96);
  border-bottom-color: rgba(230, 202, 101, 0.2);
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-site-brand small,
.prototype-exact-showcase #browserFrame.is-package-store .demo-hero-kicker {
  color: #e6ca65;
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-site-links {
  color: #d6c581;
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-site-links a:hover {
  color: #fff4c2;
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-site-cta,
.prototype-exact-showcase #browserFrame.is-package-store .demo-hero-btn {
  background: #e6ca65;
  border: 1px solid #f5e7a7;
  color: #0c0a09;
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-hero-overlay {
  background: linear-gradient(90deg, rgba(12, 10, 9, 0.9) 0%, rgba(12, 10, 9, 0.58) 52%, rgba(12, 10, 9, 0.16) 100%);
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-hero-bg {
  object-position: center 45%;
  filter: saturate(0.82) sepia(0.12) contrast(1.08);
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-site-features {
  background: #161311;
  color: #fafaf9;
  border-top-color: rgba(230, 202, 101, 0.2);
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-feature-item {
  border-right-color: rgba(230, 202, 101, 0.14);
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-feature-text strong {
  color: #fafaf9;
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-feature-text p {
  color: #a8a29e;
}

.prototype-exact-showcase #browserFrame.is-package-store .demo-feature-icon img {
  filter: brightness(0) saturate(100%) invert(82%) sepia(36%) saturate(545%) hue-rotate(5deg) brightness(97%) contrast(90%);
}

@media (min-width: 769px) {
  .prototype-exact-showcase #browserFrame.is-package-business .demo-site-hero {
    justify-content: flex-start;
    text-align: left;
  }

  .prototype-exact-showcase #browserFrame.is-package-business .demo-hero-copy {
    margin: 0;
  }

  .prototype-exact-showcase #browserFrame.is-package-business .demo-hero-copy p {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Prototype tilt/glare engine, limited to the showcase cards. */
.prototype-exact-showcase [data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s var(--ease-smooth);
}

.prototype-exact-showcase [data-tilt].is-tilting {
  transform: perspective(1100px) rotateX(var(--tilt-rx, 0deg)) rotateY(var(--tilt-ry, 0deg));
  transition: transform 0.04s linear;
}

.prototype-exact-showcase [data-tilt] .tilt-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle 380px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.14), transparent 75%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 15;
}

.prototype-exact-showcase [data-tilt].is-tilting .tilt-glare {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .prototype-exact-showcase [data-tilt] {
    animation: none !important;
    transform: none !important;
  }
}

/* Mobile showcase: keep the website preview itself visible instead of letting
   the stacked feature row collapse the hero to zero height. */
@media (max-width: 768px) {
  .prototype-exact-showcase .showcase-direction-controls {
    margin-bottom: 16px;
  }

  .prototype-exact-showcase .showcase-direction-controls .arrow-button {
    width: 40px;
    height: 40px;
  }

  .prototype-exact-showcase .browser-viewport {
    aspect-ratio: auto;
    min-height: 0;
  }

  .prototype-exact-showcase .demo-site-nav {
    flex: 0 0 48px;
    height: 48px;
    padding: 0 16px;
  }

  .prototype-exact-showcase .demo-site-brand {
    font-size: 15px;
  }

  .prototype-exact-showcase .demo-site-brand small {
    font-size: 7px;
  }

  .prototype-exact-showcase .demo-site-hero {
    flex: 0 0 250px;
    height: 250px;
    min-height: 250px;
  }

  .prototype-exact-showcase .demo-hero-copy {
    width: 100%;
    padding: 22px 18px;
  }

  .prototype-exact-showcase .demo-hero-kicker {
    font-size: 8px;
    margin-bottom: 8px;
  }

  .prototype-exact-showcase .demo-hero-copy h2 {
    font-size: 32px;
    line-height: 1.02;
    margin-bottom: 10px;
  }

  .prototype-exact-showcase .demo-hero-copy p {
    max-width: 300px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .prototype-exact-showcase .demo-hero-btn {
    padding: 8px 15px;
    font-size: 11px;
  }

  .prototype-exact-showcase .demo-site-features {
    flex: 0 0 72px;
    height: 72px;
    grid-template-columns: repeat(3, 1fr);
  }

  .prototype-exact-showcase .demo-feature-item {
    min-width: 0;
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 0;
  }

  .prototype-exact-showcase .demo-feature-icon {
    width: 22px;
    height: 22px;
    margin: 0;
  }

  .prototype-exact-showcase .demo-feature-icon img {
    width: 16px;
    height: 16px;
  }

  .prototype-exact-showcase .demo-feature-text strong {
    font-size: 10px;
    line-height: 1.1;
    margin: 0;
  }

  .prototype-exact-showcase .demo-feature-text p {
    display: none;
  }

  .prototype-exact-showcase .package-switcher-wrap {
    border-radius: 22px;
    gap: 2px;
    padding: 6px;
  }

  .prototype-exact-showcase .package-btn {
    min-height: 70px;
    padding: 13px 10px;
  }

  .prototype-exact-showcase .package-btn__price {
    font-size: 13px;
    line-height: 1.15;
  }

  .prototype-exact-showcase .package-btn__tagline {
    font-size: 10px;
    line-height: 1.25;
  }

  .prototype-exact-showcase .package-switcher-action {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    padding: 11px 8px 8px;
    border-top: 1px solid rgba(170, 205, 255, 0.12);
    font-size: 11px;
  }

  .prototype-exact-showcase .package-btn.is-active {
    background: #121212;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }

  .prototype-exact-showcase .package-btn.is-active .package-btn__price {
    color: #ffffff;
  }

  .prototype-exact-showcase .package-btn.is-active .package-btn__tagline {
    color: #b7c8df;
  }
}

@media (max-width: 420px) {
  .prototype-exact-showcase .demo-site-hero {
    flex-basis: 232px;
    height: 232px;
    min-height: 232px;
  }

  .prototype-exact-showcase .demo-hero-copy h2 {
    font-size: 29px;
  }

  .prototype-exact-showcase .demo-hero-copy p {
    font-size: 11px;
  }
}

/* Prototype device twin
   The homepage now has one focused 3D scene: the laptop and phone device twin
   from the production prototype. The browser/phone card cluster is removed so
   the interactive demo does not repeat the same preview twice. */
.prototype-exact-showcase .hero-composition--minimal {
  justify-content: center;
  text-align: center;
  min-height: 370px;
}

.prototype-exact-showcase .hero-composition--minimal h1 {
  width: 100%;
}

.prototype-exact-showcase .three-studio-viewport {
  position: relative;
  width: 100%;
  height: 540px;
  margin: 0 auto 36px;
  overflow: hidden;
  border: 1px solid rgba(140, 185, 255, 0.22);
  border-radius: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(14, 30, 58, 0.72) 0%, rgba(3, 10, 22, 0.98) 75%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: grab;
  touch-action: none;
}

.prototype-exact-showcase .three-studio-viewport:active {
  cursor: grabbing;
}

.prototype-exact-showcase .three-studio-viewport canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.prototype-exact-showcase .three-studio-viewport.three-webgl-fallback::before {
  content: 'Interactive preview unavailable — open a demo below';
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 8;
  width: min(320px, calc(100% - 40px));
  transform: translate(-50%, -50%);
  color: #d8e5f7;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.prototype-exact-showcase .three-studio-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(3, 10, 22, 0.86) 100%);
  opacity: 0.72;
  z-index: 6;
}

.prototype-exact-showcase .three-viewport-concepts,
.prototype-exact-showcase .three-screen-enter-cta,
.prototype-exact-showcase .three-studio-hint {
  z-index: 10;
}

.prototype-exact-showcase .three-viewport-concepts {
  position: absolute;
  top: 18px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border: 1px solid rgba(140, 185, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 12, 28, 0.84);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
}

.prototype-exact-showcase .three-concept-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.prototype-exact-showcase .three-concept-pill:hover,
.prototype-exact-showcase .three-concept-pill.is-active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
}

.prototype-exact-showcase .three-concept-pill .concept-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
}

.prototype-exact-showcase .three-concept-pill .concept-price {
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.78;
}

.prototype-exact-showcase .three-screen-enter-cta {
  position: absolute;
  top: 18px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 40px);
  padding: 8px 18px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 999px;
  background: rgba(3, 12, 28, 0.88);
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 18px rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(14px);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.prototype-exact-showcase .three-screen-enter-cta:hover,
.prototype-exact-showcase .three-screen-enter-cta.is-hovered {
  transform: translateY(-2px);
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.22);
  color: #ffffff;
}

.prototype-exact-showcase .three-screen-pulse {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: three-screen-pulse 2s infinite ease-in-out;
}

@keyframes three-screen-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.prototype-exact-showcase .three-studio-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 6px 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(140, 185, 255, 0.2);
  border-radius: 999px;
  background: rgba(3, 10, 22, 0.85);
  color: #94a3b8;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

@media (max-width: 900px) {
  .prototype-exact-showcase .three-studio-viewport {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .prototype-exact-showcase .hero-composition--minimal {
    min-height: 300px;
    padding: 46px 0 30px;
  }

  .prototype-exact-showcase .three-studio-viewport {
    height: 360px;
    border-radius: 18px;
    margin-bottom: 24px;
  }

  .prototype-exact-showcase .three-viewport-concepts {
    top: 12px;
    left: 12px;
    gap: 3px;
    padding: 3px 5px;
  }

  .prototype-exact-showcase .three-concept-pill {
    gap: 5px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .prototype-exact-showcase .three-concept-pill .concept-price {
    display: none;
  }

  .prototype-exact-showcase .three-screen-enter-cta {
    top: 56px;
    right: 12px;
    left: 12px;
    width: auto;
    justify-content: center;
    padding: 7px 10px;
    font-size: 10px;
  }

  .prototype-exact-showcase .three-screen-enter-cta .three-screen-pulse {
    display: none;
  }

  .prototype-exact-showcase .three-studio-hint {
    bottom: 10px;
    padding: 5px 10px;
    font-size: 9px;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .prototype-exact-showcase .three-viewport-concepts {
    left: 12px;
    right: 12px;
    justify-content: center;
  }

  .prototype-exact-showcase .three-concept-pill {
    padding: 8px 9px;
  }
}

/* Integrated showcase layout: one selection path, one launch path. */
.prototype-exact-showcase .showcase-heading {
  display: block;
  max-width: 620px;
  margin: 0 auto 24px;
  text-align: center;
}

.prototype-exact-showcase .showcase-heading__eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prototype-exact-showcase .showcase-heading h2 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.prototype-exact-showcase .showcase-heading p {
  margin: 12px 0 0;
  color: #8fa5c0;
  font-size: 14px;
}

.prototype-exact-showcase .three-viewport-concepts--flow {
  position: static;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 5px;
  border-color: rgba(140, 185, 255, 0.18);
  background: rgba(3, 12, 28, 0.66);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.prototype-exact-showcase .three-studio-viewport {
  height: 460px;
  margin-bottom: 20px;
  border-color: rgba(140, 185, 255, 0.16);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.prototype-exact-showcase .three-studio-hint {
  bottom: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(185, 204, 229, 0.62);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prototype-exact-showcase .showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto 64px;
  padding: 16px 2px 0;
  border-top: 1px solid rgba(140, 185, 255, 0.14);
}

.prototype-exact-showcase .showcase-selection {
  margin: 0;
  color: #91a8c4;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.prototype-exact-showcase .showcase-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c8dcff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.prototype-exact-showcase .showcase-footer__link span {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.prototype-exact-showcase .showcase-footer__link:hover,
.prototype-exact-showcase .showcase-footer__link:focus-visible {
  color: #ffffff;
}

.prototype-exact-showcase .showcase-footer__link:hover span,
.prototype-exact-showcase .showcase-footer__link:focus-visible span {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .prototype-exact-showcase .showcase-heading {
    margin-bottom: 20px;
  }

  .prototype-exact-showcase .showcase-heading p {
    font-size: 13px;
  }

  .prototype-exact-showcase .three-viewport-concepts--flow {
    width: 100%;
    justify-content: center;
    margin-bottom: 16px;
  }

  .prototype-exact-showcase .three-studio-viewport {
    height: 360px;
  }

  .prototype-exact-showcase .three-studio-hint {
    display: none;
  }

  .prototype-exact-showcase .showcase-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 42px;
    padding: 14px 0 0;
  }

  .prototype-exact-showcase .showcase-footer__link {
    width: 100%;
    justify-content: space-between;
  }
}

/* Bring the device scene into the first scroll: the hero earns attention, then
   the 3D work arrives before the explanatory showcase controls. */
.prototype-exact-showcase .p-hero {
  min-height: 0;
  padding-bottom: 28px;
}

.prototype-exact-showcase .hero-composition--minimal {
  min-height: 0;
  flex: none;
  padding: 40px 0 16px;
}

.prototype-exact-showcase .hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(820px, 100%);
  margin: 0 auto;
  padding-top: 0;
  border-top: 0;
}

.prototype-exact-showcase .hero-bottom p {
  max-width: 360px;
  font-size: 14px;
}

.prototype-exact-showcase .showcase-section {
  padding-top: 24px;
}

@media (max-width: 768px) {
  .prototype-exact-showcase .p-hero {
    padding-bottom: 24px;
  }

  .prototype-exact-showcase .hero-composition--minimal {
    padding: 24px 0 16px;
  }

  .prototype-exact-showcase .hero-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .prototype-exact-showcase .hero-bottom p {
    font-size: 13px;
  }

  .prototype-exact-showcase .showcase-section {
    padding-top: 20px;
  }
}

/* Keep demo selection attached to the device scene; price appears once below. */
.prototype-exact-showcase .three-viewport-concepts--overlay {
  top: 16px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 4px;
  transform: translateX(-50%);
  background: rgba(3, 12, 28, 0.78);
  border-color: rgba(140, 185, 255, 0.2);
  z-index: 10;
}

.prototype-exact-showcase .three-viewport-concepts--overlay .three-concept-pill {
  min-height: 44px;
  padding: 8px 18px;
  justify-content: center;
}

.prototype-exact-showcase .three-scene-cue {
  position: absolute;
  right: 0;
  bottom: 42px;
  left: 0;
  z-index: 10;
  color: rgba(203, 221, 244, 0.72);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: none;
}

.prototype-exact-showcase .three-scene-cue__mobile {
  display: none;
}

.prototype-exact-showcase .showcase-selection {
  color: #d4e3f6;
  font-size: 14px;
}

@media (max-width: 768px) {
  .prototype-exact-showcase .three-viewport-concepts--overlay {
    top: 12px;
    width: calc(100% - 24px);
  }

  .prototype-exact-showcase .three-viewport-concepts--overlay .three-concept-pill {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 10px;
  }

  .prototype-exact-showcase .three-scene-cue {
    bottom: 18px;
    font-size: 10px;
  }

  .prototype-exact-showcase .three-scene-cue__desktop {
    display: none;
  }

  .prototype-exact-showcase .three-scene-cue__mobile {
    display: inline;
  }

  .prototype-exact-showcase .showcase-selection {
    font-size: 13px;
  }
}
