/* Estilos específicos para a landing page de Redução de Custos AWS */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a5fb4 0%, #0d47a1 100%);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/pattern.svg');
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: #ff9900;
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ff9900;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  max-width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Cost Reduction Chart */
.cost-reduction-chart {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  height: 300px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  position: relative;
}

.chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  transition: all 0.3s ease;
}

.chart-bar.original {
  height: 100%;
  background: linear-gradient(to top, #FF4B4B, #FF6B6B);
  border-radius: 0.5rem 0.5rem 0 0;
  position: relative;
}

.chart-bar.optimized {
  height: 60%;
  background: linear-gradient(to top, #4CAF50, #66BB6A);
  border-radius: 0.5rem 0.5rem 0 0;
  position: relative;
}

.bar-label {
  position: absolute;
  bottom: -2rem;
  font-size: 0.9rem;
  color: #ffffff;
  white-space: nowrap;
}

.bar-value {
  position: absolute;
  top: -2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}

.savings-badge {
  position: absolute;
  top: 50%;
  right: -3rem;
  transform: translateY(-50%);
  background: #ff9900;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.savings-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.savings-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #1a5fb4;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: #1a5fb4;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.benefit-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a5fb4;
}

.benefit-card p {
  color: #4a5568;
  line-height: 1.6;
}

/* Process Section */
.process {
  padding: 100px 0;
  background: #ffffff;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  width: 2px;
  height: 100%;
  background: #1a5fb4;
  opacity: 0.2;
}

.process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #1a5fb4;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a5fb4;
}

.step-content p {
  color: #4a5568;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #1a5fb4 0%, #0d47a1 100%);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/pattern.svg');
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Responsividade */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-cta {
    align-items: center;
  }

  .process-timeline::before {
    left: 25px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .process-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .process-timeline::before {
    left: 20px;
  }

  .cost-reduction-chart {
    height: 250px;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .chart-bar {
    width: 100px;
  }

  .savings-badge {
    width: 60px;
    height: 60px;
    right: -2rem;
  }

  .savings-value {
    font-size: 1.2rem;
  }

  .savings-label {
    font-size: 0.7rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta {
    align-items: center;
  }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .benefit-card {
    transition: none;
  }
}

/* SEO e Performance */
.hero-image img {
  loading: "lazy";
}

/* Estrutura para IA */
[data-ai-section] {
  margin-bottom: 2rem;
}

[data-ai-section="hero"] {
  background-color: #1a5fb4;
}

[data-ai-section="benefits"] {
  background-color: #f8f9fa;
}

[data-ai-section="process"] {
  background-color: #ffffff;
}

[data-ai-section="cta"] {
  background-color: #0d47a1;
} 