/* ProLayers Coming Soon — matches Figma page: background, fonts, sizing */

:root {
  /* Background (unchanged) */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --purple-950: #3b0764;
  /* Blue theme for font & UI (harmonious with dark BG) */
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--white);
  overflow-x: hidden;
  overflow-y: auto;
}

/* Background: same as Figma — gradient to-br, grid, glow, noise */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom right, var(--slate-950) 0%, var(--purple-950) 50%, var(--slate-950) 100%);
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.bg__glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.1) 0%,
    rgba(37, 99, 235, 0.05) 40%,
    transparent 70%
  );
  filter: blur(48px);
  pointer-events: none;
}

.bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.015;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNhKSIvPjwvc3ZnPg==");
  pointer-events: none;
}

/* Particle canvas — visible subtle motion */
.bg__canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
}

/* Content: full-bleed centered, no card — same as Figma */
.wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 48px;
  text-align: center;
}

/* Brand wordmark — responsive, padded, tight tracking */
.brand {
  margin-bottom: 4rem;
  padding-left: clamp(20px, 6vw, 64px);
  padding-right: clamp(20px, 6vw, 64px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.title {
  margin: 0 auto;
  font-size: clamp(40px, 12vw, 100px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  max-width: 100%;
}

/* Headlines — Figma: mb-16 space-y-3 */
.headline-block {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* space-y-3 */
}

/* Headlines — 50px each */
.headline {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
}

.subheadline {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--blue-400);
}

/* Countdown — Figma: mb-12 space-y-6 */
.countdown-block {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.launch-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--blue-400);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;   /* gap-4 */
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .countdown { gap: 1.5rem; } /* md:gap-6 */
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 5rem;   /* w-20 */
  height: auto;
}

@media (min-width: 768px) {
  .unit { width: 6rem; height: auto; } /* md:w-24 md:h-24 */
}

.unit-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .unit-inner {
    width: 6rem;
    height: 6rem; /* md:h-24 md:w-24 */
  }
}

.num {
  font-size: 1.875rem;   /* text-3xl */
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

@media (min-width: 768px) {
  .num { font-size: 2.25rem; } /* md:text-4xl */
}

.lbl {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}

/* Email — Figma: max-w-md, flex gap-3 */
.form-wrap {
  width: 100%;
  max-width: 28rem; /* max-w-md */
}

.form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.input {
  flex: 1 1 200px;
  min-width: 0;
  height: 2.75rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: var(--white);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 0.375rem;
  outline: none;
  backdrop-filter: blur(4px);
}

.input::placeholder {
  color: var(--gray-500);
}

.input:focus {
  border-color: rgba(96, 165, 250, 0.5);
}

.btn {
  height: 2.75rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  background: linear-gradient(to right, var(--blue-500), var(--blue-700));
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: linear-gradient(to right, var(--blue-400), var(--blue-600));
}

.form-status {
  min-height: 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.form-status.success {
  color: var(--blue-400);
}

.form-status.error {
  color: #fca5a5;
}

/* Netlify honeypot — hide from users, keep for screen readers */
.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer — Figma: mt-16 text-xs text-gray-500 */
.footer {
  margin-top: 4rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.footer a {
  color: var(--blue-400);
  text-decoration: none;
}

.footer a:hover {
  color: var(--blue-500);
}

/* Mobile */
@media (max-width: 640px) {
  .wrap { padding: 20px 16px 40px; }
  .headline, .subheadline { font-size: clamp(28px, 8vw, 50px); }
  .countdown { gap: 0.75rem; }
  .unit { width: 4.5rem; }
  .unit-inner { width: 4.5rem; height: 4.5rem; }
  .num { font-size: 1.5rem; }
  .form { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .input, .btn { transition: none; }
}
