/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  --surface: #ffffff;
  --primary: #2f6fed;
  --primary-light: #eaf2ff;
  --primary-hover: #1a56cc;
  --primary-dark: #0f3580;
  --orange: #f37021;
  --orange-light: #fff2eb;
  --orange-hover: #d95a12;
  --green: #10b981;
  --green-light: #ecfdf5;
  --red: #f43f5e;
  --red-light: #fff1f2;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px -8px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 32px 64px -12px rgba(15, 23, 42, 0.16);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--bg-gradient);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.text-center {
  text-align: center;
}

.section {
  padding: 6.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.975rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 111, 237, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47, 111, 237, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-fast);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.logo-svg {
  filter: drop-shadow(0 4px 8px rgba(47, 111, 237, 0.25));
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 6rem 0 7rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.brand-promises {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.promise-item svg {
  color: var(--green);
  background: var(--green-light);
  border-radius: 50%;
  padding: 2px;
}

/* ==========================================================================
   APP SIMULATOR: PHONE CONTAINER & HARDWARE
   ========================================================================== */
.hero-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 375px;
  height: 770px;
  border-radius: 46px;
  background: #0f172a;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 30px 70px -15px rgba(0, 0, 0, 0.3), inset 0 2px 8px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-normal);
  transform-style: preserve-3d;
  animation: floatPhone 6s ease-in-out infinite;
}

.phone-mockup:hover {
  transform: translateY(-8px) rotateY(-2deg) rotateX(1deg);
}

/* Float Animation */
@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Phone physical buttons */
.phone-button {
  position: absolute;
  background: #1e293b;
  border-radius: 2px;
}

.volume-up {
  width: 3px;
  height: 50px;
  left: -3px;
  top: 150px;
}

.volume-down {
  width: 3px;
  height: 50px;
  left: -3px;
  top: 210px;
}

.power {
  width: 3px;
  height: 75px;
  right: -3px;
  top: 180px;
}

/* Phone inner screen frame */
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Phone Status Bar */
.phone-status-bar {
  height: 38px;
  background: #ffffff;
  padding: 8px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  z-index: 10;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.notch {
  width: 120px;
  height: 20px;
  background: #0f172a;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 15px;
  z-index: 15;
}

.notch .camera {
  width: 7px;
  height: 7px;
  background: #1e293b;
  border-radius: 50%;
}

.notch .speaker {
  width: 45px;
  height: 3px;
  background: #334155;
  border-radius: 20px;
}

.status-bar-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   SIMULATOR LAYOUT & SCREEN STATES
   ========================================================================== */
.sim-screen {
  flex: 1;
  display: none; /* Controlled by logic */
  flex-direction: column;
  overflow: hidden;
  background: #f8fafc;
}

.sim-screen.active-screen {
  display: flex;
}

.sim-scroll-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* Hide default scrollbars for mobile feel */
.sim-scroll-container::-webkit-scrollbar {
  width: 4px;
}

.sim-scroll-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* Bottom Nav bar */
.phone-bottom-nav {
  height: 64px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding-bottom: 4px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.625rem;
  font-weight: 700;
  gap: 3px;
  transition: color var(--transition-fast);
}

.nav-item svg {
  color: #64748b;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active svg {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-item:hover svg {
  transform: scale(1.05);
}

/* Toast banners inside phone */
.sim-toast {
  position: absolute;
  bottom: 74px;
  left: 16px;
  right: 16px;
  background: var(--primary);
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  z-index: 50;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}

.sim-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   SIMULATOR SUB-COMPONENTS (SCREEN STYLING)
   ========================================================================== */

/* Sim Header (Home) */
.sim-header {
  padding: 16px 16px 8px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #1e293b;
  font-family: 'Outfit', sans-serif;
}

.sim-logo svg {
  filter: drop-shadow(0 2px 4px rgba(47, 111, 237, 0.15));
}

.sim-header-actions {
  display: flex;
  gap: 8px;
}

.sim-icon-btn, .sim-profile-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
}

.sim-profile-btn svg {
  fill: #f1f5f9;
}

/* Sim Search Input */
.sim-search-bar {
  padding: 8px 16px 14px;
  background: #ffffff;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.sim-search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.sim-search-input-wrapper input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.85rem;
  outline: none;
  font-weight: 500;
  transition: border-color var(--transition-fast);
}

.sim-search-input-wrapper input:focus {
  border-color: var(--primary);
  background: #ffffff;
}

.sim-search-input-wrapper .search-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
}

.btn-search-sim {
  padding: 0 16px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-search-sim:hover {
  background: var(--primary-hover);
}

/* Stats Cards (Home Screen) */
.sim-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.sim-stat-card {
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.sim-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sim-stat-card.card-blue {
  background: linear-gradient(135deg, #2f6fed 0%, #1e40af 100%);
}

.sim-stat-card.card-orange {
  background: linear-gradient(135deg, #f37021 0%, #c2410c 100%);
}

.stat-icon-wrapper {
  opacity: 0.9;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.stat-count {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 2px;
}

/* Location Hierarchy breadcrumb widget */
.sim-hierarchy-section {
  background: #eff6ff;
  border-radius: 14px;
  padding: 10px 14px;
  margin: 0 16px 12px;
  border: 1px solid #dbe7f8;
}

.hierarchy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.hierarchy-title {
  font-size: 0.625rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.06em;
}

.hierarchy-count {
  font-size: 0.625rem;
  font-weight: 700;
  color: #2f6fed;
}

.hierarchy-breadcrumb-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #1e3a8a;
}

.breadcrumb-folder-icon {
  color: #3b82f6;
  opacity: 0.85;
}

.hierarchy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.breadcrumb-item {
  cursor: pointer;
}

.breadcrumb-item:hover {
  text-decoration: underline;
  color: var(--primary);
}

.breadcrumb-sep {
  color: #94a3b8;
  font-size: 0.7rem;
}

/* Generic listings */
.sim-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-card {
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}

.list-card:hover {
  border-color: #dbe7f8;
  transform: translateX(1px);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.box-icon-bg {
  background: #eff6ff;
  color: #2f6fed;
}

.item-icon-bg {
  background: #fff2eb;
  color: #f37021;
}

.card-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

.card-desc {
  font-size: 0.725rem;
  color: #64748b;
  margin-top: 1px;
}

.card-meta {
  font-size: 0.725rem;
  font-weight: 700;
  color: #64748b;
  margin-right: 8px;
}

.item-meta-badge {
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 0.65rem;
  font-weight: 800;
}

.status-available {
  background: var(--green-light);
  color: var(--green);
}

.status-inuse {
  background: var(--orange-light);
  color: var(--orange);
}

.btn-card-edit {
  border: none;
  background: none;
  color: #94a3b8;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.btn-card-edit:hover {
  color: #64748b;
  background: #f1f5f9;
}

/* Empty states */
.empty-state {
  text-align: center;
  color: #94a3b8;
  padding: 30px 16px;
  font-size: 0.825rem;
  font-weight: 500;
}

/* ==========================================================================
   SIMULATOR INTERNAL SCREENS
   ========================================================================== */

/* Screen Header template */
.sim-screen-header {
  padding: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  gap: 12px;
}

.sim-screen-header.no-back {
  padding-left: 20px;
}

.sim-screen-header h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
}

.sim-back-btn {
  border: none;
  background: none;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 1.5rem;
  font-weight: 300;
  font-family: monospace;
}

.back-arrow {
  display: inline-block;
  transform: translateY(-2px);
}

.sim-container-details {
  padding: 0 16px 12px;
}

.container-details-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.container-details-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.container-details-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

.sim-inline-search {
  margin: 12px 16px 2px;
  position: relative;
  display: flex;
  align-items: center;
}

.sim-inline-search input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: white;
  font-size: 0.8rem;
  font-weight: 500;
  outline: none;
}

.sim-inline-search input:focus {
  border-color: var(--primary);
}

.inline-search-icon {
  position: absolute;
  left: 10px;
  color: #94a3b8;
}

/* Flat List details */
.box-card-flat, .item-card-flat {
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
}

.card-location-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 12px;
  font-size: 0.65rem;
}

.loc-label {
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.loc-value {
  font-weight: 700;
  color: #1e293b;
}

/* ==========================================================================
   SIMULATOR FORMS
   ========================================================================== */
.sim-form-location-box, .sim-form-location-item {
  margin: 12px 16px 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.725rem;
}

.sim-form-location-box {
  background: #eff6ff;
  border: 1px solid #dbe7f8;
  color: #1e3a8a;
}

.sim-form-location-item {
  background: #fff2eb;
  border: 1px solid #fdd8c5;
  color: #7c2d12;
}

.form-loc-label {
  font-size: 0.6rem;
  font-weight: 800;
  color: #64748b;
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}

.form-loc-path {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.sim-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Photo Upload Placeholders */
.photo-upload-placeholder {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color var(--transition-fast), transform 0.1s;
}

.photo-upload-placeholder:active {
  transform: scale(0.99);
}

.photo-upload-placeholder.blue-upload {
  background: #f8fafc;
}

.photo-upload-placeholder.blue-upload:hover {
  border-color: var(--primary);
}

.photo-upload-placeholder.orange-upload {
  background: #fff8f5;
}

.photo-upload-placeholder.orange-upload:hover {
  border-color: var(--orange);
}

.upload-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-icon-circle.bg-blue {
  background: #eff6ff;
  color: var(--primary);
}

.upload-icon-circle.bg-orange {
  background: #fff2eb;
  color: var(--orange);
}

.upload-text {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.text-blue {
  color: var(--primary);
}

.text-orange {
  color: var(--orange);
}

/* Form Inputs */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.input-group label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #2f6fed;
  letter-spacing: 0.04em;
}

.input-group input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.85rem;
  outline: none;
  font-weight: 500;
  background: #ffffff;
}

.input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.1);
}

/* Submit Buttons */
.btn-submit-sim {
  padding: 12px;
  border-radius: 12px;
  color: white;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  margin-top: 10px;
  transition: background var(--transition-fast), transform 0.1s;
}

.btn-submit-sim:active {
  transform: translateY(1px);
}

.bg-blue {
  background: var(--primary);
}

.bg-blue:hover {
  background: var(--primary-hover);
}

.bg-orange {
  background: var(--orange);
}

.bg-orange:hover {
  background: var(--orange-hover);
}

/* Toggle Available Switch Styling */
.status-toggle-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
}

.status-toggle-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.85rem;
}

.hand-icon {
  padding: 2px;
  border-radius: 6px;
}

.hand-icon.status-green {
  background: var(--green-light);
  color: var(--green);
}

.hand-icon.status-orange {
  background: var(--orange-light);
  color: var(--orange);
}

.status-green {
  color: var(--green);
}

.status-orange {
  color: var(--orange);
}

/* Switch Switcher logic */
.mock-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.mock-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mock-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .2s;
}

.mock-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
}

input:checked + .mock-slider {
  background-color: var(--orange); /* Check is "In Use" (orange) */
}

input:focus + .mock-slider {
  box-shadow: 0 0 1px var(--orange);
}

input:checked + .mock-slider:before {
  transform: translateX(20px);
}

.mock-slider.round {
  border-radius: 24px;
}

.mock-slider.round:before {
  border-radius: 50%;
}

/* ==========================================================================
   SIMULATOR STATUS: ITEMS IN USE SCREEN
   ========================================================================== */

/* Header */
.status-inuse-header {
  padding: 18px 20px 0;
  background: #f8fafc;
}

.status-inuse-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 10px;
}

.status-inuse-divider {
  height: 1px;
  background: #e2e8f0;
}

/* Section label */
.status-section-label {
  padding: 12px 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.section-label-text {
  font-size: 0.625rem;
  font-weight: 800;
  color: #f37021;
  letter-spacing: 0.1em;
}

.section-label-count {
  font-size: 0.6rem;
  font-weight: 700;
  color: #94a3b8;
}

/* Out-of-place item cards */
.status-out-card {
  background: #fff8f3;
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  border: 1px solid #fde8d8;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.status-out-card:hover {
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(243, 112, 33, 0.08);
  border-color: #f9c9a8;
}

.status-out-card:active {
  transform: scale(0.99);
}

/* Thumbnail */
.status-out-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fff2eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #f37021;
  flex-shrink: 0;
  border: 1px solid #fdd8c5;
}

/* Item info */
.status-out-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.status-out-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.status-out-location {
  font-size: 0.65rem;
  font-weight: 800;
  color: #f37021;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.status-out-borrow {
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
  font-style: italic;
  margin-top: 1px;
}

/* Chevron arrow */
.status-out-chevron {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  flex-shrink: 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.status-out-card:hover .status-out-chevron {
  color: #f37021;
  transform: translateX(2px);
}

/* ==========================================================================
   SIMULATOR SETTINGS SCREEN
   ========================================================================== */
.sim-settings-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-card {
  background: white;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #e2e8f0;
}

.db-card {
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.db-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.db-card-header h3 {
  font-size: 0.9rem;
  font-weight: 800;
}

.sqlite-icon {
  color: #3f5efb;
}

.db-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  padding: 10px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.db-meta-item {
  display: flex;
  flex-direction: column;
  font-size: 0.725rem;
}

.meta-lbl {
  color: #64748b;
  font-weight: 600;
}

.meta-val {
  font-weight: 800;
  color: #0f172a;
  margin-top: 1px;
}

.highlight-badge {
  color: var(--primary);
}

.db-description-text {
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.4;
  padding: 0 4px;
}

.settings-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-section h4 {
  font-size: 0.65rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.05em;
  padding-left: 4px;
}

.action-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-action-btn {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.775rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.settings-action-btn:hover {
  background: #f8fafc;
}

.settings-action-btn svg {
  color: #64748b;
}

.btn-danger {
  color: var(--red);
  border-color: #fca5a5;
  background: #fff5f5;
}

.btn-danger:hover {
  background: #ffe4e6;
}

.btn-danger svg {
  color: var(--red);
}

/* Backup loading bar */
.progress-wrapper {
  background: #eff6ff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #dbe7f8;
  display: none; /* Controlled by logic */
}

.progress-details {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 6px;
}

.progress-track {
  height: 6px;
  background: #dbe7f8;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.2s ease;
}

/* ==========================================================================
   LANDING PAGE PRODUCT SHOWCASE (REST OF WEBPAGE)
   ========================================================================== */
.features-detailed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
  margin-top: 2rem;
}

.feature-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.feature-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.f-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.f-detail-icon.bg-blue {
  background: var(--primary-light);
  color: var(--primary);
}

.f-detail-icon.bg-orange {
  background: var(--orange-light);
  color: var(--orange);
}

.f-detail-icon.bg-green {
  background: var(--green-light);
  color: var(--green);
}

.f-detail-icon.bg-purple {
  background: #f3e8ff;
  color: #9333ea;
}

.feature-detail-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-detail-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Other Products Showcase */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill.alt {
  background: #f1f5f9;
  color: #475569;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.tagline {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About Us Section styling */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-lead h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.about-lead p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.info-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.info-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.principles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.principles-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.principles-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
  font-size: 1.1rem;
}

/* Footer Section */
.site-footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 5rem 0 4rem;
  border-top: 1px solid #1e293b;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.50rem;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.footer-slogan {
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.footer-email {
  font-size: 1.1rem;
  font-weight: 700;
  color: #38bdf8;
  transition: color var(--transition-fast);
}

.footer-email:hover {
  color: #7dd3fc;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .brand-promises {
    align-items: flex-start;
  }
  
  .features-detailed-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Collapse menu for simple responsive landing */
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-right {
    align-items: center;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .phone-mockup {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 320 / 660;
    padding: 8px;
  }
  
  .notch {
    width: 100px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1200px, calc(100% - 1.5rem));
  }
}

