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

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Color Palette */
  --bg-darker: #080b11;
  --bg-dark: #0f131e;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-glass: rgba(17, 24, 39, 0.55);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-focus: rgba(99, 102, 241, 0.4);
  
  --primary: #6366f1; /* Indigo */
  --primary-glow: rgba(99, 102, 241, 0.15);
  --secondary: #06b6d4; /* Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.15);
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --accent-gradient-hover: linear-gradient(135deg, #4f46e5 0%, #0891b2 100%);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --success: #10b981; /* Emerald */
  --success-glow: rgba(16, 185, 129, 0.15);
  --danger: #ef4444; /* Rose */
  --danger-glow: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b; /* Amber */
  --warning-glow: rgba(245, 158, 11, 0.15);
  
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 24px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
  --shadow-neon: 0 0 20px rgba(99, 102, 241, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Gradients */
.bg-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -10;
  pointer-events: none;
}

.glow-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.25;
}

.glow-bubble-1 {
  top: -10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background-color: var(--primary);
  animation: float-bubble 20s infinite alternate;
}

.glow-bubble-2 {
  top: 40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background-color: var(--secondary);
  animation: float-bubble-reverse 25s infinite alternate;
}

.glow-bubble-3 {
  bottom: 10%;
  right: -5%;
  width: 450px;
  height: 450px;
  background-color: var(--primary);
  opacity: 0.15;
}

@keyframes float-bubble {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 100px) scale(1.1); }
}

@keyframes float-bubble-reverse {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -80px) scale(1.05); }
}

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Headings & Text */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 11, 17, 0.7);
  border-bottom: 1px solid var(--border-glass);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-disclaimer-pill {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--warning);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Main Hero Section */
.hero {
  padding: 10rem 2rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  align-self: flex-start;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-primary);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
  background: var(--accent-gradient-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 500px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-glow {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: var(--accent-gradient);
  filter: blur(30px);
  opacity: 0.15;
  z-index: -1;
  border-radius: var(--radius-lg);
}

/* System Stack Info Section */
.stack-section {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-header h2 {
  font-size: 2.75rem;
}

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

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-focus);
  box-shadow: var(--shadow-md), 0 0 15px var(--primary-glow);
}

.stack-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.stack-card:nth-child(2) .stack-icon {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--secondary);
}

.stack-card:nth-child(3) .stack-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.stack-card h3 {
  font-size: 1.35rem;
}

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

/* Database Schema Representation */
.schema-section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.schema-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.schema-description {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.schema-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 480px;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.schema-table-card {
  background: rgba(8, 11, 17, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.schema-table-header {
  background: #181d2c;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}

.schema-table-name {
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schema-table-rows {
  padding: 0.5rem 0;
}

.schema-table-row {
  padding: 0.35rem 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-family: monospace;
}

.schema-table-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

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

.column-type {
  color: var(--text-muted);
}

.column-key {
  color: var(--warning);
  font-size: 0.75rem;
}

/* Features Grid */
.features-section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}

.feature-tag {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  align-self: flex-start;
  text-transform: uppercase;
}

.feature-card.warden-feature .feature-tag {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.feature-card h4 {
  font-size: 1.15rem;
}

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

/* Simulator Section Wrapper */
.simulator-section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* Window Shell styling (Tkinter Simulation mock) */
.window-shell {
  background: #0d111b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 25px 50px -12px rgba(0,0,0,0.8);
  overflow: hidden;
  height: 700px;
  display: flex;
  flex-direction: column;
}

.window-titlebar {
  background: #141a29;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dots {
  display: flex;
  gap: 0.5rem;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.window-action-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.window-container {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Simulator Sidebar */
.sim-sidebar {
  width: 240px;
  background: #101524;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1rem;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.sidebar-item-header {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin: 1rem 0 0.5rem 0.5rem;
}

.sidebar-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.sidebar-btn.active {
  background: var(--accent-gradient);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.sidebar-btn.active-warden {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.sim-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Simulator Content Screen */
.sim-content {
  flex: 1;
  background: #090c14;
  padding: 2rem;
  overflow-y: auto;
  position: relative;
}

.sim-screen {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeIn 0.3s ease forwards;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sim-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.sim-screen-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.sim-date-badge {
  background: #141a29;
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Simulator Specific Panels (Hosteller View) */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
}

.sim-panel {
  background: #101524;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sim-panel-title {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
}

/* Profile view table list */
.profile-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.profile-item span:first-child {
  color: var(--text-muted);
}

.profile-item span:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* Calendar Simulation */
.calendar-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  text-align: center;
}

.cal-day-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.25rem;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.cal-day:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cal-day.empty {
  background: transparent;
  cursor: default;
  pointer-events: none;
}

.cal-day.selected {
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(99, 102, 241, 0.3);
}

.cal-day.present {
  background: var(--success-glow);
  color: var(--success);
  font-weight: 600;
}

.cal-day.absent {
  background: var(--danger-glow);
  color: var(--danger);
  font-weight: 600;
}

.cal-day.leave {
  background: var(--warning-glow);
  color: var(--warning);
  font-weight: 600;
}

.cal-actions {
  display: flex;
  gap: 0.5rem;
}

.cal-btn {
  flex: 1;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cal-btn:hover {
  opacity: 0.85;
}

.btn-present { background: var(--success); color: white; }
.btn-absent { background: var(--danger); color: white; }
.btn-leave { background: var(--warning); color: black; }

/* Outpass Request Form */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-input {
  background: #090c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--primary);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

/* History table */
.sim-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  max-height: 180px;
}

.sim-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}

.sim-table th {
  background: #141a29;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-pending { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.badge-approved { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.badge-rejected { background: rgba(239, 68, 68, 0.15); color: var(--danger); }

/* Warden Stats Cards */
.warden-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  background: #101524;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-val {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.stat-card.glow-stat {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(180deg, #101524 0%, rgba(245, 158, 11, 0.02) 100%);
}

.stat-card.glow-stat .stat-val {
  color: var(--warning);
}

/* Warden Row Operations (Approve/Reject) */
.approval-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 250px;
  overflow-y: auto;
}

.approval-item {
  background: #141a29;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.approval-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.approval-header {
  font-size: 0.85rem;
  font-weight: 600;
}

.approval-dates {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.approval-reason {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

.approval-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.action-btn:hover {
  opacity: 0.9;
}

.btn-approve { background: var(--success); color: white; }
.btn-reject { background: var(--danger); color: white; }

/* Filter Layout */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
  background: #141a29;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Footer Section */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem 8rem; /* Extra bottom padding to clear the disclaimer */
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* Sticky Bottom Disclaimer Banner */
.disclaimer-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 19, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  z-index: 1000;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
  animation: slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.disclaimer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.disclaimer-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.925rem;
  color: var(--text-primary);
}

.disclaimer-icon {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.disclaimer-text strong {
  color: var(--warning);
}

.disclaimer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.disclaimer-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

@keyframes slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 8rem;
    gap: 3rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-desc {
    margin: 0 auto;
  }
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .schema-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple navbar fallback for display */
  }
  .hero-title {
    font-size: 3rem;
  }
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .window-container {
    flex-direction: column;
  }
  .sim-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
  }
  .sidebar-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .sidebar-item-header {
    display: none;
  }
  .sidebar-btn {
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
  }
  .sim-info {
    display: none;
  }
  .window-shell {
    height: auto;
  }
  .sim-content {
    padding: 1.25rem;
  }
  .warden-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-bar {
    grid-template-columns: 1fr;
  }
  .disclaimer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
