:root {
  --navy: #1c233d;
  --blue: #3764d8;
  --blue-lt: #5386fc;
  --sky: #def6ff;
  --ice: #f4fcff;
  --orange: #e65100;
  --buyer: #1d4e89;
  --vendor: #0f766e;
  --gray-10: #ffffff;
  --gray-20: #f9f9f9;
  --gray-30: #f7f7f7;
  --gray-40: #f2f2f2;
  --gray-50: #f8fafc;
  --gray-60: #e7e7e7;
  --gray-70: #a7a7a7;
  --gray-80: #7b7b7b;
  --gray-90: #4d4d4d;
  --slate: #64748b;
  --ink: #1e293b;
  --success: #47cc29;
  --success-bg: #f4ffea;
  --error: #fb3748;
  --error-bg: #fff1ee;
  --shadow: 0 2px 8px rgba(55, 100, 216, 0.18);
  --radius: 20px;
  --radius-sm: 10px;
  --max: 1200px;
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Teachers", "Segoe UI", sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(var(--max), calc(100% - 80px));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.16px;
  line-height: 24px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn img { width: 24px; height: 24px; }
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { color: var(--gray-90); }
.btn-ghost:hover { background: var(--gray-30); }
.btn-blue {
  background: linear-gradient(#3764d8, #5386fc);
  color: #fff;
  border: 1px solid var(--blue);
  box-shadow: 0 2px 4px rgba(55, 100, 216, 0.25);
}
.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); }
.btn-buyer,
.btn-creator,
.btn-vendor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}
.btn-buyer { background: var(--buyer); }
.btn-creator { background: var(--orange); }
.btn-vendor { background: var(--vendor); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #fff;
  border-bottom: 1px solid var(--gray-60);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(225deg, #fff, #f7f7f7);
  padding: 4px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 20px; letter-spacing: 0.25px; color: var(--navy); }
.brand-name strong { font-weight: 600; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-90);
}
.nav-links a.active {
  background: linear-gradient(#3764d8, #5386fc);
  color: #fff;
  box-shadow: 0 2px 4px rgba(55, 100, 216, 0.25);
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 200px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gray-30);
  display: grid;
  place-items: center;
}
.icon-btn img { width: 24px; height: 24px; }
.menu-toggle { display: none; flex-direction: column; gap: 4px; }
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(#def6ff, #fff);
  padding: 72px 0 0;
  min-height: 780px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 787px;
  margin: 0 auto 28px;
  text-align: center;
  padding: 0 20px;
}
.hero-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}
.hero-title .grad {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0.99px;
  line-height: 55px;
  background: linear-gradient(#3764d8, #1c233d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .accent {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0.99px;
  line-height: 55px;
  color: var(--blue-lt);
}
.chip-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.chip-icon img { width: 32px; height: 32px; }
.chip-bag { background: var(--error-bg); }
.chip-pen { background: var(--success-bg); }
.chip-spark { background: linear-gradient(#f4fcff, #5386fc); }
.hero-sub {
  max-width: 506px;
  margin: 0 auto 16px;
  font-size: 16px;
  color: #111;
}
.hero-ctas { display: flex; gap: 8px; justify-content: center; }

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  min-height: 520px;
}

/* Bigger sliding gallery */
.hero-slider {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero-track {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
  animation: heroSlide 36s linear infinite;
}
.hero-track:hover { animation-play-state: paused; }
.hero-slide {
  flex: 0 0 min(520px, 72vw);
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(28, 35, 61, 0.14);
  background: #e8f4ff;
}
.hero-slide.is-center {
  flex-basis: min(620px, 82vw);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes heroSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  background: var(--blue);
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}
.caret.is-hidden { opacity: 0; animation: none; }
@keyframes blink {
  50% { opacity: 0; }
}

/* Fade putih seperti Figma */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(55%, 420px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 28%,
    rgba(255, 255, 255, 0.85) 62%,
    #ffffff 100%
  );
  pointer-events: none;
  z-index: 3;
}

.social-proof {
  text-align: center;
  padding: 8px 20px 48px;
  background: #fff;
}
.social-proof p {
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 40px;
  background: #fff;
  border: 1px solid var(--gray-60);
  box-shadow: 0 2px 8px rgba(28, 35, 61, 0.06);
}
.trust-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.trust-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.trust-more-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ice);
  color: var(--blue);
  font-weight: 700;
  font-size: 18px;
}

/* Roles */
.roles {
  margin: 40px auto;
  width: min(1360px, calc(100% - 40px));
  border-radius: var(--radius);
  background: linear-gradient(#f4fcff, #fff);
  padding: 80px 40px 64px;
  overflow: hidden;
}
.roles-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(55, 100, 216, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-head p { color: var(--slate); font-size: 16px; max-width: 640px; margin: 0 auto; }
.roles .section-head h2 {
  background: linear-gradient(#3764d8, #5386fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.role-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.role-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(28, 35, 61, 0.05);
  opacity: 0;
  translate: 0 30px;
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.role-card:nth-child(2) { transition-delay: 0.1s, 0.1s, 0s, 0s; }
.role-card:nth-child(3) { transition-delay: 0.2s, 0.2s, 0s, 0s; }
.role-card.is-in { opacity: 1; translate: 0 0; }
.role-card.is-in:hover {
  translate: 0 -8px;
  transition-delay: 0s;
}
.role-card-buyer { background: radial-gradient(120% 80% at 100% 0%, rgba(55, 100, 216, 0.1), #fff 55%); }
.role-card-creator { background: radial-gradient(120% 80% at 100% 0%, rgba(230, 81, 0, 0.1), #fff 55%); }
.role-card-vendor { background: radial-gradient(120% 80% at 100% 0%, rgba(15, 118, 110, 0.1), #fff 55%); }
.role-blob {
  position: absolute;
  right: -24px;
  top: -24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.35;
  animation: float 6s ease-in-out infinite alternate;
  pointer-events: none;
}
.role-card-buyer .role-blob { background: rgba(55, 100, 216, 0.35); }
.role-card-creator .role-blob { background: rgba(230, 81, 0, 0.3); animation-duration: 7s; }
.role-card-vendor .role-blob { background: rgba(15, 118, 110, 0.3); animation-duration: 5s; }
.role-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 1;
}
.role-badge.buyer { color: var(--buyer); background: rgba(29, 78, 137, 0.1); }
.role-badge.creator { color: var(--orange); background: rgba(230, 81, 0, 0.1); }
.role-badge.vendor { color: var(--vendor); background: rgba(15, 118, 110, 0.1); }
.role-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  z-index: 1;
  transition: transform 0.35s ease;
}
.role-icon.buyer { background: linear-gradient(135deg, var(--buyer), var(--blue-lt)); }
.role-icon.creator { background: linear-gradient(135deg, var(--orange), #ff8a50); }
.role-icon.vendor { background: linear-gradient(135deg, var(--vendor), #14b8a6); }
.role-card h3 { font-size: 22px; color: var(--ink); z-index: 1; }
.role-tag { font-size: 13px; font-weight: 600; }
.role-tag.buyer { color: var(--buyer); }
.role-tag.creator { color: var(--orange); }
.role-tag.vendor { color: var(--vendor); }
.role-card > p { font-size: 14px; color: var(--slate); z-index: 1; }
.role-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
  z-index: 1;
}
.role-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
}
.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot.buyer { background: var(--buyer); }
.dot.creator { background: var(--orange); }
.dot.vendor { background: var(--vendor); }
.role-card .btn-buyer,
.role-card .btn-creator,
.role-card .btn-vendor {
  margin-top: auto;
  gap: 8px;
  z-index: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-arrow { transition: transform 0.25s ease; display: inline-block; }
.role-card:hover {
  box-shadow: 0 18px 40px rgba(28, 35, 61, 0.12);
}
.role-card-buyer:hover { border-color: rgba(55, 100, 216, 0.45); box-shadow: 0 18px 40px rgba(55, 100, 216, 0.16); }
.role-card-creator:hover { border-color: rgba(230, 81, 0, 0.4); box-shadow: 0 18px 40px rgba(230, 81, 0, 0.14); }
.role-card-vendor:hover { border-color: rgba(15, 118, 110, 0.4); box-shadow: 0 18px 40px rgba(15, 118, 110, 0.14); }
.role-card:hover .role-icon { transform: scale(1.08); }
.role-card:hover .cta-arrow { transform: translateX(4px); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(12px); }
}

/* Products */
.products {
  margin: 40px auto;
  width: min(1360px, calc(100% - 40px));
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(#f4ffea, #fff);
  padding: 80px 40px 64px;
}
.products .section-head h2 {
  background: linear-gradient(#3764d8, #47cc29);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

/* Product carousel — 4 kartu per slide */
.product-carousel {
  position: relative;
}
.product-viewport {
  overflow: hidden;
  width: 100%;
}
.product-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.product-page {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-60);
  background: #fff;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.carousel-btn:hover {
  background: var(--ice);
  border-color: var(--blue);
}
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #c5d4f5;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.carousel-dot.is-active {
  background: var(--blue);
  transform: scale(1.15);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  text-align: center;
}
.product-media {
  aspect-ratio: 1 / 1.05;
  border: 1px solid var(--gray-60);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-80);
}
.swatches {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.swatch {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-60);
  position: relative;
}
.swatch[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1b1b1b;
  color: #fff;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

/* AI section — animasi prompt → hasil kucing → mockup */
.ai-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: linear-gradient(90deg, #f4fcff 0%, #fff1ee 100%);
}
.ai-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.ai-stage-bg {
  position: absolute;
  inset: 40px 48px 40px 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(180deg, #7aa7ff 0%, #eef7ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.ai-prompt-bubble {
  position: absolute;
  top: 72px;
  right: 72px;
  z-index: 5;
  width: min(280px, 58%);
  background: #fff;
  border-radius: 16px;
  padding: 14px 44px 14px 16px;
  box-shadow: 0 12px 28px rgba(28, 35, 61, 0.16);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ai-stage[data-phase="typing"] .ai-prompt-bubble,
.ai-stage[data-phase="result"] .ai-prompt-bubble,
.ai-stage[data-phase="select"] .ai-prompt-bubble,
.ai-stage[data-phase="mockup"] .ai-prompt-bubble {
  opacity: 1;
  transform: translateY(0);
}
.ai-prompt-bubble p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--navy);
  min-height: 42px;
}
.ai-prompt-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--navy);
  display: grid;
  place-items: center;
}
.ai-prompt-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.ai-results-board {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.ai-card {
  position: absolute;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 16px 36px rgba(28, 35, 61, 0.22);
  opacity: 0;
  transform: scale(0.82) translateY(18px);
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
  pointer-events: auto;
}
.ai-stage[data-phase="result"] .ai-card,
.ai-stage[data-phase="select"] .ai-card,
.ai-stage[data-phase="mockup"] .ai-card {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.ai-stage[data-phase="result"] .ai-card-sm { transition-delay: 0.08s; }
.ai-stage[data-phase="result"] .ai-card-lg { transition-delay: 0.22s; }
.ai-stage[data-phase="result"] .ai-card-md { transition-delay: 0.36s; }
.ai-card.is-selected {
  border-color: #fff;
  box-shadow: 0 0 0 3px var(--blue), 0 18px 40px rgba(55, 100, 216, 0.35);
  transform: scale(1.04);
  z-index: 6;
}
.ai-card.is-dimmed { opacity: 0.45; filter: grayscale(0.2); }
.ai-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ai-card-sm {
  width: 120px;
  height: 120px;
  left: 14%;
  top: 22%;
}
.ai-card-lg {
  width: 240px;
  height: 160px;
  left: 18%;
  top: 42%;
}
.ai-card-md {
  width: 150px;
  height: 150px;
  left: 52%;
  top: 54%;
}

.ai-cursor {
  position: absolute;
  z-index: 8;
  width: 18px;
  height: 24px;
  margin-left: -2px;
  margin-top: -2px;
  background: #111;
  clip-path: polygon(0 0, 0 100%, 35% 72%, 52% 100%, 64% 94%, 45% 64%, 100% 64%);
  filter: drop-shadow(1px 2px 2px rgba(255, 255, 255, 0.9)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  opacity: 0;
  pointer-events: none;
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1), top 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, transform 0.12s ease;
}
.ai-stage[data-phase="select"] .ai-cursor,
.ai-stage[data-phase="mockup"] .ai-cursor {
  opacity: 1;
}
.ai-cursor.is-click {
  transform: scale(0.86);
}

.ai-mockup-panel {
  position: absolute;
  right: 56px;
  bottom: 56px;
  z-index: 7;
  display: grid;
  place-items: center;
  padding: 16px 18px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(28, 35, 61, 0.18);
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.ai-stage[data-phase="mockup"] .ai-mockup-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.shirt {
  position: relative;
  width: 168px;
  height: 190px;
}
.shirt-body {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 0;
  background: linear-gradient(#fbfbfb, #ececec);
  border-radius: 10px 10px 18px 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.shirt-sleeve {
  position: absolute;
  top: 32px;
  width: 46px;
  height: 64px;
  background: linear-gradient(#fbfbfb, #e8e8e8);
  border-radius: 14px;
}
.shirt-sleeve.left { left: 0; transform: rotate(18deg); }
.shirt-sleeve.right { right: 0; transform: rotate(-18deg); }
.shirt-neck {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 46px;
  height: 26px;
  transform: translateX(-50%);
  background: #fff;
  border: 8px solid #ececec;
  border-bottom: none;
  border-radius: 22px 22px 0 0;
}
.shirt-print {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 62%;
  height: 52%;
  object-fit: cover;
  border-radius: 8px;
  transform: translate(-50%, -50%) scale(0.15);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  box-shadow: 0 8px 18px rgba(28, 35, 61, 0.22);
}
.ai-stage[data-phase="mockup"] .shirt-print.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.ai-mockup-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
}

.ai-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 64px 80px 64px 48px;
}
.ai-copy h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  background: linear-gradient(#3764d8, #fb3748);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 420px;
}

/* Editor — Buat Desain Kamu */
.editor-play {
  padding: 8px 0 32px;
  background: #fff;
}
.editor-play .section-head h2 {
  background: linear-gradient(#3764d8, #5386fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.editor-stage {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbe2ea;
  border-radius: 16px;
  background: #fff;
  height: 420px;
  box-shadow: 0 8px 24px rgba(28, 35, 61, 0.06);
}
.editor-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid #e8edf5;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  background: #fbfcfe;
  flex-shrink: 0;
}
.editor-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #eef2f7;
  pointer-events: none;
  overflow: hidden;
}
.editor-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.45, 0, 0.15, 1);
}
.editor-body {
  display: grid;
  grid-template-columns: 72px 200px minmax(0, 1fr);
  min-height: 0;
  flex: 1;
}
.editor-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 4px;
  background: #f7f8fb;
  border-right: 1px solid #e8edf5;
}
.editor-rail button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  border-radius: 8px;
  color: #64748b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.22s ease, color 0.22s ease;
}
.editor-rail svg { width: 18px; height: 18px; }
.editor-rail button.is-on {
  background: rgba(55, 100, 216, 0.12);
  color: var(--blue);
}
.editor-panel {
  position: relative;
  min-height: 0;
  padding: 10px;
  border-right: 1px solid #e8edf5;
  background: #fff;
  overflow: hidden;
}
.editor-panel-view {
  position: absolute;
  inset: 10px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.editor-stage[data-menu="elements"] [data-panel="elements"],
.editor-stage[data-menu="images"] [data-panel="images"],
.editor-stage[data-menu="text"] [data-panel="text"],
.editor-stage[data-menu="shapes"] [data-panel="shapes"],
.editor-stage[data-menu="tools"] [data-panel="tools"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  z-index: 1;
}
.editor-panel h3 { font-size: 13px; margin-bottom: 8px; }
.el-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.el-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f4f6fa;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #eef2f7;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.editor-stage[data-phase="elements"] .el-grid img:first-child {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(55, 100, 216, 0.15);
}
.dropzone {
  border: 1.5px dashed #c9d4e5;
  border-radius: 12px;
  padding: 18px 10px;
  text-align: center;
  background: #f8fbff;
}
.dropzone span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: rgba(55, 100, 216, 0.1);
  color: var(--blue);
}
.dropzone strong { display: block; font-size: 12px; }
.panel-chip,
.tool-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.editor-stage[data-phase="text"] .panel-chip:first-of-type,
.tool-row.is-on {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(55, 100, 216, 0.08);
}
.tool-row { font-size: 12px; }
.tool-row span { width: 24px; text-align: center; color: var(--slate); }
.shape-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}
.shape-dot, .shape-sq, .shape-tri {
  width: 36px;
  height: 36px;
  border: 2px solid var(--navy);
}
.shape-dot { border-radius: 50%; }
.shape-sq { border-radius: 4px; }
.shape-tri {
  width: 0;
  height: 0;
  border: 18px solid transparent;
  border-bottom-color: var(--navy);
  border-top: 0;
  background: none;
}
.editor-stage[data-phase="shapes"] .shape-dot {
  background: var(--blue);
  border-color: var(--blue);
}

.editor-canvas {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #cfe0ee;
  min-height: 0;
}
.canvas-product {
  position: relative;
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  overflow: hidden;
}
.editor-shirt {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

/* Print area: strictly on the shirt chest, never the sky/sleeves */
.print-zone {
  position: absolute;
  left: 38%;
  top: 30%;
  width: 24%;
  height: 26%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.editor-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80%;
  height: 84%;
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.92);
  isolation: isolate;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), clip-path 0.5s ease;
  clip-path: inset(0);
}
.bg-checker,
.layer-photo,
.layer-sticker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
.bg-checker {
  opacity: 0;
  border-radius: 4px;
  background:
    linear-gradient(45deg, #cfcfcf 25%, transparent 25%) 0 0 / 7px 7px,
    linear-gradient(-45deg, #cfcfcf 25%, transparent 25%) 0 3.5px / 7px 7px,
    linear-gradient(45deg, transparent 75%, #cfcfcf 75%) 3.5px -3.5px / 7px 7px,
    linear-gradient(-45deg, transparent 75%, #fff 75%) -3.5px 0 / 7px 7px,
    #fff;
  transition: opacity 0.55s ease;
}
.layer-photo,
.layer-sticker {
  opacity: 0;
  transition: opacity 0.45s ease, filter 0.45s ease;
}
.editor-stage[data-phase="elements"] .editor-layer,
.editor-stage[data-phase="images"] .editor-layer,
.editor-stage[data-phase="crop"] .editor-layer,
.editor-stage[data-phase="removebg"] .editor-layer {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.editor-stage[data-phase="elements"] .layer-sticker {
  opacity: 1;
}
.editor-stage[data-phase="images"] .editor-layer {
  width: 88%;
  height: 90%;
}
.editor-stage[data-phase="images"] .layer-photo,
.editor-stage[data-phase="crop"] .layer-photo {
  opacity: 1;
}
.editor-stage[data-phase="crop"] .editor-layer {
  width: 84%;
  height: 86%;
  clip-path: inset(8% 7% 10% 7%);
}
.editor-stage[data-phase="removebg"] .editor-layer {
  width: 86%;
  height: 88%;
}
.editor-stage[data-phase="removebg"] .layer-photo {
  opacity: 1;
  animation: dkHidePhoto 0.55s ease 0.4s forwards;
}
.editor-stage[data-phase="removebg"] .bg-checker {
  opacity: 0;
  animation: dkShowCut 0.5s ease 0.45s forwards;
}
.editor-stage[data-phase="removebg"] .layer-sticker {
  opacity: 0;
  animation: dkShowCut 0.5s ease 0.5s forwards;
  filter: drop-shadow(0 3px 4px rgba(28, 35, 61, 0.28));
}
@keyframes dkHidePhoto {
  to { opacity: 0; }
}
@keyframes dkShowCut {
  to { opacity: 1; }
}
.text-layer,
.shape-layer,
.draw-layer,
.layer-box,
.crop-frame {
  position: absolute;
  pointer-events: none;
}
.text-layer {
  inset: 18% 10%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(9px, 1.15vw, 13px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--navy);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.editor-stage[data-phase="text"] .text-layer {
  opacity: 1;
  transform: none;
}
.shape-layer {
  left: 34%;
  top: 30%;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #3764d8;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.editor-stage[data-phase="shapes"] .shape-layer {
  opacity: 1;
  transform: none;
}
.layer-box {
  inset: 0;
  border: 1.5px dashed rgba(55, 100, 216, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.editor-stage[data-phase="elements"] .layer-box,
.editor-stage[data-phase="text"] .layer-box,
.editor-stage[data-phase="shapes"] .layer-box,
.editor-stage[data-phase="crop"] .layer-box,
.editor-stage[data-phase="removebg"] .layer-box {
  opacity: 1;
}
.editor-stage[data-phase="shapes"] .layer-box {
  inset: auto;
  left: 28%;
  top: 24%;
  width: 44%;
  aspect-ratio: 1;
}
.crop-frame {
  inset: 8%;
  border: 1.5px dashed rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 999px rgba(28, 35, 61, 0.28);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.editor-stage[data-phase="crop"] .crop-frame { opacity: 1; }
.draw-layer {
  inset: 8%;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.draw-layer path {
  fill: none;
  stroke: #e65100;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
}
.editor-stage[data-phase="draw"] .draw-layer { opacity: 1; }
.editor-stage[data-phase="draw"] .draw-layer path {
  animation: drawStroke 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}
.editor-cursor {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transform: translate3d(42%, 28%, 0);
  transition: transform 0.65s cubic-bezier(0.45, 0, 0.15, 1), opacity 0.25s ease;
}
.editor-cursor::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--navy);
  transform: rotate(-45deg);
}
.editor-stage[data-phase="elements"] .editor-cursor,
.editor-stage[data-phase="images"] .editor-cursor,
.editor-stage[data-phase="text"] .editor-cursor,
.editor-stage[data-phase="shapes"] .editor-cursor,
.editor-stage[data-phase="crop"] .editor-cursor,
.editor-stage[data-phase="removebg"] .editor-cursor,
.editor-stage[data-phase="draw"] .editor-cursor { opacity: 1; }
.editor-stage[data-phase="elements"] .editor-cursor { transform: translate3d(48%, 40%, 0); }
.editor-stage[data-phase="images"] .editor-cursor { transform: translate3d(50%, 42%, 0); }
.editor-stage[data-phase="text"] .editor-cursor { transform: translate3d(49%, 41%, 0); }
.editor-stage[data-phase="shapes"] .editor-cursor { transform: translate3d(50%, 43%, 0); }
.editor-stage[data-phase="crop"] .editor-cursor { transform: translate3d(56%, 38%, 0); }
.editor-stage[data-phase="removebg"] .editor-cursor { transform: translate3d(49%, 42%, 0); }
.editor-stage[data-phase="draw"] .editor-cursor { transform: translate3d(54%, 44%, 0); }
.editor-badge {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 7;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(28, 35, 61, 0.1);
}

.track-home {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto 48px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--gray-50);
  border: 1px solid #e8edf5;
}
.track-home form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.track-home label { font-weight: 700; font-size: 14px; }
.track-home div { display: flex; gap: 8px; flex: 1; justify-content: flex-end; }
.track-home input {
  flex: 1;
  max-width: 280px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

/* CTA + Footer */
.cta-band {
  background: var(--navy);
  color: var(--ice);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px min(120px, 8vw);
}
.cta-band h2 { font-size: 32px; font-weight: 700; margin-bottom: 6px; }
.cta-band p { font-size: 18px; opacity: 0.9; }
.cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.footer {
  background: var(--gray-40);
  padding: 56px min(120px, 8vw) 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer h3 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer a, .footer p { font-size: 14px; display: block; margin-bottom: 12px; color: #111; }
.footer .brand-col h3 { font-size: 24px; text-transform: uppercase; }
.footer .muted { color: #444; }

@media (prefers-reduced-motion: reduce) {
  .hero-track { animation: none; }
  .caret { animation: none; }
  .role-blob { animation: none !important; }
  .role-card {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
  .editor-layer,
  .layer-photo,
  .layer-sticker,
  .bg-checker,
  .text-layer,
  .shape-layer,
  .layer-box,
  .crop-frame,
  .draw-layer,
  .editor-cursor,
  .editor-panel-view,
  .editor-progress i {
    transition: none !important;
    animation: none !important;
  }
  .draw-layer path { stroke-dashoffset: 0; animation: none !important; }
  .editor-stage[data-phase="removebg"] .bg-checker,
  .editor-stage[data-phase="removebg"] .layer-sticker { opacity: 1; }
  .editor-stage[data-phase="removebg"] .layer-photo { opacity: 0; }
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 48px));
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 1100px) {
  .product-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-copy { padding: 48px 32px; }
}
@media (max-width: 860px) {
  .container { width: calc(100% - 32px); }
  .nav-links, .nav-actions .btn-primary span { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px;
    border-bottom: 1px solid var(--gray-60);
  }
  .menu-toggle { display: flex; }
  .hero-title .grad, .hero-title .accent { font-size: 32px; line-height: 40px; }
  .hero-visual { min-height: 420px; margin-top: 28px; }
  .hero-slide { flex-basis: min(300px, 78vw); border-radius: 18px; }
  .hero-slide.is-center { flex-basis: min(340px, 84vw); }
  .ai-stage { min-height: 520px; }
  .ai-stage-bg { inset: 20px; }
  .ai-prompt-bubble { top: 40px; right: 36px; }
  .ai-card-sm { left: 10%; top: 26%; width: 96px; height: 96px; }
  .ai-card-lg { left: 14%; top: 46%; width: 190px; height: 128px; }
  .ai-card-md { left: 52%; top: 58%; width: 120px; height: 120px; }
  .ai-mockup-panel { right: 24px; bottom: 24px; }
  .ai-copy { padding: 40px 24px 56px; }
  .role-grid, .role-grid-3, .ai-split, .cta-band {
    grid-template-columns: 1fr;
  }
  .roles { padding: 48px 16px; }
  .product-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-stage {
    height: auto;
    width: calc(100% - 32px);
    overflow: visible;
  }
  .editor-body {
    grid-template-columns: 1fr;
    flex: none;
    min-height: unset;
  }
  .editor-rail {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #e8edf5;
  }
  .editor-rail button { min-width: 64px; min-height: 52px; }
  .editor-panel {
    min-height: 148px;
    border-right: 0;
    border-bottom: 1px solid #e8edf5;
  }
  .editor-canvas { height: 280px; }
  .track-home { width: calc(100% - 32px); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 24px; }
  .products { padding: 48px 16px; }
}
