/* ====== Variables & Reset ====== */
:root {
  --primary-color: #5865F2;
  --whatsapp-color: #25D366;
  --instagram-gradient: linear-gradient(135deg, #FD5949, #D6249F, #285AEB);
  --warning-color: #F59E0B;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

/* ====== Buttons - Base Styles ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn:focus {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.98);
}

/* ====== Button Variants ====== */
.btn-primary {
  color: #fff;
  background: var(--primary-color);
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}

.btn-primary:hover {
  background: #4752d4;
}

.btn-whatsapp {
  color: #fff;
  background: var(--whatsapp-color);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #1fa85f;
}

.btn-instagram {
  color: #fff;
  background: var(--instagram-gradient);
  box-shadow: 0 4px 14px rgba(253, 89, 73, 0.4);
}

.btn-instagram:hover {
  opacity: 0.9;
}

.btn-warning {
  color: #fff;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d68d06, #c26305);
}

.btn-secondary {
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* ====== SVG Icons ====== */
.btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ====== Buttons Container ====== */
.buttons-container {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0 1rem;
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  .btn {
    font-size: 13px;
    padding: 11px 18px;
  }

  .buttons-container {
    gap: 12px;
  }

  .btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .btn {
    font-size: 12px;
    padding: 10px 16px;
    flex: 1 1 auto;
    min-width: 140px;
  }

  .buttons-container {
    gap: 10px;
  }

  .btn svg {
    width: 14px;
    height: 14px;
  }
}

/* ====== Animation Utilities ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ====== Text Improvements ====== */
h1 {
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ====== Dark Mode Support ====== */
@media (prefers-color-scheme: dark) {
  .btn-secondary {
    color: #e5e7eb;
    background: #1f2937;
    border-color: #374151;
  }

  .btn-secondary:hover {
    background: #111827;
    border-color: #4b5563;
  }
}
