body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  padding: 20px;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 400px;
  max-width: 90%;
}

.modal-content h2 {
  margin-bottom: 1rem;
}

.modal-content label {
  display: block;
  margin-top: 0.8rem;
  font-weight: bold;
}

.modal-content input, .modal-content select {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.modal-buttons {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.save-btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.cancel-btn {
  background: #ccc;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

/* ===========================
   Dashboard footer
=========================== */

.dashboard-footer {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 13px;
}

.dashboard-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-footer a {
  color: #6b7280;
  text-decoration: none;
}

.dashboard-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .dashboard-footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

.legal-container {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
}

.legal-container h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

.legal-container h2 {
  font-size: 22px;
  margin-top: 32px;
}

.legal-container h3 {
  font-size: 18px;
  margin-top: 20px;
}

.legal-container p,
.legal-container li {
  line-height: 1.6;
  margin-top: 12px;
}

.legal-date {
  margin-top: 40px;
  font-size: 13px;
  color: #6b7280;
}

/* ===========================
   Marketing footer
=========================== */

.marketing-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 24px 0;
  margin-top: 80px;
  font-size: 14px;
  color: #6b7280;
}

.marketing-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .marketing-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* Page brand logo for legal/privacidad/terminos/cookies pages */
.page-brand {
  margin: 20px 0;
}

.page-brand .page-logo {
  height: 44px;
  display: block;
}

@media (max-width: 480px) {
  .page-brand .page-logo { height: 36px; }
}

/* ===========================
   Video demo modal
=========================== */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.video-modal-content {
  position: relative;
  background: #000;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  z-index: 1;
}

.video-wrapper {
  width: 100%;
  height: 100%;
}

.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}