/* ── DESIGN SYSTEM & RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

:root {
  --bg-color: #000;
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.5);
  --accent-gradient: linear-gradient(135deg, #ffffff 0%, #aab4c2 100%);
  --inter-font: 'Inter', sans-serif;
}

body {
  background: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--inter-font);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

/* ── COMPONENTS ────────────────────────────────────────────────────────────── */

#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

/* Shared logo wrapper */
.logo-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -68%);
  width: min(73vw, 73vh);
  height: min(73vw, 73vh);
  pointer-events: none;
  mix-blend-mode: lighten;
}

#icon-container {
  z-index: 2;
  opacity: 0;
  /* Only show the top part (icon) using clip-path */
  clip-path: inset(0 0 32% 0);
  /* Conic mask reveal - controlled via JS */
  -webkit-mask-image: conic-gradient(from 0deg, #000 0deg, transparent 0deg);
  mask-image: conic-gradient(from 0deg, #000 0deg, transparent 0deg);
}

#text-container {
  z-index: 3;
  opacity: 0;
  /* Only show the bottom part (logo text) */
  clip-path: inset(68% 0 0 0);
  /* Slightly adjusted to ensure visual alignment */
  transform: translate(-50%, -68%);
}

.logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── TYPOGRAPHY & TAGLINES ────────────────────────────────────────────────── */

#taglines {
  position: fixed;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  width: 80%;
  max-width: 700px;
  pointer-events: none;
}

.tagline-main {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(30px);
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline-sub {
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  color: var(--text-secondary);
}

/* Reveal mechanism */
.tagline-main.visible,
.tagline-sub.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1), 
              transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── OVERLAYS ─────────────────────────────────────────────────────────────── */

#vignette {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.7) 100%);
}
