/* ==========================================================================
   STICKMEN VIDEO CREATOR — SQUEEZE EXPERIENCE (PRE-UNLOCK PRODUCT EXPERIENCE)
   Scoped strictly under .se.
   Normal document scrolling model, zero horizontal overflow.
   ========================================================================== */

/* --------------------------------------------------------------------------
   00. ROOT & RESETS
   -------------------------------------------------------------------------- */
.se {
  --se-bg: #090d16;
  --se-surface: #111827;
  --se-surface-card: #161f32;
  --se-border: #1f293d;
  --se-border-focus: #3b82f6;
  --se-text: #f9fafb;
  --se-text-muted: #9ca3af;
  --se-text-subtle: #6b7280;
  --se-primary: #2563eb;
  --se-primary-hover: #1d4ed8;
  --se-accent-gold: #f59e0b;
  --se-radius: 6px;
  --se-radius-sm: 4px;

  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--se-bg);
  color: var(--se-text);
  font-family: var(--svc-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
  line-height: 1.6;
  position: relative;
  isolation: isolate;
}

.se *,
.se *::before,
.se *::after {
  box-sizing: border-box;
}

.se h1, .se h2, .se h3, .se h4, .se p, .se ul, .se ol, .se dl, .se dd {
  margin: 0;
  padding: 0;
}

.se button,
.se a {
  touch-action: manipulation;
  color: inherit;
  text-decoration: none;
}

.se button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.se input {
  font: inherit;
  color: inherit;
}

.se em {
  font-style: normal;
  color: var(--se-primary);
}

.se :is(button, a, input):focus-visible {
  outline: 2px solid var(--se-border-focus);
  outline-offset: 3px;
}

/* Skip link */
.se-skip-link {
  position: absolute;
  top: -999px;
  left: 20px;
  padding: 12px 18px;
  background: var(--se-primary);
  color: #fff;
  z-index: 1000;
  border-radius: var(--se-radius);
  font-weight: 600;
}
.se-skip-link:focus {
  top: 20px;
}

/* Preview Banner */
.se-preview-banner {
  background: var(--se-accent-gold);
  color: #000;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   01. HEADER
   -------------------------------------------------------------------------- */
.se-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--se-border);
}

.se-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.se-wordmark svg {
  width: 28px;
  height: 28px;
  color: var(--se-primary);
}

.se-wordmark strong {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.se-wordmark small {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--se-text-muted);
}

.se-header-edition {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #60a5fa;
  border-radius: var(--se-radius-sm);
}

.se-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  min-height: 40px;
  background: var(--se-surface-card);
  border: 1px solid var(--se-border);
  border-radius: var(--se-radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.se-header-cta:hover {
  background: var(--se-border);
  color: #fff;
}

/* --------------------------------------------------------------------------
   02. SHARED LAYOUT & ATOMS
   -------------------------------------------------------------------------- */
.se-section {
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 60px);
}

.se-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  color: #93c5fd;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.se-kicker--accent {
  color: #c084fc;
}

.se-kicker--gold {
  color: #fbbf24;
}

.se-dot {
  width: 7px;
  height: 7px;
  background: var(--se-primary);
  border-radius: 50%;
  display: inline-block;
}

.se-section-head {
  margin-bottom: 48px;
}

.se-section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.se h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.se-section-desc {
  max-width: 640px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--se-text-muted);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Buttons */
.se-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--se-radius);
  transition: all 0.15s ease;
  letter-spacing: -0.01em;
}

.se-button--primary {
  background: var(--se-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}
.se-button--primary:hover {
  background: var(--se-primary-hover);
  transform: translateY(-1px);
}

.se-button--ghost {
  background: transparent;
  color: var(--se-text-muted);
  border: 1px solid var(--se-border);
}
.se-button--ghost:hover {
  background: var(--se-surface);
  color: var(--se-text);
  border-color: #374151;
}

.se-button--full {
  width: 100%;
}

.se-button--large {
  min-height: 54px;
  padding: 16px 36px;
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   03. ACT 01: HERO & INSTANT EXPERIENCE
   -------------------------------------------------------------------------- */
.se-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 80px);
}

.se-hero-title {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.se-hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--se-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.se-hero-desc {
  font-size: 15px;
  color: var(--se-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.se-hero-accent-line {
  font-size: 16px;
  font-weight: 750;
  color: #60a5fa;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.se-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.se-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 550;
  color: #e5e7eb;
}

.se-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(16, 185, 129, 0.16);
  color: #10b981;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.se-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.se-hero-note {
  font-size: 13px;
  color: var(--se-text-subtle);
}

/* Stage Card (9:16 Canvas Simulation) */
.se-hero-stage-card {
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.se-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0d121f;
  border-bottom: 1px solid var(--se-border);
}

.se-stage-traffic {
  display: flex;
  gap: 6px;
}
.se-traffic-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.se-traffic-dot.red { background: #ef4444; }
.se-traffic-dot.yellow { background: #f59e0b; }
.se-traffic-dot.green { background: #10b981; }

.se-stage-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--se-text-muted);
}

.se-format-pill {
  font-size: 11px;
  font-weight: 750;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--se-radius-sm);
  color: #e5e7eb;
}

.se-stage-body {
  display: flex;
  min-height: 480px;
  background: #080c14;
}

.se-stage-sidebar {
  width: 48px;
  background: #0a0f1a;
  border-right: 1px solid var(--se-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 16px;
}

.se-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--se-radius-sm);
  font-size: 14px;
  color: var(--se-text-muted);
  cursor: default;
}
.se-tool.is-active {
  background: var(--se-primary);
  color: #fff;
}

.se-stage-canvas-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.se-stage-canvas {
  width: 270px;
  aspect-ratio: 9 / 16;
  background: #0d1424;
  border: 1px solid #23314d;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.se-canvas-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.se-canvas-text-layer {
  position: relative;
  z-index: 2;
}

.se-canvas-caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.se-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  background: var(--se-primary);
  color: #fff;
  border-radius: 3px;
}

.se-canvas-caption p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.se-caption--brand strong {
  font-size: 17px;
  font-weight: 800;
  color: #60a5fa;
}
.se-caption--brand small {
  font-size: 12px;
  color: var(--se-text-muted);
}

.se-canvas-actor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  color: #f3f4f6;
}

.se-canvas-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--se-text-subtle);
  font-family: monospace;
}

.se-live-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #10b981;
  font-weight: 700;
}
.se-live-tag i {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: se-pulse 1.8s infinite;
}

@keyframes se-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.se-stage-controls {
  padding: 14px 18px;
  background: #0d121f;
  border-top: 1px solid var(--se-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.se-timeline-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.se-timeline-step {
  padding: 8px 4px;
  min-height: 38px;
  background: var(--se-surface-card);
  border: 1px solid var(--se-border);
  border-radius: var(--se-radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--se-text-muted);
  text-align: center;
  transition: all 0.15s ease;
}
.se-timeline-step.is-active {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--se-primary);
  color: #93c5fd;
}

.se-transport {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.se-transport-btn {
  padding: 6px 14px;
  min-height: 34px;
  background: #1e293b;
  border-radius: var(--se-radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.se-transport-label {
  font-size: 12px;
  color: var(--se-text-subtle);
}

/* --------------------------------------------------------------------------
   04. ACT 02: CUBA SENDIRI
   -------------------------------------------------------------------------- */
.se-demo-section {
  border-top: 1px solid var(--se-border);
}

.se-demo-workbench {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.se-demo-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.se-panel-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.se-panel-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--se-text-muted);
  text-transform: uppercase;
}

.se-mode-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.se-mode-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  min-height: 52px;
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: var(--se-radius);
  text-align: left;
  transition: all 0.15s ease;
}
.se-mode-pill:hover {
  background: var(--se-surface-card);
  border-color: #374151;
}
.se-mode-pill.is-selected {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--se-primary);
  box-shadow: 0 0 0 1px var(--se-primary);
}

.se-radio-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--se-text-subtle);
  display: inline-block;
  flex-shrink: 0;
}
.se-mode-pill.is-selected .se-radio-dot {
  border-color: var(--se-primary);
  background: var(--se-primary);
  box-shadow: inset 0 0 0 2px var(--se-bg);
}

.se-mode-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--se-text);
}

.se-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.se-text-input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  min-height: 50px;
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: var(--se-radius);
  font-size: 15px;
  color: #fff;
  transition: border-color 0.15s ease;
}
.se-text-input:focus {
  border-color: var(--se-border-focus);
}

.se-clear-btn {
  position: absolute;
  right: 12px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--se-text-subtle);
  border-radius: 50%;
}
.se-clear-btn:hover {
  color: #fff;
}

.se-char-count {
  font-size: 12px;
  color: var(--se-text-subtle);
  align-self: flex-end;
}

.se-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.se-sug-label {
  font-size: 12px;
  color: var(--se-text-muted);
}

.se-sug-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.se-sug-btn {
  padding: 6px 12px;
  min-height: 36px;
  background: #1f293d;
  border-radius: var(--se-radius-sm);
  font-size: 12px;
  color: #d1d5db;
  transition: all 0.15s ease;
}
.se-sug-btn:hover {
  background: var(--se-primary);
  color: #fff;
}

.se-demo-cta-box {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.se-demo-cta-note {
  font-size: 12px;
  color: var(--se-text-subtle);
}

.se-editor-feedback {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--se-radius);
}

.se-feedback-icon {
  font-size: 18px;
  color: #10b981;
}

.se-feedback-text strong {
  display: block;
  font-size: 14px;
  color: #10b981;
  margin-bottom: 2px;
}

.se-feedback-text p {
  font-size: 13px;
  color: var(--se-text-muted);
  line-height: 1.4;
}

/* Demo Stage Col */
.se-demo-stage-col {
  display: flex;
  justify-content: center;
}

.se-demo-canvas-card {
  width: 100%;
  max-width: 380px;
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.se-mode-kicker {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #60a5fa;
}

.se-tag-aspect {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
}

.se-demo-canvas-view {
  aspect-ratio: 9 / 16;
  background: #0d1424;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
}

.se-canvas-grid-subtle {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.se-rendered-text-box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.se-tag-layer {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--se-primary);
  background: rgba(37, 99, 235, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
  align-self: flex-start;
}

.se-rendered-headline {
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  word-break: break-word;
}

.se-rendered-sub {
  font-size: 14px;
  color: var(--se-text-muted);
}

.se-rendered-stickman {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.se-rendered-stickman svg {
  width: 85%;
  height: 85%;
}

.se-rendered-status {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--se-text-subtle);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.se-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #10b981;
}
.se-status-indicator i {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   05. ACT 03: 10 TEMPLATES
   -------------------------------------------------------------------------- */
.se-templates-section {
  border-top: 1px solid var(--se-border);
}

.se-templates-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.se-counter-number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  color: #60a5fa;
  letter-spacing: -0.04em;
}

.se-counter-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--se-text-muted);
}

.se-rail-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.se-rail-info {
  font-size: 13px;
  color: var(--se-text-muted);
}

.se-rail-nav {
  display: flex;
  gap: 8px;
}

.se-nav-arrow {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: var(--se-radius-sm);
  color: #fff;
  font-size: 16px;
  transition: all 0.15s ease;
}
.se-nav-arrow:hover {
  background: var(--se-primary);
}

.se-templates-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--se-border) transparent;
}

.se-template-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.se-template-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}
.se-template-card.is-selected {
  border-color: var(--se-primary);
  box-shadow: 0 0 0 2px var(--se-primary);
}

.se-card-preview-box {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #0d1424;
  position: relative;
  overflow: hidden;
}

.se-card-aspect-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 750;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  color: #fff;
}

.se-card-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--se-border);
}

.se-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--se-text-subtle);
  font-weight: 600;
}

.se-card-name {
  font-size: 14px;
  font-weight: 750;
  color: #fff;
  line-height: 1.25;
}

.se-card-action {
  font-size: 12px;
  color: #60a5fa;
  font-weight: 600;
  margin-top: 4px;
}

.se-rail-foot {
  margin-top: 24px;
}
.se-rail-foot p {
  font-size: 14px;
  color: var(--se-text-muted);
}

/* --------------------------------------------------------------------------
   06. ACT 04: WHITELABEL REVEAL
   -------------------------------------------------------------------------- */
.se-theme-dark {
  background: #05070d;
  border-top: 1px solid var(--se-border);
  border-bottom: 1px solid var(--se-border);
}

.se-whitelabel-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.se-control-card {
  background: #0d121f;
  border: 1px solid var(--se-border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.se-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.se-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--se-text-muted);
}

.se-text-input--dark {
  background: #080c14;
}

.se-name-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.se-preset-chip {
  padding: 8px 14px;
  min-height: 40px;
  background: #182236;
  border-radius: var(--se-radius-sm);
  font-size: 13px;
  color: #cbd5e1;
}
.se-preset-chip:hover {
  background: var(--brand-accent, var(--se-primary));
  color: #fff;
}

.se-palette-picker {
  display: flex;
  gap: 12px;
}

.se-palette-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.se-palette-dot:hover {
  transform: scale(1.1);
}
.se-palette-dot.is-active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px var(--se-bg);
}

.se-mark-pills {
  display: flex;
  gap: 8px;
}

.se-chip {
  padding: 8px 14px;
  min-height: 40px;
  background: #182236;
  border: 1px solid var(--se-border);
  border-radius: var(--se-radius-sm);
  font-size: 13px;
  color: #e2e8f0;
}
.se-chip.is-selected {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--brand-accent, var(--se-primary));
  color: #fff;
}

/* Brand Preview Mockup */
.se-brand-canvas-mockup {
  background: #0c121e;
  border: 1px solid var(--se-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7);
}

.se-brand-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #080c14;
  border-bottom: 1px solid var(--se-border);
}

.se-custom-logo-display {
  display: flex;
  align-items: center;
  gap: 10px;
}

.se-custom-mark-svg {
  width: 22px;
  height: 22px;
}

.se-custom-mark-mono {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.se-custom-mark-star {
  font-size: 18px;
  font-weight: 800;
}

.se-custom-brand-text {
  font-size: 15px;
  font-weight: 750;
  color: #fff;
}

.se-whitelabel-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-radius: 3px;
}

.se-brand-screen {
  aspect-ratio: 16 / 9;
  background: #090e18;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.se-brand-scene-visual {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.se-brand-stickman svg {
  width: 140px;
  height: 140px;
}

.se-brand-watermark-overlay {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 4px 10px;
  border-left: 3px solid;
  background: rgba(0, 0, 0, 0.7);
}

.se-brand-watermark-title {
  font-size: 12px;
  font-weight: 700;
}

.se-brand-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 12px;
  color: var(--se-text-muted);
  background: #080c14;
  border-top: 1px solid var(--se-border);
}

.se-whitelabel-foot {
  margin-top: 36px;
}

.se-legal-notice {
  font-size: 13px;
  color: var(--se-text-subtle);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   07. ACT 05: UNLOCK FORM
   -------------------------------------------------------------------------- */
.se-unlock-section {
  text-align: center;
}
.se-unlock-section .se-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.se-unlock-container {
  max-width: 520px;
  margin-inline: auto;
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.se-bcl-wrapper {
  width: 100%;
}

.se-bcl-embed-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.se-bcl-container {
  width: 100%;
  min-height: 280px;
  background: #ffffff;
  border-radius: var(--se-radius);
  overflow: hidden;
  position: relative;
  transition: min-height 0.3s ease;
}

.se-bcl-container.is-loading {
  background: #0f172a;
}

.se-bcl-container.is-loading::after {
  content: 'Memuatkan borang pengesahan...';
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  font-size: 13px;
  color: var(--se-text-muted);
}

.se-bcl-error-state {
  padding: 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--se-radius);
  margin-bottom: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.se-bcl-error-state p {
  font-size: 14px;
  color: #fca5a5;
  margin: 0;
}

.se-privacy-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--se-text-subtle);
  line-height: 1.4;
  margin-top: 6px;
}
.se-lock-icon {
  font-size: 14px;
  color: #10b981;
}

.se-unlock-completed-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
}
.se-check-badge {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   08. ACT 06: FAQ SECTION
   -------------------------------------------------------------------------- */
.se-faq-section {
  border-top: 1px solid var(--se-border);
  background: var(--se-bg);
}

.se-faq-accordion {
  max-width: 760px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.se-faq-item {
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: var(--se-radius);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.se-faq-item[open] {
  border-color: rgba(59, 130, 246, 0.4);
  background: var(--se-surface-card);
}

.se-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 650;
  color: var(--se-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.se-faq-question::-webkit-details-marker {
  display: none;
}

.se-faq-plus {
  font-size: 20px;
  font-weight: 400;
  color: #60a5fa;
  transition: transform 0.2s ease;
}

.se-faq-item[open] .se-faq-plus {
  transform: rotate(45deg);
}

.se-faq-answer {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--se-text-muted);
}

.se-faq-bottom-cta {
  max-width: 600px;
  margin: 48px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.se-faq-bottom-cta p {
  font-size: 16px;
  color: var(--se-text-muted);
}

/* --------------------------------------------------------------------------
   STICKMAN KEYFRAME ANIMATIONS (ACT 01, ACT 02, ACT 04)
   -------------------------------------------------------------------------- */
/* Act 01 Scene Animations */
.se-leg-walk-left {
  transform-origin: 150px 215px;
  animation: se-leg-walk-l 0.8s ease-in-out infinite alternate;
}
.se-leg-walk-right {
  transform-origin: 150px 215px;
  animation: se-leg-walk-r 0.8s ease-in-out infinite alternate;
}
.se-arm-walk-left {
  transform-origin: 150px 140px;
  animation: se-arm-walk-l 0.8s ease-in-out infinite alternate;
}
.se-arm-walk-right {
  transform-origin: 150px 140px;
  animation: se-arm-walk-r 0.8s ease-in-out infinite alternate;
}
.se-arm-shrug-left {
  transform-origin: 150px 140px;
  animation: se-arm-shrug-l 1.6s ease-in-out infinite alternate;
}
.se-arm-shrug-right {
  transform-origin: 150px 140px;
  animation: se-arm-shrug-r 1.6s ease-in-out infinite alternate;
}
.se-arm-point-right {
  transform-origin: 150px 140px;
  animation: se-arm-point 1.2s ease-in-out infinite alternate;
}
.se-arm-present-left {
  transform-origin: 150px 140px;
  animation: se-arm-present-l 1.4s ease-in-out infinite alternate;
}
.se-arm-present-right {
  transform-origin: 150px 140px;
  animation: se-arm-present-r 1.4s ease-in-out infinite alternate;
}

@keyframes se-leg-walk-l {
  0% { transform: rotate(-12deg); }
  100% { transform: rotate(12deg); }
}
@keyframes se-leg-walk-r {
  0% { transform: rotate(12deg); }
  100% { transform: rotate(-12deg); }
}
@keyframes se-arm-walk-l {
  0% { transform: rotate(15deg); }
  100% { transform: rotate(-15deg); }
}
@keyframes se-arm-walk-r {
  0% { transform: rotate(-15deg); }
  100% { transform: rotate(15deg); }
}
@keyframes se-arm-shrug-l {
  0% { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(-8deg) translateY(-3px); }
}
@keyframes se-arm-shrug-r {
  0% { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(8deg) translateY(-3px); }
}
@keyframes se-arm-point {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(-4deg) scale(1.04); }
}
@keyframes se-arm-present-l {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-6deg); }
}
@keyframes se-arm-present-r {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(6deg); }
}

/* Act 02 Demo Animations */
.se-arm-promo-left {
  transform-origin: 130px 120px;
  animation: se-promo-l 1s ease-in-out infinite alternate;
}
.se-arm-promo-right {
  transform-origin: 130px 120px;
  animation: se-promo-r 0.8s ease-in-out infinite alternate;
}
.se-arm-story-left {
  transform-origin: 130px 120px;
  animation: se-story-l 1.2s ease-in-out infinite alternate;
}
.se-arm-story-right {
  transform-origin: 130px 120px;
  animation: se-story-r 1.2s ease-in-out infinite alternate;
}
.se-arm-explain-left {
  transform-origin: 130px 120px;
  animation: se-explain-l 1.5s ease-in-out infinite alternate;
}
.se-arm-explain-right {
  transform-origin: 130px 120px;
  animation: se-explain-r 1.5s ease-in-out infinite alternate;
}
.se-accessory-float {
  animation: se-float 2s ease-in-out infinite alternate;
}

@keyframes se-promo-l {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(10deg); }
}
@keyframes se-promo-r {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(-8deg) scale(1.06); }
}
@keyframes se-story-l {
  0% { transform: rotate(8deg); }
  100% { transform: rotate(-8deg); }
}
@keyframes se-story-r {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}
@keyframes se-explain-l {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-6deg); }
}
@keyframes se-explain-r {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(8deg); }
}
@keyframes se-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* Act 04 Whitelabel Animations */
.se-actor-brand-animated {
  animation: se-brand-bob 2.4s ease-in-out infinite alternate;
}
.se-brand-arm-right {
  transform-origin: 80px 80px;
  animation: se-brand-wave 1.2s ease-in-out infinite alternate;
}
@keyframes se-brand-bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}
@keyframes se-brand-wave {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(12deg); }
}

/* --------------------------------------------------------------------------
   09. FOOTER
   -------------------------------------------------------------------------- */
.se-footer {
  border-top: 1px solid var(--se-border);
  padding: 48px clamp(20px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  background: #070a12;
}

.se-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--se-text-muted);
}
.se-footer-brand svg {
  width: 22px;
  height: 22px;
  color: var(--se-primary);
}

.se-founder-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--se-primary, #2563eb);
  flex-shrink: 0;
}

.se-footer-disclaimer {
  font-size: 13px;
  color: var(--se-text-subtle);
  max-width: 520px;
}

.se-footer-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #60a5fa;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE BREAKPOINTS (1024px, 768px, 480px, 390px, 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .se-hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .se-demo-workbench {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .se-whitelabel-stage {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .se-header-edition {
    display: none;
  }
  .se-section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }
  .se-templates-counter {
    align-items: flex-start;
    text-align: left;
  }
  .se-template-card {
    flex: 0 0 220px;
  }
}

@media (max-width: 480px) {
  .se-section {
    padding-inline: 16px;
  }
  .se-hero-stage-card {
    border-radius: 8px;
  }
  .se-stage-canvas-wrap {
    padding: 12px;
  }
  .se-stage-canvas {
    width: 230px;
  }
  .se-timeline-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .se-button--large {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 15px;
  }
  .se-demo-canvas-card {
    max-width: 100%;
  }
  .se-mark-pills {
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   11. REDUCED MOTION SUPPORT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .se *,
  .se *::before,
  .se *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
