:root {
  --dark-bg: #0A0A0C;
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --brand-blue: #0066CC;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: var(--dark-bg);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--text-primary);
}

.hero-fullscreen-section {
  width: 100vw;
  height: 100vh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 44px;
  box-sizing: border-box;
}

.mac-window.dark {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.main-page-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  padding: 0 20px;
  height: 48px;
  background: #181818 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  box-sizing: border-box;
}

.canvas-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 80%;
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
  align-items: center;
  z-index: 5;
  text-align: left;
}

.ps-canvas {
  justify-content: center !important;
  padding: 0 40px !important;
}

/* Align plugin panel to the far right */
.plugin-ui-mockup {
  transform: scale(1.0) !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  justify-self: end !important;
}

@media (max-width: 900px) {
  .hero-fullscreen-section {
    height: auto;
    min-height: 0;
  }
  .mac-body.ps-body {
    overflow-y: auto !important;
  }
  .ps-layers {
    display: none !important;
  }
  .canvas-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }
}

/* ==========================================
   CLEAN MOCKUP COMPARISON SIMULATORS CSS (MINI VERSION)
   ========================================== */
.sim-canvas-mini {
  background: #F8F9FA;
  border: 1px solid #E4E4E7;
  border-radius: 8px;
  width: 120px;
  height: 68px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Card 1: Manual drag animation (Mini) */
.sim-manual-art-mini {
  position: absolute;
  width: 18px;
  height: 20px;
  background: rgba(255, 69, 58, 0.08);
  border: 1px dashed #FF453A;
  border-radius: 2px;
  animation: simManualCycleMini 6s infinite ease-in-out;
  transform-origin: center center;
}
.sim-manual-guide-x-mini {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: #FF00FF;
  opacity: 0;
  animation: simManualGuidesFadeMini 6s infinite ease-in-out;
}
.sim-manual-guide-y-mini {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: #FF00FF;
  opacity: 0;
  animation: simManualGuidesFadeMini 6s infinite ease-in-out;
}
/* Card 2: Auto Snap animation (Mini) */
.sim-auto-shirt-mini {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  border: 1px solid #E4E4E7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: simAutoConveyorMini 1.6s infinite cubic-bezier(0.16, 1, 0.3, 1);
}
.sim-auto-art-mini {
  position: absolute;
  width: 18px;
  height: 20px;
  background: rgba(0, 102, 204, 0.08);
  border: 1px dashed #0066CC;
  border-radius: 2px;
  animation: simAutoArtSnapMini 1.6s infinite cubic-bezier(0.16, 1, 0.3, 1);
}
.sim-auto-border-mini {
  position: absolute;
  inset: 0;
  border: 1.5px solid #0066CC;
  background: rgba(0, 102, 204, 0.04);
  border-radius: 6px;
  opacity: 0;
  animation: simAutoBorderFlashMini 1.6s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

/* Keyframes Mini */
@keyframes simManualCycleMini {
  0% { transform: translate(-15px, -10px) scale(0.6) rotate(-8deg); opacity: 0; }
  10% { transform: translate(-15px, -10px) scale(0.6) rotate(-8deg); opacity: 1; }
  30% { transform: translate(6px, 8px) scale(0.85) rotate(4deg); }
  50% { transform: translate(-2px, -4px) scale(1.1) rotate(-2deg); }
  65%, 85% { transform: translate(0, 0) scale(1) rotate(0deg); }
  95%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0; }
}
@keyframes simManualGuidesFadeMini {
  0%, 45% { opacity: 0; }
  50%, 85% { opacity: 0.6; }
  90%, 100% { opacity: 0; }
}
@keyframes simAutoConveyorMini {
  0% { transform: translateX(-80px) scale(0.7); opacity: 0; }
  20%, 80% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(80px) scale(0.7); opacity: 0; }
}
@keyframes simAutoArtSnapMini {
  0%, 25% { opacity: 0; transform: scale(0.4); }
  35%, 80% { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; }
}
@keyframes simAutoBorderFlashMini {
  0%, 30% { opacity: 0; }
  35%, 65% { opacity: 1; }
  75%, 100% { opacity: 0; }
}
