/* ==========================================================================
   Zeeyla — Coming Soon Landing Page
   ========================================================================== */

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  color: #2a2a2a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- NAV BAR ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6% 4px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo img {
  height: 42px;
  width: auto;
  /* Remove this filter if your logo already has brand colors */
  filter: brightness(0) saturate(100%) invert(39%) sepia(79%) saturate(3742%) hue-rotate(321deg) brightness(101%) contrast(101%);
}

.navbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-center button {
  padding: 6px 4px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 0;
  background: transparent;
  color: #FF4792;
  transition: color 0.15s;
}

.navbar-center button:hover {
  color: #2a2a2a;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-right button {
  background: none;
  border: none;
  cursor: pointer;
  color: #FF4792;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.navbar-right button:hover {
  color: #2a2a2a;
}

.navbar-right svg {
  width: 22px;
  height: 22px;
}

/* ---------- LANGUAGE TOGGLE ---------- */
.lang-toggle {
  display: flex;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.lang-btn {
  padding: 4px 10px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  background: #fff;
  color: #999;
  transition: all 0.15s;
}

.lang-btn:not(:last-child) {
  border-right: 1.5px solid #ddd;
}

.lang-btn.active {
  background: #FF4792;
  color: #fff;
}

.lang-btn:hover:not(.active) {
  background: #f5f5f5;
  color: #555;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 60px);
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-editable {
  background: #f8f8f8;
  padding: 40px 8%;
  text-align: center;
}

.hero-editable p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ---------- NEWSLETTER ---------- */
.newsletter {
  padding: 70px 8%;
  text-align: center;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.bell-icon {
  width: 48px;
  height: 48px;
  background: #FF4792;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.bell-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.newsletter h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.newsletter .subtitle {
  font-size: 0.95rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.newsletter-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 580px;
  margin: 0 auto 8px;
  gap: 0;
}

.newsletter-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 4px 0 0 4px;
  transition: border-color 0.2s;
  overflow: hidden;
}

.newsletter-input-wrap:focus-within {
  border-color: #FF4792;
}

.newsletter-input-wrap .mail-icon {
  padding: 0 14px;
  display: flex;
  align-items: center;
}

.newsletter-input-wrap .mail-icon svg {
  width: 20px;
  height: 20px;
  fill: #888;
}

.newsletter-input-wrap input[type="email"] {
  flex: 1;
  border: none;
  padding: 14px 4px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background: transparent;
}

.newsletter-captcha {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: #fafafa;
  border: 1.5px solid #ddd;
  border-left: none;
  font-size: 0.85rem;
  color: #666;
}

.newsletter-captcha input {
  width: 42px;
  padding: 8px 4px;
  border: 1.5px solid #ddd;
  border-radius: 3px;
  font-size: 0.9rem;
  font-family: inherit;
  text-align: center;
  outline: none;
}

.newsletter-captcha input:focus {
  border-color: #FF4792;
}

.newsletter-notify-btn {
  padding: 14px 24px;
  background: #FF4792;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  border-radius: 0 4px 4px 0;
}

.newsletter-notify-btn:hover {
  opacity: 0.85;
}

.newsletter-feedback {
  font-size: 0.82rem;
  min-height: 1.4em;
  margin-top: 6px;
}

.newsletter-feedback.error {
  color: #e74c3c;
}

.newsletter-feedback.success {
  color: #2a9d8f;
}

.newsletter .disclaimer {
  font-size: 0.82rem;
  color: #999;
  margin-top: 10px;
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #fff;
  border-radius: 6px;
  padding: 40px 36px 32px;
  max-width: 420px;
  width: 90%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.modal-close:hover {
  background: #f5f5f5;
}

.modal h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal h2 em {
  color: #FF4792;
  font-style: italic;
}

.modal .modal-sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 6px;
}

.modal input[type="text"],
.modal input[type="email"] {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.2s;
}

.modal input:focus {
  border-color: #FF4792;
}

.modal .hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

.modal .captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: #555;
}

.modal .captcha-row input {
  width: 70px;
  padding: 10px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  text-align: center;
}

.modal .captcha-row input:focus {
  border-color: #FF4792;
}

.modal .submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #FF4792, #ff6bab);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.modal .submit-btn:hover {
  opacity: 0.9;
}

.modal .error-msg {
  color: #e74c3c;
  font-size: 0.82rem;
  margin-top: 8px;
  min-height: 1.2em;
}

.modal .success-msg {
  text-align: center;
  padding: 30px 0;
}

.modal .success-msg h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #2a9d8f;
}

.modal .success-msg p {
  color: #666;
  font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.footer-mention {
  padding: 40px 8%;
  text-align: center;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.footer-mention p {
  font-size: 0.9rem;
  color: #777;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
  .navbar {
    padding: 8px 4%;
    gap: 4px;
  }

  .navbar-logo img {
    height: 30px;
  }

  .navbar-center {
    gap: 2px;
  }

  .navbar-center button {
    padding: 4px 3px;
    font-size: 0.75rem;
  }

  .navbar-right {
    gap: 12px;
  }

  .navbar-right svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    height: calc(100vh - 46px);
  }

  .hero-editable {
    padding: 28px 6%;
  }

  .hero-editable p {
    font-size: 1rem;
  }

  .newsletter {
    padding: 50px 6%;
  }

  .newsletter h1 {
    font-size: 1.1rem;
  }

  .newsletter .subtitle {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .newsletter-row {
    flex-wrap: wrap;
  }

  .newsletter-input-wrap {
    border-radius: 4px;
    min-width: 100%;
  }

  .newsletter-captcha {
    border-left: 1.5px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    min-width: 100%;
    justify-content: center;
  }

  .newsletter-notify-btn {
    border-radius: 4px;
    min-width: 100%;
    padding: 14px;
  }

  .modal {
    padding: 28px 24px 24px;
  }

  .modal h2 {
    font-size: 1.25rem;
  }

  .footer-mention {
    padding: 28px 6%;
  }
}
