@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* CSS Variables and Theme */
:root {
  --background: #ffffff;
  --foreground: #0a0f1c;
  --card: rgba(255, 255, 255, 0.9);
  --card-foreground: #0a0f1c;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #f8fafc;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --destructive: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;
  --border: rgba(226, 232, 240, 0.3);
  --input: rgba(226, 232, 240, 0.5);
  --ring: #6366f1;
  --radius: 1.25rem;
  
  /* Brand gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-warning: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* Enhanced colors */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  
  /* Text colors */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Utility Classes */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hidden { display: none; }
.w-full { width: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-30 { z-index: 30; }
.overflow-hidden { overflow: hidden; }
.rounded-md { border-radius: 0.75rem; }
.rounded-lg { border-radius: 1rem; }
.rounded-xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.text-slate-50 { color: var(--slate-50); }
.text-slate-100 { color: var(--slate-100); }
.text-slate-200 { color: var(--slate-200); }
.text-slate-300 { color: var(--slate-300); }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-800 { color: var(--slate-800); }
.text-slate-900 { color: var(--slate-900); }
.text-emerald-400 { color: var(--emerald-400); }
.text-emerald-500 { color: var(--emerald-500); }
.text-emerald-600 { color: var(--emerald-600); }
.text-blue-500 { color: var(--blue-500); }
.text-blue-600 { color: var(--blue-600); }
.text-purple-500 { color: var(--purple-500); }
.text-purple-600 { color: var(--purple-600); }
.text-pink-500 { color: var(--pink-500); }
.text-orange-500 { color: var(--orange-500); }
.text-sky-600 { color: var(--blue-500); }
.text-emerald-800 { color: var(--emerald-600); }

/* Glass Effects */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.header-container {
  display: flex;
  height: 5rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.logo-link { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  text-decoration: none; 
  color: inherit;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-container { 
  height: 3rem; 
  width: 3rem; 
  position: relative; 
}

.logo-image { 
  height: 3rem; 
  width: 3rem; 
  border-radius: 1rem; 
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.logo-text { 
  display: flex; 
  flex-direction: column; 
}

.company-name { 
  font-size: 1.125rem; 
  font-weight: 800; 
  line-height: 1; 
  color: var(--slate-900);
  text-shadow: none;
}

.project-name { 
  font-size: 0.875rem; 
  color: var(--slate-500);
  font-weight: 500;
}

.nav { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
}

/* Badge */
.badge { 
  display: inline-flex; 
  align-items: center; 
  border-radius: 2rem; 
  padding: 0.5rem 1rem; 
  font-size: 0.875rem; 
  font-weight: 600; 
  background: #eef2ff;
  color: #1e3a8a;
  border: 1px solid #e0e7ff;
  backdrop-filter: none;
}

.badge-secondary { 
  background: #eef2ff; 
  color: #1e3a8a;
}

/* Buttons */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 0.75rem; 
  border-radius: 2rem; 
  font-size: 1rem; 
  font-weight: 600; 
  transition: all 300ms ease; 
  border: none; 
  cursor: pointer; 
  text-decoration: none; 
  position: relative;
  overflow: hidden;
}

.btn:disabled { 
  pointer-events: none; 
  opacity: 0.5; 
}

.btn-default { 
  height: 3rem; 
  padding: 0 2rem; 
  background: #2563eb;
  color: white; 
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
  border: 1px solid #1d4ed8;
}

.btn-default:hover { 
  transform: translateY(-1px);
  background: #1d4ed8;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.25);
}

.btn-outline { 
  height: 3rem; 
  padding: 0 2rem; 
  background: #ffffff;
  color: var(--slate-800); 
  border: 1px solid #e2e8f0;
  backdrop-filter: none;
}

.btn-outline:hover { 
  background: #f8fafc;
}

.btn-lg { 
  height: 3.5rem; 
  padding: 0 2.5rem; 
  font-size: 1.125rem; 
}

.btn-success { 
  background: #0ea5e9;
  color: white;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.2);
}

.btn-success:hover { 
  background: #0284c7;
}

.btn-download { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.75rem; 
  border-radius: 2rem; 
  background: #ffffff;
  padding: 0.75rem 1.5rem; 
  font-size: 1rem; 
  font-weight: 600; 
  color: var(--slate-700); 
  text-decoration: none; 
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: all 300ms ease;
}

.btn-download:hover { 
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Icons */
.icon { 
  width: 1.25rem; 
  height: 1.25rem; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
}

.icon-lg { 
  width: 1.5rem; 
  height: 1.5rem; 
}

.icon-xl { 
  width: 2rem; 
  height: 2rem; 
}

/* Animations */
@keyframes spin { 
  to { transform: rotate(360deg); } 
}

.animate-spin { 
  animation: spin 1s linear infinite; 
}

@keyframes pulse { 
  0%, 100% { transform: scale(1); opacity: 1; } 
  50% { transform: scale(1.05); opacity: 0.8; } 
}

.animate-pulse { 
  animation: pulse 2s ease-in-out infinite; 
}

/* Cards */
.card { 
  background: #ffffff; 
  border-radius: var(--radius); 
  border: 1px solid #e5e7eb; 
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.card-header { 
  padding: 2rem 2rem 0 2rem; 
}

.card-title { 
  font-weight: 800; 
  font-size: 1.5rem;
  line-height: 1.2; 
  margin-bottom: 0.5rem;
  color: var(--slate-900);
}

.card-description { 
  color: var(--slate-600); 
  font-size: 1rem;
  line-height: 1.5;
}

.card-content { 
  padding: 2rem; 
}

/* Form Elements */
.form-group { 
  display: flex; 
  flex-direction: column; 
  gap: 0.75rem; 
}

.label { 
  font-size: 1.125rem; 
  font-weight: 700; 
  color: var(--slate-900);
}

.input { 
  height: 3.5rem; 
  width: 100%; 
  border-radius: 1rem; 
  border: 2px solid rgba(226, 232, 240, 0.3); 
  background: rgba(255, 255, 255, 0.9);
  padding: 0 1.5rem; 
  font-size: 1rem; 
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
}

.input:focus { 
  outline: none; 
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  background: white;
}

/* Alert */
.alert { 
  border-radius: var(--radius); 
  padding: 1.5rem; 
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.alert-default { 
  background: rgba(255, 255, 255, 0.9); 
  color: var(--slate-700);
}

.alert-destructive { 
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--destructive);
}

.alert-title { 
  margin-bottom: 0.5rem; 
  font-weight: 700; 
  font-size: 1.125rem;
}

.alert-description { 
  font-size: 1rem; 
  line-height: 1.5;
}

/* Separator */
.separator { 
  height: 1px; 
  width: 100%; 
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 2rem 0; 
}

/* Main Content */
.main { 
  min-height: 100vh;
}

/* Hero Section */
.hero-section { 
  position: relative; 
  overflow: hidden; 
  padding: 4rem 0;
  background: #ffffff;
}

.hero-container { 
  display: grid; 
  grid-template-columns: 1fr; 
  align-items: center; 
  gap: 4rem; 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 2rem; 
}

.hero-content { 
  order: 2; 
  text-align: center;
}

.hero-badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.75rem; 
  border-radius: 2rem; 
  background: #eef2ff;
  padding: 0.75rem 1.5rem; 
  font-size: 1rem; 
  color: #1e3a8a;
  margin-bottom: 2rem;
  border: 1px solid #e0e7ff;
  backdrop-filter: none;
}

.status-dot { 
  height: 0.75rem; 
  width: 0.75rem; 
  border-radius: 50%; 
  background: linear-gradient(135deg, #4ade80, #22c55e);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

  .hero-title { 
  font-size: 4rem; 
  font-weight: 900; 
  line-height: 1.1; 
  color: var(--slate-900);
  margin-bottom: 2rem;
  text-shadow: none;
}

.hero-description { 
  color: var(--slate-600);
  margin-bottom: 3rem; 
  font-size: 1.25rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-actions { 
  display: flex; 
  flex-direction: column; 
  gap: 1rem;
  align-items: center;
}

.hero-disclaimer { 
  margin-top: 2rem; 
  font-size: 1rem; 
  color: rgba(255, 255, 255, 0.7);
}

.hero-image { 
  position: relative; 
  order: 1; 
}

.hero-image-bg-1, .hero-image-bg-2 { 
  position: absolute; 
  border-radius: 50%; 
  filter: blur(40px);
  opacity: 0.6;
}

.hero-image-bg-1 { 
  left: -4rem; 
  top: -4rem; 
  height: 15rem; 
  width: 15rem; 
  background: #dbeafe;
  filter: blur(24px);
}

.hero-image-bg-2 { 
  right: -4rem; 
  bottom: -4rem; 
  height: 15rem; 
  width: 15rem; 
  background: #bfdbfe;
  filter: blur(24px);
}

.hero-image-card { 
  position: relative; 
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-image-content { 
  padding: 0; 
}

.hero-image img { 
  height: auto; 
  width: 100%; 
  border-radius: var(--radius);
}

/* Features Section */
.features-section { 
  padding: 6rem 0;
  background: #ffffff;
  backdrop-filter: blur(10px);
}

.features-container { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 2rem; 
}

.features-header { 
  margin-bottom: 4rem; 
  text-align: center; 
}

  .features-title { 
  font-size: 3rem; 
  font-weight: 900; 
  color: var(--slate-900);
  margin-bottom: 1rem;
  text-shadow: none;
}

  .features-subtitle { 
  font-size: 1.25rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.features-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 2rem; 
}

.feature-card { 
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card-content { 
  padding: 2.5rem; 
}

.feature-icon { 
  margin-bottom: 1.5rem; 
  height: 3rem; 
  width: 3rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 1rem;
  color: white;
}

.feature-title { 
  margin-bottom: 1rem; 
  font-weight: 800;
  font-size: 1.5rem; 
  color: var(--slate-900);
}

.feature-description { 
  font-size: 1.125rem; 
  color: var(--slate-600);
  line-height: 1.6;
}

.features-cta { 
  margin-top: 4rem; 
  display: flex; 
  justify-content: center; 
}

/* Partnership Section */
.partnership-section { 
  padding: 4rem 0;
  background: #f8fafc;
  backdrop-filter: blur(10px);
  border-top: 1px solid #e2e8f0;
}

.partnership-container { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 2rem; 
}

.partnership-header { 
  text-align: center; 
  margin-bottom: 3rem; 
}

  .partnership-title { 
  font-size: 2rem; 
  font-weight: 800; 
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  text-shadow: none;
}

  .partnership-subtitle { 
  font-size: 1.125rem; 
  color: var(--slate-600);
}

.partnership-logos { 
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  justify-content: center; 
  gap: 3rem; 
}

.partner-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center;
  transition: transform 300ms ease;
}

.partner-item:hover {
  transform: translateY(-5px);
}

.partner-logo { 
  height: 5rem; 
  width: 5rem; 
  margin-bottom: 1rem;
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
}

.partner-logo img { 
  height: 100%; 
  width: 100%; 
  border-radius: 1rem; 
  object-fit: cover; 
}

.partner-logo-wide { 
  height: 5rem; 
  width: auto; 
  margin-bottom: 1rem;
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
}

.partner-logo-wide img { 
  height: 100%; 
  width: auto; 
  object-fit: contain; 
}

.partner-name { 
  font-size: 1rem; 
  color: var(--slate-700);
  font-weight: 600;
  text-shadow: none;
}

/* Footer */
.footer { 
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-top: 1px solid #e2e8f0;
  padding: 3rem 0;
}

.footer-container { 
  display: flex; 
  max-width: 1400px; 
  margin: 0 auto; 
  flex-direction: column; 
  align-items: center; 
  gap: 1rem; 
  padding: 0 2rem; 
  text-align: center; 
}

.footer-text { 
  font-size: 1.125rem; 
  color: var(--slate-700);
}

.footer-copyright { 
  font-size: 1rem; 
  color: var(--slate-500);
}

/* Inspector Page Specific */
.inspector-main { 
  min-height: 100vh;
}

.inspector-container { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 2rem; 
}

.inspector-notice { 
  margin-bottom: 2rem; 
  border-radius: var(--radius); 
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 1.5rem; 
  font-size: 1.125rem; 
  color: var(--emerald-400);
  backdrop-filter: blur(10px);
}

/* New: Intro card with file type highlights */
.intro-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 3rem;
}

.intro-card .card-content {
  padding: 3rem;
}

.intro-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.intro-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: 2rem;
  line-height: 1.1;
}

.intro-description {
  font-size: 1.5rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.file-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.file-type-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  overflow: hidden;
}

.file-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.file-type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.file-type-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-type-icon.video {
  background: #1d4ed8;
  color: white;
}

.file-type-icon.image {
  background: #0ea5e9;
  color: white;
}

.file-type-icon.document {
  background: #10b981;
  color: white;
}

.file-type-icon.audio {
  background: #f59e0b;
  color: white;
}

.file-type-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.file-type-desc {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.file-type-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.format-tag {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #bfdbfe;
}

/* Workflow card */
.workflow-card {
  margin-bottom: 3rem;
}

.tabs { 
  display: inline-flex; 
  gap: 0.5rem; 
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 2rem;
  backdrop-filter: blur(10px);
}

.tab-btn { 
  background: transparent;
  color: var(--slate-600); 
  border-radius: 1.5rem; 
  padding: 0.75rem 1.5rem; 
  font-size: 1rem; 
  cursor: pointer; 
  font-weight: 600;
  border: none;
  transition: all 300ms ease;
}

.tab-active { 
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mermaid { 
  border: 1px solid #e5e7eb; 
  border-radius: var(--radius); 
  background: #ffffff;
  padding: 2rem; 
  overflow-x: auto;
}

.json-view { 
  border: 1px solid #e5e7eb; 
  border-radius: var(--radius); 
  background: #f8fafc;
  color: #0f172a;
  padding: 1.25rem; 
  max-height: 500px; 
  overflow: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Agent runner */
.agent-runner { 
  margin-top: 1.5rem; 
  border: 2px dashed #bfdbfe;
  border-radius: var(--radius); 
  background: #eff6ff;
  padding: 1.5rem; 
  font-size: 1.125rem; 
  backdrop-filter: none;
}

.agent-item { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-item:last-child {
  border-bottom: none;
}

.agent-item .agent-dot { 
  width: 1rem; 
  height: 1rem; 
  border-radius: 50%; 
  background: #cbd5e1;
  transition: all 300ms ease;
}

.agent-item.running .agent-dot { 
  background: #2563eb;
  box-shadow: none;
  animation: pulse 1.5s ease-in-out infinite; 
}

.agent-item.done .agent-dot { 
  background: #10b981;
  box-shadow: none;
}

.inspector-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 3rem; 
}

.step-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
}

.step-header { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  padding: 2rem 2rem 0 2rem; 
}

.step-title { 
  font-weight: 900; 
  font-size: 2rem;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.step-description { 
  color: var(--slate-600); 
  font-size: 1.25rem;
  line-height: 1.5;
}

.form { 
  display: flex; 
  flex-direction: column; 
  gap: 2rem; 
}

.form-actions { 
  display: flex; 
  align-items: center; 
  gap: 1.5rem;
  flex-wrap: wrap;
}

.file-selected { 
  font-size: 1rem; 
  color: var(--slate-600);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
}

.help-text { 
  font-size: 1rem; 
  color: var(--slate-500);
  line-height: 1.5;
}

/* Analysis Container */
.analysis-container { 
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius); 
  padding: 3rem; 
  margin: 2rem 0; 
  border: 1px solid rgba(255, 255, 255, 0.3); 
  min-height: 300px; 
  max-height: 70vh; 
  overflow-y: auto;
  transition: all 300ms ease;
}

.analysis-container:hover { 
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.analysis-placeholder { 
  color: var(--slate-500); 
  text-align: center; 
  padding: 4rem 2rem; 
  font-style: italic; 
  font-size: 1.25rem; 
  line-height: 1.6;
  background: rgba(248, 250, 252, 0.5);
  border-radius: var(--radius); 
  border: 2px dashed rgba(226, 232, 240, 0.5);
}

.analysis-result { 
  margin-bottom: 2rem; 
  padding: 2rem; 
  background: rgba(248, 250, 252, 0.5);
  border-radius: var(--radius); 
  border-left: 4px solid var(--blue-500);
  transition: all 300ms ease;
}

.analysis-result:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.analysis-result-header { 
  display: flex; 
  align-items: center; 
  margin-bottom: 1rem; 
  color: var(--slate-900); 
  font-weight: 800;
  font-size: 1.25rem;
}

.analysis-result-icon { 
  margin-right: 1rem; 
  color: var(--blue-500); 
}

.analysis-result-content { 
  color: var(--slate-700); 
  line-height: 1.6; 
  font-size: 1.125rem;
}

.analysis-content h1,
.analysis-content h2,
.analysis-content h3 { 
  margin-bottom: 1rem; 
  font-weight: 800;
  color: var(--slate-900);
}

.analysis-content p { 
  margin: 1rem 0;
  font-size: 1.125rem;
  line-height: 1.6;
}

.generate-actions { 
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  gap: 1.5rem; 
}

.report-notice { 
  font-size: 1.125rem; 
  color: var(--slate-600);
  background: rgba(16, 185, 129, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.about-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-content { 
  padding: 2rem; 
  font-size: 1.125rem; 
  color: var(--slate-600);
  line-height: 1.6;
}

.about-content p { 
  margin-bottom: 1.5rem; 
}

.about-content ul { 
  list-style-type: disc; 
  padding-left: 2rem; 
  margin-bottom: 1.5rem; 
}

.about-content li { 
  margin-bottom: 0.75rem; 
}

.about-separator { 
  height: 1px; 
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.5), transparent);
  margin: 1.5rem 0; 
}

.about-footer { 
  color: var(--slate-700);
  font-weight: 600;
}

.dubai-logo-filter { 
  filter: brightness(1.1) contrast(1.1) saturate(1.2); 
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-container { 
    grid-template-columns: 1fr 1fr; 
    gap: 6rem;
  }
  
  .hero-content { 
    order: 1; 
    text-align: left;
  }
  
  .hero-image { 
    order: 2; 
  }
  
  .hero-actions { 
    flex-direction: row; 
    justify-content: flex-start;
  }
  
  .features-grid { 
    grid-template-columns: repeat(3, 1fr); 
  }
  
  .footer-container { 
    flex-direction: row; 
    text-align: left;
    justify-content: space-between;
  }
  
  .inspector-grid { 
    grid-template-columns: 2fr 1fr; 
  }
  
  .file-types-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
  
  .intro-title {
    font-size: 4rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .partnership-section,
  .footer { 
    display: none; 
  }
} 

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  min-width: 280px;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #2563eb;
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-success { border-left-color: #10b981; }
.toast-error { border-left-color: #ef4444; }
.toast.hide { opacity: 0; transform: translateY(-6px); }
.toast-title { font-weight: 700; color: var(--slate-900); margin-bottom: 0.125rem; }
.toast-message { font-size: 0.95rem; color: var(--slate-600); }

/* Improve visibility for light partner logos */
.partner-logo-wide img.dubai-logo-filter,
.partner-logo img.dubai-logo-filter {
  filter: brightness(0) invert(1) sepia(0) saturate(0) hue-rotate(0deg) opacity(0.9);
}

.partner-logo-wide,
.partner-logo {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
} 

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1000; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.6); }
.modal-dialog { position: relative; margin: 5vh auto; background: #ffffff; border-radius: var(--radius); max-width: 960px; width: calc(100% - 2rem); box-shadow: 0 25px 50px rgba(0,0,0,0.25); display: flex; flex-direction: column; overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #e5e7eb; }
.modal-body { padding: 0; height: 75vh; }
.pdf-frame { width: 100%; height: 100%; border: none; } 