/* ==========================================================================
   Why Corporate Events Matter - Cinematic Apple / TED Editorial Presentation
   Warm Ivory Light Aesthetic (#FBF8F4) with 3D Glass Impact Pyramid
   ========================================================================== */

:root {
  --wcem-bg: #FBF8F4;
  --wcem-white: #FFFFFF;
  --wcem-dark-text: #111827;
  --wcem-muted-text: #6B7280;
  --wcem-orange: #DF643B;
  --wcem-gold: #D4A139;
  --wcem-gold-light: #F7E1A1;
  --wcem-gold-glow: rgba(212, 161, 57, 0.3);
  --wcem-glass-bg: rgba(255, 255, 255, 0.65);
  --wcem-glass-border: rgba(255, 255, 255, 0.85);
  --wcem-shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.04);
  --wcem-font-heading: 'Syne', 'Outfit', 'Inter', -apple-system, sans-serif;
  --wcem-font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

.wcem-section {
  position: relative;
  background-color: var(--wcem-bg);
  color: var(--wcem-dark-text);
  padding: 140px 0 160px;
  overflow: hidden;
  font-family: var(--wcem-font-body);
}

/* Shifting Background Aura & Floating Particles */
.wcem-radial-aura {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 950px;
  height: 950px;
  background: radial-gradient(circle, rgba(212, 161, 57, 0.08) 0%, rgba(223, 100, 59, 0.04) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: wcemAuraShift 12s ease-in-out infinite alternate;
}

@keyframes wcemAuraShift {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.wcem-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

/* Background Abstract Flowing Mesh Lines */
.wcem-bg-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Container */
.wcem-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header Section */
.wcem-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 90px;
}

.wcem-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--wcem-white);
  border: 1px solid rgba(212, 161, 57, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  color: var(--wcem-orange);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.wcem-badge.wcem-visible {
  opacity: 1;
  transform: translateY(0);
}

.wcem-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wcem-gold);
  box-shadow: 0 0 8px var(--wcem-gold);
  animation: wcemDotPulse 2s infinite;
}

@keyframes wcemDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
}

.wcem-title {
  font-family: var(--wcem-font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.wcem-title.wcem-visible {
  opacity: 1;
  transform: translateY(0);
}

.wcem-title-line1 {
  display: block;
  color: var(--wcem-dark-text);
}

.wcem-title-line2 {
  display: block;
  background: linear-gradient(135deg, var(--wcem-orange) 0%, var(--wcem-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wcem-intro {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--wcem-muted-text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.wcem-intro.wcem-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Center Stage: 3D Floating Glass Impact Pyramid & Connectors
   ========================================================================== */

.wcem-stage {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0 90px;
}

/* Holographic Rings Surrounding Pyramid */
.wcem-holo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(72deg);
  border-radius: 50%;
  border: 1px dashed rgba(212, 161, 57, 0.3);
  pointer-events: none;
}

.wcem-holo-ring-1 {
  width: 580px;
  height: 580px;
  animation: wcemRingSpin 20s linear infinite;
}

.wcem-holo-ring-2 {
  width: 440px;
  height: 440px;
  border-color: rgba(223, 100, 59, 0.25);
  animation: wcemRingSpin 14s linear infinite reverse;
}

@keyframes wcemRingSpin {
  0% { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg); }
  100% { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); }
}

/* 3D Glass Pyramid Wrapper */
.wcem-pyramid-container {
  position: relative;
  width: 360px;
  height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  perspective: 1000px;
}

/* Central Beam of Golden Light */
.wcem-light-beam {
  position: absolute;
  top: -40px;
  bottom: 0;
  width: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--wcem-gold-light) 0%, var(--wcem-gold) 50%, transparent 100%);
  filter: blur(4px);
  border-radius: 20px;
  z-index: 1;
  opacity: 0.75;
  animation: wcemBeamPulse 4s ease-in-out infinite alternate;
}

@keyframes wcemBeamPulse {
  0% { opacity: 0.5; filter: blur(4px) drop-shadow(0 0 10px var(--wcem-gold)); }
  100% { opacity: 0.9; filter: blur(6px) drop-shadow(0 0 25px var(--wcem-gold-light)); }
}

/* Glass Pyramid Layers (Bottom to Top) */
.wcem-pyramid-layer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(251, 248, 244, 0.4) 100%);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1.5px solid var(--wcem-glass-border);
  box-shadow: 0 15px 35px rgba(212, 161, 57, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  z-index: 2;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  clip-path: polygon(12% 0%, 88% 0%, 100% 100%, 0% 100%);
}

.wcem-layer-5 {
  width: 120px;
  height: 70px;
  clip-path: polygon(50% 0%, 50% 0%, 100% 100%, 0% 100%);
  border-radius: 8px 8px 0 0;
}

.wcem-layer-4 {
  width: 180px;
  height: 75px;
}

.wcem-layer-3 {
  width: 240px;
  height: 80px;
}

.wcem-layer-2 {
  width: 300px;
  height: 85px;
}

.wcem-layer-1 {
  width: 360px;
  height: 90px;
}

.wcem-pyramid-layer:hover {
  transform: scale(1.05) translateZ(10px);
  border-color: var(--wcem-gold);
  box-shadow: 0 20px 45px rgba(212, 161, 57, 0.25), inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Layer Inner Label & Icon */
.wcem-layer-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wcem-dark-text);
  font-family: var(--wcem-font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.wcem-layer-icon {
  width: 20px;
  height: 20px;
  stroke: var(--wcem-orange);
  fill: none;
  stroke-width: 2;
}

/* Floating Connector SVG Lines */
.wcem-connectors-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.wcem-connector-path {
  fill: none;
  stroke: rgba(212, 161, 57, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
}

.wcem-connector-pulse {
  fill: none;
  stroke: var(--wcem-orange);
  stroke-width: 2.5;
  stroke-dasharray: 60 300;
  animation: wcemLineFlow 4s linear infinite;
}

@keyframes wcemLineFlow {
  0% { stroke-dashoffset: 360; }
  100% { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Benefit Floating Labels (Left & Right - No Cards/Boxes)
   ========================================================================== */

.wcem-benefits-col {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 4;
}

.wcem-benefits-left {
  left: 0;
}

.wcem-benefits-right {
  right: 0;
}

/* Ultra-Clean Floating Benefit Item (No Box / No Card) */
.wcem-benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  transition: transform 0.4s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

.wcem-benefit-item.wcem-visible {
  opacity: 1;
  transform: translateY(0);
}

.wcem-benefits-right .wcem-benefit-item {
  flex-direction: row-reverse;
  text-align: right;
}

.wcem-benefit-item:hover {
  transform: translateY(-4px) scale(1.03);
}

.wcem-benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--wcem-white);
  border: 1px solid rgba(212, 161, 57, 0.25);
  box-shadow: var(--wcem-shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.wcem-benefit-item:hover .wcem-benefit-icon {
  border-color: var(--wcem-orange);
  box-shadow: 0 8px 24px rgba(223, 100, 59, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.wcem-benefit-svg {
  width: 22px;
  height: 22px;
  stroke: var(--wcem-orange);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.wcem-benefit-item:hover .wcem-benefit-svg {
  stroke: var(--wcem-gold);
}

.wcem-benefit-text {
  font-family: var(--wcem-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wcem-dark-text);
  line-height: 1.35;
  transition: color 0.3s ease;
}

.wcem-benefit-item:hover .wcem-benefit-text {
  color: var(--wcem-orange);
}

/* Floating Animations for Benefit Labels */
.wcem-b-1 { animation: wcemFloatB 5s ease-in-out infinite alternate; }
.wcem-b-2 { animation: wcemFloatB 5.4s ease-in-out infinite alternate -1s; }
.wcem-b-3 { animation: wcemFloatB 5.8s ease-in-out infinite alternate -2s; }
.wcem-b-4 { animation: wcemFloatB 5.2s ease-in-out infinite alternate -1.5s; }
.wcem-b-5 { animation: wcemFloatB 5.6s ease-in-out infinite alternate -0.5s; }
.wcem-b-6 { animation: wcemFloatB 6s ease-in-out infinite alternate -2.5s; }
.wcem-b-7 { animation: wcemFloatB 5.3s ease-in-out infinite alternate -1.2s; }
.wcem-b-8 { animation: wcemFloatB 5.7s ease-in-out infinite alternate -2.8s; }

@keyframes wcemFloatB {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

/* ==========================================================================
   Editorial Content Paragraph at Bottom
   ========================================================================== */

.wcem-editorial-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding-left: 36px;
  border-left: 3px solid var(--wcem-gold);
  position: relative;
}

.wcem-editorial-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #4B5563;
  font-weight: 450;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.wcem-editorial-text.wcem-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .wcem-stage {
    flex-direction: column;
    min-height: auto;
  }

  .wcem-connectors-svg {
    display: none;
  }

  .wcem-benefits-col {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .wcem-benefits-right .wcem-benefit-item {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .wcem-section {
    padding: 90px 0 100px;
  }

  .wcem-benefits-col {
    grid-template-columns: 1fr;
  }

  .wcem-pyramid-container {
    width: 280px;
  }

  .wcem-layer-1 { width: 280px; height: 75px; }
  .wcem-layer-2 { width: 230px; height: 70px; }
  .wcem-layer-3 { width: 180px; height: 65px; }
  .wcem-layer-4 { width: 140px; height: 60px; }
  .wcem-layer-5 { width: 90px; height: 55px; }

  .wcem-editorial-wrap {
    padding-left: 20px;
  }
}
