
:root {
  --navy: #062e5b;
  --navy-dark: #041f3f;
  --blue: #139ee8;
  --blue-soft: #dff2ff;
  --text: #18344d;
  --muted: #62788d;
  --surface: rgba(255, 255, 255, 0.91);
  --line: rgba(8, 68, 112, 0.13);
  --shadow: 0 22px 60px rgba(3, 43, 79, 0.15);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(115deg, rgba(248, 252, 255, 0.9), rgba(232, 244, 255, 0.72)),
    url("../img/maintenance-background.svg") center top / cover fixed no-repeat;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 34px 0 26px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: white;
  background: linear-gradient(145deg, var(--blue), var(--navy));
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(10, 115, 179, 0.28);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-copy strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(7, 67, 110, 0.08);
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #f59d0b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(245, 157, 11, 0.13);
  animation: pulse 1.9s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.75); opacity: 0.65; }
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(270px, 0.84fr);
  gap: 34px;
  align-items: center;
  min-height: 440px;
  padding: clamp(34px, 5vw, 66px);
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 255, 0.83));
  border: 1px solid rgba(17, 117, 178, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 240px;
  height: 240px;
  right: -80px;
  top: -90px;
  background: rgba(19, 158, 232, 0.12);
}

.hero::after {
  width: 160px;
  height: 160px;
  left: 47%;
  bottom: -100px;
  background: rgba(6, 46, 91, 0.07);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: currentColor;
  border-radius: 99px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.15rem, 5vw, 4.65rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-description {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 13px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0875bd);
  box-shadow: 0 12px 25px rgba(10, 135, 204, 0.25);
}

.btn-secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.maintenance-card {
  position: relative;
  width: min(330px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.98), rgba(222, 243, 255, 0.88)),
    linear-gradient(135deg, #fff, #e8f6ff);
  border: 1px solid rgba(15, 134, 200, 0.17);
  border-radius: 40px;
  box-shadow: 0 30px 70px rgba(7, 62, 101, 0.16);
  transform: rotate(3deg);
}

.maintenance-card svg {
  width: 68%;
  height: 68%;
  transform: rotate(-3deg);
}

.maintenance-note {
  position: absolute;
  right: -20px;
  bottom: 24px;
  padding: 11px 15px;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 850;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(7, 62, 101, 0.13);
}

.journal-section {
  margin-top: 34px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.journal-table-wrap {
  overflow-x: auto;
  padding: 3px;
}

.journal-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 18px 0;
}

.journal-table td {
  vertical-align: top;
}

.journal-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 35px rgba(6, 48, 84, 0.09);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.journal-card:hover {
  transform: translateY(-7px);
  border-color: rgba(19, 158, 232, 0.36);
  box-shadow: 0 24px 55px rgba(5, 54, 94, 0.16);
}

.cover-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 884 / 1250;
  background: #edf6fc;
}

.cover-link::after {
  content: "Buka Website";
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 15px);
  padding: 10px 15px;
  color: white;
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
  background: rgba(4, 31, 63, 0.88);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
}

.cover-link:hover::after,
.cover-link:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cover-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.cover-link:hover img {
  transform: scale(1.025);
}

.journal-meta {
  padding: 20px 20px 22px;
}

.journal-code {
  display: inline-block;
  margin-bottom: 9px;
  padding: 5px 9px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: var(--blue-soft);
  border-radius: 8px;
}

.journal-meta h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.38;
}

.journal-meta p {
  margin: 11px 0 17px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.journal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.journal-link svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.journal-link:hover svg {
  transform: translateX(4px);
}

.contact-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
  padding: 24px 28px;
  color: white;
  background: linear-gradient(125deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(3, 35, 67, 0.23);
}

.contact-bar h2 {
  margin: 0 0 7px;
  font-size: 1.15rem;
}

.contact-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: white;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 11px;
}

.site-footer {
  padding: 24px 8px 4px;
  color: #667d90;
  font-size: 0.84rem;
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(19, 158, 232, 0.45);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 225px;
  }

  .maintenance-card {
    width: min(270px, 80%);
  }

  .journal-table,
  .journal-table tbody,
  .journal-table tr,
  .journal-table td {
    display: block;
    width: 100%;
  }

  .journal-table {
    border-spacing: 0;
  }

  .journal-table td + td {
    margin-top: 22px;
  }

  .journal-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.7fr) 1fr;
  }

  .cover-link {
    height: 100%;
    min-height: 360px;
  }

  .journal-meta {
    align-self: center;
    padding: 28px;
  }

  .contact-bar {
    grid-template-columns: 1fr;
  }

  .contact-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-copy span,
  .status-pill span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 30px 24px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 13vw, 3.8rem);
  }

  .hero-description {
    line-height: 1.65;
  }

  .maintenance-note {
    right: -6px;
  }

  .journal-section {
    padding: 25px 18px;
    border-radius: 22px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .journal-card {
    display: block;
  }

  .cover-link {
    min-height: auto;
  }

  .journal-meta {
    padding: 20px;
  }

  .contact-bar {
    padding: 23px 20px;
  }

  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }
}

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