/* 
  smartassetlog.com - Core Stylesheet
  Premium Light Theme, CSS-Only Architecture
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette - Vibrant Light SaaS */
  --bg-primary: #f8fafc; /* Slate 50 */
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9; /* Slate 100 */
  
  --primary: #4f46e5; /* Indigo 600 */
  --primary-hover: #4338ca; /* Indigo 700 */
  --primary-light: #e0e7ff; /* Indigo 100 */
  --secondary: #0ea5e9; /* Sky 500 */
  --accent: #10b981; /* Emerald 500 */
  
  --text-main: #0f172a; /* Slate 900 */
  --text-medium: #334155; /* Slate 700 */
  --text-muted: #64748b; /* Slate 500 */
  --text-on-primary: #ffffff;

  --border-color: #e2e8f0; /* Slate 200 */
  --border-focus: #cbd5e1; /* Slate 300 */
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(241, 245, 249, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(148, 163, 184, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BASE STYLES & RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-bg-white {
  background-color: var(--bg-secondary);
}

.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-on-primary);
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.4);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-focus);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

/* --- HEADER / NAVIGATION --- */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.logo-icon::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 3px solid white;
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  position: absolute;
  top: 13px;
}

.logo-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: var(--radius-full);
  position: absolute;
  bottom: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transition: width var(--transition-normal);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- MOBILE HAMBURGER MENU (CSS ONLY) --- */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.menu-icon span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

/* --- HERO BACKGROUND SECTION --- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 140px 0 160px 0;
  overflow: hidden;
  margin-top: -1px;
}

/* Light overlay to keep contrast with dark/light background image */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-subtitle {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: inline-block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.image-credit {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-credit a {
  text-decoration: underline;
  color: white;
}

/* --- HOME PAGE SECTIONS --- */
.stats-bar {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.section-title-wrapper {
  max-width: 600px;
  margin: 0 auto 56px auto;
  text-align: center;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  font-weight: 800;
}

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

/* Asymmetric Grid Layout for features/services */
.feature-card {
  background-color: var(--bg-secondary);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-focus);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* Split Showcase Section */
.showcase-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  align-items: center;
}

.showcase-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.showcase-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.showcase-list {
  list-style: none;
  margin-bottom: 40px;
}

.showcase-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.showcase-list-item-icon {
  width: 24px;
  height: 24px;
  background-color: #d1fae5; /* Emerald 100 */
  color: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 2px;
}

.showcase-list-item-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.showcase-list-item-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.showcase-image-wrapper {
  position: relative;
}

.showcase-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.showcase-image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
}

.showcase-badge-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.showcase-badge-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* Call to Action Grid Section */
.cta-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 60px 80px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.15;
  top: -150px;
  right: -50px;
}

.cta-banner-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.cta-banner-title {
  font-size: 2.25rem;
  color: white;
  margin-bottom: 16px;
}

.cta-banner-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
}

.cta-banner-actions {
  position: relative;
  z-index: 2;
}

/* --- ASSETS PAGE (DASHBOARD) --- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.dashboard-sidebar {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.sidebar-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 700;
}

.filter-list {
  list-style: none;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  color: var(--text-medium);
  transition: all var(--transition-fast);
}

.filter-label:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-main);
}

.filter-color-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.dot-all { background-color: var(--text-muted); }
.dot-it { background-color: var(--primary); }
.dot-office { background-color: var(--secondary); }
.dot-vehicles { background-color: var(--accent); }
.dot-facilities { background-color: #f59e0b; /* Amber */ }

/* Table and logs listing styling */
.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.summary-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-card-info h4 {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.summary-card-value {
  font-size: 1.75rem;
  font-weight: 800;
}

.summary-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.summary-card-icon.blue { background-color: #eff6ff; color: #3b82f6; }
.summary-card-icon.green { background-color: #ecfdf5; color: #10b981; }
.summary-card-icon.amber { background-color: #fffbeb; color: #f59e0b; }

.table-container {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.table-header-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.assets-table {
  width: 100%;
  min-width: 750px;
  border-collapse: collapse;
  text-align: left;
}

.assets-table th {
  background-color: var(--bg-primary);
  padding: 16px 24px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

.assets-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.assets-table tbody tr:hover {
  background-color: #fafafa;
}

.asset-name-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asset-img-stub {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
}

.asset-title {
  font-weight: 600;
  color: var(--text-main);
}

.asset-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tag-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-badge.it { background-color: #e0e7ff; color: #4338ca; }
.tag-badge.office { background-color: #e0f2fe; color: #0369a1; }
.tag-badge.vehicles { background-color: #d1fae5; color: #047857; }
.tag-badge.facilities { background-color: #fef3c7; color: #b45309; }

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.status-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 9999px;
}

.status-indicator.active::before { background-color: var(--accent); }
.status-indicator.maintenance::before { background-color: #f59e0b; }
.status-indicator.retired::before { background-color: #ef4444; }

/* Pure CSS Dashboard Filtering Logic */
/* The radio buttons inputs will be located at the top level of the body. We hide them. */
.filter-state-all,
.filter-state-it,
.filter-state-office,
.filter-state-vehicles,
.filter-state-facilities {
  display: none;
}

/* Filtering row hiding logic depending on active states */
#filter-state-all:checked ~ * .assets-table tbody tr { display: table-row; }

#filter-state-it:checked ~ * .assets-table tbody tr:not(.row-it) { display: none; }
#filter-state-it:checked ~ * .assets-table tbody tr.row-it { display: table-row; }

#filter-state-office:checked ~ * .assets-table tbody tr:not(.row-office) { display: none; }
#filter-state-office:checked ~ * .assets-table tbody tr.row-office { display: table-row; }

#filter-state-vehicles:checked ~ * .assets-table tbody tr:not(.row-vehicles) { display: none; }
#filter-state-vehicles:checked ~ * .assets-table tbody tr.row-vehicles { display: table-row; }

#filter-state-facilities:checked ~ * .assets-table tbody tr:not(.row-facilities) { display: none; }
#filter-state-facilities:checked ~ * .assets-table tbody tr.row-facilities { display: table-row; }

/* Highlight Active Filter Labels in Sidebar */
#filter-state-all:checked ~ * .filter-list label[for="filter-state-all"],
#filter-state-it:checked ~ * .filter-list label[for="filter-state-it"],
#filter-state-office:checked ~ * .filter-list label[for="filter-state-office"],
#filter-state-vehicles:checked ~ * .filter-list label[for="filter-state-vehicles"],
#filter-state-facilities:checked ~ * .filter-list label[for="filter-state-facilities"] {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

/* Dashboard Log New Asset Form Section */
.dashboard-actions-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 32px;
}

.log-asset-form-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.log-asset-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background-color: var(--bg-primary);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* --- FEATURES & SOLUTIONS PAGE --- */
.features-hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
  padding: 100px 0;
  text-align: center;
}

.features-hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.features-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-detailed-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.feature-detailed-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-detailed-row:nth-child(even) {
  direction: rtl;
}

.feature-detailed-row:nth-child(even) .feature-detailed-text {
  direction: ltr;
}

.feature-detailed-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-detailed-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.feature-detailed-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  height: 380px;
  object-fit: cover;
  width: 100%;
}

/* Pure CSS Tab Switcher for technical specs */
.tech-specs-section {
  background-color: var(--bg-secondary);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.tab-system {
  max-width: 800px;
  margin: 0 auto;
}

.tab-inputs {
  display: none;
}

.tab-labels {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 32px;
}

.tab-label {
  padding: 16px 32px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.tab-label:hover {
  color: var(--primary);
}

.tab-content-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.spec-list {
  list-style: none;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.spec-name {
  font-weight: 600;
  color: var(--text-medium);
}

.spec-val {
  color: var(--text-muted);
}

/* Link Tab State to Panels & Active Styling */
#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

#tab1:checked ~ .tab-contents #panel1,
#tab2:checked ~ .tab-contents #panel2,
#tab3:checked ~ .tab-contents #panel3 {
  display: block;
}

/* --- PRICING PAGE --- */
.billing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.billing-label {
  font-weight: 600;
  cursor: pointer;
}

.switch-wrapper {
  position: relative;
  width: 60px;
  height: 32px;
}

.billing-checkbox {
  display: none;
}

.switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-focus);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.switch-slider::before {
  content: '';
  position: absolute;
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.billing-checkbox:checked + .switch-slider {
  background-color: var(--primary);
}

.billing-checkbox:checked + .switch-slider::before {
  transform: translateX(28px);
}

/* Connect root billing checkbox trigger to switch slider graphics */
#billing-toggle-input:checked ~ * .switch-slider {
  background-color: var(--primary);
}

#billing-toggle-input:checked ~ * .switch-slider::before {
  transform: translateX(28px);
}


.pricing-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular::after {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-tier {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 24px;
  min-height: 42px;
}

.price-box {
  margin-bottom: 32px;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.pricing-feature-check {
  color: var(--accent);
  font-weight: 800;
}

/* CSS billing logic */
.price-annual {
  display: none;
}

#billing-toggle-input:checked ~ * .price-monthly {
  display: none;
}

#billing-toggle-input:checked ~ * .price-annual {
  display: inline-block;
}

/* CSS Accordion for pricing page FAQs */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-checkbox {
  display: none;
}

.faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-trigger:hover {
  background-color: var(--bg-tertiary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-color);
  transition: transform var(--transition-normal);
  font-weight: 600;
}

.faq-icon::before {
  content: '+';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-muted);
  transition: all var(--transition-slow);
}

/* Open Accordion Action */
.faq-checkbox:checked + .faq-trigger .faq-icon {
  transform: rotate(45deg);
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: transparent;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 200px;
  padding: 0 24px 24px 24px;
}

/* --- CONTACT PAGE --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card-details h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

.contact-form-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contact-form-card p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* --- PURE CSS FORM SUCCESS MODAL ALERT --- */
.success-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn var(--transition-normal);
}

.success-overlay:target {
  display: flex;
}

.success-modal {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
  animation: modalScale var(--transition-slow);
}

.close-success-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.close-success-btn:hover {
  color: var(--text-main);
}

.success-alert-icon {
  width: 80px;
  height: 80px;
  background-color: #d1fae5;
  color: var(--accent);
  border-radius: var(--radius-full);
  margin: 0 auto 24px auto;
  font-size: 2.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-modal h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.success-modal p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* --- FOOTER --- */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 80px 0 40px 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-links-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 12px;
}

.footer-link-item a {
  font-size: 0.9rem;
}

.footer-link-item a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: #1e293b;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  background-color: var(--primary);
  color: white;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- SPLIT HERO LAYOUT --- */
.hero-split-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 650px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  padding: 80px 0;
}

.hero-split-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.75) 100%);
  z-index: 1;
}

.hero-container-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  position: relative;
  z-index: 2;
  align-items: center;
  width: 100%;
}

.hero-split-left {
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-left-content {
  max-width: 580px;
  width: 100%;
}

.hero-left-content .hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-left-content .hero-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 32px;
}

.hero-split-section .btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.hero-split-section .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-split-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background-image: none !important; /* Ensure split background is cleared */
}

.hero-visual-side {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Floating HUD elements for Hero */
.floating-hud-card {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatingBounce 4s ease-in-out infinite;
  z-index: 5;
}

.floating-hud-card.hud-1 {
  top: -40px;
  left: 20px;
  animation-delay: 0s;
}

.floating-hud-card.hud-2 {
  bottom: -40px;
  right: 10px;
  animation-delay: 2s;
}

.hud-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hud-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.hud-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

@keyframes floatingBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- BENTO GRID FEATURE LAYOUT --- */
.bento-section {
  background-color: var(--bg-primary);
  padding: 80px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 24px;
}

.bento-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-card-header {
  margin-bottom: 20px;
}

.bento-card-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Bento widget designs */
/* Terminal / Logs window simulator */
.terminal-window {
  background-color: #0f172a;
  border-radius: var(--radius-sm);
  border: 1px solid #1e293b;
  padding: 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #38bdf8;
  margin-top: 16px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.terminal-header {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.terminal-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terminal-line {
  line-height: 1.4;
}
.terminal-cmd { color: #f8fafc; }
.terminal-success { color: #4ade80; }

/* Custom barcode visual */
.barcode-visual-wrapper {
  background-color: var(--bg-primary);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-color);
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.barcode-graphic {
  width: 100%;
  height: 60px;
  background: repeating-linear-gradient(
    90deg,
    #0f172a,
    #0f172a 2px,
    transparent 2px,
    transparent 6px,
    #0f172a 6px,
    #0f172a 10px,
    transparent 10px,
    transparent 12px
  );
}

/* Custodian user lists inside bento */
.custodian-list-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.custodian-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.custodian-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custodian-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custodian-name {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Live audit geographic stats */
.audit-stats-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.audit-stat-box {
  background-color: var(--bg-primary);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  text-align: center;
}

.audit-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.audit-stat-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- RESPONSIVE DESIGN (MEDIA QUERIES) --- */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .showcase-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .showcase-image {
    height: 320px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero {
    padding: 100px 0 120px 0;
  }

  /* Hamburger Toggle & Responsive Navigation Bar */
  .menu-icon {
    display: flex;
    position: relative;
    z-index: 1100;
  }

  .nav-container {
    position: relative;
  }

  .nav-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background-color: var(--bg-secondary);
    z-index: 1050;
    padding: 120px 24px 24px 24px;
    border-radius: 0;
    border: none;
    border-left: 1px solid var(--border-color);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition-normal), visibility var(--transition-normal);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    list-style: none;
    width: 100%;
  }

  .nav-actions {
    display: none; /* Hide desktop specific buttons on mobile, or merge inside nav-links */
  }

  /* CSS Hamburger checked state */
  .menu-toggle:checked ~ .nav-links-wrapper {
    transform: translateX(0);
    visibility: visible;
  }

  /* Morphing hamburger lines into cross icon */
  .menu-toggle:checked + .menu-icon .bar1 {
    transform: translateY(7.5px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-icon .bar2 {
    opacity: 0;
    transform: scale(0);
  }

  .menu-toggle:checked + .menu-icon .bar3 {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* Adjustments for general homepage sections */
  .stats-bar {
    margin-top: -40px;
    padding: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item:nth-child(even) {
    border-right: none;
  }

  .stat-item:nth-child(1), .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
  }

  .cta-banner {
    flex-direction: column;
    gap: 32px;
    padding: 40px 24px;
    text-align: center;
  }

  .cta-banner-title {
    font-size: 1.75rem;
  }

  /* Dashboard specific mobile layout */
  .summary-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .table-container {
    overflow-x: auto;
  }

  .assets-table th, .assets-table td {
    padding: 12px 16px;
  }

  .dashboard-actions-grid {
    grid-template-columns: 1fr;
  }

  .form-group-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  /* Feature detailed pages */
  .feature-detailed-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .feature-detailed-row:nth-child(even) {
    direction: ltr;
  }

  .feature-detailed-image {
    height: 260px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Responsive Split Hero and Bento Grid */
  .hero-split-section {
    min-height: auto;
    padding: 60px 0;
  }

  .hero-container-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-split-left {
    justify-content: center;
    padding: 0;
  }

  .hero-left-content .hero-title {
    font-size: 2.5rem;
  }

  .hero-left-content .hero-buttons {
    justify-content: center;
  }

  .hero-split-right {
    min-height: auto;
    padding: 0;
  }

  .hero-visual-side {
    flex-direction: column;
    gap: 16px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .floating-hud-card {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: 12px;
    width: 100%;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-span-2 {
    grid-column: span 1;
  }
}
