/* 
  Diwas Parashar - Portfolio Style Sheet
  Theme: Neural Analytics Hub (Futuristic, technical, high-performance dark theme)
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-primary: #070a13;
  --bg-secondary: #0d1222;
  --bg-tertiary: #161c30;
  --bg-card: rgba(13, 18, 34, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.2);

  --accent-cyan: #00f2fe;
  --accent-blue: #0072ff;
  --accent-emerald: #00ff87;
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Glow Shadows */
  --shadow-cyan: 0 0 20px rgba(0, 242, 254, 0.25);
  --shadow-emerald: 0 0 20px rgba(0, 255, 87, 0.2);
  --shadow-card-hover: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  
  /* Fonts */
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-out;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

input, textarea, button {
  font-family: inherit;
  outline: none;
}

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

/* Main Content Layer */
.app-container {
  position: relative;
  z-index: 1;
}

/* Utility Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0 4rem 0;
  position: relative;
}

.section-title {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  border-radius: 2px;
}

.highlight-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.highlight-emerald {
  color: var(--accent-emerald);
  text-shadow: 0 0 10px rgba(0, 255, 87, 0.3);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  background: rgba(7, 10, 19, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 1rem 0;
  background: rgba(7, 10, 19, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.logo-accent {
  color: var(--accent-cyan);
  margin: 0 0.3rem;
  font-weight: 400;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

nav ul {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

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

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

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

.nav-link.active {
  color: var(--accent-cyan);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

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

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.7rem;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.8rem;
  background: var(--accent-emerald);
  animation: blink 0.8s infinite;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 3rem;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
  background: rgba(22, 28, 48, 0.6);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--bg-tertiary);
  border-color: var(--accent-cyan);
}

/* Glassmorphism Hero Graphic (Pipeline Monitor Widget) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.terminal-dashboard-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card-hover), var(--shadow-cyan);
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}

.card-header {
  background: rgba(22, 28, 48, 0.8);
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.card-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-dots .dot.red { background: #ff5f56; }
.card-dots .dot.yellow { background: #ffbd2e; }
.card-dots .dot.green { background: #27c93f; }

.card-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.card-content {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pipeline-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.8rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: var(--shadow-cyan);
  animation: pulse 1.5s infinite;
}

.status-text {
  color: var(--text-primary);
  letter-spacing: 1px;
}

.terminal-output-lines {
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 110px;
}

.console-line {
  color: var(--text-secondary);
  line-height: 1.4;
  font-size: 0.8rem;
}

.console-line.highlight-green {
  color: var(--accent-emerald);
}

.metric-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

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

.metric-val {
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.95rem;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  border-radius: 3px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.about-card-graphic {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card-hover);
}

.about-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-box {
  background: rgba(22, 28, 48, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-box:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.stat-num {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.about-info h3 {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.about-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-bullets {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.about-bullets li i {
  color: var(--accent-emerald);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.skills-category {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card-hover);
}

.skills-category:hover {
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.skills-category h3 {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skills-category.ai h3 i { color: var(--accent-cyan); }
.skills-category.analytics h3 i { color: var(--accent-emerald); }
.skills-category.tools h3 i { color: var(--accent-blue); }

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  width: 100%;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.skill-percent {
  color: var(--text-secondary);
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  border-radius: 3px;
  width: 0%; /* Animated via JS */
  transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.skills-category.ai .skill-progress {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
}

.skills-category.analytics .skill-progress {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
}

.skills-category.tools .skill-progress {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
}

/* Projects Section */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.project-filters {
  display: flex;
  gap: 1rem;
  background: rgba(22, 28, 48, 0.4);
  padding: 0.35rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.filter-btn.active {
  background: var(--bg-tertiary);
  color: var(--accent-cyan);
  box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card-hover);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 15px rgba(0, 242, 254, 0.1);
}

.project-visual {
  height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1527 0%, #17243c 100%);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-glow-graphic {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0,242,254,0.12) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

.project-visual-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.15);
  z-index: 1;
  transition: var(--transition-smooth);
}

.project-card:hover .project-visual-icon {
  color: var(--accent-cyan);
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

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

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(22, 28, 48, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.project-title {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-links {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

.project-link {
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.project-link:hover {
  color: var(--accent-cyan);
}

/* Timeline/Education Section */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3.5rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3.5rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 2.2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(0, 255, 87, 0.8);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card-hover);
}

.timeline-item:hover .timeline-card {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.timeline-item:nth-child(even) .timeline-date {
  color: var(--accent-emerald);
}

.timeline-card h3 {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.timeline-institution {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

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

/* AI Assistant section */
.ai-section {
  background: radial-gradient(circle at center, rgba(13,18,34,0.6) 0%, rgba(7,10,19,0) 70%);
}

.ai-assistant-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.ai-intro h3 {
  font-family: var(--font-headings);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.ai-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* Chat Terminal Layout */
.terminal-window {
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), var(--shadow-cyan);
  backdrop-filter: blur(15px);
  width: 100%;
}

.terminal-header {
  background: rgba(22, 28, 48, 0.9);
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.t-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.t-close { background: #ff5f56; }
.t-min { background: #ffbd2e; }
.t-max { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

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

.status-blink {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.terminal-body {
  padding: 1.5rem;
  height: 380px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  line-height: 1.5;
}

.chat-bubble.system {
  background: rgba(22, 28, 48, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  align-self: flex-start;
  border-top-left-radius: 0;
}

.chat-bubble.user {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  align-self: flex-end;
  border-top-right-radius: 0;
}

.chat-bubble.bot {
  background: rgba(22, 28, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  align-self: flex-start;
  border-top-left-radius: 0;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.02);
}

/* Typing animation inside chatbot */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.2rem 0;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: dotBlink 1.4s infinite both;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.terminal-options {
  padding: 1rem 1.5rem;
  background: rgba(22, 28, 48, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.option-btn {
  background: rgba(13, 18, 34, 0.8);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.option-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
  transform: translateY(-2px);
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(22, 28, 48, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-details p, .contact-details a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-details a:hover {
  color: var(--accent-cyan);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(22, 28, 48, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card-hover);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: rgba(7, 10, 19, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.2);
  background: rgba(7, 10, 19, 0.8);
}

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

.btn-submit {
  width: 100%;
  border: none;
}

/* Footer Section */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  background: rgba(7, 10, 19, 0.8);
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

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

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px rgba(0, 242, 254, 0.4); }
  50% { transform: scale(1.1); opacity: 0.7; box-shadow: 0 0 20px rgba(0, 242, 254, 0.8); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px rgba(0, 242, 254, 0.4); }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes dotBlink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}

/* Responsive Media Queries */
/* Ambient Mesh Backgrounds */
.mesh-gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-primary);
  pointer-events: none;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.1;
  mix-blend-mode: screen;
  animation: drift 25s infinite alternate ease-in-out;
}

.mesh-blob-1 {
  top: -10%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  background: var(--accent-cyan);
}

.mesh-blob-2 {
  bottom: -20%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: var(--accent-blue);
  animation-delay: -5s;
  animation-duration: 35s;
}

.mesh-blob-3 {
  top: 35%;
  left: 55%;
  width: 35vw;
  height: 35vw;
  background: var(--accent-emerald);
  animation-delay: -12s;
  animation-duration: 30s;
}

/* Scroll Reveal Interactions */
.reveal-item {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.55s; }

/* Interactive Hover Enhancements */
.project-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.025);
}

.project-card[data-category="ai-ml"]:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card-hover), 0 0 25px rgba(0, 242, 254, 0.18);
}

.project-card[data-category="analytics"]:hover {
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-card-hover), 0 0 25px rgba(0, 255, 87, 0.15);
}

.skills-category {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}

.skills-category.ai:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card-hover), 0 0 20px rgba(0, 242, 254, 0.12);
}

.skills-category.analytics:hover {
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-card-hover), 0 0 20px rgba(0, 255, 87, 0.12);
}

.skills-category.tools:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-card-hover), 0 0 20px rgba(0, 114, 255, 0.12);
}

.timeline-card {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card-hover), 0 0 15px rgba(0, 242, 254, 0.08);
}

.timeline-item:nth-child(even):hover .timeline-card {
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-card-hover), 0 0 15px rgba(0, 255, 87, 0.08);
}

/* Resume Hub Layout */
.resume-section {
  padding-bottom: 2rem;
}

.resume-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card-hover);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.resume-card:hover {
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow: var(--shadow-card-hover), 0 0 30px rgba(0, 242, 254, 0.08);
}

.resume-left h3 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.resume-left p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.7;
}

.resume-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.resume-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-primary);
  font-weight: 500;
}

.resume-feature-item i {
  color: var(--accent-cyan);
}

.resume-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 3.5rem;
  text-align: center;
}

.resume-badge-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 242, 254, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
  animation: pulse 3s infinite;
}

.resume-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 260px;
}

.resume-cta-group .btn {
  width: 100%;
}

/* Drifting Keyframes animation */
@keyframes drift {
  0% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
  50% { transform: translate(60px, 40px) rotate(180deg) scale(1.08); }
  100% { transform: translate(-30px, -50px) rotate(360deg) scale(0.92); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    margin-top: 2rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .ai-assistant-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    text-align: left !important;
    padding-left: 3rem !important;
    padding-right: 0 !important;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }

  .resume-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .resume-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 0;
  }
  
  nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    height: auto;
  }
  
  .section {
    padding: 5rem 0 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .resume-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================
   VISUAL & INTERACTIVE UPGRADES (v3.0)
   ========================================== */

/* Floating Theme Switcher */
.theme-switch-wrapper {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
}

.theme-switch-btn {
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid var(--accent-cyan);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-cyan);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.theme-switch-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

/* Matrix Theme Color overrides */
body.matrix-mode {
  --accent-cyan: #00ff66;
  --accent-blue: #00ff00;
  --accent-emerald: #39ff14;
  --border-glow: rgba(0, 255, 102, 0.2);
  --shadow-cyan: 0 0 20px rgba(0, 255, 102, 0.35);
  --shadow-emerald: 0 0 20px rgba(57, 255, 20, 0.3);
}

body.matrix-mode .mesh-blob-1 { background: #00ff66; }
body.matrix-mode .mesh-blob-2 { background: #00ff00; }
body.matrix-mode .mesh-blob-3 { background: #39ff14; }

/* Interactive SVG Radar Chart */
.skills-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.radar-chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.radar-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.radar-grid-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}

.radar-grid-line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
  stroke-dasharray: 2 2;
}

.radar-area-polygon {
  fill: rgba(0, 242, 254, 0.12);
  stroke: var(--accent-cyan);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.25));
  transition: all 0.5s ease;
}

body.matrix-mode .radar-area-polygon {
  fill: rgba(0, 255, 102, 0.12);
  filter: drop-shadow(0 0 10px rgba(0, 255, 102, 0.25));
}

.radar-point {
  fill: var(--bg-primary);
  stroke: var(--accent-cyan);
  stroke-width: 2;
  cursor: pointer;
  transition: r 0.25s ease, stroke-width 0.25s ease, fill 0.25s ease;
}

.radar-point:hover, .radar-point.active {
  r: 8;
  fill: var(--accent-cyan);
  stroke-width: 3;
  filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.radar-axis-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  fill: var(--text-secondary);
  font-weight: 500;
  text-anchor: middle;
  cursor: pointer;
  transition: fill 0.2s ease, font-weight 0.2s ease;
}

.radar-axis-label:hover, .radar-axis-label.active {
  fill: var(--accent-cyan);
  font-weight: 700;
}

/* Skills dynamic presentation card */
.radar-details-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(12px);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-card-hover);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.radar-details-card:hover {
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: var(--shadow-card-hover), 0 0 25px rgba(0, 242, 254, 0.08);
}

.radar-details-card h3 {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.radar-details-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.radar-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radar-tech-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(22, 28, 48, 0.6);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  color: var(--accent-cyan);
  transition: var(--transition-fast);
}

.radar-tech-tag:hover {
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

/* Interactive ML Inference Sandbox */
.sandbox-section {
  position: relative;
}

.sandbox-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.sandbox-tab-btn {
  background: rgba(22, 28, 48, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.sandbox-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

.sandbox-tab-btn.active {
  background: var(--bg-tertiary);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.sandbox-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card-hover);
  animation: revealFade 0.6s ease-out forwards;
}

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

.sandbox-panel.active {
  display: block;
}

.sandbox-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.sandbox-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sandbox-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.sandbox-slider-label {
  color: var(--text-primary);
}

.sandbox-slider-val {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.sandbox-input-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-tertiary);
  outline: none;
  transition: background 0.3s ease;
}

.sandbox-input-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: var(--shadow-cyan);
  transition: transform 0.1s ease;
}

.sandbox-input-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Sandbox Visual gauges output */
.sandbox-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 4rem;
  text-align: center;
  min-height: 320px;
}

.gauge-circular-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 2rem;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg-circle {
  fill: none;
  stroke: var(--bg-tertiary);
  stroke-width: 12;
}

.gauge-fill-circle {
  fill: none;
  stroke: url(#gauge-gradient);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 502; /* 2 * PI * r (r=80) */
  stroke-dashoffset: 251; /* Dynamic calculation */
  transition: stroke-dashoffset 0.35s ease;
}

body.matrix-mode .gauge-fill-circle {
  stroke: var(--accent-cyan);
}

.gauge-readout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-percent {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.gauge-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: -0.25rem;
}

.sandbox-status-alert {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  background: rgba(22, 28, 48, 0.5);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.sandbox-status-alert.active-danger {
  border-color: rgba(255, 95, 86, 0.3);
  color: #ff5f56;
  text-shadow: 0 0 10px rgba(255, 95, 86, 0.3);
}

.sandbox-status-alert.active-safe {
  border-color: rgba(39, 201, 63, 0.3);
  color: var(--accent-emerald);
  text-shadow: 0 0 10px rgba(39, 201, 63, 0.2);
}

/* Churn Panel specific SHAP graphic force visualizer */
.shap-force-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.shap-force-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shap-force-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.shap-label {
  color: var(--text-secondary);
}

.shap-val {
  font-weight: 600;
}

.shap-val.push-churn { color: #ff5f56; }
.shap-val.push-stay { color: var(--accent-cyan); }

.shap-bar-track {
  width: 100%;
  height: 10px;
  background: var(--bg-tertiary);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.shap-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.4s ease, background 0.4s ease;
}

.shap-bar-fill.push-churn {
  background: #ff5f56;
  float: right;
  margin-left: auto;
}

.shap-bar-fill.push-stay {
  background: var(--accent-cyan);
}

/* System Pipeline Flowchart */
.pipeline-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
  position: relative;
  width: 100%;
  padding: 0 0.5rem;
}

.pipeline-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  transform: translateY(-50%);
  z-index: 1;
}

.pipeline-step {
  width: 32px;
  height: 32px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pipeline-step i {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.pipeline-step:hover, .pipeline-step.active {
  border-color: var(--accent-emerald);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.3);
}

.pipeline-step:hover i, .pipeline-step.active i {
  color: var(--accent-emerald);
}

.pipeline-details {
  background: rgba(7, 10, 19, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  font-size: 0.88rem;
  margin-top: 1.2rem;
  animation: revealFade 0.4s ease-out forwards;
}

.pipeline-details h4 {
  font-family: var(--font-headings);
  color: var(--accent-emerald);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.pipeline-code-drawer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  overflow-x: auto;
}

/* Sarcasm Detector terminal component */
.sarcasm-input-wrapper {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sarcasm-console-input {
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  width: 100%;
}

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

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

.sarcasm-output-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sarcasm-output-badge span {
  color: var(--accent-cyan);
  font-weight: 700;
}

.sarcasm-score-bar-wrapper {
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
  display: none;
}

.sarcasm-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), #ff5f56);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.1, 0.8, 0.2, 1);
  border-radius: 3px;
}

/* Responsive Overrides v3.0 */
@media (max-width: 992px) {
  .skills-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .radar-chart-container {
    max-width: 360px;
  }

  .sandbox-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sandbox-visuals {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 3rem;
  }
}
@media (max-width: 480px) {
  .sandbox-panel {
    padding: 2rem 1.5rem;
  }
  .sandbox-tabs {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  .sandbox-tab-btn {
    text-align: center;
    padding: 0.6rem 1.5rem;
  }
}
