/* Hero Section */
.hero {
  padding: var(--space-20) 0;
  background: var(--color-bg);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-content {
  max-width: 560px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: #fef2f0;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: #EA4A35;
  margin-bottom: var(--space-6);
}

.hero-tag strong {
  color: #EA4A35;
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: 80px;
  margin-bottom: var(--space-6);
}

.hero-title-typed {
  color: var(--color-primary);
}

/* Typewriter effect */
.typewriter {
  display: inline;
}

.typewriter::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--color-primary);
}

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

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-video {
  position: relative;
}

.hero-video video {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Product Hero - Centered layout for product pages */
.hero-product {
  background: #f4f8fb;
  padding: var(--space-16) 0 var(--space-12);
}

.hero-product .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  gap: var(--space-8);
}

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

.hero-product .hero-tag {
  display: inline-flex;
  margin: 0 auto var(--space-6);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 16px;
  color: #333;
}

.hero-product .hero-tag strong {
  color: var(--color-primary);
  margin-right: 8px;
}

.hero-product .hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  color: #353b50;
  margin-bottom: var(--space-6);
}

.hero-product .hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  max-width: 700px;
  margin: 0 auto var(--space-8);
}

.hero-product .hero-actions {
  justify-content: center;
}

.hero-product .hero-image {
  max-width: 900px;
  margin: var(--space-8) auto 0;
}

.hero-product .hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-product .hero-video {
  max-width: 900px;
  margin: var(--space-8) auto 0;
}

.hero-product .hero-video video {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-12) 0;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .hero-stat {
    text-align: center;
  }
}
