/* ==========================================================================
   ProTerps — Minimalist Monochrome Banner
   Desktop: Sleek Centered Glass Card
   Mobile: True Fullscreen Native Layout (100% Width & 100dvh Height)
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/font-geist-300-normal-latin-502b9851e13aed9b.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/font-geist-400-normal-latin-502b9851e13aed9b.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/font-geist-500-normal-latin-502b9851e13aed9b.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-black: #030303;
  --card-bg: rgba(14, 14, 16, 0.72);
  --border-light: rgba(255, 255, 255, 0.12);
  --text-white: #ffffff;
  --text-silver: #a1a1aa;
  --text-dim: #63636b;
  --font-main: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* Background Layers */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
}

.radial-vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 12%, rgba(3, 3, 3, 0.9) 88%);
}

/* Viewport Container */
.banner-viewport {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Desktop Card Style */
.banner-card {
  width: 100%;
  max-width: 600px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 26px;
  padding: 44px 48px 36px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 32px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Top Status Indicator */
.top-bar {
  display: flex;
  justify-content: center;
  width: 100%;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-silver);
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Center Stack */
.center-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Brand Logo */
.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo {
  height: 62px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(255, 255, 255, 0.08));
}

/* Typography */
.text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.service-pill {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-silver);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 15px;
  border-radius: 999px;
}

.headline {
  font-size: clamp(1.9rem, 4.2vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-white);
}

.subheadline {
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--text-silver);
  line-height: 1.55;
  max-width: 420px;
}

/* 90% Loading Bar Module */
.progress-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.progress-label {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-silver);
  letter-spacing: 0.02em;
}

.progress-percentage {
  font-size: 1.65rem;
  font-weight: 300;
  color: var(--text-silver);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.progress-percentage strong {
  font-weight: 500;
  color: var(--text-white);
}

.progress-track {
  width: 100%;
  height: 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 2px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #a1a1aa 0%, #ffffff 70%, #ffffff 100%);
  border-radius: 999px;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.progress-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 35%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(0, 0, 0, 0.2) 65%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.2s infinite linear;
  border-radius: 999px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.progress-glow {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  filter: blur(3px);
}

/* Minimal Card Footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

.dot-sep {
  opacity: 0.5;
}

/* ==========================================================================
   FULLSCREEN MOBILE MODE (Eliminates the floating square box on phones/tablets)
   ========================================================================== */
@media (max-width: 768px) {
  .banner-viewport {
    padding: 0;
    align-items: stretch;
  }

  .banner-card {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border: none;
    border-radius: 0;
    background: linear-gradient(
      180deg,
      rgba(6, 6, 8, 0.45) 0%,
      rgba(10, 10, 12, 0.75) 50%,
      rgba(4, 4, 5, 0.92) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    padding: calc(env(safe-area-inset-top, 20px) + 28px) 24px calc(env(safe-area-inset-bottom, 20px) + 24px);
    justify-content: space-between;
  }

  .center-stack {
    my: auto;
    gap: 32px;
  }

  .brand-logo {
    height: 58px;
  }

  .service-pill {
    font-size: 0.68rem;
    padding: 6px 14px;
    letter-spacing: 0.06em;
  }

  .headline {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
  }

  .subheadline {
    font-size: 0.95rem;
    max-width: 340px;
  }

  .progress-box {
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  }

  .progress-percentage {
    font-size: 1.6rem;
  }
}
