@charset "UTF-8";

/* Modal Overlay */
.welcome-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.welcome-modal-overlay.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Container */
.welcome-modal-container {
  position: relative;
  background-color: #ffffff;
  max-width: 100%;
  /* max-height: 90vh; */
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
  min-width: 600px;
  margin: auto;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.welcome-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: none;
  background-color: transparent;
  font-size: 28px;
  color: #666666;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  line-height: 1;
}

.welcome-modal-close:hover {
  background-color: #f0f0f0;
  color: #333333;
}

/* Welcome Content */
.welcome-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  /* padding: 20px; */
  width: 100vw;
  max-height: 100vh;
  overflow-y: auto;
}

/* Header / Logo Section */
.welcome-header {
  padding: 20px 40px;
  position: relative;
  width: 100%;
  z-index: 10;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-emblem {
  position: relative;
  width: 80px;
  height: 80px;
}

.logo-outer-ring {
  width: 80px;
  height: 80px;
  /* border: 4px solid #002768; */
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.logo-icon {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}











/* Main Content Section */
.welcome-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Coming Soon Title */
.coming-soon-title {
  font-size: 72px;
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
  line-height: 1.2;
}

.coming-text {
  color: #8b2a8b;
  display: inline-block;
}

.soon-text {
  color: #002768;
  display: inline-block;
  margin-left: 10px;
}

/* Service Description */
.service-description {
  font-size: 22px;
  font-weight: bold;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Subscription Form */
.subscription-form {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  width: 100%;
  max-width: 580px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  gap: 0;
  width: 100%;
  margin-bottom: 20px;
}

.form-input {
  flex: 1;
  width: 480px;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #dddddd;
  border-radius: 6px 0 0 6px;
  background-color: #ffffff;
  font-size: 16px;
  color: #333333;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: #002768;
}

.form-input::placeholder {
  color: #d4d4d4;
  font-size: 16px;
}

.form-button {
  width: 100px;
  height: 50px;
  background-color: #01286d;
  color: #ffffff;
  border: none;
  border-radius: 0 6px 6px 0;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  outline: none;
}

.form-button:hover {
  background-color: #001f5a;
}

.form-button:active {
  background-color: #001547;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #002768;
}

.form-checkbox-label {
  font-size: 14px;
  color: #002768;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
}

/* Cancel Button */
.welcome-cancel-button {
  width: 120px;
  height: 40px;
  background-color: transparent;
  color: #666666;
  border: 1px solid #dddddd;
  border-radius: 6px;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  margin-top: 10px;
}

.welcome-cancel-button:hover {
  background-color: #f5f5f5;
  border-color: #cccccc;
  color: #333333;
}

.welcome-cancel-button:active {
  background-color: #eeeeee;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .welcome-modal-container {
    min-width: auto;
    width: 100%;
    max-height: 95vh;
  }
  .welcome-modal-overlay{
    height: 100vh;
    width: 100vw;
    top: -7.032rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* 当弹框显示时，禁止 body 滚动 */
  body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
  }

  .welcome-content {
    padding: 15px;
  }

  .welcome-header {
    padding: 15px 20px;
  }

  .logo-emblem {
    width: 60px;
    height: 60px;
  }

  .logo-outer-ring {
    width: 60px;
    height: 60px;
    border-width: 3px;
  }



  .logo-company-name {
    font-size: 16px;
  }

  .logo-company-tagline {
    font-size: 14px;
  }

  .welcome-main {
    padding-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .coming-soon-title {
   width: 70%;
  }
  .coming-soon-title img{
    width: 100%;
    height: auto;
  }

  .logo-icon{
    width: 90px;
  }
  .logo-icon img{
    width: 100%;
    height: auto;
  }

  .coming-text,
  .soon-text {
    display: block;
    margin-left: 0;
  }

  .service-description {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .form-group {
    flex-direction: column;
    gap: 10px;
  }

  .form-input {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-radius: 6px;
  }

  .form-button {
    width: 100%;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .welcome-modal-container {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .coming-soon-title {
    font-size: 36px;
  }

  .service-description {
    font-size: 16px;
  }

  .form-input,
  .form-button {
    /* height: 45px; */
  }

  .welcome-modal-close {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
}
