/* ─ Brand logo in header — only override background image ─────────── */

.brand-logo-bg {
  background-image: url("/assets/logo.png") !important;
}


/* ── Site Footer ───────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding: 48px 0 0;
  background: rgba(10, 10, 20, 0.95) !important;
  border-top: 1px solid var(--line-soft);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Override any Google Translate styles on footer */
body.translated-ltr .site-footer,
body.translated-rtl .site-footer,
.goog-text-highlight .site-footer {
  background: rgba(10, 10, 20, 0.95) !important;
}

.footer-wrap {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding-bottom: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-text {
  color: #eff5ff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

.footer-logo-link .vidoox-eyes {
  position: relative;
  z-index: 2;
  display: inline-block;
  animation: vidoox-blink 4s infinite;
  transform-origin: center;
}

.footer-tagline {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

.footer-contact h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

/* Middle column — navigation */
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 10px;
}

/* Navigation links displayed as inline tag-buttons */
.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.footer-nav-links li a,
.footer-nav-links li button.footer-link {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.18s ease;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
}

.footer-nav-links li a:hover,
.footer-nav-links li button.footer-link:hover {
  color: var(--accent-2);
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.1);
}

/* Green gradient Contact Us button in footer */
.footer-nav-links li button.footer-btn-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: rgba(34, 197, 94, 0.5);
  color: #fff;
}

.footer-nav-links li button.footer-btn-green:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-color: rgba(34, 197, 94, 0.8);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.25);
}

.footer-contact-desc {
  color: var(--text-soft);
  font-size: 14px;
  margin: 40px 0 0;
  line-height: 1.5;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.15));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.footer-contact-btn:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(236, 72, 153, 0.25));
  border-color: rgba(139, 92, 246, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

/* ── Modal Overlay ─────────────────────────────────────────────────────── */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.is-open {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.modal-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(18, 20, 30, 0.95);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
  color: #f87171;
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}

.modal-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  background-image: url("/assets/logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.modal-header h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.modal-header p {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* ── Feedback Form ────────────────────────────────────────────────────── */

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.form-group label .required {
  color: var(--danger);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-soft);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 4px;
}

.btn-cancel {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.btn-submit {
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #7c3aed, #db2777);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-status {
  text-align: center;
  font-size: 13px;
  min-height: 20px;
}

.form-status.success {
  color: var(--ok);
}

.form-status.error {
  color: var(--danger);
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer {
    padding: 36px 0 0;
    margin-top: 40px;
  }

  .modal-content {
    padding: 28px 20px 24px;
  }
}

@media (max-width: 480px) {
  .form-actions {
    flex-direction: column;
  }

  .btn-cancel,
  .btn-submit {
    width: 100%;
    text-align: center;
  }
}