/* ============================================================
   DNS PROGRESS — global styles
   ============================================================ */

:root {
  --navy: #0b1220;
  --navy-soft: #101b30;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --text: #0f172a;
  --text-muted: #51607a;
  --border: #e4e9f2;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 18, 32, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand .accent {
  color: var(--accent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover {
  color: var(--primary);
}
.nav a.active {
  color: var(--primary);
  font-weight: 600;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-switch a {
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--text-muted);
}
.lang-switch a.active {
  background: var(--navy);
  color: #fff;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0b1220 0%, #101b30 55%, #12304d 100%);
  color: #fff;
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 70%);
  top: -180px;
  right: -140px;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  max-width: 720px;
  letter-spacing: -0.02em;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.2rem;
  color: #c3cede;
  max-width: 640px;
  margin: 22px 0 34px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #67e8f9;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}

/* ---------- Sections ---------- */
.section {
  padding: 84px 0;
}
.section.soft {
  background: var(--bg-soft);
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  max-width: 680px;
  font-size: 1.05rem;
}
.section-head {
  margin-bottom: 44px;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card .card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Pillars ---------- */
.pillar {
  border-radius: var(--radius);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pillar h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 14px 0 12px;
}
.pillar p {
  color: rgba(255, 255, 255, 0.85);
}
.pillar .btn {
  margin-top: 22px;
}
.pillar-business {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}
.pillar-products {
  background: linear-gradient(135deg, #0e7490, #06b6d4);
}

/* ---------- Process ---------- */
.steps {
  counter-reset: step;
}
.step {
  counter-increment: step;
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child {
  border-bottom: none;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #0b1220, #12304d);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cta-band p {
  color: #c3cede;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ---------- Inner page header ---------- */
.page-header {
  background: linear-gradient(135deg, #0b1220 0%, #101b30 60%, #12304d 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.page-header p {
  color: #c3cede;
  max-width: 660px;
  font-size: 1.1rem;
}

/* ---------- List / content ---------- */
.check-list {
  list-style: none;
}
.check-list li {
  padding: 8px 0 8px 34px;
  position: relative;
  color: var(--text-muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Products ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
}
.badge-coming {
  display: inline-block;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
}

/* ---------- Contact form ---------- */
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-status {
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-status-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #aeb9cc;
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer a {
  color: #aeb9cc;
  display: block;
  padding: 4px 0;
}
.footer a:hover {
  color: #fff;
}
.footer .brand {
  color: #fff;
  margin-bottom: 12px;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 4px;
  font-size: 0.82rem;
}
.footer-legal a {
  display: inline-block;
  padding: 0;
  color: #aeb9cc;
  white-space: nowrap;
}
.footer-legal a:hover {
  color: #fff;
}
.legal-sep {
  margin: 0 8px;
  color: #5a677a;
}
.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  background: var(--bg-soft);
}
.faq-item p {
  padding: 0 22px 20px;
  color: var(--text-muted);
}

/* ---------- Prose (privacy / blog) ---------- */
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 36px 0 12px;
}
.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 24px 0 8px;
}
.prose p {
  margin-bottom: 14px;
  color: var(--text-muted);
}
.prose ul,
.prose ol {
  margin: 0 0 14px 22px;
  color: var(--text-muted);
}
.prose li {
  margin-bottom: 6px;
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 20px 0;
}
.prose blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  padding: 16px 22px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0;
  color: var(--text-muted);
  font-style: italic;
}
.prose blockquote p {
  margin-bottom: 0;
}
.post-cover {
  margin-top: 0 !important;
}
.post-meta {
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.post-meta a {
  color: var(--text-muted);
  text-decoration: none;
}
.post-meta a:hover {
  color: var(--primary);
}
.post-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.post-footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}
.post-footer a:hover {
  color: var(--primary);
}

/* Blog cards */
.post-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-body .badge-coming {
  margin-bottom: 12px;
}
.post-card h3 {
  margin-bottom: 8px;
}
.post-card p {
  flex: 1;
  margin-bottom: 12px;
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-40 {
  margin-top: 40px;
}
.mb-40 {
  margin-bottom: 40px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .nav-toggle {
    display: flex;
  }
  .header-inner {
    position: relative;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(11, 18, 32, 0.1);
    padding: 8px 24px 16px;
  }
  .nav.open {
    display: flex;
    /* Panel tidak pernah menimpa konten di luar viewport — scroll internal */
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
  }
  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .page-header h1 {
    font-size: 1.9rem;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 64px 0 76px;
  }
  /* Header compact untuk layar kecil (≤560px) */
  .header .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 0.95rem;
    gap: 8px;
    white-space: nowrap;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .header-right {
    gap: 8px;
  }
  .lang-switch {
    font-size: 0.75rem;
    padding: 2px;
    gap: 2px;
  }
  .lang-switch a {
    padding: 2px 8px;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
    padding: 9px;
  }
  .nav {
    padding: 8px 16px 16px;
  }
}
