/* ==========================================================================
   Pabolu Manohar - Portfolio Stylesheet
   Pure Vanilla CSS: Glassmorphism, Animated Gradient Borders, Dark High-Tech Theme
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
  --bg-main: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: rgba(255, 255, 255, 0.82);
  --bg-surface-hover: rgba(241, 245, 249, 0.96);

  --border-subtle: rgba(15, 23, 42, 0.12);
  --border-glow: rgba(56, 189, 248, 0.4);
  --border-active: #38bdf8;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #c084fc;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #c084fc 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background: #f4f1ee;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* HTML5 Fixed Canvas Background */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Ambient Background Glow */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  top: -120px;
  right: -120px;
}

.glow-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  top: 42%;
  left: -220px;
}

.glow-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.16), transparent 70%);
  bottom: 8%;
  right: -120px;
}

/* Common Layout Containers */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

/* Section Header Typography */
.section-header {
  margin-bottom: 3.5rem;
  text-align: left;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-tag svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.55;
}

/* ==========================================================================
   Pure CSS Glassmorphic Cards with Keyframes Glowing Gradient Border
   ========================================================================== */
.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  overflow: hidden;
  z-index: 1;
  will-change: transform, opacity;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Subtle glowing gradient border on hover using CSS @keyframes */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc, #34d399, #38bdf8);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.glass-card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.15);
}

.glass-card:hover::before {
  opacity: 1;
  animation: borderGlowRotate 3.5s linear infinite;
}

@keyframes borderGlowRotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================================================
   Native Scroll Reveal Animation (Hardware-Accelerated & Zero Layout Shift)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px) translateZ(0);
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #020617;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand-badge {
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.3);
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-link svg {
  stroke-width: 2px;
}

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

.nav-cta {
  text-decoration: none;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-cta:hover {
  background: var(--accent-cyan);
  color: var(--bg-main);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   Buttons & Interactive UI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-family: inherit;
}

.btn-large {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

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

/* ==========================================================================
   Hero Section with Terminal Typing Animation
   ========================================================================== */
.hero-section {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid rgba(124, 58, 237, 0.24);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.status-dot.pulse {
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 0.8rem;
  color: #111827;
  background: none;
  -webkit-text-fill-color: initial;
}

/* Terminal Typing Container */
.hero-headline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.4rem;
  line-height: 1.35;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 2.2rem;
  white-space: nowrap;
  overflow: hidden;
}

.terminal-prompt {
  color: var(--accent-indigo);
  margin-right: 0.5rem;
  font-weight: 700;
  user-select: none;
}

.typing-target {
  color: var(--accent-cyan);
  border-bottom: 2px solid transparent;
}

/* CSS Blinking Cursor */
.terminal-cursor {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 300;
  margin-left: 2px;
  animation: cursorBlink 0.85s step-start infinite;
}

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

.hero-bio {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.hero-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  background: var(--bg-surface-hover);
}

/* Profile Card in Hero */
.profile-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: center;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.profile-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.avatar-ring {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient-primary);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

.avatar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-initials {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.profile-info .profile-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.profile-info .profile-role {
  font-size: 0.92rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.profile-info .profile-loc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.profile-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.profile-highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  flex-shrink: 0;
}

/* Hero Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.stat-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.primary-focus-card {
  padding: 2rem;
}

.card-icon-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card-icon-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-bubble svg {
  width: 22px;
  height: 22px;
}

.icon-bubble.cyan {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.icon-bubble.purple {
  background: rgba(192, 132, 252, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(192, 132, 252, 0.25);
}

.icon-bubble.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.primary-focus-card p {
  color: var(--text-secondary);
  font-size: 0.965rem;
  line-height: 1.65;
}

.primary-focus-card strong {
  color: var(--text-primary);
}

/* Leadership Box */
.leadership-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
}

.leadership-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.leadership-header svg {
  width: 22px;
  height: 22px;
  color: var(--accent-cyan);
}

.leadership-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.leadership-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.leadership-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
}

.leadership-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Experience Section (FlintLab Timeline with Glassmorphism)
   ========================================================================== */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.75rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  z-index: 2;
  margin-top: 1.5rem;
}

.current-role .marker-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
}

.marker-line {
  width: 2px;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.4) 0%, rgba(255, 255, 255, 0.05) 100%);
  margin-top: 0.5rem;
}

.timeline-content {
  padding: 2.25rem;
}

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

.role-badge-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.role-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
}

.role-type-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-indigo);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.company-subline {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.company-name {
  color: var(--accent-cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.role-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.period-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.period-badge svg {
  width: 14px;
  height: 14px;
}

.company-overview {
  font-size: 0.95rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-cyan);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
}

.achievements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bullet-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.bullet-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tech-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.tag-pill:hover {
  color: var(--accent-cyan);
  border-color: var(--border-glow);
}

/* ==========================================================================
   Technical Skills Section
   ========================================================================== */
.skills-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
  background: var(--accent-cyan);
  color: var(--bg-main);
  font-weight: 600;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

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

.skill-category-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.category-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

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

.skill-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.skill-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
}

.skill-badge:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  background: rgba(56, 189, 248, 0.06);
}

.skill-badge.skill-featured {
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.35);
  font-weight: 600;
}

/* ==========================================================================
   Projects Section (with Glassmorphic Cards)
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.project-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.project-category-tag {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--accent-purple);
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.project-link-btn {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.project-link-btn svg {
  width: 20px;
  height: 20px;
}

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

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

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

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Education & Certifications
   ========================================================================== */
.edu-cert-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.25rem;
}

.column-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
}

.column-subtitle svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.education-card {
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.edu-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.edu-icon-bubble svg {
  width: 22px;
  height: 22px;
}

.edu-details {
  flex-grow: 1;
}

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

.edu-degree {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.edu-institution {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.edu-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.edu-score {
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.edu-loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.edu-highlights {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Certifications Grid */
.cert-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-item {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cert-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-badge-icon svg {
  width: 20px;
  height: 20px;
}

.cert-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.cert-issuer {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-card {
  padding: 3.5rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-header {
  max-width: 650px;
  margin-bottom: 2.75rem;
}

.contact-header .section-tag {
  margin-bottom: 1rem;
}

.contact-header .section-title {
  margin-bottom: 0.75rem;
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 820px;
  margin-bottom: 2.5rem;
  text-align: left;
}

.contact-method-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  transition: all var(--transition-fast);
}

.contact-method-box:hover {
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.05);
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon svg {
  width: 20px;
  height: 20px;
}

.method-info {
  flex-grow: 1;
  overflow: hidden;
}

.method-label {
  display: block;
  font-size: 0.775rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.method-value {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition-fast);
}

.method-value:hover {
  color: var(--accent-cyan);
}

.btn-copy {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-copy svg {
  width: 18px;
  height: 18px;
}

.btn-copy:hover {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 9, 17, 0.95);
  padding: 2.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Loading & Error States
   ========================================================================== */
.loading-state {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(56, 189, 248, 0.15);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.error-state {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 10;
}

.error-card {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 550px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.error-badge {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid #ef4444;
  color: #ef4444;
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.error-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.error-tip {
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.error-tip pre {
  margin-top: 0.5rem;
  background: #000;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* Toast Component */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(56, 189, 248, 0.25);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   Responsive Design & Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-name {
    font-size: 3rem;
  }

  .profile-card {
    max-width: 440px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .edu-cert-layout {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
    justify-content: center;
  }

  .hero-name {
    font-size: 2.4rem;
  }

  .hero-headline {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .timeline-item {
    grid-template-columns: 24px 1fr;
    gap: 1rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .contact-methods-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 2.25rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-social-links {
    margin-left: 0;
    justify-content: center;
  }
}

/* Editorial portfolio redesign */
:root {
  --bg-main: #F8F6F1;
  --bg-surface: #FBFAF7;
  --bg-surface-elevated: #FBFAF7;
  --bg-surface-hover: #F1EEE8;
  --border-subtle: #DDD9D2;
  --border-glow: #BDAED2;
  --border-active: #7353A8;
  --text-primary: #242329;
  --text-secondary: #6F6B70;
  --text-muted: #858087;
  --accent-cyan: #7353A8;
  --accent-indigo: #7353A8;
  --accent-purple: #7353A8;
  --accent-emerald: #7353A8;
  --accent-amber: #7353A8;
  --gradient-primary: #7353A8;
  --gradient-card: #FBFAF7;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --transition-fast: 180ms ease;
  --transition-normal: 220ms ease;
}

html {
  font-size: 17px;
  scroll-padding-top: 84px;
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
}

.bg-canvas,
.ambient-glow {
  display: none;
}

.container,
.nav-container {
  max-width: 1320px;
  padding-right: 40px;
  padding-left: 40px;
}

.section {
  padding: 6.25rem 0;
}

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

.section-tag {
  gap: 0.4rem;
  padding: 0;
  margin-bottom: 0.8rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--accent-cyan);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.section-tag svg {
  width: 13px;
  height: 13px;
}

.section-title {
  margin-bottom: 0.65rem;
  color: var(--text-primary);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section-subtitle {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.navbar,
.navbar.scrolled {
  background: rgba(248, 246, 241, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-container {
  min-height: 76px;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.nav-brand {
  gap: 0.7rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--accent-cyan);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-links {
  gap: 1.45rem;
}

.nav-link {
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link svg {
  display: none;
}

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

.nav-cta {
  gap: 0.45rem;
  padding: 0.58rem 0.88rem;
  background: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  border-radius: 7px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-cta:hover {
  background: #62428F;
  border-color: #62428F;
  color: #fff;
  box-shadow: none;
}

.nav-toggle {
  border-radius: 6px;
}

.btn {
  min-height: 44px;
  padding: 0.68rem 1rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-large {
  padding: 0.8rem 1.15rem;
  border-radius: 7px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background: #62428F;
  box-shadow: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

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

.hero-section {
  padding-top: 5.4rem;
  padding-bottom: 3.7rem;
}

.hero-container {
  gap: 2.3rem;
}

.status-indicator {
  gap: 0.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.status-dot,
.status-dot.pulse {
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  box-shadow: none;
  animation: none;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.72fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.hero-greeting {
  margin-bottom: 0.65rem;
  color: var(--accent-cyan);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-name {
  margin-bottom: 0.9rem;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(3.25rem, 5.5vw, 4.25rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-headline {
  min-height: 2rem;
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 550;
  line-height: 1.5;
  white-space: normal;
}

.terminal-prompt,
.typing-target,
.terminal-cursor {
  color: var(--accent-cyan);
}

.terminal-prompt {
  margin-right: 0.35rem;
}

.terminal-cursor {
  animation-duration: 1.2s;
}

.hero-bio {
  max-width: 650px;
  margin-bottom: 1.8rem;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.78;
}

.hero-cta-group {
  gap: 0.7rem;
}

.hero-social-links {
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-left: 0.25rem;
}

.social-btn {
  width: auto;
  min-height: 38px;
  flex-shrink: 0;
  gap: 0.4rem;
  padding: 0 0.65rem;
  border-radius: 7px;
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 550;
  white-space: nowrap;
}

.social-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.profile-card,
.glass-card {
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.glass-card::before,
.profile-card::after {
  display: none;
}

.glass-card:hover {
  border-color: #BEB9B1;
  box-shadow: none;
  transform: translateY(-2px);
}

.profile-card {
  max-width: 400px;
  margin-left: auto;
  padding: 0;
  align-items: stretch;
  gap: 0;
  text-align: left;
}

.avatar-ring {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.25;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.avatar-circle {
  width: 100%;
  height: 100%;
  background: var(--bg-surface-hover);
  border-radius: 0;
}

.avatar-img {
  border-radius: 0;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.profile-card:hover .avatar-img {
  transform: scale(1.025);
}

.avatar-initials {
  color: var(--accent-cyan);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.profile-info,
.profile-chips {
  padding-right: 1.35rem;
  padding-left: 1.35rem;
}

.profile-info .profile-name {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
  font-weight: 650;
}

.profile-info .profile-role {
  margin-bottom: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.profile-info .profile-loc {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.profile-info svg,
.mini-chip svg {
  color: var(--accent-cyan);
}

.profile-chips {
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.mini-chip {
  justify-content: flex-start;
  padding: 0.38rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.hero-stats-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat-card {
  min-height: 112px;
  justify-content: center;
  padding: 1.2rem 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
}

.stat-card + .stat-card {
  border-left: 1px solid var(--border-subtle);
}

.stat-card:hover {
  border-color: var(--border-subtle);
  transform: none;
}

.stat-value {
  color: var(--accent-cyan);
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.04em;
}

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

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.primary-focus-card,
.leadership-box,
.skill-category-card,
.project-card,
.timeline-content,
.education-card,
.cert-item,
.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  box-shadow: none;
}

.primary-focus-card {
  padding: 1.6rem;
}

.card-icon-header {
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-icon-header h3,
.leadership-header h3,
.category-title,
.column-subtitle {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.icon-bubble,
.icon-bubble.cyan,
.icon-bubble.purple,
.icon-bubble.emerald,
.cat-icon-wrap,
.edu-icon-bubble,
.cert-badge-icon,
.method-icon {
  width: 38px;
  height: 38px;
  background: var(--light-accent, #EEE8F7);
  border: 1px solid #E5DDEF;
  border-radius: 8px;
  color: var(--accent-cyan);
}

.primary-focus-card p,
.leadership-item {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.72;
}

.primary-focus-card strong {
  color: var(--text-primary);
}

.leadership-box {
  padding: 1.6rem 1.8rem;
}

.leadership-header {
  margin-bottom: 1rem;
}

.leadership-header svg,
.leadership-item svg {
  color: var(--accent-cyan);
}

.leadership-list {
  gap: 0.65rem;
}

.timeline {
  gap: 1rem;
}

.timeline-item {
  display: block;
}

.timeline-marker {
  display: none;
}

.timeline-content {
  padding: 1.8rem 2rem;
}

.timeline-header {
  margin-bottom: 1.1rem;
}

.role-title {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.role-type-badge,
.period-badge {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
}

.company-subline {
  gap: 1rem;
  margin-top: 0.3rem;
  font-size: 0.88rem;
}

.company-name,
.company-name svg {
  color: var(--accent-cyan);
}

.company-overview {
  padding: 0;
  background: transparent;
  border-left: 0;
  border-radius: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.achievements-list {
  gap: 0.7rem;
}

.bullet-indicator {
  width: 5px;
  height: 5px;
  margin-top: 0.65rem;
  background: var(--accent-cyan);
}

.bullet-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.tech-tags-group {
  gap: 0.45rem;
  padding-top: 1rem;
  border-color: var(--border-subtle);
}

.tag-pill,
.skill-badge,
.tech-pill {
  padding: 0.28rem 0.58rem;
  background: #F8F6F1;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.tag-pill:hover,
.skill-badge:hover,
.tech-pill:hover {
  background: var(--bg-surface-hover);
  border-color: #BEB9B1;
  color: var(--text-primary);
  transform: none;
}

.skills-filter-tabs {
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.filter-tab {
  padding: 0.45rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.83rem;
}

.filter-tab:hover {
  border-color: #BEB9B1;
}

.filter-tab.active {
  background: var(--light-accent, #EEE8F7);
  border-color: #D8CDE8;
  box-shadow: none;
  color: var(--accent-cyan);
}

.skills-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.skill-category-card {
  gap: 1rem;
  padding: 1.45rem;
}

.category-header {
  gap: 0.8rem;
}

.cat-icon-wrap {
  flex: 0 0 38px;
}

.category-title {
  margin-bottom: 0.18rem;
}

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

.skill-badges-container {
  gap: 0.42rem;
}

.skill-badge.skill-featured {
  background: #EEE8F7;
  border-color: #D8CDE8;
  color: #62428F;
  font-weight: 550;
}

.projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  min-height: 100%;
  padding: 1.6rem;
}

.project-top {
  margin-bottom: 1rem;
}

.project-category-tag {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--accent-cyan);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
}

.project-link-btn {
  color: var(--text-muted);
}

.project-link-btn:hover,
.method-value:hover {
  color: var(--accent-cyan);
}

.project-title {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.project-desc {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.project-tech-stack {
  gap: 0.4rem;
  padding-top: 0.9rem;
  border-color: var(--border-subtle);
}

.tech-pill {
  color: var(--text-secondary);
}

.edu-cert-layout {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.column-subtitle {
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.column-subtitle svg {
  color: var(--accent-cyan);
}

.edu-list,
.cert-grid {
  gap: 0.75rem;
}

.education-card {
  gap: 1rem;
  padding: 1.25rem;
}

.edu-degree {
  font-size: 1rem;
  font-weight: 650;
}

.edu-period,
.cert-date {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

.edu-institution {
  color: var(--accent-cyan);
  font-size: 0.88rem;
}

.edu-meta {
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.edu-score {
  color: var(--accent-cyan);
  font-family: var(--font-sans);
}

.edu-highlights {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.cert-item {
  gap: 0.8rem;
  padding: 0.95rem 1rem;
}

.cert-badge-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.cert-name {
  font-size: 0.9rem;
  font-weight: 600;
}

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

.contact-card {
  padding: 2.8rem 2rem;
}

.contact-methods-grid {
  gap: 0.8rem;
  margin-bottom: 0;
}

.contact-cta-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.4rem;
}

.contact-method-box {
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
}

.contact-method-box:hover {
  background: var(--bg-surface);
  border-color: #BEB9B1;
}

.method-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

.method-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.method-value {
  font-size: 0.88rem;
}

.btn-copy {
  color: var(--text-muted);
}

.btn-copy:hover {
  background: var(--light-accent, #EEE8F7);
  color: var(--accent-cyan);
}

.footer {
  padding: 1.5rem 0;
  background: transparent;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-link {
  color: var(--text-secondary);
}

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

.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: none;
}

.loading-state,
.error-state {
  background: var(--bg-main);
}

.loader-spinner {
  border-color: #E5DDEF;
  border-top-color: var(--accent-cyan);
}

.loader-text {
  color: var(--text-secondary);
  font-family: var(--font-sans);
}

.error-card,
.toast {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  border-radius: 10px;
  box-shadow: none;
}

.error-tip {
  background: #F3F0EA;
  border-radius: 7px;
}

.error-tip pre {
  overflow-x: auto;
  background: #EEEAE3;
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .container,
  .nav-container {
    padding-right: 32px;
    padding-left: 32px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.8fr);
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-cert-layout {
    grid-template-columns: 1fr 0.85fr;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 4.7rem 0;
  }

  .hero-section {
    padding-top: 3.8rem;
    padding-bottom: 2.7rem;
  }

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

  .hero-name {
    max-width: 680px;
    font-size: clamp(3rem, 8vw, 4rem);
  }

  .hero-visual-card {
    max-width: 420px;
  }

  .profile-card {
    max-width: none;
    margin: 0;
  }

  .skills-grid,
  .projects-grid,
  .edu-cert-layout {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.45rem 1.25rem 1rem;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    min-height: 44px;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.92rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.8rem;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card:nth-child(odd) {
    border-left: 0;
  }

  .stat-card:nth-child(n + 3) {
    border-top: 1px solid var(--border-subtle);
  }

  .timeline-content {
    padding: 1.45rem;
  }

  .contact-card {
    padding: 2rem 1.25rem;
  }

  .contact-methods-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container,
  .nav-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .nav-container {
    min-height: 66px;
  }

  .nav-brand {
    font-size: 0.92rem;
  }

  .hero-section {
    padding-top: 2.8rem;
  }

  .hero-container {
    gap: 1.7rem;
  }

  .hero-name {
    font-size: clamp(2.65rem, 12vw, 2.85rem);
  }

  .hero-headline {
    font-size: 0.98rem;
  }

  .hero-bio {
    font-size: 0.96rem;
  }

  .hero-cta-group {
    align-items: stretch;
  }

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

  .hero-social-links {
    margin: 0.25rem auto 0;
    gap: 0.3rem;
  }

  .social-btn {
    min-height: 36px;
    gap: 0.3rem;
    padding: 0 0.45rem;
    font-size: 0.72rem;
  }

  .social-btn svg {
    width: 16px;
    height: 16px;
  }

  .section {
    padding: 3.8rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .hero-stats-row {
    margin-top: 1rem;
  }

  .stat-card {
    min-height: 96px;
    padding: 0.9rem 0.65rem;
  }

  .stat-value {
    font-size: 1.55rem;
  }

  .stat-label {
    font-size: 0.73rem;
  }

  .about-grid {
    gap: 0.75rem;
  }

  .primary-focus-card,
  .skill-category-card,
  .project-card {
    padding: 1.2rem;
  }

  .timeline-content {
    padding: 1.15rem;
  }

  .timeline-header {
    align-items: flex-start;
  }

  .period-badge {
    white-space: normal;
    text-align: right;
  }

  .company-subline {
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
  }

  .edu-header-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .education-card {
    padding: 1rem;
  }

  .footer-content {
    align-items: flex-start;
    text-align: left;
  }

  .footer-right {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
  }

  .toast {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    text-align: center;
  }
}

.btn-primary,
.nav-cta {
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.btn-secondary,
.social-btn,
.filter-tab,
.project-link-btn,
.btn-copy {
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

@media (hover: hover) {
  .btn-primary:hover,
  .nav-cta:hover {
    background-color: #62428F;
    box-shadow: 0 8px 20px rgba(98, 66, 143, 0.24);
    transform: none;
  }

  .btn-secondary:hover,
  .social-btn:hover,
  .filter-tab:hover,
  .project-link-btn:hover,
  .btn-copy:hover {
    background-color: #7353A8;
    border-color: #7353A8;
    color: #fff;
    box-shadow: 0 8px 20px rgba(98, 66, 143, 0.24);
    transform: none;
  }
}

.btn:active,
.nav-cta:active,
.social-btn:active,
.filter-tab:active,
.project-link-btn:active,
.btn-copy:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
