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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0f;
  color: #e0e0e8;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Particle Canvas ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== Container ===== */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  padding: 2rem 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 2rem;
  z-index: 10;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 15, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.logo-text {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #c7c9ff, #e8b4f8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  animation: fadeUp 1s ease-out both;
}

.hero-greeting {
  font-size: 1.15rem;
  font-weight: 300;
  color: #9b9bb0;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.wave {
  display: inline-block;
  animation: waveHand 2.5s ease-in-out infinite;
  transform-origin: 70% 70%;
  font-size: 1.6rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1.5rem;
}

.line {
  display: block;
}

.line-1 {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #6366f1 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.8s ease-out 0.35s both;
}

.line-2 {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b6b80;
  animation: fadeUp 0.8s ease-out 0.5s both;
}

.hero-description {
  font-size: 1.1rem;
  font-weight: 300;
  color: #8888a0;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 2rem;
  animation: fadeUp 0.8s ease-out 0.65s both;
}

/* ===== Divider ===== */
.hero-divider {
  width: 60px;
  height: 3px;
  margin: 0 auto 2rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  opacity: 0.6;
  animation: fadeUp 0.8s ease-out 0.8s both;
}

/* ===== Link Buttons ===== */
.hero-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.95s both;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #d0d0e0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.link-btn:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}

.link-btn svg {
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.link-btn:hover svg {
  opacity: 1;
}

/* ===== Footer ===== */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #3a3a50;
  letter-spacing: 0.03em;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes waveHand {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(14deg); }
  20%  { transform: rotate(-8deg); }
  30%  { transform: rotate(14deg); }
  40%  { transform: rotate(-4deg); }
  50%  { transform: rotate(10deg); }
  60%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* ===== Glow Effect Behind Title ===== */
.hero-title::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
  z-index: -1;
  animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
  from {
    opacity: 0.5;
    transform: translate(-50%, -60%) scale(1);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -60%) scale(1.15);
  }
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .hero-links {
    flex-direction: column;
    align-items: center;
  }

  .link-btn {
    width: 100%;
    max-width: 240px;
    justify-content: center;
  }

  .header {
    padding: 1rem 1.25rem;
  }
}
