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

body {
  background: #0a0e27;
  min-height: 100vh;
}

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#root {
  position: relative;
  z-index: 1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0e27; }
::-webkit-scrollbar-thumb { background: #6c5ce7; border-radius: 3px; }

/* Glow pulse for logo */
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 20px rgba(108,92,231,0.5), 0 0 60px rgba(108,92,231,0.2); }
  50% { text-shadow: 0 0 40px rgba(108,92,231,0.8), 0 0 100px rgba(108,92,231,0.4), 0 0 150px rgba(253,203,110,0.15); }
}

.glow-pulse {
  animation: glowPulse 4s ease-in-out infinite;
}

/* Cursor blink */
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cursor-blink {
  animation: cursorBlink 1s step-end infinite;
}

/* Scroll indicator bounce */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.scroll-bounce {
  animation: scrollBounce 2s ease-in-out infinite;
}

/* Fade in up */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Fade in from left */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-in-left {
  animation: fadeInLeft 0.7s ease-out forwards;
}

/* Fade in from right */
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-in-right {
  animation: fadeInRight 0.7s ease-out forwards;
}

/* Gentle float */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.gentle-float {
  animation: gentleFloat 5s ease-in-out infinite;
}

/* Candle flicker */
@keyframes flicker {
  0%, 100% { transform: scaleY(1) scaleX(1); opacity: 1; }
  25% { transform: scaleY(1.1) scaleX(0.95); opacity: 0.9; }
  50% { transform: scaleY(0.9) scaleX(1.05); opacity: 1; }
  75% { transform: scaleY(1.05) scaleX(0.98); opacity: 0.85; }
}

.candle-flame {
  animation: flicker 0.8s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

/* Glass card */
.glass-card {
  background: rgba(26, 31, 78, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(108, 92, 231, 0.2);
}

.glass-card-warm {
  background: rgba(253, 203, 110, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(253, 203, 110, 0.15);
}

/* Timeline line */
.timeline-line {
  background: linear-gradient(to bottom, transparent, #6c5ce7, #fdcb6e, #6c5ce7, transparent);
}

/* Pixel dissolve */
@keyframes pixelDissolve {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-30px) scale(0.3); }
}

/* Confetti */
@keyframes confettiFall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  z-index: 9999;
  pointer-events: none;
  animation: confettiFall 3s ease-in forwards;
}

/* Browser mockup */
.browser-mockup {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.browser-mockup:hover {
  transform: perspective(800px) rotateY(-3deg) rotateX(2deg) scale(1.02);
  box-shadow: 0 20px 60px rgba(108, 92, 231, 0.3);
}

/* Post-it note colors */
.note-yellow { background: #ffeaa7; }
.note-pink { background: #fab1a0; }
.note-blue { background: #81ecec; }
.note-green { background: #b8e994; }
.note-lavender { background: #dfe6e9; }
.note-peach { background: #ffecd2; }

/* Typewriter reveal */
@keyframes typeReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.type-reveal {
  animation: typeReveal 0.6s ease-out forwards;
}

/* Section divider glow */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(108,92,231,0.5), rgba(253,203,110,0.5), rgba(108,92,231,0.5), transparent);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Hero gradient overlay */
.hero-gradient {
  background: radial-gradient(ellipse at center, rgba(108,92,231,0.15) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(253,203,110,0.08) 0%, transparent 50%);
}