/* ==========================================================================
   NEXUS TECH SHOWCASE - CORE DESIGN SYSTEM & STYLES
   ========================================================================== */

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

:root {
  /* Color Palette - Futuristic Tech Dark */
  --bg-dark: #07090e;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --bg-glass: rgba(18, 28, 48, 0.45);
  --bg-glass-solid: #0d1424;
  --bg-modal: #0d1526;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.35);
  --border-purple: rgba(157, 78, 221, 0.35);
  
  --primary-cyan: #00f2fe;
  --primary-blue: #4facfe;
  --accent-purple: #9d4edd;
  --accent-pink: #f72585;
  --accent-emerald: #00e676;
  --accent-amber: #ffb703;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Gradients */
  --grad-cyan-blue: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-purple-pink: linear-gradient(135deg, #9d4edd 0%, #f72585 100%);
  --grad-emerald-cyan: linear-gradient(135deg, #00e676 0%, #00f2fe 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(20, 30, 55, 0.6) 0%, rgba(10, 16, 30, 0.8) 100%);
  --grad-glow: linear-gradient(135deg, rgba(0,242,254,0.15) 0%, rgba(157,78,221,0.15) 100%);

  /* Typography */
  --font-main: 'Outfit', 'Kantumruy Pro', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Layout & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.2);
  --shadow-purple: 0 0 25px rgba(157, 78, 221, 0.2);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Interactive Background Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Glowing Ambient Orbs */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  animation: pulseOrb 12s infinite alternate ease-in-out;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: var(--primary-cyan);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  bottom: -150px;
  right: -100px;
  animation-delay: -6s;
}

@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.5; }
  100% { transform: scale(0.95) translate(-20px, 40px); opacity: 0.3; }
}

/* Container */
.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 1.1rem 0;
  transition: var(--transition-fast);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--grad-cyan-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  position: relative;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  stroke: #050b14;
}

.logo-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Global Search Bar in Nav */
.search-wrapper {
  position: relative;
  width: 320px;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-xl);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-cyan-blue);
  color: #050b14;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.btn-outline-glow {
  background: transparent;
  color: var(--primary-cyan);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.btn-outline-glow:hover {
  background: rgba(0, 242, 254, 0.1);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

.btn-icon-only {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

.lang-switch {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.lang-switch:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 3rem 0;
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .gradient-text {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .gradient-purple {
  background: var(--grad-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Category Filter Bar */
.filter-section {
  padding: 1.5rem 0 2.5rem 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  width: fit-content;
  margin: 0 auto;
}

.categories-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.cat-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.cat-btn.active {
  background: var(--grad-cyan-blue);
  color: #050b14;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.sort-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  font-family: var(--font-main);
}

.sort-select option {
  background: var(--bg-glass-solid);
  color: var(--text-main);
}

/* App Grid Layout */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* App Card Design */
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.2);
  background: var(--bg-card-hover);
}

.app-thumbnail {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #090e1a;
}

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

.app-card:hover .app-thumbnail img {
  transform: scale(1.06);
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(9, 14, 26, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
}

.badge-cat {
  padding: 0.3rem 0.75rem;
  background: rgba(7, 13, 24, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--primary-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.featured-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--grad-purple-pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(247, 37, 133, 0.4);
}

.app-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.app-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.app-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.app-description {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tech Stack Tags */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.tech-tag {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Card Footer */
.app-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.7rem;
}

.stat-group {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.action-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-card-body .btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
}

.app-card-body .btn-icon-only {
  padding: 0.35rem;
}

/* Developer Profile Banner */
.dev-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(26, 38, 66, 0.8) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  margin: 3rem 0 5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.dev-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: var(--grad-cyan-blue);
  opacity: 0.15;
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.dev-info {
  max-width: 650px;
}

.dev-tagline {
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.dev-name {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.dev-bio {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.dev-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-pill {
  padding: 0.4rem 0.9rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-box {
  background: var(--bg-modal);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-modal);
  z-index: 10;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.btn-close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-body {
  padding: 2rem;
}

/* Add Web App Form */
.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-cyan);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* Live Demo Preview Sandbox Frame */
.sandbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #080d19;
  padding: 0.75rem 1.2rem;
  border-bottom: 1px solid var(--border-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.device-toggles {
  display: flex;
  gap: 0.4rem;
}

.device-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.device-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-cyan);
}

.iframe-container {
  width: 100%;
  height: 580px;
  background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: width 0.3s ease;
  margin: 0 auto;
}

.iframe-container.device-tablet {
  width: 768px;
}

.iframe-container.device-mobile {
  width: 375px;
  height: 600px;
  border-radius: 20px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 3rem 0;
  background: rgba(5, 8, 14, 0.9);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

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

.footer-links a:hover {
  color: var(--primary-cyan);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  background: var(--bg-modal);
  border: 1px solid var(--primary-cyan);
  color: var(--text-main);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  animation: slideInToast 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-xl);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .dev-banner {
    flex-direction: column;
    text-align: center;
  }
  .dev-info {
    max-width: 100%;
  }
  .dev-skills-list {
    justify-content: center;
  }
  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
  }
  .search-wrapper {
    width: 100%;
    order: 3;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
}

/* View Switcher Nav Pills */
.view-switch-group {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}

.view-nav-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-lg);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

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

.view-nav-btn.active {
  background: var(--grad-cyan-blue);
  color: #050b14;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

/* Dedicated Manager View Section */
.manager-view-container {
  padding: 2.5rem 0 5rem 0;
}

.manager-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.manager-title-group h2 {
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.manager-title-group p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

/* ==========================================================================
   MANAGER DASHBOARD STYLES
   ========================================================================== */
.manager-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.m-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  text-align: center;
}

.m-stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}

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

.manager-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: rgba(10, 16, 28, 0.6);
}

.manager-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  table-layout: fixed;
}

.manager-table th:nth-child(1),
.manager-table td:nth-child(1) {
  width: 38%;
}

.manager-table th:nth-child(2),
.manager-table td:nth-child(2) {
  width: 12%;
}

.manager-table th:nth-child(3),
.manager-table td:nth-child(3) {
  width: 20%;
}

.manager-table th:nth-child(4),
.manager-table td:nth-child(4) {
  width: 14%;
}

.manager-table th:nth-child(5),
.manager-table td:nth-child(5) {
  width: 16%;
  text-align: right;
}

.manager-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.2rem;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.manager-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  overflow: hidden;
}

.manager-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.table-app-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  overflow: hidden;
}

.table-app-img-wrapper {
  position: relative;
  width: 72px !important;
  height: 48px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  overflow: hidden !important;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  border: 1px solid var(--border-glow);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  background: #0b1120;
}

.table-app-thumb {
  width: 72px !important;
  height: 48px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  border: none !important;
  box-shadow: none !important;
  display: block !important;
  transition: transform 0.25s ease;
}

.table-app-thumb:hover {
  transform: scale(1.1);
}

.table-action-btns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
}

.btn-icon-sm {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-icon-sm:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.25);
}

.delete-mgr-btn:hover {
  background: rgba(247, 37, 133, 0.18) !important;
  border-color: rgba(247, 37, 133, 0.5) !important;
  box-shadow: 0 4px 12px rgba(247, 37, 133, 0.3) !important;
}

/* ==========================================================================
   AUTO-DETECTED WEBSITE LOGO & FAVICON STYLES
   ========================================================================== */
.btn-fetch-real-logo {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid var(--primary-cyan);
  color: var(--primary-cyan);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}
.btn-fetch-real-logo:hover {
  background: var(--primary-cyan);
  color: #0d1526;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.6);
}
.btn-fetch-real-logo.loading {
  opacity: 0.7;
  pointer-events: none;
  animation: pulseGlow 1.2s infinite;
}

.url-logo-preview-box {
  margin-top: 0.8rem;
  padding: 0.9rem 1.1rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px dashed var(--border-glow);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 0.3s ease;
}

.url-logo-thumb-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.url-logo-badge {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(13, 21, 38, 0.95);
  padding: 5px;
  border: 1.5px solid var(--border-glow);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.real-logo-badge-verified {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.5);
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.fetch-status-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 8px;
  border-radius: 12px;
}

.logo-candidates-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.logo-candidate-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.logo-candidate-chip img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: contain;
}
.logo-candidate-chip:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}
.logo-candidate-chip.active {
  background: rgba(0, 242, 254, 0.25);
  border-color: var(--primary-cyan);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.url-domain-label {
  font-size: 0.85rem;
  color: var(--primary-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}

.table-favicon-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #0d1526;
  border: 2px solid var(--border-glow);
  object-fit: contain;
  padding: 2px;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.title-inline-favicon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  background: rgba(13, 21, 38, 0.95);
  border: 1.2px solid rgba(0, 242, 254, 0.35);
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.25);
}

.card-site-favicon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
  background: rgba(13, 21, 38, 0.95);
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 242, 254, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.app-card:hover .card-site-favicon {
  transform: scale(1.15);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.8);
  border-color: var(--primary-cyan);
}

/* Futuristic Browser Mockup Card Banner Fallback */
.custom-banner-mockup {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, rgba(0, 242, 254, 0.15), rgba(11, 17, 32, 0.95)),
              linear-gradient(135deg, #0d1526 0%, #060a12 100%);
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-domain-pill {
  margin-left: 6px;
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 10px;
  border-radius: 12px;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: monospace;
}

.mockup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  gap: 6px;
}

.mockup-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(157, 78, 221, 0.25));
  border: 1.5px solid var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

.mockup-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 1px;
}

.app-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}

.table-url-link-row {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.table-app-url {
  color: var(--primary-cyan);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
  transition: var(--transition-fast);
}

.table-app-url:hover {
  text-decoration: underline;
  color: #fff;
}

.btn-apply-logo-btn {
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary-cyan);
  border: 1px solid var(--border-glow);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
  margin-top: 2px;
  width: fit-content;
}

.btn-apply-logo-btn:hover {
  background: var(--primary-cyan);
  color: #050b14;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.image-type-toggle-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.img-type-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.img-type-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary-cyan);
  border-color: var(--border-glow);
}

.img-type-btn.active {
  background: var(--grad-cyan-blue);
  color: #050b14;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
  font-weight: 700;
}


/* Admin Login Overlay */
#admin-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-main);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#admin-login-overlay.hidden {
  display: none !important;
}

.login-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.login-box input {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   PINNED WEB APPS / TOOLS FEATURE STYLES
   ========================================================================== */

.app-card.is-pinned {
  border-color: rgba(0, 242, 254, 0.55);
  box-shadow: 0 12px 35px -10px rgba(0, 242, 254, 0.35);
  position: relative;
}

.app-card.is-pinned::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-cyan-blue);
  z-index: 12;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
}

.pinned-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
  color: #050b14;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 14px rgba(0, 242, 254, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 11;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pinned-tag:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.9);
}

.pin-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.pin-btn:hover {
  color: var(--primary-cyan) !important;
  border-color: rgba(0, 242, 254, 0.45) !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

.pin-btn.pinned,
.pin-btn.active {
  background: rgba(0, 242, 254, 0.18) !important;
  color: var(--primary-cyan) !important;
  border-color: rgba(0, 242, 254, 0.6) !important;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.45) !important;
}

.pin-btn.pinned svg,
.pin-btn.active svg {
  stroke: var(--primary-cyan);
  fill: rgba(0, 242, 254, 0.4);
  transform: rotate(-30deg);
  transition: transform 0.25s ease;
}

.cat-count-badge {
  display: inline-block;
  background: var(--primary-cyan);
  color: #050b14;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 5px;
  vertical-align: 1px;
}

/* ==========================================================================
   VERCEL REAL-TIME AUTO-SYNC STYLES
   ========================================================================== */

.nav-sync-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--primary-cyan);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-sync-btn:hover {
  background: rgba(0, 242, 254, 0.18);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
  transform: translateY(-1px);
}

.sync-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  display: inline-block;
  animation: sync-pulse 2s infinite;
}

.sync-live-dot.idle {
  background: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
  animation: none;
}

@keyframes sync-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.8);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(0, 230, 118, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
  }
}

@keyframes sync-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinning {
  animation: sync-spin 0.8s linear infinite !important;
}

/* Vercel Modal Cards & Badges */
.vercel-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 21, 38, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.vercel-team-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.vercel-team-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vercel-team-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.vercel-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.terminal-code-box {
  background: #050811;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.6rem 0 1rem;
}

.copy-cmd-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-size: 0.78rem;
  transition: all 0.2s;
}

.copy-cmd-btn:hover {
  background: var(--primary-cyan);
  color: #050b14;
}







