/* Hero Section */
.hero {
  background: #0a0a0a;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.heroInner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.heroContent {
  max-width: 600px;
}

.heroTitle {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
}

.heroTitleAccent {
  color: #dc2626;
}

.heroSubtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0 0 2.5rem 0;
}

.heroButtons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.heroButtonPrimary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: #dc2626;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.heroButtonPrimary:hover {
  background: #b91c1c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4);
}

.heroButtonSecondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.heroButtonSecondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Code Block Visual */
.heroVisual {
  position: relative;
}

.codeBlock {
  background: #171717;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.codeHeader {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.codeDot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.codeContent {
  margin: 0;
  padding: 24px;
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #e5e5e5;
  background: transparent;
  border: none;
  overflow-x: auto;
}

/* Features Section */
.features {
  background: #fafafa;
  padding: 8rem 2rem;
}

:global([data-theme='dark']) .features {
  background: #0a0a0a;
}

.featuresInner {
  max-width: 1200px;
  margin: 0 auto;
}

.featuresHeader {
  text-align: center;
  margin-bottom: 4rem;
}

.featuresTitle {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  margin: 0 0 1rem 0;
}

:global([data-theme='dark']) .featuresTitle {
  color: #ffffff;
}

.featuresSubtitle {
  font-size: 1.25rem;
  color: #737373;
  margin: 0;
}

:global([data-theme='dark']) .featuresSubtitle {
  color: rgba(255, 255, 255, 0.6);
}

.featuresGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.featureCard {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

:global([data-theme='dark']) .featureCard {
  background: #171717;
  border-color: #262626;
}

.featureCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #dc2626;
}

:global([data-theme='dark']) .featureCard:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featureIcon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.featureTitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 0.75rem 0;
}

:global([data-theme='dark']) .featureTitle {
  color: #ffffff;
}

.featureDescription {
  font-size: 1rem;
  color: #525252;
  line-height: 1.6;
  margin: 0;
}

:global([data-theme='dark']) .featureDescription {
  color: rgba(255, 255, 255, 0.6);
}

/* CTA Section */
.cta {
  background: #0a0a0a;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ctaInner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ctaTitle {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 1rem 0;
}

.ctaSubtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 2.5rem 0;
}

.ctaButtons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ctaButtonPrimary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: #dc2626;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ctaButtonPrimary:hover {
  background: #b91c1c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4);
}

.ctaButtonSecondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ctaButtonSecondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 996px) {
  .heroInner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .heroContent {
    max-width: 100%;
  }

  .heroTitle {
    font-size: 3rem;
  }

  .heroButtons {
    justify-content: center;
  }

  .heroVisual {
    display: none;
  }

  .featuresGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featuresTitle {
    font-size: 2rem;
  }

  .ctaTitle {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .heroTitle {
    font-size: 2.5rem;
  }

  .heroSubtitle {
    font-size: 1rem;
  }

  .featuresGrid {
    grid-template-columns: 1fr;
  }

  .features {
    padding: 4rem 1.5rem;
  }

  .cta {
    padding: 4rem 1.5rem;
  }
}
