@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* About Page Specific Styles */
body {
  background-color: #0b0f19; /* Deep sleek dark mode */
  font-family: 'Montserrat', sans-serif;
  color: #e2e8f0;
}

.about-page {
  position: relative;
  min-height: 100vh;
  padding: 120px 20px 60px;
  overflow: hidden;
}

/* Abstract Background Elements */
.about-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0,217,255,0.2) 0%, rgba(0,0,0,0) 70%);
}

.orb-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0,255,136,0.15) 0%, rgba(0,0,0,0) 70%);
  animation-delay: -5s;
}

.orb-3 {
  top: 40%;
  left: 50%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(138,43,226,0.1) 0%, rgba(0,0,0,0) 70%);
  transform: translateX(-50%);
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.relative-z {
  position: relative;
  z-index: 10;
}

/* Typography */
.hero-text {
  margin-bottom: 4rem !important;
}

.gradient-text {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00d9ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #00d9ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.glass-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f8fafc;
}

.glass-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Tech Stack Section */
.tech-stack-container {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 30px;
  padding: 4rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Animated Glowing Border Trail around Titles */
.highlight-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  font-weight: 800;
  color: #f8fafc;
  font-size: 1.75rem;
  border-radius: 50px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.highlight-line::before {
  content: '';
  position: absolute;
  top: -75%;
  left: -75%;
  width: 250%;
  height: 250%;
  background: conic-gradient(
    transparent,
    rgba(0, 217, 255, 0.9),
    rgba(0, 255, 136, 1),
    transparent 35%
  );
  animation: rotateBorder 3.5s linear infinite;
  z-index: -2;
}

.highlight-line::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 48px;
  background: #0f172a;
  z-index: -1;
  transition: background 0.3s ease;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 120px;
  transition: transform 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-5px) scale(1.05);
}

.tech-logo {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.tech-item:hover .tech-logo {
  background: rgba(255, 255, 255, 0.1);
}

.html-logo i { color: #e34f26; }
.js-logo i { color: #f7df1e; }
.bs-logo i { color: #7952b3; }
.gas-logo i { color: #3ecf8e; }
.ai-logo i { color: #06b6d4; }
.qr-logo i { color: #38bdf8; }
.pwa-logo i { color: #f59e0b; }
.exe-logo i { color: #8b5cf6; }
.r2-logo i { color: #f38020; }
.sap-logo i { color: #008fd3; }

.tech-item:hover .html-logo { border-color: rgba(227, 79, 38, 0.5); box-shadow: 0 0 20px rgba(227, 79, 38, 0.2); }
.tech-item:hover .js-logo { border-color: rgba(247, 223, 30, 0.5); box-shadow: 0 0 20px rgba(247, 223, 30, 0.2); }
.tech-item:hover .bs-logo { border-color: rgba(121, 82, 179, 0.5); box-shadow: 0 0 20px rgba(121, 82, 179, 0.2); }
.tech-item:hover .gas-logo { border-color: rgba(62, 207, 142, 0.5); box-shadow: 0 0 20px rgba(62, 207, 142, 0.2); }
.tech-item:hover .ai-logo { border-color: rgba(6, 182, 212, 0.5); box-shadow: 0 0 20px rgba(6, 182, 212, 0.2); }
.tech-item:hover .qr-logo { border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 0 20px rgba(56, 189, 248, 0.2); }
.tech-item:hover .pwa-logo { border-color: rgba(245, 158, 11, 0.5); box-shadow: 0 0 20px rgba(245, 158, 11, 0.2); }
.tech-item:hover .exe-logo { border-color: rgba(139, 92, 246, 0.5); box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); }
.tech-item:hover .r2-logo { border-color: rgba(243, 128, 32, 0.5); box-shadow: 0 0 20px rgba(243, 128, 32, 0.2); }
.tech-item:hover .sap-logo { border-color: rgba(0, 143, 211, 0.5); box-shadow: 0 0 20px rgba(0, 143, 211, 0.2); }

.tech-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  text-align: center;
}

/* Dev Signature */
.dev-badge {
  display: inline-block;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.2);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #94a3b8;
  backdrop-filter: blur(4px);
}

.dev-badge strong {
  color: #00d9ff;
  font-weight: 600;
}

.dev-badge i {
  color: #00ff88;
  margin-right: 8px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .gradient-text {
    font-size: 2.5rem;
  }
  .tech-grid {
    gap: 1.5rem;
  }
  .tech-item {
    width: 100px;
  }
  .tech-logo {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

/* Performance & Scalability Section Styles */
.performance-section {
  position: relative;
  z-index: 10;
}

.perf-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.perf-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.perf-status {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.perf-value {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.perf-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* Status Colors */
.optimal { border-left: 4px solid #00ff88; }
.optimal .perf-status { color: #00ff88; }
.optimal:hover { border-color: rgba(0, 255, 136, 0.3); }

.stable { border-left: 4px solid #ffc107; }
.stable .perf-status { color: #ffc107; }
.stable:hover { border-color: rgba(255, 193, 7, 0.3); }

.warning { border-left: 4px solid #ff4d4d; }
.warning .perf-status { color: #ff4d4d; }
.warning:hover { border-color: rgba(255, 77, 77, 0.3); }

/* Custom Table Styles */
.custom-table {
  background: transparent !important;
  color: #e2e8f0 !important;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.custom-table thead th {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  padding: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #00d9ff;
  border-radius: 10px;
}

.custom-table tbody td {
  background: rgba(255, 255, 255, 0.02);
  border: none;
  padding: 15px;
  font-size: 0.9rem;
  vertical-align: middle;
}

.custom-table tbody tr td:first-child { border-top-left-radius: 10px; border-bottom-left-radius: 10px; font-weight: 500; }
.custom-table tbody tr td:last-child { border-top-right-radius: 10px; border-bottom-right-radius: 10px; }

.custom-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.05);
}

/* Live Status Badges */
.status-pills-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e2e8f0;
  transition: all 0.3s ease;
}

.status-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.15);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.status-dot.green { background-color: #00ff88; color: #00ff88; }
.status-dot.blue { background-color: #00d9ff; color: #00d9ff; }
.status-dot.purple { background-color: #a855f7; color: #a855f7; }
.status-dot.yellow { background-color: #ffc107; color: #ffc107; }

/* Spotlight & Technical Architecture Cards */
.spotlight-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.8rem;
  height: 100%;
  text-align: left;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.spotlight-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 217, 255, 0.1);
}

.spotlight-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.spotlight-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.spotlight-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Supabase Optimization Note Card */
.supabase-note-card {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(0, 255, 136, 0.05) 100%);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
}

.supabase-note-card h5 {
  color: #00d9ff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.supabase-note-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* Dev Terminal Badge */
.dev-terminal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 217, 255, 0.25);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #94a3b8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.dev-terminal-badge strong {
  color: #00d9ff;
}

.dev-terminal-badge i {
  color: #00ff88;
}

/* Icon Accent Colors - Dark Mode Default */
.icon-cyan { color: #00d9ff; }
.icon-emerald { color: #00ff88; }
.icon-purple { color: #a855f7; }
.icon-amber { color: #ffc107; }
.icon-orange { color: #ff5722; }
.icon-blue { color: #38bdf8; }
.icon-rose { color: #fb7185; }
.icon-teal { color: #2dd4bf; }

/* =============================================================================
   LIGHT MODE THEME OVERRIDES ([data-bs-theme="light"])
   ============================================================================= */

[data-bs-theme="light"] body,
[data-bs-theme="light"] .about-page {
  background-color: #f8fafc;
  color: #0f172a;
}

[data-bs-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0284c7, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-bs-theme="light"] .subtitle {
  color: #334155;
  font-weight: 500;
}

[data-bs-theme="light"] .highlight-line {
  color: #0f172a;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .highlight-line::before {
  background: conic-gradient(
    transparent,
    rgba(2, 132, 199, 0.9),
    rgba(5, 150, 105, 1),
    transparent 35%
  );
}

[data-bs-theme="light"] .highlight-line::after {
  background: #ffffff;
}

[data-bs-theme="light"] .status-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="light"] .status-pill:hover {
  background: #ffffff;
  border-color: #0284c7;
  color: #0284c7;
}

[data-bs-theme="light"] .glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="light"] .glass-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

[data-bs-theme="light"] .glass-card h3 {
  color: #0f172a;
  font-weight: 700;
}

[data-bs-theme="light"] .glass-card p {
  color: #334155;
  font-weight: 500;
}

[data-bs-theme="light"] .tech-stack-container {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="light"] .tech-logo {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

[data-bs-theme="light"] .tech-name {
  color: #0f172a;
  font-weight: 600;
}

[data-bs-theme="light"] .spotlight-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="light"] .spotlight-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

[data-bs-theme="light"] .spotlight-card h4 {
  font-weight: 700;
}

[data-bs-theme="light"] .spotlight-card p {
  color: #334155;
  font-weight: 500;
}

[data-bs-theme="light"] .icon-cyan { color: #0284c7; }
[data-bs-theme="light"] .icon-emerald { color: #059669; }
[data-bs-theme="light"] .icon-purple { color: #7c3aed; }
[data-bs-theme="light"] .icon-amber { color: #d97706; }
[data-bs-theme="light"] .icon-orange { color: #ea580c; }
[data-bs-theme="light"] .icon-blue { color: #0284c7; }
[data-bs-theme="light"] .icon-rose { color: #e11d48; }
[data-bs-theme="light"] .icon-teal { color: #0d9488; }

[data-bs-theme="light"] .perf-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="light"] .perf-card:hover {
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .perf-value {
  color: #0f172a;
}

[data-bs-theme="light"] .perf-card p {
  color: #334155;
  font-weight: 500;
}

[data-bs-theme="light"] .custom-table {
  color: #0f172a !important;
}

[data-bs-theme="light"] .custom-table thead th {
  background: #f1f5f9;
  color: #0284c7;
  font-weight: 700;
}

[data-bs-theme="light"] .custom-table tbody td {
  background: #ffffff;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}

[data-bs-theme="light"] .custom-table tbody tr:hover td {
  background: #f8fafc;
}

[data-bs-theme="light"] .supabase-note-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
  border-color: rgba(2, 132, 199, 0.3);
}

[data-bs-theme="light"] .supabase-note-card h5 {
  color: #0369a1;
}

[data-bs-theme="light"] .supabase-note-card p {
  color: #0f172a;
  font-weight: 500;
}

[data-bs-theme="light"] .dev-terminal-badge {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .dev-terminal-badge strong {
  color: #0284c7;
}

[data-bs-theme="light"] .dev-terminal-badge i {
  color: #059669;
}



/* ===== Workflow steps & Function map ===== */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.workflow-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.1rem 1.2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.workflow-step:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}
.workflow-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.workflow-step h4 { font-size: 1rem; font-weight: 700; color: #f8fafc; margin-bottom: 0.4rem; }
.workflow-step p { font-size: 0.85rem; color: #94a3b8; margin: 0; line-height: 1.5; }

/* ===== Bento Grid Glassmorphism Styles ===== */
.bento-card {
  --accent: #38bdf8;
  --accent-rgb: 56, 189, 248;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 22px;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Ambient glow accent */
.bento-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.25) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 16px 36px -10px rgba(var(--accent-rgb), 0.25),
              0 0 20px rgba(var(--accent-rgb), 0.1);
}

.bento-card:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

/* Color Themes */
.theme-cyan { --accent: #06b6d4; --accent-rgb: 6, 182, 212; }
.theme-emerald { --accent: #10b981; --accent-rgb: 16, 185, 129; }
.theme-amber { --accent: #f59e0b; --accent-rgb: 245, 158, 11; }
.theme-purple { --accent: #a855f7; --accent-rgb: 168, 85, 247; }
.theme-rose { --accent: #f43f5e; --accent-rgb: 244, 63, 94; }
.theme-sky { --accent: #0ea5e9; --accent-rgb: 14, 165, 233; }

/* Bento Header */
.bento-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bento-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05));
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: var(--accent);
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.2);
}

.bento-title-group {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-title-group h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.01em;
}

.bento-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bento Items */
.bento-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.bento-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}

.bento-item:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.35);
  transform: translateX(4px);
  color: inherit;
}

.bento-item.static-item {
  cursor: default;
}
.bento-item.static-item:hover {
  transform: none;
}

.item-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 2px;
  transition: transform 0.25s ease;
}

.bento-item:hover .item-icon {
  transform: scale(1.08);
  background: rgba(var(--accent-rgb), 0.2);
}

.item-info {
  flex: 1;
  min-width: 0;
}

.item-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: color 0.2s ease;
}

.bento-item:hover .item-name {
  color: #ffffff;
}

.item-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.item-arrow {
  color: #64748b;
  font-size: 0.78rem;
  margin-top: 6px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.bento-item:hover .item-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* Tag Pills */
.tag-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.tag-ai { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.35); }
.tag-sap { background: rgba(2, 132, 199, 0.15); color: #38bdf8; border: 1px solid rgba(2, 132, 199, 0.35); }
.tag-realtime { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.35); }
.tag-lock { background: rgba(244, 63, 94, 0.15); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.35); }
.tag-analytics { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }
.tag-warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.tag-amber { background: rgba(217, 119, 6, 0.15); color: #f59e0b; border: 1px solid rgba(217, 119, 6, 0.35); }
.tag-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.35); }
.tag-success { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.35); }
.tag-print { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; border: 1px solid rgba(20, 184, 166, 0.35); }
.tag-purple { background: rgba(147, 51, 234, 0.15); color: #c084fc; border: 1px solid rgba(147, 51, 234, 0.35); }
.tag-scanner { background: rgba(99, 102, 241, 0.15); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.35); }
.tag-audit { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.35); }
.tag-rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.35); }
.tag-r2 { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.35); }
.tag-sky { background: rgba(14, 165, 233, 0.15); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.35); }
.tag-admin { background: rgba(225, 29, 72, 0.15); color: #fda4af; border: 1px solid rgba(225, 29, 72, 0.35); }

/* Light Theme Support */
[data-bs-theme="light"] .bento-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="light"] .bento-card:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 14px 34px -8px rgba(var(--accent-rgb), 0.22);
}

[data-bs-theme="light"] .bento-header {
  border-bottom-color: #f1f5f9;
}

[data-bs-theme="light"] .bento-title-group h3 {
  color: #0f172a;
}

[data-bs-theme="light"] .bento-badge {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

[data-bs-theme="light"] .bento-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-bs-theme="light"] .bento-item:hover {
  background: #f1f5f9;
  border-color: var(--accent);
}

[data-bs-theme="light"] .item-name {
  color: #0f172a;
}

[data-bs-theme="light"] .bento-item:hover .item-name {
  color: var(--accent);
}

[data-bs-theme="light"] .item-desc {
  color: #64748b;
}

[data-bs-theme="light"] .item-arrow {
  color: #94a3b8;
}

@media (max-width: 992px) {
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .workflow-steps { grid-template-columns: 1fr; }
}

/* ===== SAP Step Card Styles ===== */
.sap-step-card {
  height: 100%;
  padding: 1.35rem 1.15rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.sap-step-card:hover {
  background: rgba(56, 189, 248, 0.05);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px -8px rgba(56, 189, 248, 0.18);
}

.sap-step-card .step-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 0.85rem;
}

.sap-step-card .step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  transition: transform 0.25s ease;
}

.sap-step-card:hover .step-icon {
  transform: scale(1.1);
  background: rgba(56, 189, 248, 0.2);
}

.sap-step-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.45rem;
}

.sap-step-card p {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

[data-bs-theme="light"] .sap-step-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-bs-theme="light"] .sap-step-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.15);
}

[data-bs-theme="light"] .sap-step-card h5 {
  color: #0f172a;
}

[data-bs-theme="light"] .sap-step-card p {
  color: #475569;
}

