/* ==========================================================================
   ZULZIDAN® // LUSION-INSPIRED 3D WEBGL & INTERACTIVE PHYSICS SHOWCASE
   Palette: #EEF0F6 Studio Ice · #111319 Stage Void · #1D3BFF Electric Cobalt
   ========================================================================== */

:root {
  --bg-ice: #eef0f6;
  --bg-card-white: #ffffff;
  --bg-stage: #111319;
  --ink-black: #0b0d12;
  --ink-body: #323644;
  --ink-muted: #6e7488;
  --pill-dark: #222530;
  --pill-light: #dfe3ee;
  --cobalt: #1d3bff;
  --wa-green: #18b858;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-ice);
  color: var(--ink-black);
  font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-ice);
  color: var(--ink-black);
  overflow-x: hidden;
  line-height: 1.45;
}

.lusion-shell {
  position: relative;
  min-height: 100vh;
}

/* ==========================================================================
   HERO VIEWPORT (100% FAITHFUL TO LUSION HERO PROPORTIONS)
   ========================================================================== */
.hero-viewport {
  min-height: calc(100vh - 54px);
  padding: 1.9rem 3.5vw 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
}

.lusion-top-bar {
  display: grid;
  grid-template-columns: 23% 1fr auto;
  align-items: start;
  gap: 1.5rem;
}

.lusion-wordmark {
  display: inline-block;
  text-decoration: none;
  color: var(--ink-black);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding-top: 0.25rem;
}

.hero-statement {
  font-size: clamp(1.55rem, 2.35vw, 2.4rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.032em;
  color: var(--ink-black);
  max-width: 24.5ch;
}

.controls-col {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Circular Sound Button */
.circle-icon-btn {
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--pill-light);
  color: var(--ink-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.circle-icon-btn:hover {
  transform: scale(1.05);
  background: #d3d8e6;
}

.sound-line {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.sound-line i {
  display: block;
  width: 3px;
  height: 2px;
  background: var(--ink-black);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.circle-icon-btn[aria-pressed="true"] .sound-line i:nth-child(1) { animation: soundWave 0.55s infinite alternate; }
.circle-icon-btn[aria-pressed="true"] .sound-line i:nth-child(2) { animation: soundWave 0.45s infinite alternate 0.1s; }
.circle-icon-btn[aria-pressed="true"] .sound-line i:nth-child(3) { animation: soundWave 0.65s infinite alternate 0.2s; }
.circle-icon-btn[aria-pressed="true"] .sound-line i:nth-child(4) { animation: soundWave 0.5s infinite alternate 0.15s; }
.circle-icon-btn[aria-pressed="true"] .sound-line i:nth-child(5) { animation: soundWave 0.6s infinite alternate 0.05s; }

@keyframes soundWave {
  0% { height: 2px; }
  100% { height: 12px; }
}

/* Pill Buttons (LET'S TALK • / MENU ••) */
.pill-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  height: 44px;
  padding: 0 1.35rem;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

.pill-btn:hover {
  transform: translateY(-1px);
}

.pill-btn.dark-pill {
  background: var(--pill-dark);
  color: #ffffff;
}

.pill-btn.dark-pill:hover {
  background: var(--cobalt);
}

.pill-btn.light-pill {
  background: var(--pill-light);
  color: var(--ink-black);
}

.pill-btn.light-pill:hover {
  background: #d2d7e6;
}

.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.pill-dots-two {
  display: inline-flex;
  gap: 3px;
}

.pill-dots-two i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  display: block;
}

/* ==========================================================================
   3D THREE.JS WEBGL STAGE CARD
   ========================================================================== */
.webgl-stage-outer {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.webgl-stage-card {
  position: relative;
  width: 100%;
  height: 61vh;
  min-height: 430px;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #1d212c 0%, #101218 68%, #090a0e 100%);
  box-shadow: 0 24px 60px rgba(14, 16, 24, 0.12);
  transform-origin: center center;
  transition: border-radius 0.3s ease;
}

#webgl-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#webgl-canvas:active {
  cursor: grabbing;
}

/* Floating Stage Material Switcher HUD */
.stage-floating-hud {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  pointer-events: none;
}

.stage-palette-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  pointer-events: auto;
}

.stage-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 17, 24, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.78);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stage-chip:hover,
.stage-chip.active {
  background: #ffffff;
  color: #0b0d12;
  border-color: #ffffff;
  font-weight: 600;
}

.stage-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.52);
}

/* ==========================================================================
   BOTTOM CROSSHAIR BAR (+   +   SCROLL TO EXPLORE   +   +)
   ========================================================================== */
.crosshair-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-black);
}

.ch-plus {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.scroll-explore-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--ink-black);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
}

/* ==========================================================================
   SECTION 01: "BOLD IDEAS, BROUGHT TO LIFE" + 3D COBALT RIBBON
   ========================================================================== */
.bold-ideas-section {
  position: relative;
  padding: 7rem 3.5vw 6rem;
  overflow: hidden;
}

.cobalt-ribbon-svg {
  position: absolute;
  top: 7.5rem;
  left: 0;
  width: 310px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.bold-ideas-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

.giant-lusion-heading {
  font-size: clamp(3.4rem, 9.2vw, 8.6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink-black);
  margin-bottom: 4.5rem;
}

.giant-lusion-heading .indent-line {
  display: block;
  padding-left: 15vw;
}

.giant-lusion-heading .flush-line {
  display: block;
}

.bold-ideas-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.approach-visual-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-stage);
  box-shadow: 0 20px 50px rgba(14, 16, 24, 0.1);
}

.approach-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.approach-visual-card:hover .approach-img {
  transform: scale(1.04);
}

.approach-card-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(15, 17, 24, 0.82);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.approach-paragraph {
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--ink-black);
  margin-bottom: 2rem;
}

.approach-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(11, 13, 18, 0.1);
  border-bottom: 1px solid rgba(11, 13, 18, 0.1);
  margin-bottom: 2rem;
}

.lusion-metric strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--cobalt);
}

.lusion-metric span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.white-approach-pill {
  appearance: none;
  border: none;
  background: #ffffff;
  color: var(--ink-black);
  height: 50px;
  padding: 0 1.65rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(14, 16, 24, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.white-approach-pill:hover {
  background: var(--cobalt);
  color: #ffffff;
  transform: translateY(-2px);
}

.black-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* ==========================================================================
   SECTION 02: FEATURED INTERACTIVE WORK SHOWCASE
   ========================================================================== */
.featured-work-section {
  padding: 4rem 3.5vw 6rem;
  max-width: 1520px;
  margin: 0 auto;
}

.work-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.mono-tag {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  margin-bottom: 0.45rem;
}

.work-section-heading {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.work-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.work-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 1.15rem;
  box-shadow: 0 16px 40px rgba(14, 16, 24, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: transform 0.28s ease;
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-media-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-stage);
}

.work-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.work-card:hover .work-media-frame img {
  transform: scale(1.04);
}

.work-index-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 17, 24, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
}

.work-card-footer {
  padding: 0.35rem 0.5rem 0.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.work-card-footer h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.work-card-footer p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 420px;
}

.work-card-actions {
  display: flex;
  gap: 0.5rem;
}

/* ==========================================================================
   SECTION 03: DARK CARBON LUSION CONTACT STAGE
   ========================================================================== */
.contact-stage-outer {
  padding: 0 3.5vw 3.5rem;
}

.contact-stage-card {
  background: var(--bg-stage);
  color: #ffffff;
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: 0 28px 70px rgba(11, 13, 18, 0.2);
}

.contact-stage-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 3rem;
}

.mono-tag-light {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.contact-stage-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.contact-left h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.contact-left p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  line-height: 1.6;
}

.tier-selector {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tier-pill {
  appearance: none;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 1.1rem 1.35rem;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.tier-pill.active,
.tier-pill:hover {
  background: rgba(29, 59, 255, 0.24);
  border-color: #4d6bff;
}

.tier-pill strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #93a8ff;
}

.contact-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lusion-wa-cta {
  appearance: none;
  border: none;
  border-radius: 999px;
  height: 54px;
  background: #22c55e;
  color: #041b0c;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lusion-wa-cta:hover {
  background: #2be06d;
  transform: translateY(-2px);
}

.lusion-secondary-cta {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  height: 48px;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

/* ==========================================================================
   STICKY BOTTOM BAR (Safari AdShield Safe: uses position: sticky)
   ========================================================================== */
.sticky-concierge-bar {
  position: sticky;
  bottom: 0;
  z-index: 45;
  background: rgba(17, 19, 25, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sticky-bar-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0.7rem 3.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sticky-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
}

.sticky-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.sticky-wa-pill {
  appearance: none;
  border: none;
  border-radius: 999px;
  background: #22c55e;
  color: #041b0c;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.62rem 1.3rem;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .lusion-top-bar {
    grid-template-columns: 1fr auto;
  }
  .statement-col {
    grid-column: 1 / -1;
    order: 3;
  }
  .bold-ideas-split,
  .work-showcase-grid,
  .contact-stage-main {
    grid-template-columns: 1fr;
  }
  .giant-lusion-heading .indent-line {
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .hero-viewport {
    padding: 1.15rem 1rem;
    gap: 1.15rem;
  }
  .lusion-wordmark {
    font-size: 1.25rem;
  }
  .controls-col {
    gap: 0.4rem;
  }
  .circle-icon-btn {
    width: 38px;
    height: 38px;
  }
  .pill-btn {
    height: 38px;
    padding: 0 0.9rem;
    font-size: 0.66rem;
    gap: 0.4rem;
  }
  .hero-statement {
    max-width: 100%;
    font-size: 1.55rem;
  }
  .webgl-stage-card {
    height: 56vh;
    min-height: 390px;
    border-radius: 20px;
  }
  .stage-hint {
    display: none;
  }
  .contact-stage-card {
    padding: 2rem 1.25rem;
  }
  .sticky-wa-pill {
    width: 100%;
    text-align: center;
  }
}
