/* =============================================================================
   Enterprise Studio — Static CSS
   Converted from enterprise-studio.tsx (React)
   ============================================================================= */

/* ── Reset ── */
body { margin: 0; padding: 0; background: #08080A; color: #fff; }
*, *::before, *::after { box-sizing: border-box; }

/* ── Typography ── */
.es-page { font-family: 'Lato', sans-serif; background: #08080A; color: #fff; min-height: 100vh; overflow-x: hidden; }

/* ── Buttons ── */
.es-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: #6B9FFF; color: #fff;
  border: none; border-radius: 100px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: 'Lato', sans-serif;
  text-decoration: none;
}
.es-btn-primary:hover { filter: brightness(1.15); box-shadow: 0 0 24px rgba(107,159,255,0.15); }

.es-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: transparent; color: #fff;
  border: 1px solid #1E1E28; border-radius: 100px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: 'Lato', sans-serif;
  text-decoration: none;
}
.es-btn-secondary:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); }

/* ── Scroll animations ── */
.es-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease var(--es-delay, 0s), transform 0.6s ease var(--es-delay, 0s);
}
.es-anim.es-visible { opacity: 1; transform: translateY(0); }

/* ── Section label ── */
.es-section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #6B9FFF; margin-bottom: 24px;
}

/* ── Layout ── */
.es-inner { max-width: 1200px; margin: 0 auto; }
.es-inner-wide { max-width: 1400px; margin: 0 auto; }

/* ── Two / three col grids ── */
.es-two-col { display: flex; gap: 48px; align-items: center; }
.es-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.es-platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.es-loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
.es-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.es-showcase-grid { display: grid; gap: 20px; }

/* ── Stat row ── */
.es-stat-row { display: flex; gap: 36px; }

/* ── Card base ── */
.es-card { background: #0E0E12; border: 1px solid #1E1E28; border-radius: 16px; padding: 32px; transition: all 0.25s; }
.es-card:hover { background: #141418; transform: scale(1.01); }

/* ── Service cards ── */
.es-svc-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: 20px; overflow: hidden;
  border: 1px solid #1E1E28; background: #0E0E12;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.es-svc-card:hover { transform: translateY(-4px); border-color: rgba(107,159,255,0.27); }
.es-svc-card img { transition: transform 0.5s ease; }
.es-svc-card:hover img { transform: scale(1.05); }

/* ── Location cards ── */
.es-loc-card { display: block; text-decoration: none; color: inherit; transition: transform 0.3s ease; }
.es-loc-card:hover { transform: translateY(-4px); }
.es-loc-card img { transition: transform 0.4s ease; }
.es-loc-card:hover img { transform: scale(1.05); }

/* ── Engagement cards ── */
.es-engagement-card { transition: all 0.25s; }
.es-engagement-card:hover { border-color: rgba(255,255,255,0.1) !important; }

/* ── Platform feature card (light) ── */
.es-plat-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.04), 0 24px 64px rgba(0,0,0,0.06);
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.4));
  transition: all 0.5s cubic-bezier(0.21,0.47,0.32,0.98);
  cursor: pointer; position: relative;
}
.es-plat-card:hover { transform: translateY(-4px); border-color: rgba(0,0,0,0.14); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.07), 0 32px 80px rgba(0,0,0,0.09); }

/* ── Showcase tabs ── */
.es-tab-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0; padding: 14px 16px 0;
  background: none; border: none; border-bottom: none;
  color: #606070; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: 'Lato', sans-serif;
  position: relative; transition: color 0.3s;
}
.es-tab-btn.es-tab-active { color: #fff; font-weight: 600; }
.es-tab-inner { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; }
.es-tab-bar { width: 100%; height: 2px; border-radius: 1px; overflow: hidden; background: transparent; }
.es-tab-btn.es-tab-active .es-tab-bar { background: rgba(107,159,255,0.18); }
.es-tab-progress { height: 100%; border-radius: 1px; }
.es-tab-panel { display: none; }
.es-tab-panel.es-tab-panel-active { display: block; }

/* ── Logo marquee ── */
@keyframes es-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.es-marquee-track {
  display: flex; align-items: center; white-space: nowrap;
  animation: es-marquee 40s linear infinite;
}
.es-marquee-track img {
  display: inline-block; height: 24px; width: auto;
  margin: 0 40px; opacity: 0.7; filter: grayscale(100%) brightness(0);
}

/* ── Tab progress animation ── */
@keyframes es-tab-progress { from { width: 0; } to { width: 100%; } }
.es-tab-anim { animation: es-tab-progress 6s linear forwards; }

/* ── Hover img zoom ── */
.ev-img-hover { overflow: hidden; }
.ev-img-hover img { transition: transform 0.5s ease; }
.ev-img-hover:hover img { transform: scale(1.05); }

/* ── Pillar image ── */
.es-pillar-img {
  flex: 0 0 500px; width: 500px; height: 320px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid #1E1E28; background: #111;
}
.es-pillar-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── ES Nav (page-specific sticky nav) ── */
.es-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,10,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid #1E1E28; padding: 0 48px;
}
.es-nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.es-nav-brand { display: flex; align-items: center; gap: 16px; }
.es-nav-label { font-size: 14px; color: #9090A0; font-weight: 500; }

/* ── Hero ── */
.es-hero-grid {
  display: grid; grid-template-columns: 0.42fr 0.58fr;
  gap: 48px; align-items: center;
  width: 100%; max-width: 1400px; margin: 0 auto;
  position: relative; z-index: 1;
}
.es-hero-video video { width: 100%; max-height: 480px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

/* ── Tags (pill) ── */
.es-tag { font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 100px; background: rgba(107,159,255,0.15); color: #6B9FFF; border: 1px solid rgba(107,159,255,0.2); }
.es-tag-sm { font-size: 11px; padding: 5px 12px; border-radius: 100px; font-weight: 600; }

/* ── Modal ── */
#es-hs-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
}
#es-hs-overlay.open { display: flex; }
#es-hs-modal {
  position: relative; width: 90%; max-width: 560px; max-height: 90vh;
  background: #0E0E12; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 48px rgba(0,0,0,0.6); border: 1px solid #1E1E28;
}
#es-hs-modal-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 28px 0; }
#es-hs-modal h3 { font-size: 24px; font-weight: 700; color: #fff; margin: 0; font-family: 'Lato', sans-serif; }
#es-hs-modal-sub { font-size: 14px; color: #9090A0; margin: 8px 0 0; line-height: 1.5; }
#es-hs-close {
  background: rgba(255,255,255,0.06); border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: #888; transition: background 0.2s; flex-shrink: 0;
}
#es-hs-close:hover { background: rgba(255,255,255,0.12); }
#es-hs-form-container { padding: 20px 28px 28px; overflow-y: auto; flex: 1; }
#es-hs-form-container .hs-form { font-family: 'Lato', sans-serif !important; }
#es-hs-form-container .hs-form fieldset { max-width: 100% !important; }
#es-hs-form-container .hs-form .hs-input {
  width: 100% !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important; color: #fff !important;
  font-size: 15px !important; padding: 14px 16px !important;
  font-family: 'Lato', sans-serif !important; outline: none !important;
  transition: border-color 0.2s !important; box-sizing: border-box !important;
}
#es-hs-form-container .hs-form .hs-input:focus { border-color: #6B9FFF !important; }
#es-hs-form-container .hs-form label:not(.hs-error-msg) { display: none !important; }
#es-hs-form-container .hs-form .field { margin-bottom: 12px !important; }
#es-hs-form-container .hs-form .hs-button {
  width: 100% !important; background: #6B9FFF !important; color: #fff !important;
  border: none !important; border-radius: 8px !important; padding: 14px 24px !important;
  font-size: 16px !important; font-weight: 600 !important; cursor: pointer !important;
  font-family: 'Lato', sans-serif !important; transition: opacity 0.2s !important;
}
#es-hs-form-container .hs-form .hs-button:hover { opacity: 0.9 !important; }
#es-hs-form-container .hs-form .hs-error-msgs { list-style: none !important; padding: 0 !important; margin: 4px 0 0 !important; }
#es-hs-form-container .hs-form .hs-error-msg { color: #f87171 !important; font-size: 13px !important; }
#es-hs-form-container .submitted-message { color: #fff !important; font-size: 16px !important; text-align: center !important; padding: 40px 0 !important; }
#es-hs-form-container .legal-consent-container p{
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    line-height: 1.5;
}
/* ── Platform Viz shared ── */
.es-viz-box { height: 180px; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.es-viz-hdr { padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.06); flex-shrink: 0; }
.es-viz-hdr span { font-size: 10px; font-weight: 600; color: #111; }
.es-viz-badge { display: flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: #111; color: #fff; font-size: 9px; font-weight: 600; }

/* Productize */
.es-viz-productize { border: 1px solid rgba(0,0,0,0.08); background: #fafafa; box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.04); }
.es-viz-prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; flex: 1; }
.es-viz-prod-item { border-radius: 8px; overflow: hidden; position: relative; border: 2px solid transparent; transition: border-color 0.3s; }
.es-viz-prod-item.es-selected { border-color: #111; }
.es-viz-prod-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-viz-prod-item .es-prod-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6)); }
.es-viz-prod-item .es-prod-name { position: absolute; bottom: 5px; left: 7px; font-size: 7px; font-weight: 600; color: #fff; white-space: pre-line; line-height: 1.2; }
.es-viz-prod-item .es-prod-check { display: none; position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #111; align-items: center; justify-content: center; }
.es-viz-prod-item.es-selected .es-prod-check { display: flex; }

/* Order */
.es-viz-order { border: 1px solid rgba(0,0,0,0.08); background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.04); }
.es-viz-toolbar { display: flex; gap: 2px; padding: 6px 12px; border-bottom: 1px solid rgba(0,0,0,0.04); flex-shrink: 0; }
.es-viz-toolbar span { width: 20px; height: 20px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 9px; color: rgba(0,0,0,0.4); }
.es-viz-textarea { padding: 8px 12px; flex: 1; font-size: 10px; color: #111; line-height: 1.4; }
@keyframes es-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.es-cursor { border-right: 1.5px solid #111; margin-left: 1px; animation: es-blink 1s infinite; }

/* Match */
.es-viz-match { border: 1px solid rgba(0,0,0,0.08); background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.04); }
.es-match-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; border-bottom: 1px solid rgba(0,0,0,0.04); opacity: 0.3; transition: opacity 0.4s; }
.es-match-row:last-child { border-bottom: none; }
.es-match-row.es-row-vis { opacity: 1; }
.es-match-name { font-size: 9px; font-weight: 500; color: #111; }
.es-match-status { font-size: 7px; font-weight: 700; letter-spacing: 0.05em; color: rgba(0,0,0,0.35); transition: color 0.3s; }
.es-match-status.es-matched { color: #111; }

/* Delivery */
.es-viz-delivery { border: 1px solid rgba(0,0,0,0.08); background: #111; box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.es-viz-delivery .es-vid-wrap { position: relative; flex: 1; overflow: hidden; }
.es-viz-delivery video { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-viz-prog-bar { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: #1a1a1a; flex-shrink: 0; }
.es-prog-track { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.1); }
.es-prog-fill { height: 100%; border-radius: 2px; background: #fff; width: 0%; transition: width 0.05s linear; }

/* Content */
.es-viz-content { border: 1px solid rgba(0,0,0,0.08); background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.04); }
.es-content-row { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid rgba(0,0,0,0.04); opacity: 0; transform: translateY(8px); transition: all 0.4s ease; }
.es-content-row:last-child { border-bottom: none; }
.es-content-row.es-row-vis { opacity: 1; transform: translateY(0); }
.es-content-thumb { width: 32px; height: 22px; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.es-content-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-content-name { font-size: 9px; font-weight: 500; color: #111; flex: 1; }
.es-content-status { font-size: 7px; font-weight: 700; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 4px; background: rgba(245,158,11,0.12); color: #d97706; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.es-content-status.es-approved { background: rgba(34,197,94,0.12); color: #16a34a; }

/* Account */
.es-viz-account { border: 1px solid rgba(0,0,0,0.08); background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.04); }
.es-account-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; background: #fafafa; opacity: 0; transform: translateX(-10px); transition: all 0.5s ease; }
.es-account-rows { flex: 1; padding: 6px 10px; display: flex; flex-direction: column; gap: 6px; }
.es-account-row.es-row-vis { opacity: 1; transform: translateX(0); }
.es-account-icon { width: 18px; height: 18px; border-radius: 5px; background: #111; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.es-account-icon span { font-size: 7px; font-weight: 700; color: #fff; }
.es-account-info { flex: 1; min-width: 0; }
.es-account-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3px; }
.es-account-name { font-size: 9px; font-weight: 600; color: #111; }
.es-account-meta { font-size: 7px; color: rgba(0,0,0,0.4); font-weight: 500; }
.es-account-track { height: 4px; border-radius: 2px; background: #eee; overflow: hidden; }
.es-account-bar-fill { height: 100%; border-radius: 2px; background: #111; width: 0%; transition: width 1s ease; }
.es-account-footer { padding: 4px 10px 8px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(0,0,0,0.04); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .es-three-col { grid-template-columns: 1fr 1fr !important; }
  .es-loc-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .es-showcase-grid { grid-template-columns: 1fr 1fr !important; }
  .es-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .es-hero-grid .es-hero-text { display: flex; flex-direction: column; align-items: center; }
  .es-stat-row { justify-content: center !important; }
  .es-platform-grid { grid-template-columns: 1fr 1fr !important; }
  .es-pillar-img { flex: none !important; width: 100% !important; }
}
@media (max-width: 768px) {
  .es-two-col { flex-direction: column !important; }
  .es-two-col > div { width: 100% !important; }
  .es-three-col { flex-direction: column !important; grid-template-columns: 1fr !important; }
  .es-stat-row { flex-direction: column !important; gap: 24px !important; align-items: center !important; text-align: center !important; }
  .es-stat-sep { display: none !important; }
  .es-pillar-reverse { flex-direction: column !important; }
  .es-platform-grid { grid-template-columns: 1fr !important; }
  .es-work-grid { grid-template-columns: 1fr !important; }
  .es-loc-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .es-svc-grid { grid-template-columns: 1fr !important; }
  .es-showcase-grid { grid-template-columns: 1fr !important; }
  .es-localize-grid { grid-template-columns: 1fr 1fr !important; }
  .es-prod-grid { grid-template-columns: 1fr 1fr !important; }
  .es-tabs-nav { flex-wrap: wrap !important; justify-content: center !important; }
  .es-tabs-nav .es-tab-btn { flex: none !important; padding: 8px 12px 0 !important; font-size: 13px; }
  .es-hero-btns { gap: 8px !important; flex-wrap: nowrap !important; }
  .es-nav { padding: 0 24px; }
  section { padding-left: 24px !important; padding-right: 24px !important; }
}
@media (max-width: 480px) {
  .es-loc-grid { grid-template-columns: 1fr !important; }
  .es-localize-grid { grid-template-columns: 1fr !important; }
  .es-prod-grid { grid-template-columns: 1fr !important; }
}
