/* landing.css — styles for the Otalytix unified landing carousel. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #EEF2F7;
  color: #1E293B;
  min-height: 100vh;
}

/* ── Top Bar (post-login) ── */
.landing-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.landing-header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.landing-header .logo-icon {
  width: 36px; height: 36px;
}

.landing-header .logo-icon svg {
  width: 100%; height: 100%;
}

.landing-header .logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #E2E8F0;
}

.landing-header .header-subtitle {
  font-size: 13px;
  color: #94A3B8;
  letter-spacing: 0.5px;
  margin-left: 12px;
  border-left: 1px solid #334155;
  padding-left: 12px;
}

.landing-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(226,232,240,0.15);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #E2E8F0;
  font-size: 13px;
}

.user-chip:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(226,232,240,0.30);
}

.user-chip-initials {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4B8BF5 0%, #7C3AED 100%);
  color: white;
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.signout-btn {
  background: transparent;
  border: 1px solid rgba(226,232,240,0.20);
  color: #E2E8F0;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.signout-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(226,232,240,0.40);
}

/* ── Main Content (post-login carousel) ── */
.landing-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 32px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-main h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 10px;
}

.landing-main .subtitle {
  font-size: 15px;
  color: #64748B;
  margin-bottom: 50px;
}

/* ── Suite Cards Grid ── */
.suites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.suite-card {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.suite-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: #9CA3AF;
}

.suite-card-title {
  padding: 20px 20px 12px;
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
}

.suite-card-title .specialty {
  font-weight: 800;
}

.suite-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F1F5F9;
}

.suite-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.suite-card:hover .suite-card-image img {
  transform: scale(1.03);
}

.suite-card-body {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.suite-card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 18px;
}

.suite-card-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
  font-family: inherit;
}

/* ── Wave decoration at bottom ── */
.wave-container {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  pointer-events: none;
  z-index: 0;
}

.wave-container svg {
  display: block;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .suites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .suites-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto 60px;
  }
  .landing-main h1 { font-size: 26px; }
  .landing-main { padding: 40px 20px 60px; }
  .landing-header { padding: 14px 20px; }
  .landing-header .header-subtitle { display: none; }
}

/* ══════════════════════════════════════════════════════
   STEALTH COVER — Remove the #stealth-cover div from index.html to expose the live app
   ══════════════════════════════════════════════════════ */
#stealth-cover {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: linear-gradient(160deg, #0F172A 0%, #1E293B 40%, #0F172A 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  overflow: hidden;
}
#stealth-cover::before,
#stealth-cover::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}
#stealth-cover::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #4B8BF5 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: orbDrift1 12s ease-in-out infinite;
}
#stealth-cover::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation: orbDrift2 15s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(120px, 80px); }
  66% { transform: translate(60px, -40px); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-100px, -60px); }
  66% { transform: translate(-50px, 40px); }
}
#stealth-cover .cover-logo {
  position: relative;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  animation: coverFadeIn 1s ease-out 0.1s both;
}
#stealth-cover .cover-logo svg {
  width: 80px; height: 80px;
  filter: drop-shadow(0 0 20px rgba(75, 139, 245, 0.3));
  animation: coverPulse 4s ease-in-out infinite;
  position: relative; z-index: 2;
}
#stealth-cover .cover-logo .logo-ring {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 1.5px solid transparent;
  border-top-color: rgba(75, 139, 245, 0.4);
  border-right-color: rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  animation: ringRotate 8s linear infinite;
}
#stealth-cover .cover-logo .logo-ring-inner {
  position: absolute; top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid transparent;
  border-bottom-color: rgba(107, 163, 247, 0.3);
  border-left-color: rgba(75, 139, 245, 0.15);
  border-radius: 50%;
  animation: ringRotate 6s linear infinite reverse;
}
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
#stealth-cover .cover-brand {
  font-size: 36px; font-weight: 700; letter-spacing: 10px;
  color: #E2E8F0;
  animation: coverFadeIn 1.5s ease-out 0.3s both;
}
#stealth-cover .cover-tagline {
  font-size: 18px; font-weight: 400; letter-spacing: 1px;
  color: #94A3B8;
  margin-top: -8px;
  background: linear-gradient(90deg, #94A3B8 0%, #CBD5E1 50%, #94A3B8 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: coverFadeIn 1.5s ease-out 0.8s both, shimmer 6s ease-in-out 2.5s infinite;
}
#stealth-cover .particles {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: hidden;
}
#stealth-cover .particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(75, 139, 245, 0.4);
  animation: particleFloat linear infinite;
}
#stealth-cover .particle:nth-child(1) { left: 15%; animation-duration: 18s; animation-delay: 0s; width: 2px; height: 2px; }
#stealth-cover .particle:nth-child(2) { left: 30%; animation-duration: 22s; animation-delay: -4s; background: rgba(124, 58, 237, 0.3); }
#stealth-cover .particle:nth-child(3) { left: 50%; animation-duration: 16s; animation-delay: -8s; width: 4px; height: 4px; }
#stealth-cover .particle:nth-child(4) { left: 65%; animation-duration: 20s; animation-delay: -2s; background: rgba(107, 163, 247, 0.35); width: 2px; height: 2px; }
#stealth-cover .particle:nth-child(5) { left: 80%; animation-duration: 24s; animation-delay: -6s; }
#stealth-cover .particle:nth-child(6) { left: 10%; animation-duration: 19s; animation-delay: -10s; background: rgba(124, 58, 237, 0.25); width: 2px; height: 2px; }
#stealth-cover .particle:nth-child(7) { left: 42%; animation-duration: 21s; animation-delay: -14s; width: 2px; height: 2px; }
#stealth-cover .particle:nth-child(8) { left: 72%; animation-duration: 17s; animation-delay: -3s; background: rgba(107, 163, 247, 0.3); }
#stealth-cover .particle:nth-child(9) { left: 90%; animation-duration: 23s; animation-delay: -9s; width: 2px; height: 2px; }
#stealth-cover .particle:nth-child(10) { left: 25%; animation-duration: 20s; animation-delay: -12s; background: rgba(124, 58, 237, 0.2); width: 3px; height: 3px; }
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; transform: translateY(90vh) scale(1); }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
}
#stealth-cover .cover-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 139, 245, 0.5), transparent);
  animation: coverFadeIn 1.5s ease-out 1.2s both, lineExpand 3s ease-out 1.5s both;
}
@keyframes lineExpand { from { width: 0; } to { width: 60px; } }
#stealth-cover .cover-quotes {
  display: flex;
  gap: 20px;
  max-width: 1000px;
  padding: 0 32px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
  animation: coverFadeIn 1.5s ease-out 1.6s both;
}
#stealth-cover .cover-quote {
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid rgba(75, 139, 245, 0.4);
  border-radius: 8px;
  padding: 16px 20px;
  flex: 1;
}
#stealth-cover .cover-quote-text {
  font-size: 13px;
  font-style: italic;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 10px;
}
#stealth-cover .cover-quote-author {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
}
@media (max-width: 768px) {
  #stealth-cover .cover-quotes {
    flex-direction: column;
    max-width: 320px;
    gap: 12px;
  }
}
@keyframes coverPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(75, 139, 245, 0.3)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 40px rgba(75, 139, 245, 0.6)); transform: scale(1.04); }
}
@keyframes coverFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0%, 100% { background-position: 200% 0; } 50% { background-position: -200% 0; } }
/* When stealth-cover is present, hide everything else */
#stealth-cover ~ #root,
#stealth-cover ~ .wave-container { display: none; }
/* ══════════════════════════════════════════════════════
   END STEALTH COVER
   ══════════════════════════════════════════════════════ */

/* ── Card entry animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.suite-card { animation: fadeInUp 0.5s ease-out both; }
.suite-card:nth-child(1) { animation-delay: 0.05s; }
.suite-card:nth-child(2) { animation-delay: 0.10s; }
.suite-card:nth-child(3) { animation-delay: 0.15s; }
.suite-card:nth-child(4) { animation-delay: 0.20s; }
.suite-card:nth-child(5) { animation-delay: 0.25s; }
.suite-card:nth-child(6) { animation-delay: 0.30s; }
