:root {
  --primary-red: #e82222;
  --dark-red: #9e0000;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.16);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

.overlay {
  background:
    linear-gradient(135deg, rgba(140, 20, 20, 0.459) 0%, rgba(20, 0, 0, 0.97) 100%),
    url("https://minio.u-tech.co.mz/cbe-vagas/assets/bg3.jpg") no-repeat center center fixed;
  background-size: cover;
  position: fixed;
  inset: 0;
  z-index: 1;
}

.overlay::before,
.overlay::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.overlay::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 60, 60, 0.2), transparent 70%);
  top: -120px;
  left: -120px;
  animation: driftA 14s ease-in-out infinite alternate;
}

.overlay::after {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(180, 0, 0, 0.18), transparent 70%);
  bottom: -80px;
  right: -80px;
  animation: driftB 11s ease-in-out infinite alternate;
}

@keyframes driftA {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 90px) scale(1.2); }
}

@keyframes driftB {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-60px, -70px) scale(0.85); }
}

.hero-container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.glass-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main);
  max-width: 640px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  animation: cardIn 0.8s var(--ease-out) both;
}

.glass-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.02) 100%
  );
  pointer-events: none;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.glass-box > * {
  animation: fadeUp 0.6s var(--ease-out) both;
}

.glass-box > *:nth-child(1) { animation-delay: 0.1s; }
.glass-box > *:nth-child(2) { animation-delay: 0.18s; }
.glass-box > *:nth-child(3) { animation-delay: 0.26s; }
.glass-box > *:nth-child(4) { animation-delay: 0.34s; }
.glass-box > *:nth-child(5) { animation-delay: 0.42s; }
.glass-box > *:nth-child(6) { animation-delay: 0.5s; }
.glass-box > *:nth-child(7) { animation-delay: 0.56s; }
.glass-box > *:nth-child(8) { animation-delay: 0.62s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.glass-box img {
  width: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.glass-box h1 {
  font-size: clamp(1.8rem, 8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #fff;
}

.glass-box p.subtitle {
  font-size: clamp(0.65rem, 2vw, 0.8rem);
  color: rgba(255, 190, 190, 0.85);
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

.glass-box .question {
  margin-top: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-red {
  background: linear-gradient(135deg, #ff2a2a 0%, #b30000 100%);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 16px 32px;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 25px;
  margin: 8px;
  text-decoration: none !important;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow:
    0 6px 24px rgba(180, 0, 0, 0.55),
    0 0 0 1px rgba(255, 80, 80, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-red::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-red:hover::after {
  left: 140%;
}

.btn-red:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 32px rgba(220, 0, 0, 0.6) !important,
    0 0 0 1px rgba(255, 80, 80, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: brightness(1.1);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.btn-red:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(255, 80, 80, 0.45) !important;
}

.btn-red:active {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.services-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 18px;
}

.services-divider::before,
.services-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.services-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.services-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.btn-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 1px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 16px;
  color: rgb(255, 255, 255) !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  transition:
    transform 0.25s var(--ease-spring),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-service::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 100, 100, 0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-service:hover::before {
  opacity: 1;
}

.btn-service:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 160, 160, 0.4) !important;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  color: #fff !important;
}

.btn-service:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-service i {
  font-size: 1.2rem;
  color: rgba(255, 170, 170, 0.9);
  transition: transform 0.3s var(--ease-spring), color 0.2s ease;
}

.btn-service:hover i {
  transform: scale(1.25) translateY(-2px);
  color: #fff;
}

.btn-service span {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.glass-box a.text-white:hover {
  opacity: 1 !important;
  text-decoration: underline !important;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7) !important;
  animation: none;
}

.whatsapp-float i {
  font-size: 2rem;
  color: #fff;
}

@media (max-width: 480px) {
  .glass-box {
    border-radius: 20px;
    padding: 28px 20px;
  }

  .glass-box h1 {
    font-size: 2.2rem;
  }

  .services-grid {
    flex-wrap: wrap;
  }

  .btn-service {
    flex: 1 1 calc(50% - 4px);
    min-width: calc(50% - 4px);
    padding: 12px 8px;
  }

  .btn-service span {
    font-size: 0.62rem;
  }

  .btn-service i {
    font-size: 1.1rem;
  }

  .btn-red {
    width: 100%;
    margin: 4px 0;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float i {
    font-size: 1.75rem;
  }
}

@media (max-width: 340px) {
  .btn-service {
    flex: 1 1 100%;
  }
}

