/* ==========================================================
   produk.ai.id — Coming Soon
   ========================================================== */

:root {
  --bg: #0c0d10;
  --surface: #14161b;
  --line: rgba(255, 255, 255, .08);
  --text: #ece8e1;
  --muted: #8d8a85;
  --gold: #e8c27a;
  --gold-soft: #f6e6c0;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- Latar ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.bg__grid {
  position: absolute; inset: -64px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .5;
  animation: drift 30s linear infinite;
}

.bg__glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  animation: float 18s ease-in-out infinite alternate;
}
.bg__glow--a {
  width: 520px; height: 520px; right: -120px; top: 8%;
  background: rgba(232, 194, 122, .14);
}
.bg__glow--b {
  width: 420px; height: 420px; left: -140px; bottom: -120px;
  background: rgba(120, 140, 170, .10);
  animation-duration: 24s;
}

@keyframes drift { to { transform: translate(64px, 64px); } }
@keyframes float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, 40px) scale(1.15); }
}

/* ---------- Header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
  animation: fadeDown .9s var(--ease) both;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 17px; letter-spacing: -.01em;
}
.brand img { transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand em { font-style: normal; color: var(--muted); }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--muted);
  background: rgba(255, 255, 255, .02);
}
.status i {
  position: relative;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.status i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--gold);
  animation: ping 2s ease-out infinite;
}
@keyframes ping { to { transform: scale(3); opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 64px) 48px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px; background: currentColor;
  transform-origin: left;
  animation: grow 1s var(--ease) .3s both;
}
@keyframes grow { from { transform: scaleX(0); } }

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.title .line > span {
  display: inline-block;
  animation: rise 1.1s var(--ease) both;
  animation-delay: var(--d, 0s);
}
.title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-soft) 0%, var(--gold) 40%, #b9853c 60%, var(--gold-soft) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0 0; }
}

.lead {
  max-width: 30rem;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 36px;
}

.points {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 14px; color: var(--muted);
}
.points li { display: flex; align-items: center; gap: 10px; }
.points span {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--gold);
}

/* ---------- Ilustrasi ---------- */
.hero__art {
  position: relative;
  justify-self: center;
  width: 100%; max-width: 520px;
}
.hero__art img {
  display: block; width: 100%; height: auto;
  animation: hover 8s ease-in-out infinite;
}
@keyframes hover {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ---------- Footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 64px) 32px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.foot nav { display: flex; gap: 24px; }
.foot a { position: relative; transition: color .3s; }
.foot a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.foot a:hover { color: var(--text); }
.foot a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Animasi masuk ---------- */
.reveal {
  animation: fadeUp 1s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
}

/* ---------- Responsif ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 8px;
  }
  .hero__art { order: -1; max-width: 340px; }
  .eyebrow, .points { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
}

@media (max-width: 520px) {
  .status { display: none; }
  .foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}
