:root {
  --bg-color: #121212;
  --text-color: #ffffff;
  --accent-color: #333333;
  --font-family: "Rethink Sans", Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

* {
  box-sizing: border-box;
  /* Ensure all elements respect padding/border in their width */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background-color: var(--accent-color);
  padding: 20px;
  border-radius: 8px;
}

h1,
h2,
h3 {
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Splash Page */
.splash-page {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #090909;
}

.splash-page .iub__us-widget {
  display: none;
  /* position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 1000 !important; */
}

/* ============================================
   SPLASH PAGE LAYOUT
   ============================================ */
.splash-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ============================================
   FULLSCREEN CAROUSEL
   ============================================ */
.splash-carousel {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 16%;
}

.carousel-slides {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Keep overlay for legacy compat but hidden */
.overlay {
  display: none;
}

.header-gradient {
  display: none;
}

.header-logo {
  position: relative;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: #0C0C0C;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.header-lang,
.header-login {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-lang {
  justify-content: flex-end;
}

.header-login {
  justify-content: flex-start;
}

.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  letter-spacing: 2px;
  color: #faf9f7;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #faf9f7;
  border-radius: 50%;
  display: inline-block;
}

.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #faf9f7;
  max-width: 900px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.splash-content .hero-description {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #FAF9F7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.splash-content .coming-soon-label {
  font-size: 40px;
  font-weight: 600;
  line-height: 1em;
  color: #FAF9F7;
  text-align: center;
  margin-top: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  margin: 0;
}

.hero-link {
  font-family: "Space Grotesque", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #faf9f7;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.hero-link:hover {
  opacity: 0.8;
}

.splash-bottom-area {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.splash-footer-container {
  width: 100%;
  padding: 40px 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #faf9f7;
  font-family: "Rethink Sans", "Arial", sans-serif;
}

.splash-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 1.25rem;
  letter-spacing: 0.4px;
}

.footer-row-iubenda {
  width: 100%;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-left {
  display: flex;
  gap: 40px;
  align-items: center;
}

.footer-brand,
.footer-address,
.footer-contact {
  margin: 0;
  line-height: 1;
}

.footer-brand {
  font-weight: 500;
}

.footer-address {
  font-weight: 400;
}

.footer-contact {
  text-align: right;
}

/* Modal */
.modal {
  display: flex;
  /* Hidden by default via class */
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  /* Darker backdrop */
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal.hidden {
  display: none;
}

.modal-content {
  background-color: #0c0c0c;
  padding: 60px;
  border: 1px solid #333;
  width: 90%;
  max-width: 1356px;
  /* Match Figma registration width */
  position: relative;
  color: #faf9f7;
}

.login-content {
  max-width: 1102px;
  /* Match Figma login width */
}

.modal-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.5rem;
  /* 56px */
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.02em;
  /* 2% */
  line-height: 1.143;
  /* 1.1428571428571428em */
}

.modal-subtitle {
  font-family: "Inter", "Rethink Sans", "Arial", sans-serif;
  /* Fallback for Neue Haas Grotesk */
  font-size: 1.25rem;
  /* 20px */
  font-weight: 400;
  text-align: center;
  color: #faf9f7;
  letter-spacing: 0.02em;
  line-height: 1.223;
  margin: 0;
  max-width: 639px;
  margin: 0 auto;
}

.modal-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 41px;
  /* Gap for login */
  align-items: center;
}

.register-content .modal-header {
  margin-bottom: 32px;
  /* Gap for registration */
}

.close {
  color: #faf9f7;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #ccc;
}

/* Form Styles */
.register-form,
.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* Match Figma gap */
}

.login-form {
  max-width: 1102px;
  margin: 0 auto;
}

.login-form .form-row {
  display: grid;
  grid-template-columns: 251px 251px;
  justify-content: center;
}

.register-form {
  max-width: 1080px;
  margin: 0 auto;
}

.register-form .form-row {
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 24px;
  /* Match Figma gap */
}

.form-row.two-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-row.four-small {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}



label {
  display: none;
  /* Hide labels, use placeholders instead per Figma */
}

form input {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: 1.5px solid #faf9f7;
  border-radius: 6px;
  color: #faf9f7;
  font-family: "Inter", "Rethink Sans", "Arial", sans-serif;
  font-size: 0.875rem;
  /* 14px */
  font-weight: 400;
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.3s;
  box-shadow: inset 0px 4px 4px 0px rgba(250, 249, 247, 0.24);
  height: 48px;
  box-sizing: border-box;
}

form input::placeholder {
  color: #a7a7a7;
  font-family: "Inter", "Rethink Sans", "Arial", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

form input:focus {
  border-color: #faf9f7;
}

.btn-submit {
  padding: 12px 16px;
  background: #faf9f7;
  color: #0c0c0c;
  border: none;
  border-radius: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  /* 24px */
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  box-shadow: inset 0px 4px 4px 0px rgba(80, 80, 80, 0.08);
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.02em;
  line-height: 1.276;
}

.btn-submit:hover {
  background: #e6e6e6;
}

/* Login button - full width of container */
.login-form .btn-submit {
  width: 527px;
  margin: 0 auto;
}

/* Registration button - smaller width */
.register-form .btn-submit {
  width: 425px;
}

/* Privacy checkbox container */
.privacy-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.privacy-checkbox {
  width: 40px;
  height: 40px;
  border: 1.5px solid #faf9f7;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.privacy-text {
  font-family: "Inter", "Rethink Sans", "Arial", sans-serif;
  font-size: 1rem;
  /* 16px */
  font-weight: 400;
  color: #a7a7a7;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* Form footer for registration */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  width: 100%;
}

/* Marquee Styles */
.cities-marquee {
  width: 100%;
  background: transparent;
  padding: 10px 0;
  overflow: hidden;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 120s linear infinite;
  font-size: 20px;
  line-height: 1.4;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {

  /* Prevent horizontal scroll on mobile */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  /* Splash Page Mobile */
  .hero-text {
    font-size: 2.5rem;
    /* 40px */
    line-height: 1.2;
    padding: 0 20px;
    max-width: 100%;
  }

  .hero-link {
    font-size: 1.5rem;
    max-width: 100%;
  }

  .hero-description {
    font-size: 1rem !important;
  }

  .splash-layout {
    gap: 0;
  }

  .splash-carousel {
    flex-direction: column;
    padding-bottom: 0;
  }

  .splash-content {
    max-width: 100%;
    width: 100%;
    gap: 10px;
    padding: 20px;
    flex: 1;
    justify-content: center;
  }

  .splash-bottom-area {
    position: relative;
    bottom: auto;
  }

  .splash-content .coming-soon-label {
    font-size: 24px;
  }

  /* Background grid adjustment for mobile */
  .bg-image-grid {
    width: 100vw;
    max-width: 100%;
    padding: 10px;
  }

  /* Footer Mobile - Vertical Layout */
  .splash-footer-container {
    padding: 24px 40px;
    gap: 24px;
    margin-top: 0;
  }

  .splash-footer {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .footer-row-iubenda {
    justify-content: center;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  /* Modal becomes full screen on mobile */
  .modal {
    overflow-x: hidden;
  }

  .modal-content {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    padding: 48px 20px;
    border: none;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .login-content,
  .register-content {
    max-width: 100%;
    width: 100%;
  }

  /* Modal Header Mobile */
  .modal-title {
    font-size: 3.5rem;
    /* 56px for login, 40px for registration */
  }

  .register-content .modal-title {
    font-size: 2.5rem;
    /* 40px */
    line-height: 1.2;
  }

  .modal-subtitle {
    font-size: 1rem;
    /* 16px */
    max-width: 100%;
  }

  .modal-header {
    margin-bottom: 24px;
  }

  /* Forms Mobile - All fields stacked vertically */
  .login-form,
  .register-form {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }

  .login-form .form-row,
  .register-form .form-row,
  .form-row.two-large,
  .form-row.four-small {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 24px;
    width: 100%;
    max-width: 100%;
  }

  .form-group,
  .form-group.large-field,
  .form-group.small-field {
    width: 100%;
    max-width: 100%;
  }

  form input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Buttons Mobile - Full Width */
  .btn-submit,
  .login-form .btn-submit,
  .register-form .btn-submit {
    width: 100%;
    margin: 0;
  }

  /* Form Footer Mobile */
  .form-footer {
    flex-direction: column;
    gap: 24px;
  }

  .privacy-container {
    width: 100%;
  }

  /* Choice Screen for Mobile */
  .choice-screen {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 48px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .choice-option {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .choice-title {
    font-family: "Darker Grotesque", sans-serif;
    font-size: 2.5rem;
    /* 40px */
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #faf9f7;
    margin: 0;
  }

  .choice-subtitle {
    font-family: "Inter", "Rethink Sans", "Arial", sans-serif;
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #faf9f7;
    margin: 0;
  }

  .choice-button {
    width: 100%;
    padding: 12px 16px;
    background: #faf9f7;
    color: #0c0c0c;
    border: none;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    /* 20px */
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: inset 0px 4px 4px 0px rgba(80, 80, 80, 0.08);
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.02em;
    line-height: 1.276;
    margin-top: 16px;
  }

  .choice-button:hover {
    background: #e6e6e6;
  }

  /* Close button repositioning */
  .close {
    top: 20px;
    right: 20px;
    font-size: 32px;
  }

  /* Header logo mobile adjustments */
  .header-logo {
    padding: 12px 20px;
  }

  .logo-text {
    font-size: 1.6rem;
  }

  /* Responsive fixes for splash page overlap */
  .splash-page {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    flex-direction: column;
    justify-content: flex-start;
  }

  .splash-bottom-area {
    position: relative;
    bottom: auto;
    margin-top: 40px;
  }

  /* Make marquee relative on mobile */
  .cities-marquee {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 0;
  }
}