/* ==========================================================================
   AINXQ AI & Machine Learning Engineer Portfolio - Design System
   Inspired by: OpenAI, Anthropic, NVIDIA, Google DeepMind
   Palette: Primary #00C2FF, Secondary #0B1020, Accent #7C3AED, Highlight #00E5A8
   Typography: Space Grotesk / Sora / Inter / JetBrains Mono
   ========================================================================== */

:root {
  --primary: #00c2ff;
  --primary-rgb: 0, 194, 255;
  --primary-glow: rgba(0, 194, 255, 0.25);
  
  --secondary: #0b1020;
  --secondary-rgb: 11, 16, 32;
  
  --accent: #7c3aed;
  --accent-rgb: 124, 58, 237;
  --accent-glow: rgba(124, 58, 237, 0.25);
  
  --highlight: #00e5a8;
  --highlight-rgb: 0, 229, 168;
  
  --bg-color: #050816;
  --bg-secondary: #0b1020;
  --bg-tertiary: #111827;
  --surface: rgba(15, 23, 42, 0.65);
  --surface-hover: rgba(30, 41, 59, 0.8);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-border-active: rgba(0, 194, 255, 0.35);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px -5px rgba(0, 194, 255, 0.2);
  --shadow-accent-glow: 0 0 35px -5px rgba(124, 58, 237, 0.25);
}

[data-theme="light"] {
  --bg-color: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-hover: rgba(255, 255, 255, 0.95);
  --surface-border: rgba(15, 23, 42, 0.08);
  --surface-border-active: rgba(0, 194, 255, 0.5);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  
  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 10px 30px -5px rgba(0, 194, 255, 0.15);
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html[data-theme="light"] {
  color-scheme: light;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Background Neural Canvas */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

code, pre, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
  position: relative;
  border-bottom: 1px solid var(--surface-border);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-desc {
  max-width: 65ch;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Header & Top Bar Contract */
.topbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 8, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-border);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

[data-theme="light"] .topbar {
  background: rgba(248, 250, 252, 0.88);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  padding: 0 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  display: inline-block;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 14px var(--primary); }
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

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

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
  border-color: var(--primary);
  background: var(--surface-hover);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color var(--transition-fast);
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Drawer Dropdown */
.mobile-nav-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 194, 255, 0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.3s ease;
  z-index: 99;
}

[data-theme="light"] .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.98);
}

.mobile-nav-drawer.open {
  max-height: 600px;
  opacity: 1;
  pointer-events: auto;
  padding: 1.5rem 1.5rem 2rem 1.5rem;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary);
  background: rgba(0, 194, 255, 0.08);
  border-color: rgba(0, 194, 255, 0.2);
  transform: translateX(4px);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #050816;
  border-color: var(--primary);
  box-shadow: 0 0 20px -3px var(--primary-glow);
}

.btn-primary:hover {
  background: #2dd4bf;
  border-color: #2dd4bf;
  transform: translateY(-1px);
  box-shadow: 0 0 25px 0 var(--primary-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  border-color: var(--surface-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--surface-border-active);
  transform: translateY(-1px);
}

/* Animation keyframe rule scaling from 0.95 to 1.0 on page load or scroll into view */
@keyframes resume-scale-in {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}

.btn[onclick='openResumeModal()'],
.btn[onclick*='openResumeModal'] {
  position: relative;
  border-color: rgba(0, 194, 255, 0.45);
  animation: resume-scale-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.btn[onclick='openResumeModal()'].in-view,
.btn[onclick*='openResumeModal'].in-view {
  animation: resume-scale-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes resume-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.15), 0 0 6px 0 rgba(0, 194, 255, 0.1);
    border-color: rgba(0, 194, 255, 0.35);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.16), 0 0 16px 2px rgba(0, 194, 255, 0.28);
    border-color: rgba(0, 194, 255, 0.75);
  }
}

.btn[onclick='openResumeModal()']:hover,
.btn[onclick*='openResumeModal']:hover {
  animation: none;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.18) 0%, rgba(14, 165, 233, 0.1) 100%);
  border-color: var(--primary);
  color: var(--text-main);
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 0 10px var(--primary)) drop-shadow(0 4px 18px var(--primary));
  box-shadow: 0 0 22px 2px var(--primary-glow), 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}

.btn[onclick='openResumeModal()']:hover svg,
.btn[onclick*='openResumeModal']:hover svg {
  filter: drop-shadow(0 0 6px var(--primary));
  transform: scale(1.12);
  transition: transform 0.2s ease, filter 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .btn[onclick='openResumeModal()'],
  .btn[onclick*='openResumeModal'] {
    animation: none;
    transition: none;
  }
  .btn[onclick='openResumeModal()']:hover,
  .btn[onclick*='openResumeModal']:hover {
    transform: none;
  }
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--surface-border);
}

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

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: var(--shadow-accent-glow);
}

.btn-accent:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  color: var(--text-main);
  border-color: var(--surface-border-active);
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - 7rem);
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--highlight);
  background: rgba(0, 229, 168, 0.08);
  border: 1px solid rgba(0, 229, 168, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 8px var(--highlight);
  animation: pulse-glow 1.5s infinite;
}

.hero-title {
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #00c2ff 0%, #00e5a8 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-specs {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-border);
  margin-top: 1rem;
}

.hero-spec-item {
  display: flex;
  flex-direction: column;
}

.hero-spec-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.hero-spec-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Hero Visual / Avatar Card */
.hero-visual-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.hero-visual-card:hover {
  border-color: var(--surface-border-active);
  transform: translateY(-3px);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #0b1020 0%, #1e1b4b 100%);
  border: 1px solid var(--surface-border);
}

.hero-portrait-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(11, 16, 32, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-badge-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.hero-badge-role {
  font-size: 0.78rem;
  color: var(--primary);
  font-family: var(--font-mono);
}

/* Cards & Grid Architecture */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  background: var(--surface-hover);
  border-color: var(--surface-border-active);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

/* Metadata Text (Anti-Pill Rule) */
.metadata-line {
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.metadata-separator {
  color: var(--text-dim);
  user-select: none;
}

/* Expertise Cards */
.expertise-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid rgba(0, 194, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.expertise-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.expertise-card p {
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.tech-tags-list {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
}

/* Technical Skills Section */
.skills-category {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.skills-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skills-badge-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.skills-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.skill-pill:hover {
  background: rgba(0, 194, 255, 0.06);
  border-color: var(--primary);
  color: var(--primary);
}

.skill-pill-level {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Filter Controls (Segmented Control Tabs) */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .filter-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.filter-btn.active {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 14px rgba(0, 194, 255, 0.22);
}

/* Featured Projects Bento Cards */
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.project-card:hover {
  border-color: var(--surface-border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
}

.project-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0b1020;
  overflow: hidden;
  border-bottom: 1px solid var(--surface-border);
}

.project-visual-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.project-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.project-metric-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--highlight);
}

.project-metric-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.project-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-border);
}

.project-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Architecture Showcase Explorer */
.architecture-explorer {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.arch-nav-tabs {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--surface-border);
  padding: 0.6rem 0.75rem;
  gap: 0.5rem;
}

.arch-nav-tabs::-webkit-scrollbar {
  display: none;
}

.arch-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.arch-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .arch-tab-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.arch-tab-btn.active {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 14px rgba(0, 194, 255, 0.2);
}

.arch-view-content {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.arch-diagram-canvas {
  background: #070b19;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arch-flow-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.arch-node {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  flex: 1;
  min-width: 110px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.arch-node:hover, .arch-node.active-node {
  border-color: var(--primary);
  box-shadow: 0 0 20px -3px var(--primary-glow);
  transform: translateY(-2px);
}

.arch-node-icon {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.arch-node-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.arch-node-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.arch-connector {
  color: var(--primary);
  font-size: 1.25rem;
  opacity: 0.7;
}

.arch-details-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.arch-details-title {
  font-size: 1.45rem;
  font-weight: 700;
}

.arch-details-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.arch-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--surface-border);
}

.arch-spec-key {
  color: var(--text-dim);
}

.arch-spec-val {
  font-family: var(--font-mono);
  color: var(--text-main);
  font-weight: 600;
}

/* Research Papers Section */
.paper-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.paper-row:hover {
  border-color: var(--surface-border-active);
  background: var(--surface-hover);
  transform: translateX(4px);
}

.paper-year {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.paper-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.paper-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.paper-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Model Showcase Table / Cards */
.model-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.model-card:hover {
  border-color: var(--surface-border-active);
  transform: translateY(-2px);
}

.model-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.model-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.model-type-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  background: rgba(0, 194, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.model-benchmarks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin: 1rem 0;
  text-align: center;
}

.benchmark-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--highlight);
}

.benchmark-label {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Interactive Model Performance Chart (D3.js) */
.perf-chart-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.perf-chart-card:hover {
  border-color: var(--surface-border-active);
}

.perf-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.perf-chart-title-area h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.perf-chart-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.perf-control-label {
  font-size: 0.72rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  font-weight: 600;
}

.perf-toggle-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 0.3rem;
}

.perf-toggle-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.perf-toggle-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .perf-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Specific vibrant theme-aligned colors for Quantization Buttons */
.perf-toggle-btn.active[data-quant="fp8"] {
  background: rgba(0, 194, 255, 0.16);
  color: #00c2ff;
  border-color: #00c2ff;
  box-shadow: 0 0 14px rgba(0, 194, 255, 0.28);
}

.perf-toggle-btn.active[data-quant="int4"] {
  background: rgba(0, 229, 168, 0.16);
  color: #00e5a8;
  border-color: #00e5a8;
  box-shadow: 0 0 14px rgba(0, 229, 168, 0.28);
}

.perf-toggle-btn.active[data-quant="compare"] {
  background: rgba(124, 58, 237, 0.2);
  color: #c084fc;
  border-color: #a855f7;
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.28);
}

/* Metric buttons */
#metric-toggle-group .perf-toggle-btn.active {
  background: rgba(0, 194, 255, 0.14);
  color: #00c2ff;
  border-color: rgba(0, 194, 255, 0.6);
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.2);
}

.perf-summary-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.perf-summary-item {
  display: flex;
  flex-direction: column;
}

.perf-summary-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.perf-summary-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.perf-chart-svg-container {
  width: 100%;
  position: relative;
  min-height: 380px;
}

.perf-chart-svg {
  width: 100%;
  height: 380px;
  overflow: visible;
}

.perf-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--bg-secondary);
  backdrop-filter: blur(14px);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 194, 255, 0.2);
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-main);
  z-index: 20;
  display: none;
  min-width: 220px;
  transition: opacity 0.15s ease-out;
}

.perf-footer-telemetry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.perf-footer-telemetry strong {
  color: var(--text-main);
}

/* D3 Axes & Styling */
.chart-axis text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  fill: var(--text-muted);
}

.chart-axis path, .chart-axis line {
  stroke: var(--surface-border);
}

.chart-grid line {
  stroke: var(--surface-border);
  stroke-dasharray: 3 3;
  opacity: 0.6;
}

/* Metrics Dashboard */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric-box {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.metric-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.metric-box:hover {
  transform: translateY(-3px);
  border-color: var(--surface-border-active);
  box-shadow: var(--shadow-glow);
}

.metric-counter {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.metric-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Experience Timeline */
.timeline-list {
  position: relative;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 6px;
  width: 2px;
  background: var(--surface-border);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
}

.timeline-company {
  color: var(--primary);
  font-weight: 600;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.timeline-points {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.15);
}

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

/* Footer Section */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--surface-border);
  padding: 4rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 38ch;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-border);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.ainxq-credit {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ainxq-credit a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.ainxq-credit a:hover {
  color: #38bdf8;
  text-decoration: underline;
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--bg-secondary);
  border: 1px solid var(--surface-border-active);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 10;
}

.modal-body {
  padding: 2rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  transition: color var(--transition-fast);
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-glow);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

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

/* Resume Print Styles */
@media print {
  .topbar, .hero-actions, .filter-tabs, .btn, #neural-canvas, .site-footer {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .card, .project-card, .paper-row {
    border: 1px solid #cccccc !important;
    background: #ffffff !important;
    break-inside: avoid;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .arch-view-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet & Mobile Navigation Breakpoint */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .topbar-contact-btn {
    display: none;
  }
}

/* Tablet-Optimized Menu Layout (640px to 1080px) */
@media (min-width: 640px) and (max-width: 1080px) {
  .mobile-nav-drawer.open {
    max-height: 650px;
    padding: 1.75rem 2rem 2rem 2rem;
  }
  .mobile-nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 1rem;
  }
  .mobile-nav-link {
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
    background: var(--bg-secondary);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
  }
  .mobile-nav-link:hover, .mobile-nav-link.active {
    background: rgba(0, 194, 255, 0.12);
    border-color: var(--primary);
  }
  .mobile-nav-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 1.25rem;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .paper-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .paper-actions {
    justify-content: flex-start;
  }
  .hero-specs {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }

  /* Tab Menus & Quant Controls on mobile */
  .filter-tabs {
    width: 100%;
    justify-content: flex-start;
  }
  .perf-chart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .perf-chart-controls {
    align-items: stretch;
    width: 100%;
  }
  .perf-toggle-group {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .perf-summary-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .topbar-resume-btn {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .perf-summary-bar {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.25rem;
  }
}

/* Print Stylesheet for Resume PDF Output */
@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
  }
  .navbar,
  .footer,
  #neural-canvas,
  .hero,
  section,
  .modal-close-btn,
  .modal-header button,
  .modal-body button,
  .modal-body a {
    display: none !important;
  }
  .modal-backdrop {
    position: static !important;
    background: transparent !important;
    display: block !important;
    opacity: 1 !important;
    padding: 0 !important;
  }
  .modal-dialog {
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #111827 !important;
  }
  .modal-header {
    border-bottom: 2px solid #0284c7 !important;
    padding: 0 0 1rem 0 !important;
    background: transparent !important;
  }
  .modal-body {
    padding: 1rem 0 !important;
    color: #111827 !important;
  }
}
