/* ===== CSS Variables ===== */
:root {
  --color-primary: #098ccc;
  --color-primary-light: #0bb3ff;
  --color-bg: #000;
  --color-text: #fff;
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI Light", "Helvetica Neue", sans-serif;
  --font-secondary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --transition-smooth: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-secondary);
  overflow: hidden;
  min-height: 100vh;
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.hero__content {
  text-align: center;
  max-width: 90vw;
}

/* ===== Brand Logo ===== */
.brand {
  font-size: clamp(2rem, 8vw, 4rem);
  font-family: var(--font-primary);
  font-weight: 100;
  letter-spacing: 0.25em;
  line-height: 1;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 1.5s ease-in forwards;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.brand__highlight {
  color: var(--color-primary);
  display: inline-block;
  animation: 
    canReveal 1.5s var(--transition-smooth) 0.8s forwards,
    canPulse 3s ease-in-out 2.3s infinite;
  opacity: 0;
  transform: scale(0);
  margin: 0 -0.05em;
}

.brand__dot {
  color: var(--color-primary);
  display: inline-block;
  opacity: 0;
  animation: dotBounce 1.2s var(--transition-smooth) 1s forwards;
}

/* ===== Tagline ===== */
.tagline {
  font-size: clamp(0.75rem, 2.5vw, 1.25rem);
  font-weight: 100;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: scale(0.3);
  animation: heroReveal 2s var(--transition-smooth) 0.5s forwards;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes canReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes canPulse {
  0%, 100% {
    color: var(--color-primary);
    transform: scale(1) rotate(0deg);
  }
  50% {
    color: var(--color-primary-light);
    transform: scale(1.05) rotate(-1.5deg);
  }
}

@keyframes dotBounce {
  from {
    opacity: 1;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: scale(0.3);
    filter: blur(10px);
  }
  50% {
    text-shadow: 
      0 0 20px rgba(255, 255, 255, 0.9),
      0 0 40px rgba(255, 255, 255, 0.6),
      0 0 60px rgba(255, 255, 255, 0.4),
      0 0 80px rgba(255, 255, 255, 0.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
