/* ============================================
   SnapLoq Landing Page — styles.css
   ============================================ */

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

/* ── Tokens ── */
:root {
  --clr-bg:          #0a0a12;
  --clr-white:       #ffffff;
  --clr-accent:      oklch(62% 0.14 210);
  --clr-accent-dim:  oklch(40% 0.09 210);
  --clr-muted:       oklch(55% 0.01 250);
  --clr-eyebrow:     oklch(75% 0.01 250 / 0.7);

  --font-display:    'Bebas Neue', sans-serif;
  --font-body:       'Barlow', sans-serif;
}

/* ── Base ── */
html, body {
  width: 100%;
  height: 100%;
  background: var(--clr-bg);
  color: var(--clr-white);
  font-family: var(--font-body);
  overflow: hidden;
}

/* ── Page wrapper ── */
.page {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(32px, 5vh, 56px) 48px clamp(28px, 4vh, 52px);
  overflow: hidden;
}

/* ── Hero background ── */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ── Vignette overlay ── */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, rgba(10, 10, 18, 0.6) 100%),
    linear-gradient(
      180deg,
      rgba(10, 10, 18, 0.88) 0%,
      rgba(10, 10, 18, 0.12) 28%,
      rgba(10, 10, 18, 0.12) 68%,
      rgba(10, 10, 18, 0.92) 100%
    );
}

/* ── Content layers ── */
.content-top,
.content-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Eyebrow ── */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clr-eyebrow);
  margin-bottom: 10px;
}

/* ── Brand name ── */
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(60px, 11vw, 140px);
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--clr-white);
  text-shadow:
    0 2px 60px rgba(255, 255, 255, 0.08),
    0 0 120px oklch(60% 0.06 210 / 0.2);
}

/* ── Vertical rule (top) ── */
.top-rule {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(200, 210, 220, 0.5), transparent);
  margin-top: 16px;
}

/* ── Vertical rule (bottom) ── */
.bottom-rule {
  width: 1px;
  height: 28px;
  background: linear-gradient(0deg, rgba(200, 210, 220, 0.5), transparent);
  margin-bottom: 16px;
}

/* ── Coming Soon ── */
.coming-soon {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  letter-spacing: 0.28em;
  color: rgba(220, 225, 230, 0.85);
}

/* ── Tagline ── */
.tagline {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(200, 198, 194, 0.17);
  padding: 5px 6px;
  border-radius: 3px;
  margin-top: 10px;
}

/* ── Pulsing dots ── */
.dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: dp 1.8s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.3s; }
.dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dp {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.5); }
}

/* ── Corner registration marks ── */
.corner {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 18px;
  opacity: 0.45;
}
.corner--tl { top: 20px;    left: 20px;  border-top: 1px solid #fff; border-left: 1px solid #fff; }
.corner--tr { top: 20px;    right: 20px; border-top: 1px solid #fff; border-right: 1px solid #fff; }
.corner--bl { bottom: 20px; left: 20px;  border-bottom: 1px solid #fff; border-left: 1px solid #fff; }
.corner--br { bottom: 20px; right: 20px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; }

/* ── Copyright ── */
.copyright {
  position: absolute;
  bottom: 20px;
  right: 36px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(150, 155, 165, 0.5);
}

/* ── Responsive: mobile ── */
@media (max-width: 640px) {
  .page {
    padding: 40px 24px 36px;
  }

  .hero-bg {
    object-fit: cover;
    object-position: center center;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  .tagline {
    font-size: 9px;
    letter-spacing: 0.16em;
    text-align: center;
  }

  .copyright {
    right: 20px;
    bottom: 14px;
  }
}
