/* Logo Styling */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}
.logo-badge {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  overflow: hidden;
  background: radial-gradient(circle at 35% 35%, #145843 0%, #0A2E24 100%);
  border: 2px solid #F1B538;
  box-shadow: 0 4px 14px rgba(10, 46, 36, 0.5), 0 0 14px rgba(241, 181, 56, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  flex-shrink: 0;
}
.logo-badge:hover {
  transform: scale(1.08) rotate(3deg);
  border-color: #FCD88A;
  box-shadow: 0 6px 22px rgba(241, 181, 56, 0.55), 0 0 20px rgba(241, 181, 56, 0.45);
}
.logo-image {
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

/* Nav Tabs */
.nav-tab-btn {
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #cbd5e1;
  border: 1px solid transparent;
}
.nav-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-tab-btn.active {
  background: #D99B26;
  color: #0A2E24;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(217, 155, 38, 0.45);
  border-color: rgba(252, 216, 138, 0.5);
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #ffffff;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 30rem;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid #e2e8f0;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

/* Input Fields */
.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 640px) {
  .form-input {
    font-size: 0.875rem;
  }
}
.form-input:focus {
  outline: none;
  border-color: #196B52;
  box-shadow: 0 0 0 3px rgba(25, 107, 82, 0.15);
}

/* Partner Coming Soon Card */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 155, 38, 0.15);
  color: #F1B538;
  border: 1px solid rgba(217, 155, 38, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Logic42 Showcase Card */
.logic42-card {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #1e293b;
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.25s ease;
}
.logic42-card:hover {
  border-color: rgba(241, 181, 56, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Voice AI Simulator Chips */
.voice-chip {
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  transition: all 0.2s ease;
  background: rgba(15, 71, 55, 0.6);
  color: #cbd5e1;
  border: 1px solid rgba(25, 107, 82, 0.6);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.voice-chip:hover {
  background: rgba(25, 107, 82, 0.9);
  color: #ffffff;
  border-color: rgba(241, 181, 56, 0.5);
  transform: translateY(-1px);
}
.voice-chip.active {
  background: #D99B26;
  color: #0A2E24;
  font-weight: 800;
  border-color: #FCD88A;
  box-shadow: 0 0 12px rgba(217, 155, 38, 0.4);
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 640px) {
  .logo-badge {
    width: 38px;
    height: 38px;
  }
  .logo-container {
    gap: 0.5rem;
  }
  .nav-tab-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    gap: 0.25rem;
  }
  .modal-overlay {
    padding: 0.75rem;
    align-items: flex-end;
  }
  .modal-box {
    border-radius: 1.5rem 1.5rem 1rem 1rem;
    max-height: 88vh;
    max-height: 88dvh;
  }
}


