/* 
 * CrewLogix - Neo-Glass Elegance Styling System
 * Vibrant Dark Mode, Glassmorphism, Premium Micro-animations
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-color: #05070f;
  --surface-color: rgba(10, 14, 29, 0.6);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-border-hover: rgba(99, 102, 241, 0.25);
  
  --primary-color: #6366f1; /* Interactive Indigo */
  --primary-glow: rgba(99, 102, 241, 0.15);
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  
  --secondary-color: #10b981; /* Glowing Emerald */
  --secondary-glow: rgba(16, 185, 129, 0.15);
  --secondary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  
  --tertiary-color: #f59e0b; /* Amber Spark */
  --error-color: #ef4444; /* High Alert Red */
  --error-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --error-glow: rgba(239, 68, 68, 0.2);

  --text-main: #f0f2fa; /* Silver-White */
  --text-muted: #94a3b8; /* Slate gray */
  --text-dark: #0f172a;
  
  /* Layout */
  --max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ambient Radial Glows (Background Decoration) */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(100px);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Layout Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text-primary {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text-secondary {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphic Components */
.glass-panel {
  background: var(--surface-color);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--surface-border-hover);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.05);
}

/* Modern Glass Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 7, 15, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(5, 7, 15, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
}

.navbar .logo span {
  color: var(--primary-color);
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--primary-gradient);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.active {
  color: #fff;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.55);
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.btn-secondary:hover {
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: var(--error-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px var(--error-glow);
}

.btn-danger:hover {
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.4);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Landing Page Mockup Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
  filter: blur(50px);
  z-index: 1;
}

.mockup-container {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: var(--transition-smooth);
}

.mockup-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }

.mockup-screen {
  background: #090d22;
  aspect-ratio: 1.6;
  padding: 16px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
}

.mockup-sidebar {
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 8px;
}

.mockup-side-item {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
}

.mockup-side-item.active {
  background: var(--primary-color);
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-row {
  display: flex;
  gap: 8px;
}

.mockup-card {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  height: 60px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-card-title {
  height: 6px;
  width: 50%;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

.mockup-card-val {
  height: 10px;
  width: 80%;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.mockup-card-val.green {
  background: var(--secondary-color);
  width: 40%;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.mockup-schedule {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-sched-row {
  display: flex;
  gap: 6px;
}

.mockup-cell {
  flex: 1;
  height: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
}

.mockup-cell.filled {
  background: rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.5);
}

.mockup-cell.filled-sec {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Features Section */
.features {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  margin-bottom: 20px;
}

.section-description {
  color: var(--text-muted);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  border-color: transparent;
}

.feature-card-title {
  font-size: 22px;
}

.feature-card-description {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Interactive Tabs Section (Manager vs Worker Apps) */
.portals-preview {
  padding: 100px 0;
  background: rgba(10, 14, 29, 0.3);
  border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

.tab-controls {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 50px;
  gap: 4px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  color: #fff;
}

.tab-btn.manager.active {
  color: #818cf8;
}

.tab-btn.worker.active {
  color: #34d399;
}

.tab-btn.kiosk.active {
  color: #60a5fa;
}

.tab-btn.assets.active {
  color: #10b981;
}

.tab-btn.maintenance.active {
  color: #f59e0b;
}

.tab-content {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.tab-content.active {
  display: grid;
  animation: fadeIn 0.5s ease-out;
}

.tab-info-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tab-info-tag.manager-tag {
  background: rgba(99, 102, 241, 0.1);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.tab-info-tag.worker-tag {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-list {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
}

.feature-list-item svg {
  margin-top: 4px;
  flex-shrink: 0;
}

.feature-list-item span strong {
  color: #fff;
}

/* Pricing Grid */
.pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.pricing-card.premium {
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.1);
}

.pricing-card.premium::after {
  content: 'POPULAR';
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 30px;
}

.pricing-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.plan-name {
  font-size: 18px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.plan-price {
  font-size: 48px;
  color: #fff;
  font-weight: 800;
}

.plan-price span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-features li svg {
  color: var(--secondary-color);
  flex-shrink: 0;
}

/* Authentication / Portal Form Styling */
.auth-wrapper {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 40px;
  animation: fadeIn 0.4s ease-out;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 14px;
}

.auth-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.auth-toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.auth-toggle-btn.active {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  color: #fff;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-input {
  background: rgba(5, 7, 15, 0.5);
  border: 1px solid var(--surface-border);
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  width: 100%;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

/* User Account Portal Styles */
.portal-dashboard {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 140px;
  padding-bottom: 80px;
}

.portal-welcome-card {
  padding: 40px;
  margin-bottom: 30px;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.user-info-text h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.user-role-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.user-role-tag.manager {
  background: rgba(99, 102, 241, 0.1);
  color: #818cf8;
}

.user-role-tag.worker {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.portal-settings-card {
  padding: 40px;
  border-color: rgba(255, 255, 255, 0.05);
}

.settings-section-title {
  font-size: 22px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

/* Compliance Danger Zone: Account Deletion request */
.danger-zone {
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  background: rgba(239, 68, 68, 0.02) !important;
  margin-top: 40px;
}

.danger-zone:hover {
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.danger-title {
  color: #ef4444;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.danger-description {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Re-authentication modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 440px;
  padding: 32px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 20px 50px rgba(239, 68, 68, 0.15);
  animation: modalScale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
  margin-bottom: 20px;
}

.modal-title {
  font-size: 20px;
  color: var(--error-color);
  margin-bottom: 8px;
}

.modal-description {
  color: var(--text-muted);
  font-size: 14px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* Status Notifications */
.alert-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-bounce);
}

.alert-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.alert-toast.success {
  background: rgba(16, 185, 129, 0.9);
  border: 1px solid #10b981;
  color: #fff;
}

.alert-toast.error {
  background: rgba(239, 68, 68, 0.9);
  border: 1px solid #ef4444;
  color: #fff;
}

.alert-toast.info {
  background: rgba(99, 102, 241, 0.9);
  border: 1px solid #6366f1;
  color: #fff;
}

/* Compliance / Legal Pages Layout */
.legal-wrapper {
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-card {
  padding: 50px;
}

.legal-card h1 {
  font-size: 36px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 16px;
}

.legal-card h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 16px;
}

.legal-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-card ul {
  list-style: none;
  margin-left: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-card ul li {
  color: var(--text-muted);
  position: relative;
  font-size: 15px;
}

.legal-card ul li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: -15px;
  font-weight: bold;
}

/* Footer */
footer {
  background: #020307;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 80px 0 30px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.footer-brand-logo span {
  color: var(--primary-color);
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 260px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-column-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .mockup-container {
    transform: none;
    max-width: 500px;
    margin: 0 auto;
  }
  .mockup-container:hover {
    transform: none;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tab-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar .nav-links {
    display: none; /* simple hidden for mobile, in pure website keep simple */
  }
  .hero-title {
    font-size: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .legal-card {
    padding: 30px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Slick Header Dropdown Portal Menu */
.dropdown-portal {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-content {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transform-origin: top right;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 340px;
  padding: 10px;
  z-index: 1000;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
}

.dropdown-portal:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-portal:hover .dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff !important;
}

.dropdown-item:hover .dropdown-item-chevron {
  transform: translateX(4px);
  color: #fff;
}

.dropdown-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.dropdown-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  text-align: left;
}

.dropdown-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.dropdown-item-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.dropdown-item-chevron {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

/* Brand configurations for dropdown icon badges */
.dropdown-item.manager .dropdown-item-icon { background: rgba(129, 140, 248, 0.1); color: #818cf8; }
.dropdown-item.worker .dropdown-item-icon { background: rgba(52, 211, 153, 0.1); color: #34d399; }
.dropdown-item.kiosk .dropdown-item-icon { background: rgba(96, 165, 250, 0.1); color: #60a5fa; }
.dropdown-item.assets .dropdown-item-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.dropdown-item.maintenance .dropdown-item-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

/* 5 Segment Toggle Bar in Portal Page */
.auth-toggle-5 {
  display: flex;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--surface-border);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 28px;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}
.auth-toggle-5::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

.auth-toggle-btn-5 {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
}

.auth-toggle-btn-5.active {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.auth-toggle-btn-5.manager.active { border-color: rgba(129, 140, 248, 0.3); box-shadow: 0 0 12px rgba(129, 140, 248, 0.15); color: #818cf8; }
.auth-toggle-btn-5.worker.active { border-color: rgba(52, 211, 153, 0.3); box-shadow: 0 0 12px rgba(52, 211, 153, 0.15); color: #34d399; }
.auth-toggle-btn-5.kiosk.active { border-color: rgba(96, 165, 250, 0.3); box-shadow: 0 0 12px rgba(96, 165, 250, 0.15); color: #60a5fa; }
.auth-toggle-btn-5.assets.active { border-color: rgba(16, 185, 129, 0.3); box-shadow: 0 0 12px rgba(16, 185, 129, 0.15); color: #10b981; }
.auth-toggle-btn-5.maintenance.active { border-color: rgba(245, 158, 11, 0.3); box-shadow: 0 0 12px rgba(245, 158, 11, 0.15); color: #f59e0b; }

