/* ================================================================= */
/*  UX / UI DESIGN PAGE                                                */
/* ================================================================= */

.ux-highlight--purple { color: var(--pepla-purple); }
.ux-highlight--blue   { color: var(--pepla-blue); }
.ux-highlight--green  { color: var(--pepla-green); }


/* ── Hero ──────────────────────────────────────────────────────────── */
.ux-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.ux-hero.animate-in { opacity: 1; transform: translateY(0); }

.ux-hero__title { font-size: 2rem; font-weight: 700; color: #222; margin-bottom: 12px; }
.ux-hero__subtitle { font-size: 1.1rem; font-weight: 600; color: var(--pepla-purple); text-transform: uppercase; margin-bottom: 20px; }
.ux-hero__content p { font-size: 1rem; line-height: 1.8; color: #444; margin-bottom: 16px; }
.ux-hero__icon { width: 220px; height: 220px; }

/* Hero animations */
.ux-block1 { animation: uxFade 3s ease infinite; }
.ux-block2 { animation: uxFade 3s ease 0.3s infinite; }
.ux-block3 { animation: uxFade 3s ease 0.6s infinite; }
.ux-block4 { animation: uxFade 3s ease 0.9s infinite; }
.ux-dblock1 { animation: uxFade 3s ease 0.2s infinite; }
.ux-dblock2 { animation: uxFade 3s ease 0.5s infinite; }
.ux-dblock3 { animation: uxFade 3s ease 0.8s infinite; }
.ux-cursor { animation: cursorMove 3s ease infinite; }
.ux-swatch1 { animation: swatchPop 2.5s ease infinite; }
.ux-swatch2 { animation: swatchPop 2.5s ease 0.3s infinite; }
.ux-swatch3 { animation: swatchPop 2.5s ease 0.6s infinite; }

@keyframes uxFade { 0%,100% { opacity: 0.08; } 50% { opacity: 0.25; } }
@keyframes cursorMove { 0%,100% { transform: translate(0,0); } 50% { transform: translate(4px, -4px); } }
@keyframes swatchPop { 0%,100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.15); } }

/* ── UX vs UI Explainer ────────────────────────────────────────────── */
.ux-explainer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.ux-explainer.animate-in { opacity: 1; transform: translateY(0); }

.ux-explainer__heading { font-size: 2rem; font-weight: 700; color: #222; margin-bottom: 40px; }

.ux-explainer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.ux-explain-card {
  border-radius: 16px;
  padding: 36px;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ux-explain-card.animate-in { opacity: 1; transform: translateY(0); }
.ux-explain-card:nth-child(2) { transition-delay: 0.15s; }

.ux-explain-card--purple { background: var(--pepla-purple); }
.ux-explain-card--blue { background: var(--pepla-blue); }

.ux-explain-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.ux-explain-card p { font-size: 0.95rem; line-height: 1.7; opacity: 0.95; margin-bottom: 16px; }
.ux-explain-card ul { list-style: none; padding: 0; }
.ux-explain-card li { padding: 6px 0; font-size: 0.9rem; opacity: 0.9; }
.ux-explain-card li::before { content: ''; display: inline-block; width: 8px; height: 8px; background: rgba(255,255,255,0.6); border-radius: 50%; margin-right: 10px; }

/* ── Design Process ────────────────────────────────────────────────── */
.ux-process {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.ux-process.animate-in { opacity: 1; transform: translateY(0); }

.ux-process__heading { font-size: 2rem; font-weight: 700; color: #222; margin-bottom: 40px; }

.ux-process__steps { display: flex; flex-direction: column; gap: 0; }

.ux-step {
  display: flex;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ux-step.animate-in { opacity: 1; transform: translateX(0); }
.ux-step:last-child { border-bottom: none; }

.ux-step__icon { flex-shrink: 0; width: 80px; height: 80px; }
.ux-step-icon { width: 100%; height: 100%; }

.ux-step__content h3 { font-size: 1.2rem; font-weight: 700; color: #222; margin-bottom: 10px; }
.ux-step__content p { font-size: 0.95rem; line-height: 1.7; color: #555; }

/* Step icon animations */
.ux-wf-block1 { animation: wfAppear 3s ease infinite; }
.ux-wf-block2 { animation: wfAppear 3s ease 0.3s infinite; }
.ux-wf-block3 { animation: wfAppear 3s ease 0.6s infinite; }
.ux-wf-line1 { animation: wfAppear 3s ease 0.9s infinite; }
.ux-wf-line2 { animation: wfAppear 3s ease 1.2s infinite; }

@keyframes wfAppear { 0%,100% { opacity: 0.2; } 50% { opacity: 0.8; } }

.ux-mk-block1 { animation: mkFade 2.5s ease infinite; }
.ux-mk-block2 { animation: mkFade 2.5s ease 0.2s infinite; }
.ux-mk-block3 { animation: mkFade 2.5s ease 0.4s infinite; }
.ux-mk-btn { animation: mkFade 2.5s ease 0.6s infinite; }

@keyframes mkFade { 0%,100% { opacity: 0.1; } 50% { opacity: 0.35; } }

.ux-fig-tl { animation: figPop 3s ease infinite; }
.ux-fig-tr { animation: figPop 3s ease 0.2s infinite; }
.ux-fig-ml { animation: figPop 3s ease 0.4s infinite; }
.ux-fig-mr { animation: figPop 3s ease 0.6s infinite; }
.ux-fig-bl { animation: figPop 3s ease 0.8s infinite; }

@keyframes figPop { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ── Why It Matters ────────────────────────────────────────────────── */
.ux-why {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.ux-why.animate-in { opacity: 1; transform: translateY(0); }

.ux-why__heading { font-size: 2rem; font-weight: 700; color: #222; margin-bottom: 40px; }

.ux-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.ux-why-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ux-why-card.animate-in { opacity: 1; transform: translateY(0); }
.ux-why-card:nth-child(1) { transition-delay: 0s; }
.ux-why-card:nth-child(2) { transition-delay: 0.1s; }
.ux-why-card:nth-child(3) { transition-delay: 0.2s; }
.ux-why-card:nth-child(4) { transition-delay: 0.3s; }

.ux-why-card__stat { font-size: 2.2rem; font-weight: 700; display: block; margin-bottom: 8px; }
.ux-why-card p { font-size: 0.9rem; line-height: 1.5; color: #555; }

/* ── How Pepla Helps ───────────────────────────────────────────────── */
.ux-help {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.ux-help.animate-in { opacity: 1; transform: translateY(0); }

.ux-help__heading { font-size: 2rem; font-weight: 700; color: #222; margin-bottom: 40px; }

.ux-help__layout { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: start; }

.ux-help__text p { font-size: 1.05rem; line-height: 1.8; color: #444; margin-bottom: 20px; }

.ux-help__deliverables {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid var(--pepla-purple);
  min-width: 280px;
}

.ux-help__deliverables h4 { font-size: 1.1rem; font-weight: 700; color: #222; margin-bottom: 16px; }
.ux-help__deliverables ul { list-style: none; padding: 0; }
.ux-help__deliverables li { padding: 8px 0; font-size: 0.9rem; color: #555; border-bottom: 1px solid #eee; }
.ux-help__deliverables li:last-child { border-bottom: none; }
.ux-help__deliverables li::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--pepla-purple); border-radius: 50%; margin-right: 10px; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ux-hero { grid-template-columns: 1fr; }
  .ux-hero__visual { text-align: center; }
  .ux-explainer__grid { grid-template-columns: 1fr; }
  .ux-why__grid { grid-template-columns: repeat(2, 1fr); }
  .ux-help__layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .ux-hero, .ux-explainer, .ux-process, .ux-why, .ux-help { padding: 50px 20px; }
  .ux-why__grid { grid-template-columns: 1fr; }
  .ux-step { flex-direction: column; gap: 12px; }
  .ux-hero__title { font-size: 1.5rem; }
}
