@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600;700&family=Marcellus&display=swap");

:root {
  --bg-deep: #0b1220;
  --bg-mid: #11263a;
  --bg-glow: #1e3f52;
  --accent-green: #7ad89a;
  --accent-blue: #6ab3ff;
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-border: rgba(255, 255, 255, 0.28);
  --text-light: #e9f3ff;
  --text-muted: #c6d7e6;
  --shadow-soft: 0 18px 38px rgba(2, 10, 20, 0.55);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-light);
  background: url("assets/background1.png") center/cover no-repeat fixed;
  position: relative;
  overflow-x: hidden;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 1s ease;
}

.intro-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.background-glow {
  display: none;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6px 18px;
  border-bottom: 1px solid rgba(122, 216, 154, 0.4);
}

.brand-left,
.brand-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.brand-logo--kanan {
  height: 90px;
}

.brand-logo--signa {
  height: 72px;
}

.powered-by {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero {
  text-align: center;
  padding: 36px 16px 22px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: clamp(28px, 3.3vw, 44px);
  margin: 0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.accent {
  color: var(--accent-green);
}

.hero-subline {
  margin-top: 10px;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 1px;
  color: var(--text-muted);
  position: relative;
  display: inline-block;
  padding: 0 36px;
}

.hero-subline::before,
.hero-subline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-subline::before {
  left: 0;
}

.hero-subline::after {
  right: 0;
}

.hero-tagline {
  margin: 14px auto 0;
  max-width: 720px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.carousel {
  margin: 24px auto 28px;
  --carousel-items: 2;
  --carousel-gap: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.carousel-viewport {
  width: min(1040px, 100%);
  overflow: hidden;
  padding: 14px 10px;
  margin: 0 auto;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (var(--carousel-gap) * (var(--carousel-items) - 1))) / var(--carousel-items)
  );
  gap: var(--carousel-gap);
  transition: transform 0.5s ease;
  will-change: transform;
  width: 100%;
}

.carousel-track .card {
  width: 100%;
}

.carousel-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 16, 26, 0.65);
  color: #ff8a3d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-button svg {
  width: 20px;
  height: 20px;
}

.carousel-button.next svg {
  transform: rotate(180deg);
}

.carousel-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.4);
}

.carousel-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.carousel-button:active {
  transform: translateY(0);
}

.card {
  background: var(--card-bg);
  color: #223041;
  border-radius: 12px;
  padding: 22px 24px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease both;
  text-align: center;
}

.card-green {
  animation-delay: 0.1s;
}

.card-blue {
  animation-delay: 0.2s;
}

.card-green h2 {
  color: #2f8c55;
}

.card-green ul li::before {
  background: #2f8c55;
}

.card-blue h2 {
  color: #2a5ea8;
}

.card-blue ul li::before {
  background: #2a5ea8;
}

.card-teal h2 {
  color: #2a8a8a;
}

.card-teal ul li::before {
  background: #2a8a8a;
}

.card-visual {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.card-visual svg {
  width: 44px;
  height: 44px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #1f2d3d;
}

.card ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: #4b5d70;
  font-size: 14px;
  line-height: 1.6;
}

.card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-actions {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.action-button.green {
  background: linear-gradient(135deg, #3a8d5c, #2c5f40);
}

.action-button.blue {
  background: linear-gradient(135deg, #2f6db8, #234a86);
}

.action-button.teal {
  background: linear-gradient(135deg, #2f8f8f, #1f6262);
}

.action-button.is-disabled,
.action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

.action-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.ribbon {
  margin: 22px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(900px, 100%);
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(20, 42, 66, 0.85), rgba(12, 26, 44, 0.85));
  border: 1px solid rgba(90, 150, 200, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.ribbon-logo {
  height: 84px;
  width: auto;
}

.ribbon-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ribbon-title {
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 2px;
}

.ribbon-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer a {
  color: #9bd4ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 780px) {
  .topbar {
    flex-direction: column;
    gap: 12px;
  }

  .brand-right {
    justify-content: center;
  }

  .carousel {
    --carousel-items: 1;
    --carousel-gap: 18px;
  }

  .carousel {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .carousel-button {
    width: 38px;
    height: 38px;
  }

  .ribbon {
    flex-direction: column;
    text-align: center;
  }
}
