:root {
  color-scheme: light;
  --ink: #211b38;
  --muted: #71688f;
  --green: #5b3cc4;
  --green-light: #7a5ae0;
  --cream: #f6f2ff;
  --gold: #d7b7ff;
  --line: rgba(91, 60, 196, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 15%, rgba(215, 183, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(122, 90, 224, 0.12), transparent 24rem),
    linear-gradient(135deg, #fcfaff 0%, #f3edff 100%);
  font-family: "DM Sans", Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.36;
  pointer-events: none;
  background-image: linear-gradient(rgba(91, 60, 196, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 60, 196, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-line {
  width: 4px;
  height: 52px;
  flex: 0 0 auto;
  background: #8c28b8;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 0.96;
}

.brand-copy strong {
  font-family: "Manrope", sans-serif;
  color: #8426ad;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.brand-copy span {
  margin-top: 5px;
  color: #009b45;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-emblem {
  width: 52px;
  height: 52px;
  margin-left: 1px;
  object-fit: contain;
}

.official-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.official-link svg,
.primary-button svg,
.panel-footer svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  flex: 1;
  display: grid;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
  padding: 72px 0 78px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: var(--green-light);
  background: rgba(122, 90, 224, 0.09);
  border: 1px solid rgba(122, 90, 224, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(215, 183, 255, 0.24);
}

h1 {
  margin: 26px 0 24px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(48px, 6.1vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--green-light);
}

.lead {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.primary-button {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--green);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(91, 60, 196, 0.24);
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  background: var(--green-light);
  box-shadow: 0 17px 34px rgba(91, 60, 196, 0.28);
  transform: translateY(-2px);
}

.secondary-button {
  padding: 10px 0;
  color: var(--green);
  border-bottom: 1px solid rgba(91, 60, 196, 0.28);
  font-size: 14px;
  font-weight: 700;
}

.service-panel {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(91, 60, 196, 0.26);
}

.service-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  padding-bottom: 0;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: pan-y;
  gap: 20px;
}

.carousel-item {
  flex: 0 0 75%;
  min-width: 0;
}

.carousel-item.is-peek .service-panel {
  opacity: 0.3;
  transition: opacity 420ms ease;
}

.carousel-item:not(.is-peek) .service-panel {
  transition: opacity 420ms ease;
  cursor: pointer;
}

.carousel-button {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(50, 34, 101, 0.16);
  cursor: pointer;
  transform: translateY(calc(-50% - 17px));
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.carousel-button:hover:not(:disabled) {
  color: var(--green-light);
  transform: translateY(calc(-50% - 17px)) scale(1.06);
}

.carousel-button:focus-visible {
  outline: 3px solid rgba(122, 90, 224, 0.3);
  outline-offset: 3px;
}

.carousel-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.carousel-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-previous {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.service-panel::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025), 0 0 0 110px rgba(255, 255, 255, 0.018);
}

.panel-glow {
  position: absolute;
  top: -90px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(215, 183, 255, 0.14);
  border-radius: 50%;
  filter: blur(70px);
}

.panel-top,
.panel-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e3d7ff;
  font-size: 12px;
  font-weight: 700;
}

.status i {
  width: 7px;
  height: 7px;
  background: #caa8ff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(202, 168, 255, 0.16);
}

.document-illustration {
  position: relative;
  z-index: 1;
  height: 340px;
  display: grid;
  place-items: center;
  perspective: 800px;
}

.service-panel--skripsi {
  background: linear-gradient(145deg, #5a35be, #2f7a78);
}

.service-panel--skripsi .panel-glow {
  background: rgba(123, 244, 220, 0.18);
}

.service-panel--skripsi .status {
  color: #d6fff6;
}

.service-panel--skripsi .status i {
  background: #7bf4dc;
  box-shadow: 0 0 0 4px rgba(123, 244, 220, 0.18);
}

.service-panel--skpi {
  background: linear-gradient(145deg, var(--green-light), var(--green));
}

.service-panel--skpi .panel-glow {
  background: rgba(122, 90, 224, 0.2);
}

.service-panel--skpi .status {
  color: #e3d7ff;
}

.service-panel--skpi .status i {
  background: #caa8ff;
  box-shadow: 0 0 0 4px rgba(202, 168, 255, 0.16);
}

.service-panel--skpi .upload-badge {
  background: linear-gradient(135deg, var(--green-light), var(--green));
}

.service-panel--skpi .upload-pill {
  color: var(--green);
  background: rgba(91, 60, 196, 0.12);
}

.skripsi-illustration {
  position: relative;
  z-index: 1;
  height: 340px;
  display: grid;
  place-items: center;
  perspective: 800px;
}

.upload-card {
  width: min(310px, 88%);
  padding: 18px;
  background: linear-gradient(160deg, #f9fffe, #eefcf9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 20px 26px 45px rgba(20, 74, 72, 0.28);
  transform: rotate(-5deg) rotateY(8deg);
}

.upload-card__top,
.upload-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upload-badge,
.upload-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upload-badge {
  min-width: 74px;
  height: 24px;
  color: #fff;
  background: linear-gradient(135deg, #5a35be, #2f7a78);
  font-size: 9px;
}

.upload-pill {
  min-width: 58px;
  height: 22px;
  color: #2f7a78;
  background: rgba(47, 122, 120, 0.12);
  font-size: 8px;
}

.upload-zone {
  margin-top: 18px;
  padding: 18px 16px;
  border: 2px dashed rgba(47, 122, 120, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.upload-zone__icon {
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(90, 53, 190, 0.18), rgba(47, 122, 120, 0.24));
  position: relative;
}

.upload-zone__icon::before,
.upload-zone__icon::after {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%);
  background: #2f7a78;
  border-radius: 999px;
}

.upload-zone__icon::before {
  top: 9px;
  width: 4px;
  height: 14px;
}

.upload-zone__icon::after {
  top: 17px;
  width: 14px;
  height: 4px;
}

.upload-zone__title,
.upload-zone__line,
.upload-list__item,
.upload-status__line {
  display: block;
  border-radius: 999px;
}

.upload-zone__title {
  width: 62%;
  height: 9px;
  margin: 0 auto 12px;
  background: #4b3b8f;
}

.upload-zone__line {
  width: 100%;
  height: 5px;
  margin-top: 8px;
  background: #d4ece8;
}

.upload-zone__line.short {
  width: 72%;
  margin: 0 auto;
}

.upload-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.upload-list__item {
  position: relative;
  height: 12px;
  background: rgba(66, 88, 136, 0.12);
  overflow: hidden;
}

.upload-list__item::before {
  position: absolute;
  inset: 2px;
  content: "";
  border-radius: 999px;
  background: rgba(47, 122, 120, 0.16);
}

.upload-list__item.done::before {
  width: calc(100% - 4px);
  background: linear-gradient(90deg, #2f7a78, #7bf4dc);
}

.upload-list__item.progress::before {
  width: 66%;
  background: linear-gradient(90deg, #5a35be, #71d4c8);
}

.upload-status {
  margin-top: 18px;
  gap: 12px;
}

.upload-status__dot {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2f7a78;
  box-shadow: 0 0 0 6px rgba(47, 122, 120, 0.12);
}

.upload-status__line {
  flex: 1;
  height: 6px;
  background: linear-gradient(90deg, rgba(90, 53, 190, 0.2), rgba(47, 122, 120, 0.5));
}

.service-panel--website {
  background: linear-gradient(145deg, #704bd2, #40228f);
}

.website-illustration {
  position: relative;
  z-index: 1;
  height: 340px;
  display: grid;
  place-items: center;
  perspective: 800px;
}

.browser-window {
  width: min(310px, 88%);
  overflow: hidden;
  background: #fcfbff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  box-shadow: 20px 26px 45px rgba(42, 24, 96, 0.3);
  transform: rotate(-3deg) rotateY(5deg);
}

.browser-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #eee9fb;
}

.browser-bar i {
  width: 7px;
  height: 7px;
  background: #bcaee2;
  border-radius: 50%;
}

.browser-bar span {
  height: 11px;
  flex: 1;
  margin-left: 6px;
  background: #fff;
  border-radius: 999px;
}

.browser-content {
  min-height: 205px;
  padding: 34px 28px;
  background: linear-gradient(140deg, #fff, #f3edff);
}

.browser-badge {
  display: block;
  width: fit-content;
  padding: 5px 8px;
  color: var(--green);
  background: #e9e0ff;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.browser-title,
.browser-copy,
.browser-button {
  display: block;
  border-radius: 999px;
}

.browser-title {
  width: 76%;
  height: 13px;
  margin-top: 22px;
  background: #765fc0;
}

.browser-copy {
  width: 100%;
  height: 5px;
  margin-top: 13px;
  background: #d8cfef;
}

.browser-copy.short {
  width: 65%;
  margin-top: 7px;
}

.browser-button {
  width: 68px;
  height: 22px;
  margin-top: 21px;
  background: var(--green);
}

.document-page {
  width: 205px;
  height: 267px;
  padding: 25px 23px;
  background: #fcfbff;
  border-radius: 6px;
  box-shadow: 20px 26px 45px rgba(53, 34, 111, 0.26);
  transform: rotate(4deg) rotateY(-5deg);
}

.document-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e3daf8;
}

.mini-logo {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 5px;
  font-size: 8px;
  font-weight: 800;
}

.mini-lines {
  flex: 1;
}

.mini-lines i,
.doc-line,
.doc-title {
  display: block;
  height: 3px;
  margin: 4px 0;
  background: #ddd4f5;
  border-radius: 10px;
}

.mini-lines i:first-child {
  width: 65%;
  background: #8f7bcf;
}

.mini-lines i:last-child {
  width: 48%;
}

.doc-title {
  width: 58%;
  height: 5px;
  margin: 29px auto 18px;
  background: #6b56b8;
}

.doc-line {
  width: 72%;
  margin: 9px 0;
}

.doc-line.long {
  width: 100%;
}

.doc-line.medium {
  width: 88%;
}

.doc-bottom {
  margin-top: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 11px;
}

.signature {
  width: 47px;
  height: 18px;
  border-bottom: 2px solid #b29ddb;
  transform: skew(-22deg) rotate(-8deg);
}

.qr-code {
  width: 42px;
  height: 42px;
  border: 5px dotted var(--green);
  background: repeating-conic-gradient(var(--green) 0 25%, transparent 0 50%) 0 / 8px 8px;
}

.panel-footer {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-footer div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.panel-footer strong {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
}

.panel-footer span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.panel-footer a {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--gold);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease;
}

.panel-footer a:hover {
  background: #dfc2ff;
  transform: translateX(3px);
}

footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8a80aa;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 56px 0 64px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .service-panel {
    width: min(100%, 500px);
  }

  .service-carousel {
    width: min(100%, 500px);
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 88px;
  }

  .official-link {
    display: none;
  }

  .brand {
    gap: 8px;
  }

  .brand-line {
    height: 44px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .brand-emblem {
    width: 44px;
    height: 44px;
  }

  .hero {
    gap: 42px;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(43px, 14vw, 60px);
  }

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

  .secondary-button {
    width: fit-content;
    margin: 4px auto 0;
  }

  .service-panel {
    min-height: 450px;
    padding: 22px;
    border-radius: 22px;
  }

  .carousel-viewport {
    border-radius: 22px;
  }

  .carousel-track {
    gap: 12px;
  }

  .carousel-item {
    flex: 0 0 80%;
  }

  .carousel-button {
    top: auto;
    bottom: -2px;
    width: 36px;
    height: 36px;
    transform: none;
  }

  .carousel-button:hover:not(:disabled) {
    transform: scale(1.04);
  }

  .carousel-previous {
    left: 2px;
  }

  .carousel-next {
    right: 2px;
  }

  .document-illustration {
    height: 300px;
  }

  .skripsi-illustration {
    height: 300px;
  }

  .website-illustration {
    height: 300px;
  }

  .document-page {
    transform: scale(0.88) rotate(4deg) rotateY(-5deg);
  }

  .upload-card {
    transform: scale(0.9) rotate(-5deg) rotateY(8deg);
  }

  footer {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
