/* Umoji Studio Asset Sync: 2026-09-12-r1 */
/**
 * ==============================================================================
 * UMOJI STUDIO — WHY ANIMATION (KENAPA BUTUH VIDEO ANIMASI) BENTO 3+2 LAYOUT
 * ==============================================================================
 * Faithful recreation of the reference design:
 * - Top Row: 3 Equal Vertical Cards (Micro-UI on Top, Content on Bottom)
 * - Bottom Row: 2 Equal Wide Cards (Content on Left, Micro-UI on Right)
 * - Soft gray background, crisp white rounded cards (border-radius: 24px)
 * - Soft drop-shadows and micro-UI elements (mockup cards, phone frames, charts)
 */

.why-anim-section {
  position: relative;
  width: 100%;
  padding: var(--section-padding-y, 6rem) 0;
  background-color: #ffffff;
  scroll-margin-top: 80px;
}

.why-anim__container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -----------------------------------------------------------------------------
 * Section Header (Standard Umoji Studio Typography & Theme)
 * ----------------------------------------------------------------------------- */
.why-anim__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.why-anim__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background-color: var(--brand-blue-subtle, rgba(18, 110, 245, 0.08));
  border: 1px solid rgba(18, 110, 245, 0.15);
  color: var(--brand-blue, #126EF5);
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.why-anim__title {
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: clamp(28px, 3.2vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--text-main, #0f172a);
  max-width: 620px;
  margin: 0 auto 14px;
}

.why-anim__title-highlight {
  color: var(--brand-blue, #126EF5);
}

.why-anim__subtitle {
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.65;
  color: #05060f;
  opacity: 0.6;
  margin: 0 auto;
  max-width: 640px;
}

/* -----------------------------------------------------------------------------
 * Top Bento Grid (3 Vertical Cards)
 * ----------------------------------------------------------------------------- */
.why-anim__grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.why-anim__card {
  background-color: #fafafa;
  border: 1px solid #ededed;
  border-radius: 24px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  overflow: hidden;
}

.why-anim__card:hover {
  transform: translateY(-4px);
  border-color: #ededed;
}

.why-anim__card--vertical {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
}

/* Micro-UI Preview Box (Upper Area) */
.why-anim__mockup-wrap {
  width: 100%;
  height: 200px;
  background-color: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #f1f5f9;
}

.mockup-preview-box {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Body (Lower Area) */
.why-anim__card-body {
  display: flex;
  flex-direction: column;
}

.why-anim__card-title {
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 18.5px !important;
  font-weight: 700 !important;
  line-height: 1.35;
  color: var(--text-main, #0f172a);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.why-anim__card-desc {
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.65;
  color: var(--text-body, #334155);
  margin: 0;
}

/* -----------------------------------------------------------------------------
 * Mockup 1: Floating Conversion & ROI Badges
 * ----------------------------------------------------------------------------- */
.mockup-conv {
  padding: 16px;
}

.mockup-center-logo {
  z-index: 2;
}

.mockup-play-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.why-anim__card:hover .mockup-play-circle {
  transform: scale(1.08);
}

.mockup-float-card {
  position: absolute;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #edf2f7;
  z-index: 3;
}

.mockup-float-card--left {
  top: 18px;
  left: 14px;
  transform: rotate(-3deg);
}

.mockup-float-card--right {
  bottom: 20px;
  right: 14px;
  transform: rotate(3deg);
}

.mockup-badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  padding: 2px 7px;
  margin-bottom: 4px;
}

.mockup-badge-dot--green {
  background: #ecfdf5;
  color: #059669;
}

.mockup-badge-dot--purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.mockup-float-val {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.mockup-float-sub {
  font-size: 10px;
  color: #94a3b8;
}

/* -----------------------------------------------------------------------------
 * Mockup 2: Phone with Floating Icons
 * ----------------------------------------------------------------------------- */
.mockup-phone-frame {
  width: 140px;
  height: 180px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mockup-phone-notch {
  width: 44px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 99px;
  margin-top: 10px;
}

.mockup-phone-badge-center {
  margin-top: 28px;
}

.mockup-icon-soft-bg {
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.mockup-orbit-icon {
  position: absolute;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-orbit-icon--tl {
  top: 24px;
  left: -20px;
}

.mockup-orbit-icon--tr {
  top: 14px;
  right: -20px;
}

.mockup-orbit-icon--bl {
  bottom: 40px;
  left: -22px;
}

.mockup-orbit-icon--br {
  bottom: 48px;
  right: -22px;
}

/* -----------------------------------------------------------------------------
 * Mockup 3: Stack of 3 Ad / CAC Metrics
 * ----------------------------------------------------------------------------- */
.mockup-list-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
}

.mockup-stack-row {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-stack-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-stack-icon--purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.mockup-stack-icon--blue {
  background: #eff6ff;
  color: #2563eb;
}

.mockup-stack-icon--green {
  background: #ecfdf5;
  color: #059669;
}

.mockup-stack-meta {
  flex-grow: 1;
  min-width: 0;
}

.mockup-stack-title {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-stack-sub {
  font-size: 9px;
  color: #94a3b8;
}

.mockup-stack-val {
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.mockup-stack-val--pos {
  color: #059669;
}

.mockup-stack-val--blue {
  color: #2563eb;
}

.mockup-stack-val--save {
  color: #059669;
}

/* -----------------------------------------------------------------------------
 * Bottom Bento Grid (2 Wide Horizontal Cards)
 * ----------------------------------------------------------------------------- */
.why-anim__grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-anim__card--wide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  padding: 36px 32px;
  gap: 24px;
  min-height: 260px;
}

.why-anim__wide-content {
  display: flex;
  flex-direction: column;
}

.why-anim__wide-visual {
  height: 100%;
  min-height: 180px;
  background-color: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

/* Card 4: Document / Modular Sheet */
.mockup-wide-phone {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mockup-sheet-card {
  width: 90%;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 16px;
}

.mockup-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mockup-sheet-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #eff6ff;
  color: #2563eb;
  padding: 3px 8px;
  border-radius: 6px;
}

.mockup-sheet-label {
  font-size: 10px;
  color: #94a3b8;
}

.mockup-sheet-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.mockup-sheet-line {
  height: 6px;
  background: #f1f5f9;
  border-radius: 4px;
  width: 100%;
}

.mockup-sheet-line--short {
  width: 65%;
}

.mockup-sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.mockup-sheet-price {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.mockup-sheet-check {
  width: 20px;
  height: 20px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* Card 5: Omnichannel Bar Chart */
.mockup-wide-chart-card {
  width: 88%;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 16px;
}

.mockup-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mockup-chart-title {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.mockup-chart-val {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.mockup-bars-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 70px;
  gap: 8px;
  padding-top: 8px;
}

.mockup-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}

.mockup-bar {
  width: 100%;
  background: linear-gradient(180deg, #126EF5 0%, #60a5fa 100%);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  transition: height 0.4s ease;
}

.mockup-bar-col span {
  font-size: 8px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
}

/* -----------------------------------------------------------------------------
 * Responsive Breakpoints (Mobile & Tablet Precision Tuning)
 * ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .why-anim-section {
    padding: 60px 0;
  }

  .why-anim__container {
    padding: 0 20px;
  }

  .why-anim__grid-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .why-anim__grid-top .why-anim__card:last-child {
    grid-column: span 2;
  }

  .why-anim__grid-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .why-anim__card--wide {
    padding: 28px 24px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .why-anim-section {
    padding: 48px 0;
  }

  .why-anim__container {
    padding: 0 16px;
  }

  .why-anim__header {
    margin-bottom: 32px;
  }

  .why-anim__title {
    font-size: clamp(23px, 6.5vw, 30px) !important;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .why-anim__subtitle {
    font-size: 13.5px !important;
    line-height: 1.6;
    padding: 0 4px;
  }

  .why-anim__grid-top,
  .why-anim__grid-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-anim__grid-top .why-anim__card:last-child {
    grid-column: auto;
  }

  .why-anim__card {
    border-radius: 18px;
  }

  .why-anim__card--vertical {
    padding: 16px 16px 20px;
  }

  .why-anim__card--wide {
    display: flex;
    flex-direction: column;
    padding: 16px 16px 20px;
    gap: 16px;
    min-height: auto;
  }

  .why-anim__card-title {
    font-size: 17px !important;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .why-anim__card-desc {
    font-size: 13.5px !important;
    line-height: 1.6;
  }

  /* Universal visual preview on mobile: always on top */
  .why-anim__mockup-wrap {
    height: 165px;
    margin-bottom: 16px;
    border-radius: 14px;
  }

  .why-anim__wide-visual {
    order: -1;
    width: 100%;
    height: 165px;
    min-height: 165px;
    border-radius: 14px;
    margin-bottom: 0;
  }

  /* Card 1 Mobile adjustments */
  .mockup-float-card {
    padding: 8px 10px;
    border-radius: 10px;
  }

  .mockup-float-card--left {
    top: 12px;
    left: 8px;
  }

  .mockup-float-card--right {
    bottom: 12px;
    right: 8px;
  }

  .mockup-float-val {
    font-size: 13px;
  }

  .mockup-float-sub {
    font-size: 9px;
  }

  .mockup-play-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  /* Card 2 Mobile adjustments */
  .mockup-phone-frame {
    width: 116px;
    height: 150px;
    border-radius: 20px 20px 0 0;
  }

  .mockup-icon-soft-bg {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .mockup-orbit-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .mockup-orbit-icon--tl { top: 16px; left: -14px; }
  .mockup-orbit-icon--tr { top: 10px; right: -14px; }
  .mockup-orbit-icon--bl { bottom: 28px; left: -14px; }
  .mockup-orbit-icon--br { bottom: 34px; right: -14px; }

  /* Card 3 Mobile adjustments */
  .mockup-list-stack {
    padding: 8px 10px;
    gap: 6px;
  }

  .mockup-stack-row {
    padding: 6px 10px;
    gap: 8px;
    border-radius: 10px;
  }

  .mockup-stack-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  .mockup-stack-title {
    font-size: 10.5px;
  }

  .mockup-stack-sub {
    font-size: 8.5px;
  }

  .mockup-stack-val {
    font-size: 10px;
  }

  /* Card 4 Mobile adjustments */
  .mockup-wide-phone {
    padding: 10px;
  }

  .mockup-sheet-card {
    width: 100%;
    max-width: 310px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .mockup-sheet-header {
    margin-bottom: 10px;
  }

  .mockup-sheet-lines {
    gap: 6px;
    margin-bottom: 12px;
  }

  .mockup-sheet-footer {
    padding-top: 10px;
  }

  .mockup-sheet-price {
    font-size: 10px;
  }

  /* Card 5 Mobile adjustments */
  .mockup-wide-chart-card {
    width: 100%;
    max-width: 310px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .mockup-chart-header {
    margin-bottom: 12px;
  }

  .mockup-bars-wrap {
    height: 60px;
    gap: 5px;
  }

  .mockup-bar-col span {
    font-size: 7.5px;
  }
}

@media (max-width: 380px) {
  .why-anim__card--vertical,
  .why-anim__card--wide {
    padding: 14px 12px 16px;
  }

  .why-anim__mockup-wrap,
  .why-anim__wide-visual {
    height: 155px;
  }

  .mockup-float-card {
    transform: scale(0.92);
  }
}
