*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #0a0f1a;
  --color-surface: #111827;
  --color-accent: #3b82f6;
  --color-accent-light: #60a5fa;
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --safe-left: env(safe-area-inset-left, 0);
  --safe-right: env(safe-area-inset-right, 0);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
}

.construction-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/images/caudall-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 26, 0.75), rgba(10, 15, 26, 0.9));
}

.construction-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 32rem;
}

.logo {
  display: block;
  margin: 0 auto 2rem;
  width: 300px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .logo:hover {
    transform: scale(1.05);
  }
}

.heading {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.875rem;
  padding: 0 0.5rem;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subheading {
  font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.tagline {
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  color: var(--color-text-muted);
  opacity: 0.8;
  margin-top: 1.25rem;
  padding: 0 0.5rem;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  padding: 0.75rem 1rem;
}

.copyright {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.6;
  margin: 0;
  padding: 0 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: 2px;
  animation: progress 2.5s ease-in-out infinite;
}

@keyframes progress {
  0% {
    width: 0;
    margin-left: 0;
  }
  50% {
    width: 70%;
    margin-left: 15%;
  }
  100% {
    width: 0;
    margin-left: 100%;
  }
}

.background-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.12), transparent),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06), transparent);
  pointer-events: none;
}

@media (max-width: 479px) {
  .construction-wrapper {
    padding: 1rem 1rem 1.5rem;
  }

  .logo {
    margin-bottom: 1.5rem;
    width: 220px;
    max-width: 100%;
  }

  .heading {
    font-size: 1.375rem;
  }

  .subheading {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  .tagline {
    margin-top: 1rem;
  }
}

@media (min-width: 480px) and (max-width: 1023px) {
  .construction-wrapper {
    padding: 2rem 2.5rem;
  }

  .logo {
    margin-bottom: 2.25rem;
    width: 280px;
    max-width: 100%;
  }

  .heading {
    font-size: 1.875rem;
  }

  .subheading {
    font-size: 1.0625rem;
  }
}

@media (min-width: 1024px) {
  .construction-wrapper {
    padding: 2.5rem 3rem;
  }

  .construction-content {
    max-width: 36rem;
  }

  .logo {
    margin-bottom: 2.5rem;
    width: 360px;
    max-width: 100%;
  }

  .heading {
    font-size: 2.25rem;
  }

  .subheading {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
}
