/* ==========================================================================
   DANIEL RAJ S, MODERN PORTFOLIO STYLESHEET (PRECISION & ACCESSIBILITY)
   Agentic Quality Engineer | AI-Driven Test Automation | Senior SDET
   ========================================================================== */

:root {
  /* Color Palette, Dark Theme Default */
  --bg-base: #08090e;
  --bg-surface: #0f121d;
  --bg-surface-elevated: #161b2b;
  --bg-card: rgba(18, 22, 36, 0.85);
  --bg-card-hover: rgba(24, 30, 48, 0.95);
  --bg-glass: rgba(15, 18, 29, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 242, 254, 0.35);
  --border-focus: #00f2fe;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #08090e;

  --accent-cyan: #00f2fe;
  --accent-blue: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-brand: linear-gradient(135deg, #00f2fe 0%, #38bdf8 45%, #a855f7 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.18), rgba(168, 85, 247, 0.12));

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 242, 254, 0.18);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;

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

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables, High Contrast WCAG AA+ */
[data-theme="light"] {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --border-color: rgba(15, 23, 42, 0.12);
  --border-hover: rgba(2, 132, 199, 0.5);
  --border-focus: #0284c7;

  --text-primary: #0f172a;       /* Deep slate black - 16:1 contrast on white */
  --text-secondary: #334155;     /* Deep slate gray - 9.6:1 contrast on white */
  --text-muted: #475569;         /* Solid slate gray - 5.5:1 contrast (WCAG AA compliant) */
  --text-inverse: #ffffff;

  --accent-cyan: #0284c7;
  --accent-blue: #1d4ed8;
  --accent-indigo: #4338ca;
  --accent-purple: #7e22ce;
  --accent-emerald: #047857;
  --accent-amber: #b45309;
  --accent-rose: #be123c;

  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #1d4ed8 50%, #7e22ce 100%);
  --gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(126, 34, 206, 0.08));

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(168, 85, 247, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  margin: 0;
  line-height: 1.65;
  color: var(--text-secondary);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

code, pre {
  font-family: var(--font-mono);
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.12em;
  vertical-align: top;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
  text-wrap: balance;
}

/* ==========================================================================
   Navigation Bar (Collision-Proof)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 74px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(8, 9, 14, 0.94);
}

[data-theme="light"] .site-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1.25rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 0.2rem 0.55rem;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 6px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-icon:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 44px;
  padding: 0 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  color: #08090e;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.25);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
  color: #08090e;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 44px;
  padding: 0 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

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

.mobile-menu-btn {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 8.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 15%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.hero-glow-2 {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(70px);
}

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

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-greeting {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hero-role-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.22);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.role-symbol {
  color: var(--accent-purple);
  font-weight: 700;
}

.hero-tagline {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
  text-align: left;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.metric-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  transition: border-color var(--transition-fast);
}

.metric-item:hover {
  border-color: var(--border-hover);
}

.metric-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1.3;
}

/* Hero Terminal Card */
.hero-visual {
  position: relative;
  width: 100%;
}

.terminal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.terminal-card:hover {
  border-color: var(--border-hover);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-title {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.7;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.terminal-line .t-gutter {
  width: 20px;
  flex-shrink: 0;
  text-align: center;
  color: var(--text-muted);
}

.terminal-line .t-content {
  flex: 1;
}

.t-prompt {
  color: var(--accent-cyan);
  font-weight: 700;
  user-select: none;
}

.t-cmd {
  color: #f1f5f9;
  font-weight: 600;
}

.t-comment {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding-left: 28px;
  font-style: italic;
}

.t-success {
  color: var(--accent-emerald);
  font-weight: 700;
}

.t-warning {
  color: var(--accent-amber);
  font-weight: 700;
}

.t-highlight {
  color: var(--accent-cyan);
  font-weight: 700;
}

.t-block {
  padding: 0.85rem 1.15rem;
  margin: 0.75rem 0;
  margin-left: 28px;
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ==========================================================================
   Flagship Interactive Simulator: Autonomous Trace Analysis
   ========================================================================== */
.simulator-section {
  padding: 5.5rem 0;
  position: relative;
}

.simulator-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.simulator-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1.25rem;
}

.sim-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sim-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sim-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.sim-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 0.2rem;
}

.scenario-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.scenario-btn {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  line-height: 1.3;
}

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

.scenario-btn.active {
  background: var(--gradient-brand);
  color: #08090e;
  border-color: transparent;
  font-weight: 700;
}

/* Simulator Grid */
.simulator-body {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  min-height: 480px;
}

.sim-stages-column {
  padding: 2.25rem;
  border-right: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.15);
}

.sim-stages-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stage-step {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  position: relative;
}

.stage-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 38px;
  left: 17px;
  bottom: -20px;
  width: 2px;
  background: var(--border-color);
}

.stage-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  z-index: 1;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.stage-step.active .stage-indicator {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.15);
}

.stage-step.completed .stage-indicator {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald);
  color: #08090e;
}

.stage-text {
  flex: 1;
}

.stage-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.stage-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.stage-meta {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

/* Simulator Output Column */
.sim-output-column {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
}

.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface-elevated);
}

.output-tabs {
  display: flex;
  gap: 0.5rem;
}

.output-tab {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  color: var(--text-muted);
  background: transparent;
  transition: all var(--transition-fast);
}

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

.output-tab.active {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
}

.output-content {
  padding: 1.75rem;
  flex: 1;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  max-height: 480px;
}

.verdict-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
  margin-bottom: 1.25rem;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.verdict-badge.bug {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.verdict-badge.cache {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.verdict-badge.flaky {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.verdict-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.verdict-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.verdict-spec {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  border-left: 3px solid var(--accent-cyan);
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.6;
}

/* Precision Metadata Grid in Simulator */
.sim-meta-table {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.meta-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.84rem;
  line-height: 1.55;
}

.meta-key {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-val {
  color: var(--text-secondary);
}

.code-snippet {
  background: rgba(0, 0, 0, 0.4);
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-x: auto;
}

.slack-preview-card {
  background: #1a1d21;
  border-left: 4px solid #e01e5a;
  border-radius: 4px;
  padding: 1.35rem;
  color: #d1d2d3;
  font-family: var(--font-sans);
}

/* ==========================================================================
   Featured Projects Section
   ========================================================================== */
.projects-section {
  padding: 5.5rem 0;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-chip {
  padding: 0.5rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.filter-chip.active {
  background: var(--gradient-brand);
  color: #08090e;
  border-color: transparent;
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* Featured Card (Full Width) */
.project-card.featured-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  background: linear-gradient(135deg, rgba(18, 22, 36, 0.95) 0%, rgba(24, 30, 52, 0.85) 100%);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: var(--shadow-glow);
  align-items: stretch;
}

.featured-left {
  display: flex;
  flex-direction: column;
}

.featured-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  height: 100%;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-list-item .item-arrow {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  margin-bottom: 1rem;
}

.project-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  line-height: 1.2;
}

.project-badge.arch {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border-color: rgba(168, 85, 247, 0.25);
}

.project-badge.vrt {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.25);
}

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

.project-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.project-link-icon:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.project-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.project-metrics-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-bottom: 1.15rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.tech-tag {
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  line-height: 1.2;
}

/* ==========================================================================
   Experience Timeline Section
   ========================================================================== */
.experience-section {
  padding: 5.5rem 0;
  position: relative;
}

.timeline-container {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 20px;
  width: 2px;
  background: var(--border-color);
}

.timeline-card {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.75rem;
}

.timeline-node {
  position: absolute;
  left: 8px;
  top: 30px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  z-index: 1;
}

.timeline-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.85rem 2rem;
  transition: all var(--transition-normal);
}

.timeline-content-box:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

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

.role-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.role-company {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-block;
}

.role-dates {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.role-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.15rem;
}

.role-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.role-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.role-bullet-item .bullet-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 0.3rem;
  font-size: 0.85rem;
}

.role-skills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Technical Skills Arsenal
   ========================================================================== */
.skills-section {
  padding: 5.5rem 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.skill-category-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.skill-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.skill-cat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.skill-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: flex-start;
}

.skill-pill {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  line-height: 1.3;
  transition: all var(--transition-fast);
}

.skill-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  background: rgba(0, 242, 254, 0.08);
}

/* ==========================================================================
   Interactive Developer Terminal Section
   ========================================================================== */
.terminal-section {
  padding: 5.5rem 0;
}

.cli-wrapper {
  max-width: 920px;
  margin: 0 auto;
  background: #0b0d14;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.cli-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #151928;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cli-controls {
  display: flex;
  gap: 6px;
}

.cli-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #94a3b8;
}

.cli-quick-commands {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.cmd-chip {
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #00f2fe;
  cursor: pointer;
  line-height: 1.2;
  transition: all var(--transition-fast);
}

.cmd-chip:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: #00f2fe;
}

.cli-screen {
  padding: 1.5rem;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.7;
}

.cli-input-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  background: #0f121d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cli-prompt-symbol {
  color: #00f2fe;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
}

.cli-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   Awards & Education Section
   ========================================================================== */
.credentials-section {
  padding: 5.5rem 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.credential-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition-normal);
}

.credential-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.cred-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cred-icon.edu {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-blue);
}

.cred-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.cred-subtitle {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.cred-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Resume Download & Modal Section
   ========================================================================== */
.resume-banner-section {
  padding: 4.5rem 0;
}

.resume-cta-box {
  background: var(--gradient-glow);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: var(--shadow-glow);
}

.resume-cta-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.resume-cta-text h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.resume-cta-text p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 620px;
  line-height: 1.65;
}

.resume-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   Contact Section & Footer
   ========================================================================== */
.contact-section {
  padding: 5.5rem 0 3rem;
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text-group {
  flex: 1;
}

.contact-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.contact-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.copy-btn {
  margin-left: auto;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-weight: 600;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.copy-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.contact-form-group {
  margin-bottom: 1.25rem;
}

.contact-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.15);
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-cyan);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Light Mode Overrides & High-Contrast Enforcement
   ========================================================================== */
[data-theme="light"] .status-pill {
  background: rgba(4, 120, 87, 0.1);
  border-color: rgba(4, 120, 87, 0.3);
  color: #047857;
}

[data-theme="light"] .hero-greeting {
  color: #334155;
}

[data-theme="light"] .hero-role-wrapper {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0369a1;
}

[data-theme="light"] .metric-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .metric-label {
  color: #475569;
}

[data-theme="light"] .section-tag {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

[data-theme="light"] .section-desc {
  color: #334155;
}

[data-theme="light"] .project-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .project-card.featured-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .featured-right {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .project-metrics-pill {
  background: rgba(4, 120, 87, 0.08);
  border: 1px solid rgba(4, 120, 87, 0.25);
  color: #047857;
}

[data-theme="light"] .tech-tag {
  background: #f1f5f9;
  color: #1e293b;
  border-color: rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .timeline-content-box {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .role-dates {
  background: #f1f5f9;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.15);
  font-weight: 600;
}

[data-theme="light"] .role-summary {
  color: #334155;
}

[data-theme="light"] .role-bullet-item {
  color: #334155;
}

[data-theme="light"] .skill-category-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .skill-pill {
  background: #f1f5f9;
  color: #1e293b;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .credential-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .cred-desc {
  color: #334155;
}

[data-theme="light"] .contact-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .contact-label {
  color: #475569;
}

[data-theme="light"] .contact-val {
  color: #0f172a;
}

[data-theme="light"] .form-input, [data-theme="light"] .form-textarea {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

[data-theme="light"] .simulator-container {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .sim-stages-column {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .stage-desc {
  color: #334155;
}

[data-theme="light"] .verdict-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .verdict-detail {
  color: #334155;
}

[data-theme="light"] .meta-key {
  color: #475569;
}

[data-theme="light"] .meta-val {
  color: #1e293b;
}

[data-theme="light"] .site-footer {
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

/* ==========================================================================
   Responsive Breakpoints & Collision Prevention
   ========================================================================== */
@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
  }
  .mobile-nav-drawer {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-120%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }
  .mobile-nav-drawer.open {
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
  }
  .simulator-body {
    grid-template-columns: 1fr;
  }
  .sim-stages-column {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .credentials-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .project-card.featured-card {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .meta-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .brand-badge {
    display: none;
  }
}
