/* ===== Warna (ubah di sini kalau mau ganti nuansa) ===== */
:root {
  --bg:        #07142a;   /* biru navy gelap */
  --bg-2:      #0c2347;
  --line:      rgba(86, 156, 255, 0.10);  /* garis grid */
  --text:      #e6efff;
  --muted:     #8aa4cc;
  --accent:    #3d8bff;   /* biru teknik */
  --accent-2:  #6fd3ff;
}

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

html, body { height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 35%, var(--bg-2) 0%, var(--bg) 65%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grid halus ala kertas teknik / blueprint */
.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  gap: 28px;
}

.logo {
  width: clamp(150px, 32vw, 240px);
  height: auto;
  animation: rise 0.8s ease-out both;
}

.rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: rise 0.8s 0.15s ease-out both;
}

.headline {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  font-weight: 600;
  font-size: clamp(1.75rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: rise 0.8s 0.3s ease-out both;
}

.headline .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Blok aplikasi di bawah judul */
.app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: -6px;          /* sedikit lebih dekat ke judul */
  max-width: 560px;
  animation: rise 0.8s 0.45s ease-out both;
}

.app-title {
  font-size: 1.15rem;        /* ~3 tingkat di atas teks footer */
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 239, 255, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.app-title:hover,
.app-title:focus-visible {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

.app-desc {
  font-size: 1.1rem;         /* ~3 tingkat di atas teks footer */
  line-height: 1.5;
}

.app-desc span {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer {
  position: relative;
  padding: 24px 20px 20px;
  text-align: center;
  color: var(--muted);
}

.disclaimer {
  max-width: 640px;
  margin: 0 auto 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(86, 156, 255, 0.18);
  font-size: 0.78rem;
  line-height: 1.65;
}

.disclaimer strong {
  color: var(--text);
  font-weight: 600;
}

.disclaimer a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 211, 255, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.disclaimer a:hover,
.disclaimer a:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.copyright {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
