/* =====================================================================
   GLOBALIST PRODUKTE — Tabbed Showcase (alt5)
   Lädt NACH globalist-why.css. Imported 1:1 from the A5 standalone
   prototype, with per-panel animated visuals (orbits, pins, profit line).
   ===================================================================== */

.sys-products{
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 130px) 0;
  --hair: rgba(255,255,255,.06);
}
/* ambient mint sheen — subtler than the WHY globe */
.sys-products::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 80% 20%, rgba(0,237,179,.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 15% 85%, rgba(0,237,179,.06), transparent 55%);
}
.sys-products > .sys-grid{ position: relative; z-index: 1; }

/* ——— Intro band (eyebrow + title + lead text) ——— */
.prod-intro{
  grid-column: 1 / -1;
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
  padding: 0 24px;
}
.prod-intro .eyebrow{
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
  text-shadow: 0 0 18px rgba(0,237,179,.3);
}
.prod-intro h2{
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.02;
  color: #fff;
  text-transform: none !important;
  margin: 0;
  text-wrap: balance;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}
.prod-intro h2 em{
  color: var(--primary);
  font-style: normal;
  text-shadow: 0 0 40px rgba(0,237,179,.5);
  -webkit-text-fill-color: var(--primary);
}
.prod-intro p{
  margin: 22px auto 0;
  color: rgba(224,231,229,.78);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 640px;
}
.prod-intro p em{
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
}

/* ——— A5 · Tabbed Showcase wrapper ——— */
.alt5-wrap{
  grid-column: 1 / -1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--card, #051a15) 0%, var(--bg, #020c09) 100%);
  border: 1px solid rgba(0,237,179,.18);
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 520px;
  box-shadow: 0 40px 120px -40px rgba(0,237,179,.25);
}

.alt5-tabs{
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(2,12,9,.4), rgba(2,12,9,0));
}
.alt5-tab{
  padding: 26px 22px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  color: #fff;
  position: relative;
  transition: background .25s cubic-bezier(0.16,1,0.3,1),
              border-color .25s cubic-bezier(0.16,1,0.3,1);
  font-family: inherit;
}
.alt5-tab:last-child{ border-bottom: none; }
.alt5-tab:hover{ background: rgba(0,237,179,.04); }
.alt5-tab.is-active{ background: rgba(0,237,179,.08); }
.alt5-tab.is-active::before{
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  box-shadow: 0 0 18px rgba(0,237,179,.7);
}
.alt5-t-n{
  font-family: 'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 500;
  color: var(--primary);
  letter-spacing: .24em;
  font-variant-numeric: tabular-nums;
}
.alt5-t-l{
  font-family: 'Inter', sans-serif;
  font-size: 17px; font-weight: 900;
  color: #fff;
  letter-spacing: -.012em;
  line-height: 1.15;
}
.alt5-t-s{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.alt5-tab.is-active .alt5-t-l{ text-shadow: 0 0 20px rgba(0,237,179,.25); }

.alt5-panels{ position: relative; }
.alt5-panel{
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: clamp(28px, 3.5vw, 48px);
  height: 100%;
  align-items: center;
}
.alt5-panel.is-active{
  display: grid;
  animation: altPanelIn .6s cubic-bezier(0.16,1,0.3,1);
}
@keyframes altPanelIn{
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.alt5-panel-body{ display: flex; flex-direction: column; gap: 16px; }
.alt5-panel-body h3{
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.1;
  text-transform: none !important;
  margin: 0;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  text-wrap: balance;
}
.alt5-panel-body p{
  font-size: 14px;
  color: rgba(224,231,229,.78);
  line-height: 1.6;
  margin: 0;
  max-width: 46ch;
}

.prod-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  border: 1px solid rgba(0,237,179,.3);
  border-radius: 4px;
  background: rgba(0,237,179,.06);
}

.alt5-panel-body .prod-list{
  list-style: none;
  padding: 0;
  margin: 6px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.alt5-panel-body .prod-list li{
  font-size: 13px;
  color: rgba(255,255,255,.86);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.alt5-panel-body .prod-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--primary);
  box-shadow: 0 0 6px rgba(0,237,179,.6);
}

.alt5-metrics{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px dashed rgba(0,237,179,.2);
  margin-top: 8px;
}
.alt5-metrics > div{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.alt5-metrics b{
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1;
}
.alt5-metrics b em{
  color: var(--primary);
  font-style: normal;
  text-shadow: 0 0 16px rgba(0,237,179,.55);
}
.alt5-metrics span{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.alt5-panel-body .btn{
  margin-top: 10px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
  background: var(--primary);
  color: #011d17;
  transition: all .35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 12px 32px -10px rgba(0,237,179,.5);
}
.alt5-panel-body .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0,237,179,.55), 0 18px 44px -8px rgba(0,237,179,.6);
}
.alt5-panel-body .btn svg{
  width: 14px; height: 14px;
  stroke: currentColor; stroke-width: 2; fill: none;
}

.alt5-panel-visual{
  aspect-ratio: 1;
  max-width: 480px;
  justify-self: center;
  width: 100%;
  position: relative;
}
.alt5-panel-visual::before{
  /* soft mint ambient behind each visual */
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(0,237,179,.1), transparent 60%);
  filter: blur(20px);
  z-index: 0;
}
.alt5-panel-visual svg{ width: 100%; height: 100%; position: relative; z-index: 1; }

/* ——— Per-panel animated visuals ——— */
/* DemandSphere — orbiting satellites */
.prod-orbit-a{ transform-origin: 200px 200px; animation: prodSpin 20s linear infinite; }
.prod-orbit-b{ transform-origin: 200px 200px; animation: prodSpin 28s linear infinite reverse; }
.prod-orbit-c{ transform-origin: 200px 200px; animation: prodSpin 36s linear infinite; }
@keyframes prodSpin{ to { transform: rotate(360deg); } }

/* Global Ignition — pulsing pins */
.prod-pin{ animation: prodPulse 3s ease-in-out infinite; transform-origin: center bottom; }
.prod-pin-1{ animation-delay: 0s; }
.prod-pin-2{ animation-delay: .4s; }
.prod-pin-3{ animation-delay: .8s; }
.prod-pin-4{ animation-delay: 1.2s; }
.prod-pin-5{ animation-delay: 1.6s; }
.prod-pin-6{ animation-delay: 2.0s; }
@keyframes prodPulse{
  0%, 100% { opacity: .55; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-3px); }
}

/* Profit Protect — draw-in profit line */
.prod-profit-line{
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: prodDraw 3.2s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes prodDraw{
  0%   { stroke-dashoffset: 320; }
  55%  { stroke-dashoffset: 0; }
  90%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 320; opacity: 0; }
}

/* ——— Closing combined CTA strip below tabs ——— */
.products-cta{
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0,237,179,.1), rgba(2,12,9,.6));
  border: 1px solid rgba(0,237,179,.28);
  box-shadow: 0 30px 100px -40px rgba(0,237,179,.25);
  flex-wrap: wrap;
  margin-top: 8px;
}
.products-cta .copy{
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.products-cta .copy small{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}
.products-cta h4{
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-transform: none !important;
  color: #fff;
  margin: 4px 0 0;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}
.products-cta h4 em{
  color: var(--primary);
  font-style: normal;
  text-shadow: 0 0 24px rgba(0,237,179,.55);
}
.products-cta .btn{
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700; font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
  background: var(--primary);
  color: #011d17;
  display: inline-flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  transition: all .35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 12px 32px -10px rgba(0,237,179,.5);
}
.products-cta .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0,237,179,.5), 0 18px 44px -8px rgba(0,237,179,.6);
}

/* ——— Responsive ——— */
@media (max-width: 960px){
  .alt5-wrap{ grid-template-columns: 1fr; min-height: auto; }
  .alt5-tabs{
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--hair);
    scroll-snap-type: x mandatory;
  }
  .alt5-tab{
    min-width: 220px;
    border-bottom: none;
    border-right: 1px solid var(--hair);
    padding: 20px 18px;
    scroll-snap-align: start;
  }
  .alt5-tab.is-active::before{
    top: auto; bottom: 0; right: 0;
    width: 100%; height: 3px;
  }
  .alt5-panel{
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }
  .alt5-panel-visual{ max-width: 320px; }
}
@media (max-width: 560px){
  .alt5-metrics{ grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .alt5-metrics b{ font-size: 20px; }
  .alt5-metrics span{ font-size: 8.5px; letter-spacing: .18em; }
  .products-cta{ padding: 20px; flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce){
  .prod-orbit-a, .prod-orbit-b, .prod-orbit-c,
  .prod-pin, .prod-profit-line,
  .alt5-panel.is-active{ animation: none !important; }
}
