/*
 * Under Construction — Plugin Stylesheet
 * Version: 2.0.0
 */

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

/* ----- design tokens ----- */
: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;
  --radius-sm:   16px;
  --shadow-soft: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

/* ----- base ----- */
html, body {
  height: 100%;
  background: #07070d!important;
  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 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); }
}

#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(16px, 4vw, 48px);
}

/* ---- Nav ---- */
.uc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.uc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(15px, 2.5vw, 18px);
}
.uc-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  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: 18px; height: 18px; }

.uc-nav-meta { display: flex; align-items: center; gap: 12px; color: var(--ink-dim); font-size: 13px; }
.uc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.uc-pill .dot {
  width: 7px; height: 7px;
  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;
  flex-shrink: 0;
}
@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); }
}

/* ---- Main section ---- */
.uc-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 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(20px, 4vw, 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;
}

/* Two-column grid (desktop) → single column (mobile) */
.uc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
}

/* =========================================================
   HERO COPY
   ========================================================= */
.uc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.uc-eyebrow svg { width: 13px; height: 13px; flex-shrink: 0; }

.uc-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(30px, 5.5vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 18px;
  word-break: break-word;
}
.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(14px, 1.4vw, 17px);
  max-width: 52ch;
  margin-bottom: 28px;
  line-height: 1.65;
}

/* ---- Email form ---- */
.uc-form {
  display: flex;
  gap: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-sm);
  max-width: 500px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  /* stack on very small screens */
  flex-wrap: wrap;
}
.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;
  min-width: 0;           /* prevent overflow in flex */
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  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: 14px;
  padding: 0 20px;
  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;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  min-height: 46px;
  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: 15px; height: 15px; }

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

/* ---- Progress bar ---- */
.uc-progress-wrap { margin: 28px 0 24px; }
.uc-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 9px;
}
.uc-progress-head b { color: var(--ink); font-weight: 600; }
.uc-progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.uc-progress-bar {
  height: 100%;
  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 16px 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: 10px;
  margin-top: 8px;
}
.uc-count-box {
  text-align: center;
  padding: clamp(12px, 2vw, 20px) 6px clamp(10px, 1.5vw, 14px);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-sm);
  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(22px, 3.5vw, 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: 6px;
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* =========================================================
   ANIMATED VISUAL (right column)
   ========================================================= */
.uc-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  min-height: 200px;
}
.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 ROW
   ========================================================= */
.uc-foot-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.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;
  font-size: 14px;
  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); flex-shrink: 0; }
.uc-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.uc-socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-stroke);
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.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: 17px; height: 17px; }

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

/* =========================================================
   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.10s; }
.fade-up.d2 { animation-delay: 0.25s; }
.fade-up.d3 { animation-delay: 0.40s; }
.fade-up.d4 { animation-delay: 0.55s; }
.fade-up.d5 { animation-delay: 0.70s; }
.fade-up.d6 { animation-delay: 0.85s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
.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;
}

/* =========================================================
   RESPONSIVE — TABLET  (≤ 880px)
   ========================================================= */
@media (max-width: 880px) {
  .uc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Move visual above copy on tablet, smaller */
  .uc-visual {
    order: -1;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
    min-height: 0;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE  (≤ 600px)
   ========================================================= */
@media (max-width: 600px) {

  /* Outer padding */
  .uc-wrap { padding: 16px 14px; }

  /* Card */
  .uc-card {
    border-radius: 20px;
    padding: 20px 18px 24px;
  }

  /* Nav: logo left, pill right, no overflow */
  .uc-nav { gap: 10px; }
  .uc-logo { font-size: 15px; }
  .uc-logo-mark { width: 30px; height: 30px; border-radius: 8px; }
  .uc-logo-mark svg { width: 15px; height: 15px; }
  .uc-pill { font-size: 10px; padding: 6px 10px; gap: 6px; }
  .uc-pill .dot { width: 6px; height: 6px; }

  /* Visual: hide the orbit animation on small phones to save space */
  .uc-visual { display: none; }

  /* Headline */
  .uc-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 14px;
  }

  .uc-sub { font-size: 14px; margin-bottom: 22px; }

  /* Form: stack vertically */
  .uc-form {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
    border-radius: 16px;
    max-width: 100%;
  }
  .uc-form input[type="email"] {
    padding: 14px 14px;
    font-size: 16px; /* prevents iOS zoom */
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-stroke);
  }
  .uc-form button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    min-height: 50px;
  }

  /* Countdown: keep 4 columns but tighter */
  .uc-countdown { gap: 7px; }
  .uc-count-box { padding: 12px 4px 10px; border-radius: 12px; }
  .uc-count-num  { font-size: clamp(20px, 6vw, 30px); }
  .uc-count-label { font-size: 9px; letter-spacing: 0.12em; margin-top: 4px; }

  /* Progress */
  .uc-progress-wrap { margin: 22px 0 18px; }

  /* Footer row: stack */
  .uc-foot-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    padding-top: 20px;
  }
  .uc-socials { gap: 8px; }
  .uc-socials a { width: 38px; height: 38px; border-radius: 9px; }

  .uc-bottom { font-size: 11px; padding-top: 16px; }
}

/* =========================================================
   RESPONSIVE — TINY  (≤ 360px)
   ========================================================= */
@media (max-width: 360px) {
  .uc-card { padding: 16px 14px 20px; border-radius: 16px; }
  .uc-title { font-size: 26px; }
  .uc-countdown { gap: 5px; }
  .uc-count-num { font-size: 18px; }
  .uc-count-label { font-size: 8px; }
  /* Hide pill text, show dot only */
  .uc-pill span:not(.dot) { display: none; }
  .uc-pill { padding: 7px 10px; }
}

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