.hero-section {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 55%, var(--bs-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.25) 0%, transparent 70%);
  top: -250px;
  right: -250px;
  animation: home-pulse 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(var(--bs-secondary-rgb), 0.2) 0%, transparent 70%);
  bottom: -220px;
  left: -200px;
  animation: home-pulse 6s ease-in-out infinite 1s;
}

@keyframes home-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.85;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  animation: home-fade-up 0.8s ease-out;
}

@keyframes home-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
}

.welcome-badge {
  display: inline-block;
  background: rgba(var(--bs-primary-rgb), 0.18);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.35);
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #ffffff;
  animation: home-fade 1s ease-out 0.3s both;
}

@keyframes home-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.apps-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--bs-body-bg) 0%, rgba(var(--bs-info-rgb), 0.08) 100%);
  min-height: 100vh;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: rgba(var(--bs-dark-rgb), 0.95);
}

.app-card {
  background: #ffffff;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.14);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--app-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(var(--bs-primary-rgb), 0.25);
}

.app-card:hover::before {
  opacity: 1;
}

.app-card.table-sync {
  --app-color: var(--bs-success);
}

.app-card.kitchen-sync {
  --app-color: var(--bs-danger);
}

.app-card.customer-sync {
  --app-color: var(--bs-warning);
}

.app-card.book-sync {
  --app-color: var(--bs-secondary);
}

.app-card.admin-sync {
  --app-color: var(--bs-primary);
}

.app-card.api-sync {
  --app-color: var(--bs-primary-dark);
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  background: var(--app-color);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.app-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: rgba(var(--bs-dark-rgb), 0.92);
}

.app-card-description {
  color: rgba(var(--bs-dark-rgb), 0.65);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.app-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.app-btn {
  background: var(--app-color);
  border: none;
  border-radius: 12px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  display: inline-block;
  width: 100%;
}

.app-btn:hover {
  filter: brightness(1.1);
  transform: translateX(4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.guest-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  animation: home-fade-up 0.8s ease-out;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
}

.guest-card-header {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 100%);
  padding: 2rem;
  text-align: center;
  color: #ffffff;
}

.guest-card-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.guest-card-body {
  padding: 2.5rem;
  background: rgba(var(--bs-info-rgb), 0.05);
}

.guest-card-body .lead {
  color: rgba(var(--bs-dark-rgb), 0.75);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.25), rgba(var(--bs-secondary-rgb), 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  font-size: 1.5rem;
  color: rgba(var(--bs-dark-rgb), 0.8);
}

.feature-content h5 {
  color: rgba(var(--bs-dark-rgb), 0.92);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: rgba(var(--bs-dark-rgb), 0.65);
  margin: 0;
  font-size: 0.95rem;
}

.guest-card-footer {
  padding: 2rem;
  background: rgba(var(--bs-primary-rgb), 0.05);
  border-top: 1px solid rgba(var(--bs-primary-rgb), 0.15);
  text-align: center;
  color: rgba(var(--bs-dark-rgb), 0.75);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .app-card {
    margin-bottom: 1.5rem;
  }
}
