/* ==========================================================================
   Pourya Mehrpouyan — Executive Portfolio Theme
   Design DNA: "Impeccable High-Tech" / Sovereign Agentic Era
   ========================================================================== */

:root {
  --bg-space: #030303;
  --bg-surface: #0a0a0d;
  --bg-card: rgba(14, 15, 20, 0.72);
  --bg-card-hover: rgba(22, 24, 34, 0.85);
  --bg-glass-elevated: rgba(255, 255, 255, 0.035);
  
  --border-hardware: rgba(255, 255, 255, 0.08);
  --border-hardware-hover: rgba(92, 92, 252, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.04);
  
  --accent-primary: #5c5cfc;
  --accent-primary-glow: rgba(92, 92, 252, 0.28);
  --accent-cyan: #00f2fe;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --glass-blur: blur(32px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-space);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-space);
}

/* Ambient Deep Space Light Orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.45;
}

.orb-1 {
  width: 650px;
  height: 650px;
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, rgba(92, 92, 252, 0.35) 0%, transparent 70%);
}

.orb-2 {
  width: 750px;
  height: 750px;
  top: 40%;
  right: -200px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.18) 0%, transparent 70%);
}

.orb-3 {
  width: 550px;
  height: 550px;
  bottom: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
}

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: rgba(3, 3, 3, 0.75);
  border-bottom: 1px solid var(--border-hardware);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(92, 92, 252, 0.25), rgba(0, 242, 254, 0.15));
  border: 1px solid var(--border-hardware-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(92, 92, 252, 0.2);
}

.logo-core {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.5px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.3px;
  color: var(--text-main);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 500;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Nav Tabs */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.4rem;
  background: rgba(14, 15, 20, 0.85);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-icon {
  width: 15px;
  height: 15px;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.nav-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.nav-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(92, 92, 252, 0.35), rgba(92, 92, 252, 0.15));
  border: 1px solid rgba(92, 92, 252, 0.45);
  box-shadow: 0 0 16px rgba(92, 92, 252, 0.25);
}

.nav-tab.active .tab-icon {
  opacity: 1;
  color: var(--accent-cyan);
}

/* Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #5c5cfc, #4040e0);
  color: #fff;
  box-shadow: 0 4px 18px rgba(92, 92, 252, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6c6cff, #4e4eed);
  box-shadow: 0 6px 24px rgba(92, 92, 252, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-hardware);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

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

/* Main Layout */
.main-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
  position: relative;
  z-index: 1;
}

/* Hero Bento Banner */
.hero-bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hardware);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

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

.hero-identity {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.avatar-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid var(--border-hardware-hover);
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.avatar-glow {
  position: absolute;
  inset: -10px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle, var(--accent-primary-glow) 0%, transparent 70%);
  z-index: 1;
  filter: blur(10px);
}

.hero-bio {
  flex: 1;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: rgba(92, 92, 252, 0.12);
  border: 1px solid rgba(92, 92, 252, 0.3);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 0.8rem;
}

.pulse-ring {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.hero-name {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.typewriter-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.typewriter-prefix {
  color: var(--text-subtle);
  font-size: 0.85rem;
}

.typewriter-text {
  color: #fff;
  font-weight: 500;
}

.typewriter-cursor {
  animation: blink 1s infinite;
  color: var(--accent-cyan);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.6;
}

.hero-connect-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hardware);
  flex-wrap: wrap;
  gap: 1rem;
}

.location-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-subtle);
  font-size: 0.85rem;
}

.connect-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.connect-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.connect-pill:hover {
  background: rgba(92, 92, 252, 0.12);
  border-color: rgba(92, 92, 252, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

/* Metrics Ribbon */
.metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.metric-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-hardware);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  text-align: left;
  transition: all var(--transition-smooth);
}

.metric-tile:hover {
  border-color: var(--border-hardware-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #fff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.metric-sub {
  font-size: 0.72rem;
  color: var(--text-subtle);
  line-height: 1.25;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-span-12 { grid-column: span 12; }

.flex-col { display: flex; flex-direction: column; }
.gap-6 { gap: 1.5rem; }
.mt-4 { margin-top: 1rem; }

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hardware);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: rgba(92, 92, 252, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.card-header {
  margin-bottom: 1.5rem;
}

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

.flex-wrap {
  flex-wrap: wrap;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--accent-primary);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.badge-neutral {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hardware);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.body-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Pillars Grid (About) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pillar-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  transition: all var(--transition-fast);
}

.pillar-tile:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(92, 92, 252, 0.3);
}

.pillar-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.pillar-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 6px var(--accent-primary);
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.pillar-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Services Stack */
.services-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.service-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

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

.service-list li {
  font-size: 0.83rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-list li::before {
  content: '▹';
  color: var(--accent-primary);
  font-size: 0.85rem;
  line-height: 1;
}

/* Client Logo Wall */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}

.client-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.8rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.client-pill:hover {
  background: rgba(92, 92, 252, 0.08);
  border-color: rgba(92, 92, 252, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

/* Timeline (Resumé) */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: calc(-1.5rem - 6px);
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 2px solid var(--bg-space);
  box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.timeline-role {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.timeline-org {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.timeline-bullets li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  position: relative;
  padding-left: 1rem;
}

.timeline-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* Education Stack */
.education-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edu-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.edu-period {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: 0.2rem;
}

.edu-degree {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.edu-inst {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 0.4rem;
}

.edu-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Competencies & Tags */
.skill-group-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skill-tag {
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 500;
}

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

.lang-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-sm);
}

.lang-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.lang-level {
  font-size: 0.72rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

/* Testimonials Carousel */
.carousel-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hardware);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background: rgba(92, 92, 252, 0.2);
  border-color: rgba(92, 92, 252, 0.4);
  color: #fff;
}

.carousel-counter {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.testimonial-stage {
  min-height: 180px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: #f1f5f9;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 3.5rem;
  font-family: serif;
  color: rgba(92, 92, 252, 0.3);
  position: absolute;
  left: -1.2rem;
  top: -1.2rem;
  line-height: 1;
}

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

.testimonial-avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(92, 92, 252, 0.3), rgba(0, 242, 254, 0.2));
  border: 1px solid var(--border-hardware-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.testimonial-author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* Filters (Works & Certs) */
.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hardware);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.filter-pill.active {
  background: linear-gradient(135deg, rgba(92, 92, 252, 0.3), rgba(92, 92, 252, 0.15));
  border-color: rgba(92, 92, 252, 0.45);
  color: #fff;
  box-shadow: 0 0 12px rgba(92, 92, 252, 0.2);
}

/* Works Grid */
.works-grid, .certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.work-card, .cert-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.work-card:hover, .cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hardware-hover);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.04);
}

.card-img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .card-thumb, .cert-card:hover .card-thumb {
  transform: scale(1.06);
}

.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.work-card:hover .card-hover-overlay, .cert-card:hover .card-hover-overlay {
  opacity: 1;
}

.view-badge {
  padding: 0.4rem 0.9rem;
  background: rgba(92, 92, 252, 0.8);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.card-details {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-item-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.card-item-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

/* Meeting Tiers & Booking */
.meeting-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tier-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  position: relative;
}

.tier-card:hover {
  border-color: rgba(92, 92, 252, 0.4);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

.tier-card.popular {
  border-color: rgba(92, 92, 252, 0.5);
  background: linear-gradient(180deg, rgba(92, 92, 252, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tier-popular-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: #5c5cfc;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-duration {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.tier-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.tier-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.tier-btn {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  text-align: center;
}

/* Channels Stack */
.channels-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.channel-card:hover {
  background: rgba(92, 92, 252, 0.1);
  border-color: rgba(92, 92, 252, 0.4);
  transform: translateX(4px);
}

.channel-info {
  display: flex;
  flex-direction: column;
}

.channel-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.channel-val {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

.channel-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-cyan);
}

/* Tab Panes Visibility */
.tab-pane {
  display: none;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane.active {
  display: block;
}

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border-hardware-hover);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-hardware);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: #5c5cfc;
}

.lightbox-image-wrap {
  width: 100%;
  max-height: 70vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-info {
  padding: 1.5rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hardware);
}

.lightbox-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.2rem;
}

/* Footer */
.app-footer {
  border-top: 1px solid var(--border-hardware);
  background: rgba(3, 3, 3, 0.8);
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-separator {
  margin: 0 0.5rem;
}

.footer-mono {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .metrics-ribbon {
    grid-template-columns: repeat(3, 1fr);
  }
  .meeting-tiers-grid {
    grid-template-columns: 1fr;
  }
  .hero-identity {
    flex-direction: column;
    text-align: center;
  }
  .hero-connect-bar {
    justify-content: center;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .col-span-4, .col-span-5, .col-span-7, .col-span-8, .col-span-12 {
    grid-column: span 1;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 1rem;
  }
  .nav-tabs {
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
  }
  .metrics-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-bento-card {
    padding: 1.5rem;
  }
  .hero-name {
    font-size: 2rem;
  }
}
