/* ===================================================================
   TryAutomate AI Hotel Assistant - Modern Luxury Hospitality Stylesheet
   =================================================================== */

:root {
  /* Brand Palette */
  --color-brand-primary: #0d1727;
  --color-brand-secondary: #16243d;
  --color-brand-accent: #c5a880;
  --color-brand-accent-hover: #b39366;
  --color-brand-gold-light: #f3ede2;
  --color-brand-sand: #fbf9f5;
  --color-brand-sand-dark: #f2ebe0;
  --color-text-main: #1f2937;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-border: #e9e2d5;
  --color-border-subtle: #f0eae1;
  --color-card-bg: #ffffff;
  --color-card-glass: rgba(255, 255, 255, 0.92);
  
  /* Status Colors */
  --status-clean: #10b981;
  --status-dirty: #ef4444;
  --status-progress: #f59e0b;
  --status-inspected: #3b82f6;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Elevations */
  --shadow-sm: 0 2px 8px rgba(13, 23, 39, 0.04);
  --shadow-md: 0 10px 30px rgba(13, 23, 39, 0.07);
  --shadow-lg: 0 20px 45px rgba(13, 23, 39, 0.12);
  --shadow-glow: 0 0 35px rgba(197, 168, 128, 0.28);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-brand-sand);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--color-brand-sand);
}
::-webkit-scrollbar-thumb {
  background: #d4c8b8;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-accent);
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #0d1727, #1e293b, #0d1727);
  color: #f1f5f9;
  font-size: 0.84rem;
  padding: 0.55rem 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}
.announcement-bar a {
  color: var(--color-brand-accent);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.4rem;
}
.announcement-bar a:hover {
  text-decoration: underline;
}

/* Navbar */
.luxury-navbar {
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.35s ease;
  padding: 0.9rem 0;
}
.luxury-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.65rem 0;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #f1ebe1;
  color: #795d32;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  border: 1px solid rgba(197, 168, 128, 0.35);
}
.navbar-nav .nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    padding: 0.5rem 0.55rem !important;
    transition: color 0.2s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-brand-accent-hover);
}

/* Luxury Buttons */
.btn-luxury-primary {
  background: linear-gradient(135deg, #c5a880 0%, #aa8b60 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 50px;
  padding: 0.72rem 1.6rem;
  border: none;
  box-shadow: 0 6px 18px rgba(197, 168, 128, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-luxury-primary:hover {
  background: linear-gradient(135deg, #b99a70 0%, #997b50 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(197, 168, 128, 0.45);
}
.btn-luxury-dark {
  background: var(--color-brand-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 50px;
  padding: 0.72rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(13, 23, 39, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-luxury-dark:hover {
  background: #1a2a44;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 23, 39, 0.3);
}
.btn-luxury-outline {
  background: transparent;
  color: var(--color-brand-primary);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 50px;
  padding: 0.72rem 1.6rem;
  border: 1.5px solid var(--color-brand-primary);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-luxury-outline:hover {
  background: var(--color-brand-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}
.btn-sm-luxury {
  padding: 0.48rem 1.15rem;
  font-size: 0.85rem;
}

/* Category Badges & Tags */
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  background: var(--color-brand-gold-light);
  color: #795d32;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(197, 168, 128, 0.3);
}
.category-pill-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #e2d3be;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(13, 23, 39, 0.04) 0%, transparent 50%),
              var(--color-brand-sand);
  overflow: hidden;
}
.hero-title {
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  line-height: 1.12;
  color: var(--color-brand-primary);
  margin: 1.4rem 0 1.2rem;
}
.hero-subtitle {
  font-size: 1.18rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2rem;
}
.hero-image-wrapper {
  position: relative;
}
.hero-main-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(13, 23, 39, 0.22);
  border: 4px solid #ffffff;
  position: relative;
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.hero-main-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.hero-main-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Floating Status Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.1rem;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(13, 23, 39, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: floatSlow 5s ease-in-out infinite alternate;
}
.floating-badge-1 {
  top: 10%;
  left: -8%;
}
.floating-badge-2 {
  bottom: 8%;
  right: -6%;
  animation-delay: -2.5s;
}
@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.pulsing-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
}
.pulsing-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pulseRing 1.8s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Hero Quick Pills */
.hero-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.hero-pill-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}
.hero-pill-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-accent);
  box-shadow: var(--shadow-md);
}
.hero-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-brand-gold-light);
  color: #8b6838;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* Section Header */
.section-header {
  margin-bottom: 3.5rem;
}
.section-title {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  color: var(--color-brand-primary);
  margin-top: 0.7rem;
  margin-bottom: 0.9rem;
}
.section-desc {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  max-width: 660px;
}

/* Luxury Feature Card */
.luxury-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.luxury-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.45);
}
.luxury-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-accent), #f3ede2);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.luxury-card:hover::before {
  opacity: 1;
}

/* Feature Check List */
.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.15rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: all 0.25s ease;
}
.feature-item:hover {
  background: #faf7f2;
  border-color: #dbc9af;
  transform: translateX(4px);
}
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f4eee3;
  color: #8b6838;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.feature-item strong {
  color: var(--color-brand-primary);
  font-size: 0.95rem;
}
.feature-item p {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* Showcase Image Container */
.showcase-media-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid #ffffff;
  background: #ffffff;
}
.showcase-media-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-media-box:hover img {
  transform: scale(1.025);
}

/* Dark Mode / Night Hero Section */
.dark-luxury-section {
  background: linear-gradient(135deg, #090f1a 0%, #111b2e 50%, #0d1727 100%);
  color: #f8fafc;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.dark-luxury-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(197, 168, 128, 0.08), transparent 70%);
  pointer-events: none;
}
.dark-luxury-section .section-title {
  color: #ffffff;
}
.dark-luxury-section .section-desc {
  color: #cbd5e1;
}
.dark-luxury-card {
  background: rgba(22, 34, 57, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all 0.35s ease;
}
.dark-luxury-card:hover {
  background: rgba(26, 42, 72, 0.85);
  border-color: rgba(197, 168, 128, 0.3);
  transform: translateY(-4px);
}

/* Live Interactive Voice AI Concierge Simulator */
.concierge-simulator {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}
.voice-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c5a880, #8b6838);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(197, 168, 128, 0.4);
  position: relative;
}
.voice-avatar::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(197, 168, 128, 0.5);
  animation: rotateSlow 15s linear infinite;
}
@keyframes rotateSlow {
  100% { transform: rotate(360deg); }
}

/* Audio Waveform */
.waveform-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
}
.wave-bar {
  width: 4px;
  background: var(--color-brand-accent);
  border-radius: 4px;
  height: 10px;
  animation: wave 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; }
.wave-bar:nth-child(6) { animation-delay: 0.75s; }
.wave-bar:nth-child(7) { animation-delay: 0.9s; }
@keyframes wave {
  0%, 100% { height: 6px; }
  50% { height: 32px; }
}

.sim-prompt-btn {
  background: #faf8f5;
  border: 1px solid #ebd9c2;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  text-align: left;
  font-size: 0.88rem;
  color: var(--color-brand-primary);
  font-weight: 500;
  transition: all 0.2s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sim-prompt-btn:hover, .sim-prompt-btn.active {
  background: #f0e6d6;
  border-color: #c5a880;
  transform: translateX(4px);
}
.sim-display-box {
  background: #0f172a;
  color: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  font-family: var(--font-sans);
  position: relative;
  min-height: 160px;
}

/* Phone Mockup */
.phone-mockup {
  max-width: 330px;
  margin: 0 auto;
  background: #111827;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.3);
  border: 4px solid #374151;
}
.phone-inner {
  background: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  min-height: 580px;
}
.phone-notch {
  width: 130px;
  height: 22px;
  background: #111827;
  margin: 0 auto;
  border-radius: 0 0 14px 14px;
}
.phone-screen-content {
  padding: 1rem;
}

/* Room Rhythm Interactive Board */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}
.room-tile {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}
.room-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.room-tile .room-num {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-brand-primary);
}
.room-tile .room-type {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.room-status-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  margin-top: 0.3rem;
  text-transform: uppercase;
}
.status-clean {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
}
.status-dirty {
  background: rgba(239, 68, 68, 0.15);
  color: #991b1b;
}
.status-progress {
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
}
.status-inspected {
  background: rgba(59, 130, 246, 0.15);
  color: #1e40af;
}

/* Progress bar */
.readiness-bar-wrap {
  background: #e2e8f0;
  height: 12px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0.8rem 0;
}
.readiness-bar-fill {
  background: linear-gradient(90deg, #10b981, #059669);
  height: 100%;
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ROI Calculator Card */
.roi-card {
  background: linear-gradient(145deg, #ffffff, #fbf9f5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.calc-stat-box {
  background: #f7f3ec;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid rgba(197, 168, 128, 0.25);
  text-align: center;
}
.calc-stat-val {
  font-size: 2.2rem;
  font-weight: 700;
  color: #8b6838;
  font-family: var(--font-serif);
}

/* Global Offices Cards */
.office-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}
.office-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand-accent);
}
.office-flag {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* Footer */
.luxury-footer {
  background: #080d16;
  color: #94a3b8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.luxury-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}
.luxury-footer a:hover {
  color: var(--color-brand-accent);
}

/* Floating Action Pill */
.floating-cta-pill {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: pulseGlow 3s infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(197, 168, 128, 0.4); }
  50% { box-shadow: 0 12px 40px rgba(197, 168, 128, 0.7); }
}

/* Tabs & Nav-Pills Custom */
.luxury-nav-pills {
  background: #ede6da;
  padding: 0.35rem;
  border-radius: 50px;
  display: inline-flex;
  gap: 0.25rem;
}
.luxury-nav-pills .nav-link {
  border-radius: 50px;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.35rem;
  border: none;
  transition: all 0.25s ease;
}
.luxury-nav-pills .nav-link.active {
  background: var(--color-brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 23, 39, 0.15);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .floating-badge {
    position: static;
    margin-top: 1rem;
    animation: none;
  }
  .hero-main-card {
    transform: none;
  }
  .concierge-simulator {
    padding: 1.5rem;
  }
}
