@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&display=swap");

:root {
  --bg-deep: #000730;
  --badge-navy: #111326;
  --badge-mint: #44a08d;
  --badge-glow: rgba(68, 160, 141, 0.35);
  --badge-sky: rgba(56, 189, 248, 0.25);
  --text-white: #f1f5f9;
  --text-muted: #8e95aa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  width: 100%;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Interactive Cursor Reactive Title */
.brand-title {
  position: relative;
  display: inline-block;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1.1;
  padding: 0.5rem 1.5rem;
  border-radius: 16px;
  cursor: default;
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  user-select: none;
}

/* Reactive cursor flashlight mask */
.spotlight {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  background: radial-gradient(
    220px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--badge-glow) 0%,
    var(--badge-sky) 30%,
    transparent 80%
  );
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* Subtle under-shadow inspired by the metallic logo */
.title-text {
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 25px rgba(68, 160, 141, 0.2);
}

.brand-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.wave-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  isolation: isolate; /* Creates a clean stacking context without texture leakage */
}

.wave-text {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

/* Base outline */
.wave-text.stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(56, 189, 248, 0.28);
}

/* Liquid fill - strictly solid, zero shadow/filter to eliminate the bounding box */
.wave-text.fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #0ea5e9;
  text-shadow: none !important;
  filter: none !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: wave 4s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% {
    clip-path: polygon(
      0% 46%,
      15% 44%,
      32% 48%,
      54% 60%,
      70% 62%,
      84% 59%,
      100% 52%,
      100% 100%,
      0% 100%
    );
  }
  50% {
    clip-path: polygon(
      0% 60%,
      16% 65%,
      34% 64%,
      52% 52%,
      68% 46%,
      84% 45%,
      100% 48%,
      100% 100%,
      0% 100%
    );
  }
}