/* ════════════════════════════════════════════
   MUTEKI HERO — Studio Light Layout
   Integrated with 3D AI Neural Globe
   ════════════════════════════════════════════ */

.studio-hero-wrapper, .muteki-hero-wrapper {
  --indigo:        #5B4FE8;
  --indigo-light:  #8B5CF6;
  --violet:        #7C3AED;
  --clutch-red:    #ff3d2e;
  --indigo-soft:   rgba(91, 79, 232, 0.08);
  --ink:           #0F0F2D;
  --sub:           #4B5563;
  --sub2:          #6B7280;
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-hero-wrapper, .muteki-hero-wrapper {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin-inline-start: calc(50% - 50vw) !important;
  margin-inline-end: calc(50% - 50vw) !important;
  overflow: hidden;
  box-sizing: border-box;
  background: transparent !important;
}

.studio-bg-grid, .hero-dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(91,79,232,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

#canvasLayer, #particleCanvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero-content, .hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 90vh;
  position: relative;
  z-index: 3;
  max-width: 100%;
  padding: 0 5%;
  margin: 0 auto;
}

/* ── LEFT PANEL ── */
.hero-panel-left, .hero-text {
  padding: 100px 80px 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start !important;
  text-align: start !important;
}

/* ✨ BADGE ✨ */
.studio-badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(91, 79, 232, 0.12);
  box-shadow: 0 4px 15px rgba(91, 79, 232, 0.08);
  border-radius: 100px;
  padding: 5px 6px 5px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: 0.8px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.badge-icon, .eyebrow-badge {
  width: 24px;
  height: 24px;
  background: var(--indigo);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.badge-icon svg, .eyebrow-badge svg {
  width: 12px;
  height: 12px;
}

.studio-h1, .hero-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 0 0 20px 0;
  width: 100%;
  text-align: start !important;
}

.typed-stream {
  display: block;
  height: 1.5em;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.typed-stream .stream-word {
  position: absolute;
  top: 0; inset-inline-start: 0;
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(100%);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .4s ease;
}

.typed-stream .stream-word.active { transform: translateY(0); opacity: 1; }
.typed-stream .stream-word.leaving { transform: translateY(-100%); opacity: 0; }

.studio-desc, .hero-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--sub);
  max-width: 520px;
  margin-bottom: 40px;
}

/* ── BUTTONS ── */
.studio-ctas, .hero-ctas { display: flex; gap: 16px; margin-bottom: 50px; }

.s-btn-primary, .btn-primary {
  display: inline-flex;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 700;
  color: #FFFFFF !important;
  text-decoration: none;
  background: linear-gradient(135deg, var(--indigo) 0%, #4338ca 100%);
  padding: 15px 32px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(91,79,232,0.3);
  transition: all .3s var(--ease);
}
.s-btn-primary:hover, .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(91,79,232,0.45); }

.s-btn-ghost, .btn-ghost {
  display: inline-flex;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--indigo);
  text-decoration: none;
  background: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  border: 1.5px solid rgba(91,79,232,0.25);
  transition: all .3s var(--ease);
}
.s-btn-ghost:hover, .btn-ghost:hover { background: var(--indigo-soft); border-color: var(--indigo); transform: translateY(-2px); }

/* ── TRUST & CLUTCH ── */
.studio-proof, .hero-proof {
  display: flex; flex-direction: column; gap: 20px;
  border-top: 1px solid rgba(15,15,45,0.08);
  padding-top: 30px; width: 100%; max-width: 500px;
}

.s-proof-slider, .ts-logos {
  width: 100%; overflow: hidden; position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.s-proof-track, .ts-logos-track { display: flex; gap: 48px; align-items: center; width: max-content; animation: tsScroll 22s linear infinite; }
.s-proof-logo, .ts-logos-track span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sub2);
  opacity: 0.5;
  transition: all 0.35s var(--ease);
  cursor: default;
}
.s-proof-logo:hover, .ts-logos-track span:hover {
  opacity: 0.95;
  color: var(--indigo);
  transform: translateY(-2px);
}
.s-proof-logo svg, .ts-logos-track svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.s-proof-logo:hover svg, .ts-logos-track span:hover svg {
  transform: scale(1.12) rotate(4deg);
}

/* 🌟 CLUTCH RATING 🌟 */
.clutch-row {
  display: flex; align-items: center; gap: 12px;
}
.clutch-badge {
  display: flex; align-items: center; gap: 8px;
  background: #fff; padding: 6px 12px; border-radius: 6px;
  border: 1px solid rgba(15,15,45,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-decoration: none;
}
.clutch-stars { display: flex; gap: 2px; color: var(--clutch-red); }
.clutch-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; color: var(--ink); }
.clutch-count { font-family: 'DM Sans', sans-serif; font-size: 11.5px; color: var(--sub2); font-weight: 500; }

@keyframes tsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 24px)); } }

/* ── RIGHT PANEL & 3D AI NEURAL GLOBE ── */
.hero-panel-right, .hero-visual { display: grid; place-items: center; padding-left: 40px; position: relative; }

.globe-container, #globeWrap, .lh-scene {
  position: relative;
  width: min(500px, 45vw);
  height: min(500px, 45vw);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: none;
  padding: 0;
  z-index: 5;
}

#globeCanvas, #particleCanvas {
  display: block;
  border-radius: 50%;
  cursor: default;
  pointer-events: none;
}

.floating-stat, .f-pill {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: #fff; border-radius: 12px;
  border: 1px solid rgba(91,79,232,0.1); box-shadow: 0 10px 30px rgba(15,15,45,0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}
.stat-1 { top: 15%; right: -5%; }
.stat-2 { bottom: 25%; left: -10%; }
.s-stat-icon { font-size: 18px; width: 38px; height: 38px; background: var(--indigo-soft); border-radius: 8px; display: grid; place-items: center; color: var(--indigo); }
.s-stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1; }
.s-stat-lbl { font-size: 11px; font-weight: 700; color: var(--sub2); text-transform: uppercase; }

/* ── PRECISE MOBILE OPTIMIZATIONS (Tablet & Mobile Screens) ── */
@media (max-width: 960px) {
  .studio-hero-wrapper, .muteki-hero-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-inline-start: calc(50% - 50vw) !important;
    margin-inline-end: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
  }

  .hero-content, .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-panel-left, .hero-text {
    padding: 60px 16px 40px;
    align-items: center;
    text-align: center;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .studio-desc, .hero-desc {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .studio-ctas, .hero-ctas {
    justify-content: center;
    width: 100%;
  }

  .studio-proof, .hero-proof {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
  }

  .clutch-row {
    justify-content: center;
    width: 100%;
  }

  .typed-stream {
    display: inline-flex;
    justify-content: center;
    width: 100%;
  }
  .typed-stream .stream-word {
    inset-inline-start: 0;
    inset-inline-end: 0;
    margin: 0 auto;
    transform: translateY(100%);
    text-align: center;
  }
  .typed-stream .stream-word.active {
    transform: translateY(0);
    opacity: 1;
  }
  .typed-stream .stream-word.leaving {
    transform: translateY(-100%);
    opacity: 0;
  }

  .globe-container, #globeWrap, .lh-scene {
    width: min(420px, 85vw);
    height: min(420px, 85vw);
    margin: 30px auto;
  }

  .floating-stat, .f-pill {
    padding: 8px 12px;
    border-radius: 8px;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(15,15,45,0.06);
    pointer-events: none;
  }
  .s-stat-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .s-stat-num {
    font-size: 16px;
  }
  .s-stat-lbl {
    font-size: 9px;
  }
  .stat-1 { top: 5%; right: -2%; }
  .stat-2 { bottom: 10%; left: -5%; }

  .hero-panel-right, .hero-visual { padding: 0 20px 60px; }
}

/* 📱 MOBILE VIEWPORT OPTIMIZATIONS */
@media (max-width: 768px) {
  .hero-panel-right, .hero-visual {
    display: none !important;
  }

  .hero-panel-left, .hero-text {
    padding: 40px 16px 40px;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .studio-badge, .eyebrow {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .studio-h1, .hero-h1 {
    text-align: center !important;
    width: 100% !important;
  }
  .studio-desc, .hero-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    max-width: 520px !important;
  }
  .studio-ctas, .hero-ctas {
    justify-content: center !important;
    width: 100% !important;
  }
  .studio-proof, .hero-proof {
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
    width: 100% !important;
  }

  .typed-stream {
    display: inline-flex !important;
    justify-content: center !important;
    width: 100% !important;
    position: relative !important;
  }
  .typed-stream .stream-word {
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    margin: 0 auto !important;
    transform: translateY(100%) !important;
    text-align: center !important;
  }
  .typed-stream .stream-word.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
  .typed-stream .stream-word.leaving {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-panel-left, .hero-text {
    padding-top: 30px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .studio-badge, .eyebrow {
    padding: 4px 5px 4px 12px;
    font-size: 9.5px;
    margin-bottom: 24px;
  }
  .badge-icon, .eyebrow-badge {
    width: 20px;
    height: 20px;
  }
  .badge-icon svg, .eyebrow-badge svg {
    width: 10px;
    height: 10px;
  }

  .studio-desc, .hero-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
  }

  .studio-ctas, .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .s-btn-primary, .btn-primary, .s-btn-ghost, .btn-ghost {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 14px 20px !important;
  }
}
