/* ==========================================================================
   Appdevelopment.lat - Design System & Stylesheet (Vanilla CSS)
   Aesthetic: Ultra-modern Dark Glassmorphism with Emerald & Cyan Accents
   ========================================================================== */

:root {
  /* Color Palette Tokens */
  --bg-primary: #020617;        /* Slate 950 */
  --bg-secondary: #0b1120;      /* Dark Slate */
  --bg-card: rgba(15, 23, 42, 0.75); /* Slate 900 with Alpha */
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-surface: #0f172a;        /* Slate 900 */
  --bg-surface-elevated: #1e293b; /* Slate 800 */
  --bg-glass: rgba(15, 23, 42, 0.85);
  --bg-glass-card: rgba(15, 23, 42, 0.65);
  
  --border-subtle: rgba(51, 65, 85, 0.6);   /* Slate 700 / 60 */
  --border-strong: rgba(71, 85, 105, 0.8);  /* Slate 600 */
  --border-accent: rgba(16, 185, 129, 0.4); /* Emerald border */
  --border-cyan: rgba(6, 182, 212, 0.4);    /* Cyan border */

  --text-primary: #f8fafc;      /* Slate 50 */
  --text-secondary: #cbd5e1;    /* Slate 300 */
  --text-muted: #94a3b8;        /* Slate 400 */
  --text-dim: #64748b;          /* Slate 500 */

  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-emerald-dim: rgba(16, 185, 129, 0.15);
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-cyan-dim: rgba(6, 182, 212, 0.15);
  --accent-teal: #14b8a6;
  --accent-rose: #f43f5e;
  --accent-rose-dim: rgba(244, 63, 94, 0.15);

  --gradient-emerald-cyan: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #34d399 0%, #2dd4bf 50%, #22d3ee 100%);
  --gradient-glow: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow-emerald: 0 0 25px -5px rgba(16, 185, 129, 0.35);
  --shadow-glow-cyan: 0 0 25px -5px rgba(6, 182, 212, 0.35);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Selection */
::selection {
  background: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Reusable Utilities & Components
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-wrapper {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}

@media (min-width: 768px) {
  .section-wrapper {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-emerald {
  background-color: var(--accent-emerald-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent-emerald-light);
}

.badge-cyan {
  background-color: var(--accent-cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--accent-cyan-light);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.25rem;
  }
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-emerald-cyan);
  color: #020617;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px -2px rgba(16, 185, 129, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -2px rgba(16, 185, 129, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--border-strong);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline-emerald {
  background-color: var(--accent-emerald-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent-emerald-light);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-outline-emerald:hover {
  background-color: rgba(16, 185, 129, 0.25);
  border-color: var(--accent-emerald-light);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: var(--radius-md);
}

/* Background Ambient Glows */
.bg-glow-orb-1 {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 350px;
  background: rgba(16, 185, 129, 0.12);
  filter: blur(140px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-orb-2 {
  position: absolute;
  top: 30%;
  right: 5%;
  width: 450px;
  height: 350px;
  background: rgba(6, 182, 212, 0.1);
  filter: blur(140px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

#main-navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
}

#main-navbar-header.scrolled {
  background-color: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  padding: 0.75rem 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius-md);
  background: var(--gradient-emerald-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: transform var(--transition-normal);
}

.brand-logo:hover .brand-icon {
  transform: scale(1.05) rotate(-3deg);
}

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

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--accent-emerald-light);
}

.brand-tagline {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald-light);
  letter-spacing: 0.05em;
}

/* Desktop Navigation Menu */
.nav-menu-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 860px) {
  .nav-menu-desktop {
    display: flex;
  }
}

.nav-link {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(30, 41, 59, 0.7);
}

.nav-link.active {
  background-color: var(--accent-emerald-dim);
  color: var(--accent-emerald-light);
  font-weight: 600;
}

/* Language Switcher Pill Toggle */
.lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lang-btn .flag-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--gradient-emerald-cyan);
  color: #020617;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

/* Market & Tech Pill Badges */
.badge-latam-usa {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: #38bdf8;
  font-weight: 700;
}

.tech-chip.chip-android {
  border-color: rgba(52, 211, 153, 0.5);
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}

.tech-chip.chip-wp {
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  background: rgba(6, 182, 212, 0.12);
}

.brand-logo {
  cursor: pointer;
  user-select: none;
}

/* Nav Actions */
.nav-actions-desktop {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 860px) {
  .nav-actions-desktop {
    display: flex;
  }
}

.nav-mobile-toggles {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 860px) {
  .nav-mobile-toggles {
    display: none;
  }
}

.hamburger-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.4);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--accent-emerald-light);
  border-color: var(--border-accent);
  background: var(--accent-emerald-dim);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

#home {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  #home {
    padding-top: 10.5rem;
    padding-bottom: 7rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.25rem;
  }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  width: 100%;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 2rem;
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .metric-item:not(:first-child) {
    border-left: 1px solid rgba(51, 65, 85, 0.6);
  }
}

.metric-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

@media (min-width: 640px) {
  .metric-value {
    font-size: 2.75rem;
  }
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
  margin-bottom: 0.2rem;
}

.metric-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Core Stack Bar */
.tech-stack-bar {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.tech-stack-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 0.5rem;
}

.tech-chip {
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   Experience Timeline Section
   ========================================================================== */

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-vertical-line {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-emerald) 0%, var(--accent-cyan) 50%, var(--bg-surface-elevated) 100%);
}

@media (min-width: 768px) {
  .timeline-vertical-line {
    left: 2rem;
  }
}

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

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 5rem;
  }
}

.timeline-node {
  position: absolute;
  left: 1.25rem;
  top: 0.25rem;
  transform: translateX(-50%);
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 2px solid var(--accent-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  transition: transform var(--transition-normal);
  z-index: 2;
}

.timeline-item:hover .timeline-node {
  transform: translateX(-50%) scale(1.2);
}

.timeline-node-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: var(--accent-emerald-light);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-card {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xl), 0 0 25px -5px rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

.timeline-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.timeline-period-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-emerald-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent-emerald-light);
}

.timeline-location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.timeline-role {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.timeline-company-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-company-meta span.type {
  color: var(--text-secondary);
  font-weight: 400;
}

.timeline-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.achievements-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-cyan-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.achievements-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.achievements-list li svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent-emerald-light);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.timeline-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(51, 65, 85, 0.6);
}

/* ==========================================================================
   Skills Section
   ========================================================================== */

.skills-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 860px) {
  .skills-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  padding: 1.75rem;
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-xl), 0 0 25px -5px rgba(16, 185, 129, 0.15);
}

.pillar-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-icon-box.emerald {
  background: var(--accent-emerald-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent-emerald-light);
}

.pillar-icon-box.cyan {
  background: var(--accent-cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--accent-cyan-light);
}

.pillar-icon-box.teal {
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #2dd4bf;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

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

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pillar-tag {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast);
}

.pillar-tag.emerald {
  color: var(--accent-emerald-light);
}

.pillar-tag.cyan {
  color: var(--accent-cyan-light);
}

.pillar-tag.teal {
  color: #2dd4bf;
}

.pillar-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

/* Proficiency Bars Card */
.proficiency-card {
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .proficiency-card {
    padding: 2.75rem;
  }
}

.proficiency-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .proficiency-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.proficiency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 3rem;
}

@media (min-width: 768px) {
  .proficiency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.proficiency-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.proficiency-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.proficiency-percent {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-emerald-light);
}

.proficiency-track {
  width: 100%;
  height: 0.65rem;
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  padding: 2px;
}

.proficiency-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-emerald-cyan);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   Projects Section
   ========================================================================== */

.filter-controls-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 860px) {
  .filter-controls-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.category-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.category-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.filter-tab-btn {
  white-space: nowrap;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-tab-btn:hover {
  background: var(--bg-surface-elevated);
  color: #ffffff;
}

.filter-tab-btn.active {
  background: var(--accent-emerald);
  color: #020617;
  border-color: var(--accent-emerald);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

@media (min-width: 860px) {
  .search-input-wrapper {
    width: 320px;
  }
}

.search-icon-inside {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--text-dim);
  pointer-events: none;
}

.search-input-field {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  font-size: 0.85rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input-field:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.projects-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding: 0 0.25rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
}

.project-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-xl), 0 0 30px -5px rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
}

.project-img-header {
  position: relative;
  width: 100%;
  height: 210px;
  background-color: #020617;
  overflow: hidden;
}

.project-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-header img {
  transform: scale(1.06);
}

.project-img-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1) 0%, rgba(2, 6, 23, 0.85) 100%);
}

.project-img-top-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.category-pill {
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-accent);
  color: var(--accent-emerald-light);
}

.featured-pill {
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--accent-emerald);
  color: #020617;
  text-transform: uppercase;
}

.project-year-pill {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.project-card:hover .project-card-title {
  color: var(--accent-emerald-light);
}

.project-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.project-tech-tag {
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.project-tech-tag.more {
  color: var(--text-dim);
}

.project-card-footer {
  padding: 1rem 1.5rem;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-view-details {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.btn-view-details:hover {
  color: #6ee7b7;
}

.project-external-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-link-btn {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.icon-link-btn:hover {
  color: #ffffff;
  background: #334155;
  transform: translateY(-1px);
}

.icon-link-btn.live {
  background: var(--accent-emerald-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent-emerald-light);
}

.icon-link-btn.live:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #ffffff;
}

/* Empty State */
.projects-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.empty-state-icon {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--text-dim);
  margin: 0 auto 1rem auto;
}

/* ==========================================================================
   About Me Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.about-profile-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.about-avatar-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.about-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-avatar-badges {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.about-role-brand {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
  margin-bottom: 0.4rem;
}

.about-location-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.about-mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  text-align: center;
}

.about-mini-box {
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--border-subtle);
}

.about-story-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.value-card {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
}

.value-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #6ee7b7;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.value-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-layout-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.contact-direct-card {
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--border-subtle);
}

.contact-info-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon-box.emerald {
  background: var(--accent-emerald-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent-emerald-light);
}

.contact-info-icon-box.cyan {
  background: var(--accent-cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--accent-cyan-light);
}

.contact-info-icon-box.teal {
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #2dd4bf;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-info-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

/* Contact Form */
.contact-form-card {
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) {
  .contact-form-card {
    padding: 2.5rem;
  }
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

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

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.form-alert.error {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

.form-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#main-footer {
  background-color: #020617;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  padding: 4rem 0 2rem 0;
  position: relative;
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
  margin-top: 1rem;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-links-list a:hover {
  color: var(--accent-emerald-light);
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(30, 41, 59, 0.6);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* ==========================================================================
   Modals & Overlays
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #0f172a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  padding: 2rem;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #334155;
  color: #ffffff;
}

.modal-img-banner {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #020617;
  margin-bottom: 1.5rem;
}

.modal-img-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1) 0%, rgba(2, 6, 23, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem;
}

/* ==========================================================================
   Admin Portal & Dashboard View
   ========================================================================== */

#admin-portal-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 90;
  overflow-y: auto;
  display: none;
}

#admin-portal-overlay.active {
  display: block;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

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

.admin-user-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}

.admin-dashboard-container {
  padding: 2.5rem 0 5rem 0;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .admin-stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.admin-stat-card {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.admin-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Admin Table / Card view */
.admin-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: rgba(15, 23, 42, 0.95);
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(30, 41, 59, 0.35);
}

.action-btn-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.table-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition-fast);
}

.table-btn.edit {
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
}

.table-btn.edit:hover {
  background: #334155;
  color: #ffffff;
}

.table-btn.delete {
  background: rgba(244, 63, 94, 0.1);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.table-btn.delete:hover {
  background: rgba(244, 63, 94, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   Toast Notification Engine
   ========================================================================== */

#toast-stack-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-item.success {
  border-color: var(--border-accent);
  color: #a7f3d0;
}

.toast-item.error {
  border-color: rgba(244, 63, 94, 0.5);
  color: #fecdd3;
}

.toast-item.info {
  border-color: var(--border-cyan);
  color: #a5f3fc;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}
