/* ==========================================================================
   PRADEEP KUMAR - PORTFOLIO DESIGN SYSTEM
   Inspired by IDE/Terminal Architect Aesthetic (premtomar.com reference)
   Pure Vanilla CSS (No Frameworks, Modern Specs, Responsive, Smooth Motion)
   ========================================================================== */

:root {
  /* Color Palette - Dark IDE Theme */
  --bg-dark: #0d0f12;
  --bg-panel: #14171d;
  --bg-card: #1a1e27;
  --bg-card-hover: #222734;
  --bg-terminal: #0f1117;
  --bg-editor: #161922;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-highlight: rgba(0, 230, 195, 0.3);

  /* Accents */
  --teal: #00e6c3;
  --teal-glow: rgba(0, 230, 195, 0.2);
  --amber: #ffb703;
  --amber-glow: rgba(255, 183, 3, 0.2);
  --blue: #3a86ef;
  --blue-glow: rgba(58, 134, 239, 0.2);
  --green: #2ec4b6;
  --purple: #8338ec;
  --red: #ff0054;

  /* Typography Colors */
  --text-main: #f8f9fa;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --code-text: #e2e8f0;
  --code-keyword: #ff79c6;
  --code-string: #f1fa8c;
  --code-function: #50fa7b;
  --code-comment: #6272a4;
  --code-number: #bd93f9;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Layout Constants */
  --header-height: 72px;
  --max-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Fallback for Oklab Gradients */
:root {
  --in-oklab: ;
}
@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
  }
}

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

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

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

/* Background Grid Overlay Pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--teal), var(--amber), var(--blue));
  width: 0%;
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #2a2e3d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3e455b;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #5ff5de;
}

.mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: linear-gradient(135deg var(--in-oklab), #ffffff 20%, var(--teal) 60%, #80eec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg var(--in-oklab), #ffffff 20%, var(--amber) 70%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tag Pills & Badges */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.tag-teal {
  background: rgba(0, 230, 195, 0.1);
  border-color: rgba(0, 230, 195, 0.3);
  color: var(--teal);
}

.tag-amber {
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.3);
  color: var(--amber);
}

.tag-blue {
  background: rgba(58, 134, 239, 0.1);
  border-color: rgba(58, 134, 239, 0.3);
  color: var(--blue);
}

/* Section Header */
.section-header {
  margin-bottom: 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-label::before {
  content: "//";
  color: var(--amber);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  max-width: 680px;
  color: var(--text-muted);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(13, 15, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-mono);
}

.brand-logo .code-bracket {
  color: var(--teal);
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(46, 196, 182, 0.1);
  border: 1px solid rgba(46, 196, 182, 0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--green);
  font-family: var(--font-mono);
}

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

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding: 6px 0;
}

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

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--teal);
  color: #080a0c;
  box-shadow: 0 4px 16px var(--teal-glow);
}

.btn-primary:hover {
  background: #24f0cf;
  color: #080a0c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 195, 0.35);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: rgba(0, 230, 195, 0.1);
  color: #5ff5de;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & WORKBENCH CLI WIDGET
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 230, 195, 0.04);
  border: 1px solid var(--teal);
  border-radius: var(--radius-sm);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hero-intro-badge:nth-child(2) {
  background: rgba(255, 183, 3, 0.04);
  border-color: rgba(255, 183, 3, 0.4);
  color: var(--amber);
}

.hero-intro-badge:nth-child(3) {
  background: rgba(77, 171, 247, 0.04);
  border-color: rgba(77, 171, 247, 0.4);
  color: var(--blue);
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-quick-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.hero-quick-links a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-quick-links a:hover {
  color: var(--teal);
}

/* Workbench IDE / Terminal Container */
.workbench-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.workbench-header {
  background: #101217;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.workbench-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wb-tab {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  background: transparent;
  border: none;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

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

.wb-tab.active {
  color: var(--teal);
  background: var(--bg-editor);
  border-bottom: 2px solid var(--teal);
  font-weight: 600;
}

.workbench-body {
  background: var(--bg-editor);
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow: hidden;
}

/* Code View Tab Content */
.tab-content {
  display: none;
  height: 100%;
}
.tab-content.active {
  display: block;
}

.code-block pre {
  margin: 0;
  overflow-x: auto;
  color: var(--code-text);
}

.code-line {
  display: flex;
}

.line-num {
  width: 32px;
  color: var(--text-dim);
  user-select: none;
  text-align: right;
  padding-right: 12px;
}

/* Terminal CLI Component */
.terminal-window {
  display: flex;
  flex-direction: column;
  height: 360px;
}

.terminal-history {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terminal-line {
  line-height: 1.5;
}

.terminal-prompt {
  color: var(--teal);
  font-weight: 700;
}

.terminal-command {
  color: var(--text-main);
}

.terminal-output {
  color: var(--text-muted);
  margin-top: 4px;
  white-space: pre-wrap;
}

.terminal-output .highlight {
  color: var(--amber);
  font-weight: 600;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.terminal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  background: rgba(0, 230, 195, 0.15);
  border-color: var(--teal);
  color: var(--teal);
}

/* ==========================================================================
   METRICS BAR
   ========================================================================== */
.metrics-section {
  padding: 40px 0;
  border-y: 1px solid var(--border-subtle);
  background: rgba(20, 23, 29, 0.6);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.metric-number {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.metric-subtext {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   SYSTEM ARCHITECTURE & CAPABILITIES
   ========================================================================== */
.capabilities-section {
  padding: 100px 0;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.arch-card.workbench-card-style {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  padding: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.arch-card.workbench-card-style:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 28px 60px rgba(0, 230, 195, 0.15);
}

.arch-card.workbench-card-style:nth-child(2):hover {
  border-color: var(--amber);
  box-shadow: 0 28px 60px rgba(255, 183, 3, 0.15);
}

.arch-card.workbench-card-style:nth-child(3):hover {
  border-color: var(--blue);
  box-shadow: 0 28px 60px rgba(77, 171, 247, 0.15);
}

.arch-card.workbench-card-style:nth-child(4):hover {
  border-color: var(--green);
  box-shadow: 0 28px 60px rgba(39, 201, 63, 0.15);
}

.arch-tab-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.arch-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.arch-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.arch-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.arch-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.arch-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   TECHNICAL SKILLS STACK SECTION
   ========================================================================== */
.skills-section {
  padding: 100px 0;
  background: rgba(20, 23, 29, 0.4);
}

.skills-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 230, 195, 0.12);
  border-color: var(--teal);
  color: var(--teal);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stack-card {
  background: var(--bg-terminal);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.stack-header {
  background: #141720;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 700;
}

.stack-body {
  padding: 20px;
}

.skill-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* ==========================================================================
   EXPERIENCE TIMELINE
   ========================================================================== */
.experience-section {
  padding: 100px 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 280px;
  width: 2px;
  background: var(--border-subtle);
}

.timeline-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  position: relative;
}

.timeline-meta {
  text-align: right;
  padding-top: 4px;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 6px;
}

.timeline-company {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.timeline-location {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--teal);
  box-shadow: 0 0 10px var(--teal-glow);
}

.timeline-content:hover {
  border-color: var(--border-highlight);
  transform: translateX(4px);
}

.timeline-role {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--teal);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.timeline-bullets li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.timeline-bullets li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ==========================================================================
   PROJECTS SHOWCASE
   ========================================================================== */
.projects-section {
  padding: 100px 0;
  background: rgba(20, 23, 29, 0.4);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--teal), var(--blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.project-card:hover::after {
  opacity: 1;
}

.project-type {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.project-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.open-source-container {
  margin-top: 40px;
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.os-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s ease;
}

.os-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

.os-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.os-title {
  font-size: 1.1rem;
  font-family: var(--font-mono);
  color: var(--teal);
}

/* ==========================================================================
   EDUCATION, AWARDS & HOBBIES
   ========================================================================== */
.extras-section {
  padding: 100px 0;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.extra-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}

.extra-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.contact-section {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #07090b 100%);
  border-top: 1px solid var(--border-subtle);
}

.contact-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 230, 195, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-links-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.contact-pill:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.contact-pill.whatsapp-pill:hover {
  border-color: #25D366;
  color: #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-dim);

  text-align: center;
}

/* Toast notification */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--teal);
  color: #080a0c;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(0, 230, 195, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2000;
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS & MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-description {
    max-width: 100%;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before {
    left: 12px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 28px;
  }
  .timeline-meta {
    text-align: left;
  }
  .timeline-content::before {
    left: -33px;
    top: 14px;
  }
  .extras-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }
  .status-badge {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 6px 10px;
    cursor: pointer;
  }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(15, 17, 23, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    display: none;
    z-index: 999;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.05rem;
    width: 100%;
    padding: 8px 0;
  }
  .hero-section {
    padding-top: calc(64px + 32px);
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: auto;
  }
  .hero-quick-links {
    flex-wrap: wrap;
    gap: 12px;
  }
  .workbench-card {
    min-height: auto;
  }
  .workbench-tabs {
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    padding-bottom: 4px;
  }
  .workbench-body {
    padding: 14px;
    font-size: 0.8rem;
  }
  .terminal-window {
    height: 320px;
  }
  .architecture-grid,
  .stack-grid,
  .projects-grid,
  .os-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-card {
    padding: 32px 18px;
  }
  .contact-card h2 {
    font-size: 1.85rem;
  }
  .contact-pill {
    width: 100%;
    justify-content: center;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .metric-card {
    padding: 18px;
  }
  .metric-number {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .brand-logo {
    font-size: 0.95rem;
  }
  .nav-resume-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .timeline-bullets li {
    font-size: 0.88rem;
  }
  .toast-msg {
    left: 16px;
    right: 16px;
    bottom: 20px;
    text-align: center;
  }
}

/* ==========================================================================
   RESUME OPTIONS MODAL STYLING
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 230, 195, 0.18);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--teal);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-family: var(--font-mono);
  color: var(--teal);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-action-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 0.95rem;
}
