* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  background-size: 200% 200%;
  animation: gradientFlow 15s ease infinite;
  color: #f8fafc;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.content {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
  transform: translateY(0);
  animation: contentAppear 1s ease-out;
}

@keyframes contentAppear {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  transform: translateY(0);
  animation: titleFloat 6s ease-in-out infinite;
}

@keyframes titleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

h4 {
  font-size: 1.15rem;
  font-weight: 400;
  color: #cbd5e1;
  margin-bottom: 50px;
  line-height: 1.6;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.calculator-Button {
  position: relative;
  overflow: hidden;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

.calculator-Button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transition: all 0.6s ease;
}

.calculator-Button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.6);
  background: linear-gradient(135deg, #0284c7, #2563eb);
}

.calculator-Button:hover:before {
  left: 100%;
}

.calculator-Button:active {
  transform: translateY(-2px);
}

#acessarSalario {
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

#acessarSalario:hover {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.6);
}

.featured-icon {
  position: absolute;
  font-size: 10rem;
  opacity: 0.03;
  color: white;
  transform: rotate(15deg);
  z-index: -1;
}

.icon-calculator {
  top: 20%;
  right: 5%;
}

.icon-money {
  bottom: 15%;
  left: 5%;
}

footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 15px 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  margin-top: auto;
}

footer h3 {
  font-size: 0.95rem;
  font-weight: 400;
  color: #94a3b8;
}

/* Animação de brilho para destaque dos cards */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.3); }
  50% { box-shadow: 0 0 40px rgba(56, 189, 248, 0.6); }
}

/* Media Queries */
@media (max-width: 768px) {
  .content {
    padding: 40px 25px;
  }

  h1 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .button-container {
    flex-direction: column;
    gap: 15px;
  }

  .calculator-Button {
    width: 100%;
    padding: 14px 24px;
  }
}