/*
Theme Name: Under Construction
Theme URI: https://vmweb.digital
Author: VM Web & Digital Co.
Author URI: https://vmweb.digital
Description: A stunning, fully animated under construction page theme with glassmorphism, animated mesh gradients, particle effects, a live countdown, email opt-in and social links. Drop-in single-page theme — activate and you're done.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: under-construction
Tags: one-page, custom-colors, custom-logo, custom-background, full-width-template
*/

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

:root {
  --bg-0: #07070d;
  --bg-1: #0d0d18;
  --ink: #f5f5fa;
  --ink-dim: rgba(245, 245, 250, 0.65);
  --ink-faint: rgba(245, 245, 250, 0.35);
  --accent: #7c5cff;
  --accent-2: #00e0d3;
  --accent-3: #ff5cab;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-stroke: rgba(255, 255, 255, 0.12);
  --radius: 24px;
  --shadow-soft: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

html,
body {
  height: 100%;
  background: var(--bg-0);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ----- animated mesh background ----- */
.uc-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(at 20% 20%, rgba(124, 92, 255, 0.35), transparent 50%),
    radial-gradient(at 80% 10%, rgba(0, 224, 211, 0.25), transparent 55%),
    radial-gradient(at 60% 85%, rgba(255, 92, 171, 0.28), transparent 50%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  filter: saturate(1.1);
}

.uc-bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.uc-blob {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  animation: float 22s ease-in-out infinite;
}

.uc-blob.b1 {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.uc-blob.b2 {
  bottom: -140px;
  right: -120px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  animation-delay: -8s;
}

.uc-blob.b3 {
  top: 40%;
  left: 55%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
  animation-delay: -14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(60px, -40px) scale(1.06);
  }
  66% {
    transform: translate(-50px, 40px) scale(0.95);
  }
}

/* particles */
#uc-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ----- layout ----- */
.uc-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 48px);
}

.uc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.uc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
}

.uc-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow:
    0 8px 24px -8px var(--accent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.uc-logo-mark svg {
  width: 20px;
  height: 20px;
}

.uc-nav-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-dim);
  font-size: 13px;
}

.uc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.uc-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(0, 224, 211, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(0, 224, 211, 0.18);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 224, 211, 0);
  }
}

.uc-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vw, 80px) 0;
}

.uc-card {
  width: min(1100px, 100%);
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

.uc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at top left, rgba(255, 255, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.uc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
}

@media (max-width: 880px) {
  .uc-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- hero copy ---- */
.uc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.uc-eyebrow svg {
  width: 14px;
  height: 14px;
}

.uc-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(40px, 6.5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 22px;
}

.uc-title .grad {
  background: linear-gradient(
    100deg,
    var(--accent) 0%,
    var(--accent-3) 50%,
    var(--accent-2) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% 0;
  }
}

.uc-sub {
  color: var(--ink-dim);
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 52ch;
  margin-bottom: 32px;
}

/* email form */
.uc-form {
  display: flex;
  gap: 10px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-stroke);
  border-radius: 16px;
  max-width: 500px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.uc-form:focus-within {
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.uc-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  font-size: 15px;
}

.uc-form input[type="email"]::placeholder {
  color: var(--ink-faint);
}

.uc-form button {
  border: 0;
  cursor: pointer;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 14.5px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow:
    0 12px 30px -10px var(--accent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.uc-form button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px -10px var(--accent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.uc-form button svg {
  width: 16px;
  height: 16px;
}

.uc-form-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 12px;
}

.uc-form-msg {
  margin-top: 14px;
  font-size: 13px;
  color: var(--accent-2);
  min-height: 18px;
  font-weight: 500;
}

/* progress bar */
.uc-progress-wrap {
  margin: 32px 0 28px;
}

.uc-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 10px;
}

.uc-progress-head b {
  color: var(--ink);
  font-weight: 600;
}

.uc-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.uc-progress-bar {
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-3) 50%,
    var(--accent-2) 100%
  );
  background-size: 200% 100%;
  animation: shine 4s linear infinite;
  box-shadow: 0 0 18px rgba(124, 92, 255, 0.5);
  position: relative;
}

.uc-progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: sheen 2.4s ease-in-out infinite;
}

@keyframes sheen {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ---- countdown ---- */
.uc-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.uc-count-box {
  text-align: center;
  padding: 20px 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-stroke);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.uc-count-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

.uc-count-num {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #c8c8e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.uc-count-label {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---- visual side (svg illustration) ---- */
.uc-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.uc-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: spin 40s linear infinite;
}

.uc-orbit.o2 {
  inset: 14%;
  animation-duration: 28s;
  animation-direction: reverse;
}

.uc-orbit.o3 {
  inset: 28%;
  animation-duration: 18s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.uc-orbit i {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px var(--accent-2);
  transform: translateX(-50%);
}

.uc-orbit.o2 i {
  background: var(--accent-3);
  box-shadow: 0 0 18px var(--accent-3);
}

.uc-orbit.o3 i {
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.uc-core {
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 50%),
    linear-gradient(135deg, var(--accent), var(--accent-3));
  display: grid;
  place-items: center;
  box-shadow:
    0 30px 80px -20px var(--accent),
    inset 0 0 30px rgba(255, 255, 255, 0.2);
  animation: bob 6s ease-in-out infinite;
  position: relative;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.uc-core svg {
  width: 46%;
  height: 46%;
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  animation: wiggle 4s ease-in-out infinite;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
}

.uc-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #fff;
  opacity: 0;
  animation: spark 3.6s ease-in-out infinite;
}

.uc-spark:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.uc-spark:nth-child(2) {
  top: 30%;
  right: 12%;
  animation-delay: 1.2s;
}

.uc-spark:nth-child(3) {
  bottom: 18%;
  left: 18%;
  animation-delay: 2.4s;
}

.uc-spark:nth-child(4) {
  bottom: 28%;
  right: 22%;
  animation-delay: 0.8s;
}

@keyframes spark {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ---- footer ---- */
.uc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--ink-dim);
  font-size: 13px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 28px;
}

.uc-foot-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.uc-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uc-contact a {
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.uc-contact a:hover {
  color: var(--accent-2);
}

.uc-contact a svg {
  width: 14px;
  height: 14px;
  color: var(--ink-faint);
}

.uc-socials {
  display: flex;
  gap: 10px;
}

.uc-socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-stroke);
  display: grid;
  place-items: center;
  transition:
    transform 0.18s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  color: var(--ink-dim);
}

.uc-socials a:hover {
  transform: translateY(-3px);
  background: rgba(124, 92, 255, 0.15);
  border-color: rgba(124, 92, 255, 0.5);
  color: #fff;
}

.uc-socials svg {
  width: 18px;
  height: 18px;
}

.uc-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  padding-top: 24px;
}

/* entry animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.fade-up.d1 {
  animation-delay: 0.1s;
}
.fade-up.d2 {
  animation-delay: 0.25s;
}
.fade-up.d3 {
  animation-delay: 0.4s;
}
.fade-up.d4 {
  animation-delay: 0.55s;
}
.fade-up.d5 {
  animation-delay: 0.7s;
}
.fade-up.d6 {
  animation-delay: 0.85s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
