/* ==========================================================================
   UniHub Lanka - Single Screen Coming Soon Stylesheet
   ========================================================================== */

:root {
  /* Brand Color Palette from Logo */
  --uh-navy-dark: #001033;
  --uh-navy-primary: #001a4d;
  --uh-blue-primary: #0056b3;
  --uh-blue-vibrant: #0077e6;
  --uh-gold-primary: #f59e0b;
  --uh-gold-warm: #d97706;
  --uh-text-dark: #091a3e;
  --uh-text-muted: #4b5d78;
  --uh-surface-bg: #f8fafc;
  --uh-card-bg: rgba(255, 255, 255, 0.94);
  --uh-border-light: rgba(0, 32, 96, 0.08);

  /* Gradients */
  --uh-gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --uh-gradient-badge: linear-gradient(135deg, rgba(0, 86, 179, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
}

/* Base: Locked strictly to 100vh with NO scrolling */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--uh-text-dark);
  background-color: var(--uh-surface-bg);
  overflow: hidden; /* Prevents scrolling */
}

/* Ambient Background Light FX */
.ambient-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.22;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--uh-blue-vibrant), transparent);
  top: -90px;
  left: -70px;
}

.ambient-orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, var(--uh-gold-primary), transparent);
  bottom: -110px;
  right: -80px;
  animation-duration: 16s;
  animation-delay: -3s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

/* Floating Geometric Elements */
.floating-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.45;
  will-change: transform;
}

/* Subtle Golden Ring */
.shape-ring-1 {
  width: 70px;
  height: 70px;
  border: 2px solid rgba(245, 158, 11, 0.45);
  border-radius: 50%;
  top: 15%;
  left: 10%;
  animation: floatDrift1 10s ease-in-out infinite alternate;
}

/* Subtle Blue Ring */
.shape-ring-2 {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(0, 119, 230, 0.35);
  border-radius: 50%;
  bottom: 18%;
  right: 12%;
  animation: floatDrift2 12s ease-in-out infinite alternate;
}

/* Soft Glowing Amber Dot */
.shape-circle-1 {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.6), rgba(245, 158, 11, 0.15));
  border-radius: 50%;
  top: 65%;
  left: 8%;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
  animation: floatDrift2 9s ease-in-out infinite alternate;
}

/* Soft Glowing Blue Dot */
.shape-circle-2 {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle, rgba(0, 119, 230, 0.5), rgba(0, 119, 230, 0.12));
  border-radius: 50%;
  top: 22%;
  right: 14%;
  box-shadow: 0 0 18px rgba(0, 119, 230, 0.35);
  animation: floatDrift1 11s ease-in-out infinite alternate;
}

/* Small Floating Diamonds */
.shape-diamond-1 {
  width: 16px;
  height: 16px;
  background: rgba(217, 119, 6, 0.35);
  transform: rotate(45deg);
  border-radius: 3px;
  top: 38%;
  left: 18%;
  animation: floatRotate1 13s ease-in-out infinite;
}

.shape-diamond-2 {
  width: 20px;
  height: 20px;
  background: rgba(0, 86, 179, 0.25);
  transform: rotate(45deg);
  border-radius: 4px;
  bottom: 28%;
  left: 82%;
  animation: floatRotate2 15s ease-in-out infinite;
}

/* Smooth Floating Animations */
@keyframes floatDrift1 {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-20px) translateX(12px) scale(1.05);
  }
  100% {
    transform: translateY(-38px) translateX(-8px) scale(0.98);
  }
}

@keyframes floatDrift2 {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(24px) translateX(-14px) scale(1.06);
  }
  100% {
    transform: translateY(42px) translateX(10px) scale(0.96);
  }
}

@keyframes floatRotate1 {
  0% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(-24px) rotate(135deg);
  }
  100% {
    transform: translateY(0) rotate(225deg);
  }
}

@keyframes floatRotate2 {
  0% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(22px) rotate(-45deg);
  }
  100% {
    transform: translateY(0) rotate(45deg);
  }
}

/* Main Single Viewport Wrapper */
.viewport-wrapper {
  position: relative;
  z-index: 1;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

/* Seamless Brand Logo */
.brand-logo-img {
  width: 100%;
  max-width: 155px; /* Compact & elegant */
  height: auto;
  display: inline-block;
  background: transparent;
  border: none;
  filter: drop-shadow(0 2px 8px rgba(0, 26, 77, 0.08));
  transition: transform 0.25s ease;
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

/* Central Card */
.coming-soon-card {
  background: var(--uh-card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--uh-border-light);
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px -10px rgba(0, 26, 77, 0.08);
}

/* Status Badge */
.status-pill {
  background: var(--uh-gradient-badge);
  border: 1px solid rgba(0, 86, 179, 0.16);
  color: var(--uh-navy-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--uh-gold-primary);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Typography */
.hero-title {
  color: var(--uh-navy-dark);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #001a4d 0%, #0056b3 55%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.maintenance-lead {
  color: var(--uh-text-muted);
  font-size: clamp(0.85rem, 1.4vw, 0.975rem);
  line-height: 1.5;
  font-weight: 450;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Badges */
.feature-badge {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 86, 179, 0.1);
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--uh-navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.feature-badge i {
  color: var(--uh-blue-vibrant);
  font-size: 0.95rem;
}

/* Single Contact Pill */
.contact-phone-btn {
  color: var(--uh-navy-primary);
  background-color: rgba(0, 86, 179, 0.07);
  border: 1px solid rgba(0, 86, 179, 0.15);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1.1rem;
  border-radius: 50rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.contact-phone-btn:hover {
  background-color: var(--uh-blue-primary);
  color: #ffffff;
  border-color: var(--uh-blue-primary);
}

.contact-phone-btn i {
  color: var(--uh-gold-primary);
}

.contact-phone-btn:hover i {
  color: #ffffff;
}

/* Footer */
.footer-text {
  font-size: 0.775rem;
  color: var(--uh-text-muted);
}

/* Extra small height screen safeguard */
@media (max-height: 650px) {
  .viewport-wrapper {
    padding: 0.4rem 0.75rem;
  }
  .brand-logo-img {
    max-width: 125px;
  }
  .feature-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  .maintenance-lead {
    font-size: 0.825rem;
    line-height: 1.35;
    margin-bottom: 0.5rem !important;
  }
}
