/* ==========================================================================
   MIGUEL GARCÍA - PROFESSIONAL PORTFOLIO & LANDING PAGE
   Design System: High-End Dark Mode, Glassmorphism, Vibrant Glowing Accents
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-surface: #0f172a;
  --bg-alt: #0a0f1d;
  
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  
  --secondary: #06b6d4;
  --secondary-glow: rgba(6, 182, 212, 0.3);
  
  --accent-emerald: #10b981;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.4);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-sans);
  --font-mono: 'Fira Code', monospace;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: 20%;
  left: -120px;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  top: 40%;
  right: 10%;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.1rem;
  }
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(99, 102, 241, 0.2);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.logo-symbol {
  font-family: var(--font-mono);
  font-size: 1rem;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.accent-dot {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

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

.nav-btn-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-btn-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Language Switcher */
.lang-switch-box {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 3px 6px;
  gap: 4px;
  backdrop-filter: blur(10px);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 0 10px var(--primary-glow);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  user-select: none;
}

.quick-contact-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: background var(--transition-fast);
}

.quick-contact-badge:hover {
  background: rgba(16, 185, 129, 0.2);
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-content, .hero-visual {
  min-width: 0;
  max-width: 100%;
}

.status-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 1.5rem;
  max-width: 100%;
  line-height: 1.45;
  box-sizing: border-box;
}

.status-pill span:not(.pulse-indicator) {
  flex: 1;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
  margin-top: 0.32rem;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.2;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  overflow-wrap: break-word;
}

.hero-lead strong {
  color: var(--text-main);
}

/* Scope Badges */
.scope-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  max-width: 100%;
  box-sizing: border-box;
}

.scope-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.scope-item i {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.scope-item strong {
  color: var(--text-main);
}

.text-primary { color: var(--primary-light); }
.text-accent { color: var(--secondary); }

/* Buttons & CTA */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

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

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

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

.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--border-highlight);
  background: rgba(99, 102, 241, 0.05);
}

.btn-block {
  width: 100%;
}

/* Hero Stats Counter */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Profile Showcase Card in Hero */
.hero-visual {
  position: relative;
}

.profile-showcase-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.avatar-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.avatar-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initials {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.profile-role {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.location-badge {
  font-size: 0.78rem;
  color: var(--secondary);
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Code Terminal */
.code-terminal {
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.4rem;
}

.terminal-bar {
  background: #0b1120;
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #cbd5e1;
  overflow-x: auto;
}

.kwd { color: #f43f5e; }
.str { color: #34d399; }

.highlights-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chip i {
  color: var(--primary-light);
}

/* Brands Ticker */
.ticker-section {
  padding: 2.2rem 0;
  background: rgba(10, 15, 29, 0.6);
  border-y: 1px solid var(--border-subtle);
  overflow: hidden;
}

.ticker-caption {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-move {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 35s linear infinite;
}

.ticker-move:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #94a3b8;
  margin: 0 2rem;
  opacity: 0.8;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.ticker-item:hover {
  color: #fff;
  opacity: 1;
}

.ticker-item i {
  color: var(--primary-light);
  font-size: 0.95rem;
}

/* Common Section Styles */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

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

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.about-card.main-statement {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

.about-card h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.statement-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.point-item i {
  color: var(--accent-emerald);
  margin-top: 0.25rem;
}

.about-side-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.4rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.about-mini-card:hover {
  transform: translateX(4px);
  border-color: rgba(99, 102, 241, 0.35);
}

.mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.mini-icon.accent-blue {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.mini-icon.accent-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.mini-icon.accent-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.about-mini-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.about-mini-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Sectores de Mercado */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1.75rem;
  min-width: 0;
}

.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.sector-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
}

.sector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.sector-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.sector-icon-wrap.fintech {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.sector-icon-wrap.health {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
}

.sector-icon-wrap.media {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.sector-icon-wrap.edtech {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.sector-icon-wrap.logistics {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.sector-scope-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sector-scope-tag.intl {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.sector-scope-tag.nat {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sector-scope-tag.hybrid {
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sector-name {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.sector-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.sector-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.client-pill {
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  color: #e2e8f0;
}

.sector-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
}

.sector-features li {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.sector-features li i {
  color: var(--secondary);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Technical Skills Matrix */
.skills-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.75rem;
  min-width: 0;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.skill-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.category-header i {
  color: var(--secondary);
  font-size: 1.3rem;
}

.category-header h3 {
  font-size: 1.18rem;
}

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

.tech-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tech-tag.highlight {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-weight: 600;
}

.tech-tag.highlight i {
  color: var(--secondary);
}

/* Timeline / Career Experience */
.timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 70%, transparent 100%);
}

.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 11px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--secondary);
  box-shadow: 0 0 10px var(--secondary-glow);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--transition-fast);
}

.timeline-content:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.company-badge {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.location-pill {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.role-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-headline {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 0.9rem;
}

.timeline-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.key-achievements {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.3rem;
  padding-left: 0.2rem;
}

.key-achievements span {
  font-size: 0.88rem;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.key-achievements span i {
  color: var(--accent-emerald);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.item-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.item-technologies .badge {
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  color: #94a3b8;
}

/* Certifications Section */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  min-width: 0;
}

.cert-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
}

.cert-card.in-progress {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-card) 100%);
}

.cert-badge-status {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 1.1rem;
}

.cert-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.cert-issuer {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.6rem;
}

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

/* Contact & Action Section */
.contact-card-wrapper {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.contact-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.contact-row .contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-value {
  display: flex;
  flex-direction: column;
}

.contact-value .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.contact-value a {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-value a:hover {
  color: var(--secondary);
}

.contact-value span {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* Contact Form Box */
.contact-form-box {
  background: rgba(8, 12, 22, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2rem;
}

.form-title {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
.site-footer {
  background: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.footer-left p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Toast Notification (Repositioned to bottom-left to prevent overlap with WhatsApp bubble) */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: #0f172a;
  border: 1px solid var(--border-highlight);
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-smooth);
}

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

.toast-notification i {
  color: #34d399;
}

/* Persistent Floating WhatsApp Widget with Glowing Radar Pulse */
.floating-whatsapp-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.floating-whatsapp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.floating-whatsapp-btn i {
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-radar-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50px;
  border: 2px solid #10b981;
  animation: waPulseRadar 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes waPulseRadar {
  0% { transform: scale(0.95); opacity: 0.9; }
  60% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

.wa-tooltip-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: max-width var(--transition-smooth), opacity var(--transition-smooth);
}

.wa-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a7f3d0;
  box-shadow: 0 0 6px #fff;
  flex-shrink: 0;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.65);
}

.floating-whatsapp-btn:hover .wa-tooltip-pill {
  max-width: 220px;
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .contact-card-wrapper {
    padding: 2.5rem 1.8rem;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-item {
    padding-left: 45px;
  }

  .timeline-marker {
    left: 6px;
  }

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

@media (max-width: 768px) {
  .site-header {
    background: rgba(7, 10, 18, 0.95);
  }

  .nav-container {
    padding: 0.8rem 1.1rem;
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(7, 10, 18, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.35rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.4rem 0;
  }

  .nav-btn-highlight {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .quick-contact-badge {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

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

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

  .sectors-grid, .skills-matrix, .certs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .sector-card, .skill-category-card, .cert-card, .about-card.main-statement {
    padding: 1.4rem;
  }

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

  .contact-title {
    font-size: 1.7rem;
  }

  .contact-form-box {
    padding: 1.35rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .floating-whatsapp-wrap {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-whatsapp-btn {
    padding: 0.75rem;
    border-radius: 50%;
  }

  .floating-whatsapp-btn i {
    font-size: 1.55rem;
  }

  .floating-whatsapp-btn .wa-tooltip-pill {
    display: none !important;
  }

  .toast-notification {
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
  }
}

@media (max-width: 640px) {
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 2.25rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.85rem 1rem;
    box-sizing: border-box;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    padding-left: 32px;
    margin-bottom: 2rem;
  }

  .timeline-marker {
    left: 4px;
    width: 16px;
    height: 16px;
    top: 6px;
    border-width: 2.5px;
  }

  .timeline-content {
    padding: 1.25rem;
  }

  .role-title {
    font-size: 1.18rem;
  }

  .key-achievements span {
    font-size: 0.84rem;
  }

  .filter-bar {
    gap: 0.5rem;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .filter-btn[data-filter="all"] {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.7rem 0.9rem;
  }

  .logo-brand {
    font-size: 1.1rem;
    gap: 0.35rem;
  }

  .logo-symbol {
    font-size: 0.82rem;
    padding: 0.15rem 0.35rem;
  }

  .lang-btn {
    font-size: 0.74rem;
    padding: 2px 6px;
  }

  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .stat-number {
    font-size: 1.4rem;
  }

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

  .profile-showcase-card {
    padding: 1.15rem;
  }

  .avatar-header {
    gap: 0.85rem;
  }

  .avatar-ring {
    width: 56px;
    height: 56px;
  }

  .avatar-initials {
    font-size: 1.15rem;
  }

  .profile-name {
    font-size: 1.1rem;
  }

  .terminal-body {
    padding: 0.75rem;
    font-size: 0.72rem;
  }

  .chip {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .ticker-item {
    font-size: 0.95rem;
    margin: 0 1.2rem;
  }

  .contact-title {
    font-size: 1.45rem;
  }
}
