:root {
  --ink: #16232f;
  --navy: #122036;
  --navy-2: #1c3350;
  --paper: #f4f6f7;
  --paper-2: #ffffff;
  --maroon: #8a1c2f;
  --maroon-dark: #6e1524;
  --gold: #b3924b;
  --slate: #5c6a76;
  --hairline: #e2e6e8;
  --radius: 14px;
}

* {
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Source Serif 4', serif;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

a {
  text-decoration: none;
}

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== NAVBAR ===== */
.navbar-landing {
  background: rgba(244, 246, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 0;
}

.navbar-landing .brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.navbar-landing .brand-text {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

.navbar-landing .brand-text small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.btn-nav-login {
  background: var(--maroon);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.86rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-nav-login:hover {
  color: #fff;
  background: var(--maroon-dark);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero-section {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  background-size: 22px 22px, 100% 100%;
  color: #fff;
  padding: 132px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  padding: 7px 16px 7px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: #dfe6ec;
}

.hero-badge .seal-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge .seal-dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-eyebrow-ref {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #8ba0b3;
  margin-bottom: 14px;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 640px;
}

.hero-section p.lead-text {
  font-size: 1.03rem;
  line-height: 1.7;
  color: #c3ccd4;
  max-width: 560px;
  margin: 0 0 36px;
}

.btn-hero-primary {
  background: #fff;
  color: var(--navy);
  border: none;
  border-radius: 11px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
  color: var(--navy);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 1.4px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* --- hero folder stack illustration --- */
.hero-visual {
  position: relative;
  height: 340px;
}

.folder-tab {
  position: absolute;
  width: 78%;
  max-width: 340px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 20px;
  opacity: 0;
  transform: translateY(18px);
  animation: tabIn 0.7s ease forwards;
}

.folder-tab .tab-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 6px;
}

.folder-tab .tab-label {
  font-size: 0.86rem;
  color: #dfe6ec;
}

.folder-tab.t1 {
  top: 0;
  left: 4%;
  rotate: -3deg;
  animation-delay: 0.05s;
}

.folder-tab.t2 {
  top: 78px;
  left: 14%;
  rotate: 2deg;
  animation-delay: 0.2s;
  background: rgba(255, 255, 255, 0.08);
}

.folder-tab.t3 {
  top: 158px;
  left: 2%;
  rotate: -1.5deg;
  animation-delay: 0.35s;
  background: rgba(255, 255, 255, 0.11);
}

.folder-tab.t4 {
  top: 238px;
  left: 16%;
  rotate: 3deg;
  animation-delay: 0.5s;
  background: rgba(255, 255, 255, 0.14);
}

@keyframes tabIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTION UMUM ===== */
.section-pad {
  padding: 96px 0;
}

.section-eyebrow {
  color: var(--maroon);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--slate);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

/* ===== TENTANG ===== */
.about-card {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 34px 30px;
  height: 100%;
  border: 1px solid var(--hairline);
  transition: border-color 0.2s ease;
}

.about-card:hover {
  border-color: var(--gold);
}

.about-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(138, 28, 47, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--maroon);
}

.about-card h6 {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.about-card p {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* ===== FITUR (index-card style) ===== */
.fitur-card {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  height: 100%;
  background: var(--paper-2);
  transition: all 0.25s ease;
}

.fitur-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 22px;
  width: 34px;
  height: 10px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: none;
  border-radius: 0 0 6px 6px;
}

.fitur-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(18, 32, 54, 0.08);
  border-color: transparent;
}

.fitur-card .fitur-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid rgba(179, 146, 75, 0.35);
  border-radius: 5px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 16px;
}

.fitur-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.fitur-icon svg {
  width: 20px;
  height: 20px;
}

.fitur-card h6 {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.fitur-card p {
  color: var(--slate);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== REGULASI ===== */
.regulasi-section {
  background: var(--navy);
  color: #fff;
}

.regulasi-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 30px 28px;
  height: 100%;
}

.regulasi-card .badge-reg {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(179, 146, 75, 0.14);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 6px 13px;
  border-radius: 20px;
  margin-bottom: 16px;
  display: inline-block;
}

.regulasi-card h6 {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.regulasi-card p {
  opacity: 0.75;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 64px 44px;
  text-align: center;
  margin: 0 auto;
}

.cta-seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.6px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.cta-seal svg {
  width: 24px;
  height: 24px;
  stroke: var(--maroon);
}

.cta-section h3 {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--slate);
  margin-bottom: 30px;
}

.cta-section .btn-hero-primary {
  background: var(--maroon);
  color: #fff;
}

.cta-section .btn-hero-primary:hover {
  background: var(--maroon-dark);
  color: #fff;
}

/* ===== FOOTER ===== */
.footer-landing {
  background: var(--paper-2);
  padding: 30px 0;
  border-top: 1px solid var(--hairline);
}

.footer-landing p {
  color: var(--slate);
  font-size: 0.82rem;
  margin: 0;
}

.footer-landing .footer-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #9aa7b1;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero-visual {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 104px 0 80px;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2rem;
    max-width: 100%;
  }

  .hero-section p.lead-text {
    max-width: 100%;
  }

  .hero-section .d-flex {
    justify-content: center;
  }

  .section-pad {
    padding: 64px 0;
  }

  .cta-section {
    padding: 46px 26px;
    border-radius: 16px;
  }
}