* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0F2C59;
    --primary-light: #F0F4FA;
    --accent: #1D9E75;
    --accent-light: #E1F5EE;
    --ink: #111827;
    --ink-muted: #4B5563;
    --line: #E5E7EB;
    --surface: #FAFAF9;
    --white: #ffffff;
    --font: 'Plus Jakarta Sans', sans-serif;
    --mono: 'DM Mono', monospace;
}

body {
    font-family: var(--font);
    background: var(--surface);
    color: var(--ink);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* GLOBAL CONTAINER 900PX */
.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* NAVBAR - Fixed & Sticky */
nav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Regular nav links */
nav a {
    display: block;
    padding: 0 1rem;
    height: 56px;
    line-height: 56px;
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px; /* sit on header border */
}

nav a:hover { color:var(--blue-700); }

nav a.active,
nav a[aria-current="page"] {
    color: var(--color-brand);
    font-weight: 700;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

/* HERO SECTION */
.hero {
  text-align: left;
  padding: 56px 0 40px;
}

.status-alert {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 40px;
    margin-bottom: 24px;
    border: 1px solid #FCD34D;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #D97706;
  border-radius: 50%;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6); /* membesar */
    opacity: 0.6;          /* agak transparan */
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.2px;
    color: var(--primary);
    margin-bottom: 20px;
}

h1 em {
    color: var(--accent);
    font-style: normal;
}

.hero p {
    font-size: 1.15rem;
    color: var(--ink-muted);
    /* max-width: 720px; */
    margin: 0 auto;
    line-height: 1.6;
}

.hero > .container > p {
  text-align: left;
  margin: 0 0 28px;
}

/* MAIN CONTENT */
.main-content {
    padding-bottom: 60px;
    flex: 1;
}

section {
    margin-bottom: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 2.5rem;
    border-radius: 24px;
    transition: box-shadow 0.2s ease;
}

section:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

p {
    font-size: 1rem;
    color: var(--ink-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* CARD GRID 2 COLUMNS */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.card {
    padding: 1.75rem;
    border-radius: 18px;
    border: 1px solid var(--line);
}

.card.poll {
    background: #F8FAFC;
    border-left: 5px solid #3B82F6;
}

.card.vote {
    background: var(--accent-light);
    border-left: 5px solid var(--accent);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.55;
}

ul {
    margin-left: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--ink-muted);
}

li {
    margin-bottom: 0.6rem;
    line-height: 1.5;
    font-size: 0.98rem;
}

li strong {
    color: var(--primary);
}

/* FOOTER */
footer {
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 40px 0;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

footer p {
    margin-bottom: 16px;
    line-height: 1.6;
}

footer p:last-child {
    margin-bottom: 0;
}

.copyright-text {
    font-size: 0.8rem;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 16px;
}

.footer-about {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 30px;
}

.pse-info {
  display: block;
  font-size: 0.7rem;
  color: var(--color-muted, #6b7280);
  margin-top: 12px;
  line-height: 1.6;
}

.pse-info a {
  text-decoration: none;
  font-size: 0.7rem;
}

#sdt-footer-container {
  width: 100% !important;
  background: transparent !important;
  text-align: left !important;
  line-height: 1 !important;
  clear: both !important;
}

.sdt-text-link {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 9px !important;
  color: #999 !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
  display: inline-block !important;
  transition: color 0.2s ease-in-out !important;
  text-transform: none !important;
}

/* FOOTER GRID */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

/* FOOTER SOCIAL ROW */
.footer-social-row {
  text-align: left;
  margin-bottom: 24px;
}

.footer-social-row h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.footer-social-row ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 16px;
}

.footer-social-row ul li a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-social-row ul li a:hover {
  color: var(--accent);
}

/* Tablet */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .footer-about,
  .footer-product,
  .footer-links {
    width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-col ul li {
    margin-bottom: 10px;
  }

  .footer-social-row {
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .footer-social-row ul {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-social-row svg {
    width: 20px;
    height: 20px;
  }

  .copyright-text,
  #sdt-footer-container {
    text-align: left;
  }
}

/* Small Mobile */
@media (max-width: 480px) {

  .footer-grid {
    gap: 20px;
  }

  .footer-col h4 {
    font-size: 0.9rem;
  }

  .footer-col ul li a {
    font-size: 0.9rem;
  }

  .footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .footer-social-row ul {
    gap: 12px;
  }

  .copyright-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  #sdt-footer-container {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* HERO BUTTON */
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #fff;
    padding: 13px 26px; border-radius: 10px;
    font-family: var(--font); font-size: 0.95rem; font-weight: 700;
    text-decoration: none; border: none; cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: #0F6E56; }
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: var(--accent-light);
  color: var(--accent);

  padding: 13px 26px;
  border-radius: 10px;

  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;

  text-decoration: none;
  border: 1.5px solid rgba(18, 133, 105, 0.18);
  cursor: pointer;

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease;
}

.btn-secondary:hover {
  background: rgba(18, 133, 105, 0.12);
  border-color: var(--accent);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); color: var(--ink);
    padding: 13px 20px; border-radius: 10px;
    font-family: var(--font); font-size: 0.95rem; font-weight: 600;
    text-decoration: none; border: 1.5px solid var(--line); cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-light); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-trigger {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-family: var(--font); font-size: 0.92rem; font-weight: 600;
  color: var(--primary); text-align: left; gap: 12px;
}
.faq-chevron { flex-shrink: 0; transition: transform 0.2s; color: var(--ink-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.65; padding-bottom: 16px; display: none; margin: 0; }
.faq-item.open .faq-answer { display: block; }

/* =========================
   MOBILE NAVIGATION
========================= */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
}

.nav-menu {
  display: flex;
}

@media (max-width: 768px) {

  nav {
    height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);

    display: none;
    flex-direction: column;

    box-shadow: 0 10px 25px rgba(0,0,0,.05);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    width: 100%;
    height: auto;
    line-height: normal;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }
}

/* Pelindung global agar tidak ada elemen yang memaksa layar melebar ke kanan */
html, body {
  max-width: 100%;
  overflow-x: visible;
  position: relative;
}

/* Memastikan perhitungan padding tidak menambah total lebar elemen */
* {
  box-sizing: border-box;
}