/* Global CSS Custom Properties */
:root {
  --bg-primary: #f8fafc;
  --bg-gradient: radial-gradient(circle at 50% 50%, #f0fdfa 0%, #e2e8f0 100%);
  --accent-blue: #13a79d; /* Teal from IHCE */
  --accent-teal: #8cc63f; /* Lime Green from IHCE */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-primary);
  background-image: var(--bg-gradient);
  font-family: var(--font-body);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Physics Canvas covering the viewport */
#physics-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto; /* Allow direct mouse moves, but we will track globally */
}

/* Glowing background blobs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(19, 167, 157, 0.12) 0%, transparent 70%);
  top: -10%;
  left: 10%;
  animation: floatOrb1 25s infinite alternate ease-in-out;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(140, 198, 63, 0.08) 0%, transparent 70%);
  bottom: -15%;
  right: 10%;
  animation: floatOrb2 30s infinite alternate ease-in-out;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.08) 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation: floatOrb3 20s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 80px) scale(1.15); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-120px, -70px) scale(0.9); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -50px) scale(1.1); }
}

/* Card Container for Mouse Tilt Effect */
.card-container {
  z-index: 10;
  perspective: 1000px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

/* Premium Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 32px;
  padding: 3rem 4rem;
  width: 100%;
  max-width: 580px;
  text-align: center;
  box-shadow: 
    0 10px 40px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 40px rgba(19, 167, 157, 0.03);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transform: rotate(30deg);
  transition: 0.8s;
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(19, 167, 157, 0.45);
  box-shadow: 
    0 20px 50px rgba(15, 23, 42, 0.07),
    inset 0 1px 2px rgba(255, 255, 255, 0.9),
    0 0 50px rgba(19, 167, 157, 0.08);
}

/* Logo Styling */
.logo-wrapper {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.85); /* Fits cleanly in light theme */
  padding: 1.2rem 2.2rem;
  border-radius: 20px;
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    0 6px 18px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
  will-change: transform;
}

.logo-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

.glass-card:hover .logo-wrapper {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 
    0 10px 25px rgba(15, 23, 42, 0.08),
    0 0 25px rgba(19, 167, 157, 0.12);
}

/* Premium Typography */
.title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #0f2c59 30%, #13a79d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.tagline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #475569, #13a79d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .glass-card {
    padding: 2.5rem 2rem;
    max-width: 90vw;
  }
  
  .logo-wrapper {
    padding: 1rem 1.5rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 0.9rem;
  }
}
