@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Syne:wght@700;800&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #c0392b;
  --red-dark: #96281b;
  --white: #f8f8f8;
  --off-white: #e0e0e0;
  --dark: #1a1a1a;
  --glass-bg: rgba(20, 20, 20, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
}

html, body {
  height: 100%;
  font-family: 'Outfit', sans-serif;
  color: var(--white);
  overflow: hidden;
}

/* ── Background ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('media/background.png') center / cover no-repeat;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(20, 20, 20, 0.65) 50%,
    rgba(10, 10, 10, 0.78) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ── Layout ── */
.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

/* ── Card ── */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  max-width: 520px;
  width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: cardIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e74c3c;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #e74c3c;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ── Typography ── */
.title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.title span {
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--off-white);
  opacity: 0.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.6), transparent);
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Buttons ── */
.buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Facebook */
.btn--fb {
  background: #1877f2;
  color: #fff;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.3);
}

.btn--fb:hover {
  box-shadow: 0 8px 32px rgba(24, 119, 242, 0.45);
  background: #1565d8;
}

/* Phone */
.btn--phone {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--phone:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* WhatsApp */
.btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn--wa:hover {
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  background: #1ebe57;
}

/* ── Animation helper ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Footer ── */
.footer {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.25);
  animation: fadeUp 0.8s 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Responsive ── */
@media (max-width: 540px) {
  .card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }
}