:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a24;
  --fg: #f0f0f5;
  --fg-muted: #8888a0;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --danger: #ff6b6b;
  --warning: #ffd93d;
  --success: #6bcb77;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg) 0%, #0f0f18 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--fg) 0%, #c0c0d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Task Card Stack Visual */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.task-card-stack {
  position: relative;
  height: 340px;
}

.task-card {
  position: absolute;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-1 {
  top: 0;
  z-index: 3;
  transform: rotate(-2deg);
}

.card-2 {
  top: 60px;
  z-index: 2;
  transform: rotate(1deg);
  opacity: 0.85;
}

.card-3 {
  top: 120px;
  z-index: 1;
  transform: rotate(-0.5deg);
  opacity: 0.65;
}

.card-priority {
  width: 4px;
  height: 40px;
  border-radius: 2px;
}

.card-priority.high { background: var(--danger); }
.card-priority.medium { background: var(--warning); }
.card-priority.low { background: var(--success); }

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-weight: 600;
  font-size: 15px;
}

.card-meta {
  font-size: 12px;
  color: var(--fg-muted);
}

.card-ai-badge {
  padding: 4px 10px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Features Section */
.features {
  padding: 120px 60px;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg);
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.features-header p {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 170, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Closing Section */
.closing {
  padding: 120px 60px;
  background: linear-gradient(180deg, var(--bg) 0%, #0f0f1a 100%);
  text-align: center;
}

.closing-content {
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  padding: 40px 60px;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 60px 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 24px;
    min-height: auto;
  }
  
  .features {
    padding: 80px 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .closing {
    padding: 80px 24px;
  }
  
  footer {
    padding: 32px 24px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .task-card-stack {
    height: 280px;
  }
  
  .card-2 { top: 50px; }
  .card-3 { top: 100px; }
}