/* ============================================================
   SOLUSI IZIN USAHA (SIU) — COMING SOON
   Full-white, minimal editorial layout matching the BASIC/DEPT
   inspired site: vast whitespace, big type, hairlines, restraint.
   ============================================================ */

/* --- Fonts --- */
@font-face {
  font-display: swap;
  font-family: "SctoGroteskA";
  font-weight: 700;
  src: url("/_next/static/media/SctoGroteskA-Bold.d6497298.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "SctoGroteskA";
  font-weight: 400;
  src: url("/_next/static/media/SctoGroteskA-Medium.2ede3563.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "SctoGroteskA";
  font-weight: 300;
  src: url("/_next/static/media/SctoGroteskA-Regular.1e986128.woff2") format("woff2");
}

/* --- Design Tokens --- */
:root {
  --bg-color: #ffffff;
  --bg-footer: #14140f;
  --text-color: #14140f;
  --text-muted: #86847e;
  --text-light: #f4f4f4;
  --text-light-muted: #9a988f;
  --hairline: rgba(20, 20, 15, 0.12);
  --hairline-dark: rgba(244, 244, 244, 0.14);

  --font-family: "SctoGroteskA", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --grid-padding: 6vw;
  --ease-garret: cubic-bezier(0.5, 0, 0, 1);
  --ease-out: cubic-bezier(0.28, 0.44, 0.49, 1);
}

@media (min-width: 1280px) {
  :root { --grid-padding: 6rem; }
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-color);
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-family);
  font-size: 1.8rem;
  line-height: 1.45;
  color: var(--text-color);
  background-color: var(--bg-color);
  position: relative;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

::selection { background-color: var(--text-color); color: var(--bg-color); }

a { color: inherit; text-decoration: none; }

/* --- Barely-there noise texture (adds paper-like depth, not mood) --- */
.noise-overlay {
  position: fixed;
  top: -10rem;
  left: -10rem;
  width: calc(100% + 20rem);
  height: calc(100% + 20rem);
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("/_next/static/media/noise.e8298e81.png");
  background-repeat: repeat;
  animation: noiseStep 1s steps(2) infinite;
}

@keyframes noiseStep {
  0%   { transform: translate3d(0, 9rem, 0); }
  10%  { transform: translate3d(-1rem, -4rem, 0); }
  20%  { transform: translate3d(-8rem, 2rem, 0); }
  30%  { transform: translate3d(9rem, -9rem, 0); }
  40%  { transform: translate3d(-2rem, 7rem, 0); }
  50%  { transform: translate3d(-9rem, -4rem, 0); }
  60%  { transform: translate3d(2rem, 6rem, 0); }
  70%  { transform: translate3d(7rem, -8rem, 0); }
  80%  { transform: translate3d(-9rem, 1rem, 0); }
  90%  { transform: translate3d(6rem, -5rem, 0); }
  100% { transform: translate3d(-7rem, 0, 0); }
}

/* --- Header: logo + "Segera Hadir", transparent, overlays the hero video --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 3.2rem var(--grid-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  z-index: 100;
  color: var(--text-light);
}

.header-brand { display: flex; align-items: center; }

.header-logo {
  height: 4.4rem;
  width: auto;
  object-fit: contain;
  display: block;
  filter: invert(1) brightness(2);
}

.header-tag {
  font-family: var(--font-family);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-light);
  text-align: right;
}

/* --- Hero: full-bleed video background, locked to exactly one screen
   (no scroll — height is fixed, not just a minimum) --- */
.hero-section {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #14140f;
  color: var(--text-light);
}

.hero-media { position: absolute; inset: 0; z-index: 0; }

.hero-media__video,
.hero-media__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media__video {
  /* The source clip has a small watermark baked into the bottom-right
     corner. Bias the crop toward the top-left and zoom in slightly so
     that corner falls outside the visible frame on every viewport. */
  object-position: 30% 25%;
  transform: scale(1.22);
  transform-origin: center;
}

.hero-media__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(244, 244, 244, 0.4);
  background-color: #1d1d17;
  background-image:
    linear-gradient(45deg, rgba(244,244,244,0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(244,244,244,0.03) 25%, transparent 25%);
  background-size: 2.4rem 2.4rem;
}

.hero-media__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8rem;
  text-align: center;
  padding: 0 var(--grid-padding) 6rem;
}

@media (max-width: 767px) {
  .hero-content { padding-bottom: 5rem; gap: 2rem; }
}

.hero-title {
  font-size: clamp(2.4rem, 3.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-light);
  max-width: 70rem;
}

/* Countdown: a single centered row — Hari, Jam, Menit, Detik */
.countdown-row {
  display: flex;
  justify-content: center;
  gap: 2.8rem;
}

.countdown-row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.countdown-row__value {
  font-family: var(--font-family);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
}

.countdown-row__label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(244, 244, 244, 0.6);
}

@media (max-width: 480px) {
  .countdown-row { gap: 1.6rem; }
  .countdown-row__value { font-size: 1.8rem; }
  .countdown-row__label { font-size: 0.9rem; }
}
