/*
 * Home Page Styles
 * ================
 * Landing page with hero section and features
 */

.home-container {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
}

/* Background Effects */
.home-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-bg-blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(100px);
}

.home-bg-blob--1 {
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: var(--color-primary-500);
  opacity: 0.08;
}

.home-bg-blob--2 {
  top: 20%;
  right: 5%;
  width: 250px;
  height: 250px;
  background: var(--color-primary-700);
  opacity: 0.06;
}

/* Content */
.home-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  max-width: 800px;
  text-align: center;
}

/* Hero Section */
.home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.home-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary-500);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

.home-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 0;
}

.home-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 520px;
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* CTA Section */
.home-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.home-khan-mini {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary-500);
  border: 2px solid var(--color-primary-400);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.4);
  animation: khan-bounce 3s ease-in-out infinite;
  position: relative;
}

.home-khan-mini::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--bg-base);
  border-radius: var(--radius-full);
}

@keyframes khan-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Features Section */
.home-features {
  display: flex;
  align-items: stretch;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

.home-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.home-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-info-muted);
  border-radius: var(--radius-md);
  color: var(--color-primary-500);
  flex-shrink: 0;
}

.home-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.home-feature-title {
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.home-feature-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.home-feature-divider {
  width: 1px;
  background: var(--border-default);
  align-self: stretch;
}

/* Responsive */
@media (max-width: 768px) {
  .home-container {
    padding: var(--space-6);
  }

  .home-features {
    flex-direction: column;
    gap: 0;
    padding: var(--space-3);
  }

  .home-feature {
    padding: var(--space-3) 0;
  }

  .home-feature-divider {
    width: 100%;
    height: 1px;
  }
}
