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

:root {
  --bg-primary: #09090b;
  --border-color: #27272a;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --purple-500: #6366f1;
  --violet-500: #8b5cf6;
  --pink-500: #d946ef;
  --gradient-text: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --font-family: 'Inter', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-gradient {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.18), transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.35);
  font-size: 13px;
  color: #818cf8;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #818cf8;
  border-radius: 50%;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-line {
  display: block;
}

.white {
  color: var(--text-primary);
}

.gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typing-line {
  position: relative;
  display: block;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.caret {
  position: absolute;
  right: 0;
  top: 15%;
  width: 3px;
  height: 70%;
  background: var(--pink-500);
  box-shadow: 0 0 10px var(--pink-500);
}

.step-1 {
  animation: typing 1.5s steps(20, end) forwards;
}

.step-1 .caret {
  animation: 
    blink 0.8s step-end infinite,
    hideCaret 0s step-end forwards 1.5s;
}

.step-2 {
  animation: typing 1.5s steps(20, end) forwards 1.7s;
}

.step-2 .caret {
  opacity: 0;
  animation: 
    showCaret 0s step-end forwards 1.7s,
    blink 0.8s step-end infinite 1.7s;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes hideCaret {
  to { opacity: 0; }
}

@keyframes showCaret {
  to { opacity: 1; }
}

.hero-description {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
  .typing-line {
    width: 100%;
    white-space: normal;
  }
  .caret {
    display: none;
  }
}