.hero-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1559526324-4b87b5e36e44?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  height: 480px;
  display: flex;
  align-items: center;
  padding: 0 50px;
  border-bottom: 3px solid var(--red-primary);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #e2e8f0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 15px;
}

.features-container {
  max-width: 1200px;
  margin: -40px auto 40px auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  text-align: center;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 55px;
  height: 55px;
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  color: var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 15px auto;
}

.feature-card h3 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.5;
}

.showcase-section {
  max-width: 1200px;
  margin: 20px auto 50px auto;
  padding: 0 20px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.showcase-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.showcase-text h2 {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 15px;
}

.showcase-text p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 30px 20px 20px 20px;
  border-top: 3px solid var(--red-primary);
}

/* Smaller variant of the shared .brand mark, used in the footer. */
footer .brand {
  font-size: 16px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #334155;
}

.footer-rights {
  max-width: 1200px;
  margin: 15px auto 0 auto;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 760px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .hero-content h1 {
    font-size: 28px;
  }
}
