/* ===== SOBA DESIGN SYSTEM ===== */
:root {
  --primary: #34c1b1;
  --primary-dark: #2ba99a;
  --primary-light: #ecf7f6;
  --accent: #f7c877;
  --accent-dark: #f0b85a;
  --accent-light: #fef8ed;

  --dark: #1a1f2e;
  --body: #4a5568;
  --muted: #8a93a3;
  --light-bg: #f8fafb;
  --white: #ffffff;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 16px 40px -12px rgba(26, 31, 46, 0.08);
  --shadow-hover: 0 20px 48px -10px rgba(52, 193, 177, 0.18);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--body);
  background-color: var(--light-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding: 40px 20px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== AMBIENT GLOWS ===== */
.glow-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.glow-teal {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(52, 193, 177, 0.4) 0%, rgba(52, 193, 177, 0) 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-65%);
}

.glow-yellow {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(247, 200, 119, 0.45) 0%, rgba(247, 200, 119, 0) 70%);
  bottom: -100px;
  right: 15%;
}

/* ===== MAIN CONTAINER ===== */
.coming-soon-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
}

.content-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 48px 40px;
  text-align: center;
  transition: var(--transition);
}

/* ===== VIEW CARDS & TRANSITIONS ===== */
.view-card {
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: translateY(0);
}

.view-card.hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(12px);
}

.view-card.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}

/* ===== TOP NAV BAR (ON SEEKER & LANDLORD CARDS) ===== */
.card-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-change-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(241, 245, 249, 0.7);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-change-role:hover {
  background: var(--white);
  color: var(--dark);
  border-color: rgba(52, 193, 177, 0.4);
  transform: translateX(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
  color: var(--dark);
}

.lang-btn.active {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.flag-svg {
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

/* ===== LOGO ===== */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(52, 193, 177, 0.25);
  object-fit: contain;
  transition: transform 0.3s ease;
}

.app-icon:hover {
  transform: translateY(-2px) scale(1.03);
}

/* ===== HEADLINE ===== */
.main-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.main-title .highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-title .highlight-gold {
  color: var(--accent-dark);
  background: linear-gradient(135deg, #f7c877 0%, #d98818 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.selector-subtitle {
  font-size: 1.05rem;
  color: var(--body);
  margin-top: -16px;
  margin-bottom: 28px;
  font-weight: 400;
}

/* ===== ROLE SELECTOR CHOICE CARDS ===== */
.role-choice-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.role-choice-card {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  font-family: var(--font-body);
  box-shadow: var(--shadow-subtle);
}

.role-choice-card:hover {
  transform: translateY(-2px);
}

.role-choice--seeker:hover {
  border-color: rgba(52, 193, 177, 0.8);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(52, 193, 177, 0.18);
}

.role-choice--landlord:hover {
  border-color: rgba(247, 200, 119, 0.9);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(247, 200, 119, 0.25);
}

.role-choice-body {
  flex: 1;
  min-width: 0;
}

.role-choice-tag-wrap {
  display: flex;
  margin-bottom: 5px;
}

.role-choice-heading {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 3px;
}

.role-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-badge--seeker {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.role-badge--landlord {
  background: var(--accent-light);
  color: #c87a0f;
}

.role-choice-desc {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.45;
  margin: 0;
}

.role-choice-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-choice--seeker .role-choice-arrow {
  color: var(--primary);
  background: var(--primary-light);
}

.role-choice--landlord .role-choice-arrow {
  color: #d98818;
  background: var(--accent-light);
}

.role-choice--seeker:hover .role-choice-arrow {
  transform: translateX(4px);
  background: var(--primary);
  color: var(--white);
}

.role-choice--landlord:hover .role-choice-arrow {
  transform: translateX(4px);
  background: #f0b85a;
  color: var(--white);
}

/* ===== 3 FEATURES ===== */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--white);
  border-color: rgba(52, 193, 177, 0.3);
  box-shadow: 0 4px 12px rgba(52, 193, 177, 0.08);
  transform: translateY(-1px);
}

.feature-item--gold:hover {
  border-color: rgba(247, 200, 119, 0.5);
  box-shadow: 0 4px 12px rgba(247, 200, 119, 0.12);
}

.feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon--gold {
  background: var(--accent-light);
  color: #d98818;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.45;
}

/* ===== COMING SOON BADGE ===== */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #1a1f2e 0%, #2a3349 100%);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(26, 31, 46, 0.15);
  margin-bottom: 32px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 0 0 rgba(52, 193, 177, 0.7);
  animation: pulse 1.8s infinite;
}

.badge-pulse--gold {
  background-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(247, 200, 119, 0.7);
  animation: pulseGold 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 193, 177, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 193, 177, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 193, 177, 0);
  }
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 200, 119, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(247, 200, 119, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(247, 200, 119, 0);
  }
}

.badge-text strong {
  color: var(--accent);
  font-weight: 600;
}

/* ===== CONTACT & INFO ===== */
.contact-card {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 24px;
  margin-bottom: 24px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.contact-item svg {
  color: var(--primary);
}

.contact-link {
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.company-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== FOOTER LINKS ===== */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.divider {
  color: #cbd5e1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 540px) {
  body {
    padding: 24px 16px;
  }

  .content-card {
    padding: 34px 18px;
    border-radius: var(--radius-lg);
  }

  .main-title {
    font-size: 1.75rem;
    margin-bottom: 22px;
  }

  .selector-subtitle {
    font-size: 0.95rem;
    margin-top: -12px;
    margin-bottom: 22px;
  }

  .app-icon {
    width: 76px;
    height: 76px;
  }

  .card-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }

  .btn-change-role {
    padding: 4px 10px;
    font-size: 0.74rem;
  }

  .role-choice-card {
    padding: 16px 16px;
    gap: 12px;
  }

  .role-choice-heading {
    font-size: 0.98rem;
  }

  .role-choice-desc {
    font-size: 0.82rem;
  }

  .role-choice-arrow {
    width: 34px;
    height: 34px;
  }

  .platform-badge {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .lang-switch-container {
    margin-bottom: 8px;
  }

  .lang-btn {
    padding: 4px 10px;
    font-size: 0.72rem;
  }
}

/* ===== WORD DROP TICKER ANIMATION ===== */
#ticker-ruler {
  position: fixed !important;
  visibility: hidden !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  top: -9999px !important;
  left: -9999px !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  font-family: var(--font-heading) !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

@media (max-width: 540px) {
  #ticker-ruler {
    font-size: 1.75rem !important;
  }
}

.morph-wrapper {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  text-align: left;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.morph-word {
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  letter-spacing: inherit;
  will-change: transform, opacity;
}

.morph-word.fall-down {
  animation: wordFallDown 0.32s cubic-bezier(0.4, 0, 0.7, 0.2) forwards;
}

.morph-word.fall-in {
  animation: wordFallIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wordFallDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0.75em);
    opacity: 0;
  }
}

@keyframes wordFallIn {
  0% {
    transform: translateY(-0.75em);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
