/**
 * Impacta Hub — 4 Interactive Showcase Blocks Stylesheet
 * Dark Luxury, 120Hz Smooth Horizontal Scrubbing, Synchronized Bento Detail Cards
 */

.showcase-block-section {
  position: relative;
  padding: 100px 0 110px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background-color: #07070a;
  overflow: hidden;
}

.showcase-block-section:nth-of-type(even) {
  background-color: #090a0f;
}

.showcase-block-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 250px;
  background: radial-gradient(ellipse at center, rgba(255, 91, 22, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.showcase-block-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── 1. BLOCK HEADER ─── */
.showcase-block-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
}

.showcase-header-left {
  max-width: 780px;
}

.showcase-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff5b16;
  background: rgba(255, 91, 22, 0.08);
  border: 1px solid rgba(255, 91, 22, 0.2);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.showcase-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5b16;
  box-shadow: 0 0 8px #ff5b16;
}

.showcase-block-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.showcase-block-title .title-accent {
  background: linear-gradient(135deg, #ffffff 0%, #ff5b16 52%, #ffa033 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-block-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
  max-width: 660px;
}

/* Navigation controls */
.showcase-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-right: 8px;
}

.showcase-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.showcase-nav-btn:hover {
  background: rgba(255, 91, 22, 0.15);
  border-color: #ff5b16;
  color: #ff5b16;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 91, 22, 0.25);
}

.showcase-nav-btn:active {
  transform: translateY(0);
}

/* ─── 2. HORIZONTAL SCROLLER TRACK ─── */
.showcase-slider-wrap {
  position: relative;
  width: 100%;
}

.showcase-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 12px 4px 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.showcase-track:active {
  cursor: grabbing;
}

/* Individual Project Card in Slider */
.showcase-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: #0f1016;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  user-select: none;
}

.showcase-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

.showcase-card.is-active {
  border-color: #ff5b16;
  background: #13141c;
  box-shadow: 0 0 28px rgba(255, 91, 22, 0.25), 0 14px 34px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

.showcase-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #050608;
}

.showcase-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover .showcase-card-img,
.showcase-card.is-active .showcase-card-img {
  transform: scale(1.04);
}

.showcase-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffa033;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.showcase-card-status {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(7, 7, 10, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 91, 22, 0.35);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.showcase-card-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 6px #00e676;
}

.showcase-card-body {
  padding: 16px 6px 8px;
}

.showcase-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.showcase-card-client {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.showcase-card-select-cue {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.showcase-card.is-active .showcase-card-select-cue {
  color: #ff5b16;
  font-weight: 700;
}

.showcase-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #8b8b96;
  margin: 0;
}

/* ─── 3. SYNCHRONIZED DETAIL BENTO PANEL ─── */
.showcase-detail-panel {
  position: relative;
  margin-top: 16px;
  background: #0d0e14;
  border: 1px solid rgba(255, 91, 22, 0.25);
  border-radius: 14px;
  padding: 36px 36px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.showcase-detail-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.showcase-detail-project-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.showcase-detail-sector {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff5b16;
  background: rgba(255, 91, 22, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 91, 22, 0.2);
}

.showcase-detail-stack {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.showcase-stack-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
}

/* 3-Column Bento Grid */
.showcase-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.showcase-bento-box {
  background: rgba(18, 19, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.showcase-bento-box.box-problem {
  border-left: 3px solid #ef4444;
}

.showcase-bento-box.box-solution {
  border-left: 3px solid #ff5b16;
}

.showcase-bento-box.box-results {
  border-left: 3px solid #10b981;
}

.showcase-bento-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.box-problem .showcase-bento-label {
  color: #ef4444;
}

.box-solution .showcase-bento-label {
  color: #ff5b16;
}

.box-results .showcase-bento-label {
  color: #10b981;
}

.showcase-bento-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.showcase-bento-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

.showcase-bento-metrics {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #10b981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Detail Footer CTA */
.showcase-detail-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-detail-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff5b16;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(255, 91, 22, 0.35);
}

.showcase-detail-cta-link:hover {
  background: #ff7235;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 91, 22, 0.5);
}

.showcase-detail-secondary-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8b8b96 !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.showcase-detail-secondary-link:hover {
  color: #ffffff !important;
}

/* ─── RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 1024px) {
  .showcase-bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase-card {
    flex: 0 0 320px;
  }

  .showcase-card-img-wrap {
    height: 190px;
  }
}

@media (max-width: 640px) {
  .showcase-block-section {
    padding: 64px 0 72px;
  }

  .showcase-block-container {
    padding: 0 20px;
  }

  .showcase-card {
    flex: 0 0 84vw;
    max-width: 320px;
  }

  .showcase-detail-panel {
    padding: 24px 20px;
  }

  .showcase-header-controls {
    display: none;
  }
}


/* ═════════════════════════════════════════════════════════════════════
   FLOATING DUAL-DEVICE (MACBOOK PRO + IPHONE) WITH DOT MORPH PHYSICS
   Inspired by the Original Impacta Hub & Digitam Haute Couture Aesthetics
   ═════════════════════════════════════════════════════════════════════ */

.showcase-header-centered {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 48px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-header-centered .showcase-pill-tag {
  margin-bottom: 16px;
}

.showcase-header-centered .showcase-block-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.showcase-header-centered .showcase-block-desc {
  font-size: 1.0625rem;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* ─── FLOATING DUAL-DEVICE SHOWCASE (NO BOXED CARD AROUND IT) ─── */
.dual-showcase-stage {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  padding: 10px 0 30px;
  perspective: 1400px;
}

/* Atmospheric warm halo behind devices */
.dual-showcase-stage::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(255, 85, 0, 0.12) 0%, rgba(255, 85, 0, 0.02) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
}

/* ─── DUAL DEVICE INTERACTIVE WRAPPER (DRAGGABLE/SWIPEABLE) ─── */
.dual-devices-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dual-devices-wrapper:active {
  cursor: grabbing;
}

/* ─── 1. MACBOOK PRO HARDWARE MOCKUP (FREE-FLOATING) ─── */
.dual-macbook {
  flex: 1;
  max-width: 650px;
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.03));
  transition: transform 0.4s ease;
}

.dual-macbook-lid {
  background: #1c1d22;
  border-radius: 16px 16px 0 0;
  padding: 7px 7px 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dual-macbook-bezel {
  background: #000000;
  border-radius: 10px 10px 0 0;
  position: relative;
  overflow: hidden;
  border: 1px solid #0a0a0c;
}

.dual-macbook-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 9px;
  background: #000000;
  border-radius: 0 0 7px 7px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dual-macbook-camera {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1e293b;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.8);
}

.dual-macbook-cam-led {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.dual-macbook-screen {
  aspect-ratio: 16 / 10;
  width: 100%;
  background: #090a0f;
  position: relative;
  overflow: hidden;
}

.dual-macbook-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.dual-devices-wrapper:hover .dual-macbook-screen img {
  transform: scale(1.02);
}

.dual-macbook-base {
  width: 104%;
  height: 12px;
  margin-left: -2%;
  background: linear-gradient(180deg, #2a2c33 0%, #1c1d22 50%, #121316 100%);
  border-radius: 0 0 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.dual-macbook-base-notch {
  width: 58px;
  height: 4px;
  background: #0f1013;
  border-radius: 0 0 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
}

/* ─── 2. IPHONE 16 PRO HARDWARE MOCKUP (OVERLAPPING ON RIGHT) ─── */
.dual-iphone {
  width: 155px;
  aspect-ratio: 9 / 19.2;
  border-radius: 28px;
  padding: 3px;
  background: linear-gradient(180deg, #52525b 0%, #27272a 40%, #09090b 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.98), 0 0 25px rgba(0, 0, 0, 0.8);
  flex-shrink: 0;
  margin-left: -28px;
  margin-bottom: 6px;
  position: relative;
  z-index: 10;
  transform: rotateZ(1deg);
  transition: transform 0.35s ease;
}

.dual-devices-wrapper:hover .dual-iphone {
  transform: rotateZ(0deg) translateY(-4px);
}

.dual-iphone-inner {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  background: #000000;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.dual-iphone-island {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 11px;
  background: #000000;
  border-radius: 9999px;
  z-index: 25;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 3px;
}

.dual-iphone-island-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #10b981;
}

.dual-iphone-screen {
  width: 100%;
  height: 100%;
  position: relative;
}

.dual-iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ─── DOT MORPH PHYSICS (PALLINO SCORRE & SI ALLARGA) ─── */
/* Leftward swipe animations */
.dual-devices-wrapper.morph-out-to-left {
  animation: dual-morph-collapse-left 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.dual-devices-wrapper.morph-in-from-right {
  animation: dual-morph-expand-right 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Rightward swipe animations */
.dual-devices-wrapper.morph-out-to-right {
  animation: dual-morph-collapse-right 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.dual-devices-wrapper.morph-in-from-left {
  animation: dual-morph-expand-left 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dual-morph-collapse-left {
  0% {
    transform: scale(1) translateX(0) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
  50% {
    transform: scale(0.04) translateX(-40px) translateY(80px);
    opacity: 0.9;
    filter: blur(2px);
  }
  100% {
    transform: scale(0.02) translateX(-320px) translateY(80px);
    opacity: 0;
    filter: blur(8px);
  }
}

@keyframes dual-morph-expand-right {
  0% {
    transform: scale(0.02) translateX(320px) translateY(80px);
    opacity: 0;
    filter: blur(8px);
  }
  45% {
    transform: scale(0.05) translateX(30px) translateY(80px);
    opacity: 0.95;
    filter: blur(2px);
  }
  100% {
    transform: scale(1) translateX(0) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes dual-morph-collapse-right {
  0% {
    transform: scale(1) translateX(0) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
  50% {
    transform: scale(0.04) translateX(40px) translateY(80px);
    opacity: 0.9;
    filter: blur(2px);
  }
  100% {
    transform: scale(0.02) translateX(320px) translateY(80px);
    opacity: 0;
    filter: blur(8px);
  }
}

@keyframes dual-morph-expand-left {
  0% {
    transform: scale(0.02) translateX(-320px) translateY(80px);
    opacity: 0;
    filter: blur(8px);
  }
  45% {
    transform: scale(0.05) translateX(-30px) translateY(80px);
    opacity: 0.95;
    filter: blur(2px);
  }
  100% {
    transform: scale(1) translateX(0) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Central glowing energy orb active during morphing */
.dual-morph-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 30px var(--orange), 0 0 60px rgba(255, 85, 0, 0.8);
  pointer-events: none;
  opacity: 0;
  z-index: 30;
  transition: opacity 0.2s ease;
}

.dual-morph-orb.is-active {
  opacity: 1;
  animation: orb-pulse-flight 0.5s ease-in-out;
}

@keyframes orb-pulse-flight {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.6); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
}

/* ─── PROBLEMA / SOLUZIONE BENTO (ISPIRATO AL FORMAT ORIGINALE) ─── */
.dual-project-details {
  max-width: 880px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dual-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.dual-case-box {
  background: rgba(14, 15, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 24px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.dual-case-box:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.dual-case-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dual-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.dot-green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.box-problema .dual-case-label {
  color: #f87171;
}

.box-soluzione .dual-case-label {
  color: #34d399;
}

.dual-case-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
  transition: opacity 0.3s ease;
}

.dual-case-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 4px 0;
  flex-wrap: wrap;
}

.dual-explore-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dual-explore-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 85, 0, 0.45);
}

.dual-dots-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dual-dot-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.dual-dot-btn:hover {
  border-color: rgba(255, 85, 0, 0.4);
}

.dual-dot-orb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.dual-dot-btn.is-active {
  background: rgba(255, 85, 0, 0.12);
  border-color: rgba(255, 85, 0, 0.35);
}

.dual-dot-btn.is-active .dual-dot-orb {
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.dual-dot-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dual-dot-btn.is-active .dual-dot-label {
  color: #ffffff;
}

.dual-swipe-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: #475569;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  justify-content: center;
}

.dual-swipe-arrow {
  color: var(--orange);
}

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 768px) {
  .dual-devices-wrapper {
    max-width: 95vw;
  }

  .dual-macbook {
    max-width: 72vw;
  }

  .dual-iphone {
    width: 24vw;
    margin-left: -16px;
    border-radius: 18px;
  }

  .dual-iphone-inner {
    border-radius: 16px;
  }

  .dual-project-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 18px;
  }

  .dual-details-right {
    width: 100%;
    justify-content: space-between;
  }

  .dual-dots-nav {
    flex-direction: row;
    gap: 12px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   APPLE-STYLE DUAL SHOWCASE & EDITORIAL ARCHITECTURE
   Symmetrical, Clean, Uncluttered, Floating Hardware & Refined Glass Story
═══════════════════════════════════════════════════════════════════════════ */

/* 1. Apple Floating Segmented Pill Control */
.apple-dock-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px 0 32px;
  position: relative;
  z-index: 10;
}

.apple-segmented-dock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  background: rgba(24, 24, 27, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.apple-segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: #a1a1aa;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
}

.apple-segment-btn:hover {
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.05);
}

.apple-segment-btn.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

.apple-segment-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52525b;
  transition: all 0.25s ease;
}

.apple-segment-btn.is-active .apple-segment-dot {
  background: #ff5b16;
  box-shadow: 0 0 8px #ff5b16;
}

.apple-segment-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.apple-segment-btn.is-active .apple-segment-tag {
  color: #fb923c;
  background: rgba(255, 91, 22, 0.12);
}

/* 2. Apple Hardware Ground Contact Shadow */
.apple-hardware-ground-shadow {
  width: 820px;
  max-width: 90%;
  height: 30px;
  margin: -12px auto 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.55) 45%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
  position: relative;
  z-index: 1;
}

/* 3. Apple Unified Editorial Story Card */
.apple-editorial-card {
  max-width: 920px;
  margin: 36px auto 0;
  background: rgba(15, 16, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 34px 44px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 5;
}

.apple-editorial-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
}

.apple-editorial-columns::after {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(-50%);
}

.apple-editorial-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apple-editorial-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.dot-gray {
  background: #71717a;
  box-shadow: 0 0 6px rgba(113, 113, 122, 0.6);
}

.dot-orange {
  background: #ff5b16;
  box-shadow: 0 0 8px #ff5b16;
}

.apple-col-problem .apple-editorial-eyebrow {
  color: #94a3b8;
}

.apple-col-solution .apple-editorial-eyebrow {
  color: #fb923c;
}

.apple-col-problem .dual-case-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.68;
  color: #a1a1aa;
  font-weight: 400;
  margin: 0;
}

.apple-col-solution .dual-case-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.68;
  color: #f4f4f5;
  font-weight: 450;
  margin: 0;
}

/* 4. Centered Footer CTA Button */
.apple-card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.apple-explore-btn {
  background: #ffffff;
  color: #08090b !important;
  border: 1px solid #ffffff;
  padding: 13px 34px;
  border-radius: 9999px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.apple-explore-btn:hover {
  background: #ff5b16;
  color: #ffffff !important;
  border-color: #ff5b16;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 91, 22, 0.45);
}

.apple-btn-arrow {
  transition: transform 0.25s ease;
  font-weight: 800;
}

.apple-explore-btn:hover .apple-btn-arrow {
  transform: translateX(4px);
}

.apple-swipe-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: #52525b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apple-cue-arrow {
  color: #ff5b16;
  opacity: 0.8;
}

/* 5. Apple Style Refinement on Mockups */
.dual-macbook {
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.98)) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9));
}

.dual-macbook-lid {
  border-color: rgba(255, 255, 255, 0.14);
}

.dual-iphone {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.98), 0 0 30px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .apple-editorial-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .apple-editorial-columns::after {
    display: none;
  }
  .apple-editorial-card {
    padding: 24px 20px;
    margin-top: 24px;
    border-radius: 18px;
  }
  .apple-segmented-dock {
    width: 100%;
    justify-content: center;
  }
  .apple-segment-btn {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
  .apple-segment-tag {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIQUID GLASS PROBLEM / SOLUTION CARDS & DUAL ACTIONS ARCHITECTURE
   Separated Twin Frosted Glass Cards + Floating Side Arrows
═══════════════════════════════════════════════════════════════════════════ */

/* Floating Side Navigation Arrows (Vertically centered to MacBook Screen) */
.dual-stage-nav-arrow {
  position: absolute;
  top: 210px;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(18, 19, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.dual-stage-arrow-prev {
  left: -24px;
}

.dual-stage-arrow-next {
  right: -24px;
}

.dual-stage-nav-arrow:hover {
  background: rgba(255, 91, 22, 0.22);
  border-color: rgba(255, 91, 22, 0.6);
  color: #ff5b16;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 30px rgba(255, 91, 22, 0.35);
}

.dual-stage-nav-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* Two Separate Liquid Glass Cards (Left: Problem in Red, Right: Solution in Green) */
.liquid-glass-grid {
  max-width: 960px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 5;
}

.liquid-glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.026);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow:
    0 20px 45px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.liquid-glass-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  box-shadow:
    0 24px 55px -10px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.liquid-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.label-red {
  color: #ef4444;
}

.label-green {
  color: #10b981;
}

.liquid-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-red {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444, 0 0 20px rgba(239, 68, 68, 0.4);
}

.dot-green {
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 20px rgba(16, 185, 129, 0.4);
}

.liquid-card-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 400;
  margin: 0;
  transition: opacity 0.25s ease;
}

/* Dual Actions Row Outside the Cards */
.liquid-actions-row {
  max-width: 960px;
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 6;
}

.liquid-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 13px 28px;
  border-radius: 9999px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.liquid-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.liquid-btn-primary {
  background: linear-gradient(135deg, #ff5b16 0%, #ff3b00 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 91, 22, 0.4);
  padding: 13px 30px;
  border-radius: 9999px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 24px rgba(255, 91, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.liquid-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 91, 22, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.liquid-btn-arrow {
  transition: transform 0.25s ease;
  font-weight: 800;
}

.liquid-btn-secondary:hover .liquid-btn-arrow,
.liquid-btn-primary:hover .liquid-btn-arrow {
  transform: translateX(4px);
}

.liquid-drag-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: #52525b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 14px;
}

.drag-hint-arrow {
  color: #ff5b16;
}

/* Interactive Project Dots Indicator */
.dual-dots-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  z-index: 20;
  position: relative;
}

.dual-dot {
  width: 24px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.dual-dot.is-active {
  width: 44px;
  background: #ff5b16;
  box-shadow: 0 0 14px rgba(255, 91, 22, 0.75);
}

.dual-dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.4);
}

.hint-text-mobile {
  display: none;
}

.hint-text-desktop {
  display: inline;
}

@media (max-width: 768px) {
  .showcase-block-section {
    padding: 44px 0 54px;
  }

  .showcase-block-container {
    padding: 0 16px;
  }

  .showcase-header-centered {
    margin: 0 auto 28px auto;
  }

  .showcase-header-centered .showcase-pill-tag {
    font-size: 0.65rem;
    padding: 5px 12px;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }

  .showcase-header-centered .showcase-block-title {
    font-size: clamp(1.65rem, 6.8vw, 2.2rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
  }

  .showcase-block-desc {
    font-size: 0.88rem;
    line-height: 1.58;
    color: #a1a1aa;
    max-width: 100%;
  }

  .dual-showcase-stage {
    padding: 4px 0 16px;
  }

  .dual-devices-wrapper {
    max-width: 100%;
    gap: 0;
    padding: 2px 0 8px;
    justify-content: center;
    align-items: flex-end;
  }

  .dual-macbook {
    flex: none;
    width: 76vw;
    max-width: 320px;
  }

  .dual-macbook-notch {
    width: 54px;
    height: 7px;
  }

  .dual-macbook-camera {
    width: 3px;
    height: 3px;
  }

  .dual-macbook-cam-led {
    width: 2px;
    height: 2px;
  }

  .dual-macbook-base {
    height: 9px;
    border-radius: 0 0 10px 10px;
  }

  .dual-macbook-base-notch {
    width: 44px;
    height: 3px;
  }

  .dual-iphone {
    flex: none;
    width: 28vw;
    max-width: 118px;
    margin-left: -22px;
    margin-bottom: 3px;
    border-radius: 20px;
    padding: 2.5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.98), 0 0 20px rgba(0, 0, 0, 0.8);
  }

  .dual-iphone-inner {
    border-radius: 17px;
  }

  .dual-iphone-island {
    top: 4px;
    width: 30px;
    height: 9px;
  }

  .dual-iphone-island-dot {
    width: 3px;
    height: 3px;
  }

  .apple-hardware-ground-shadow {
    width: 88%;
    height: 20px;
    margin: -8px auto 0;
  }

  .dual-dots-indicator {
    margin: 14px auto 0;
    gap: 8px;
  }

  .dual-dot {
    width: 20px;
    height: 6px;
  }

  .dual-dot.is-active {
    width: 36px;
  }

  .liquid-glass-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .liquid-glass-card {
    padding: 18px 20px;
    border-radius: 16px;
    gap: 10px;
  }

  .liquid-card-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .liquid-card-text {
    font-size: 0.88rem;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.8);
  }

  .liquid-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 16px;
  }

  .liquid-btn-secondary,
  .liquid-btn-primary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.875rem;
    padding: 12px 20px;
    box-sizing: border-box;
  }

  .liquid-btn-secondary:active,
  .liquid-btn-primary:active {
    transform: scale(0.98);
  }

  .dual-stage-nav-arrow {
    display: none !important;
  }

  .hint-text-desktop {
    display: none;
  }

  .hint-text-mobile {
    display: inline;
  }

  .liquid-drag-hint {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    margin-top: 10px;
    text-align: center;
  }
}
