/* Variables */
:root {
  --bg-base: #06080a;
  --bg-panel: #0d1116;
  --bg-gradient: radial-gradient(circle at top right, #111827 0%, #06080a 70%);
  --glass-bg: rgba(13, 17, 22, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.12);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-primary: #f8fafc; 
  --accent-primary-glow: rgba(248, 250, 252, 0.4);
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  
  /* Fallback for older pages */
  --neon-cyan: #06b6d4;
  --neon-purple: #8b5cf6;
  --neon-orange: #f59e0b;
  --neon-green: #10b981;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-family: 'Inter', sans-serif; /* For older pages compatibility */
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: var(--bg-gradient);
}
.ambient-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.03) 0%, transparent 60%);
  filter: blur(120px);
}
.ambient-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.03) 0%, transparent 60%);
  filter: blur(120px);
}

#node-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100vh;
  padding-top: 68px;
}

/* Top Navbar */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 24px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links li a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-links li a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.nav-links li.active a {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-glow {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
}
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.search-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 10px 40px 10px 40px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  width: 300px;
  transition: var(--transition);
}
.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
.shortcut-hint {
  position: absolute;
  right: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}
.search-btn {
  position: absolute;
  right: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition);
}
.search-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-xl);
}
.btn-primary {
  background: var(--text-primary);
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
.btn-primary.glow-effect {
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-hover);
}
.btn-text {
  background: transparent;
  color: var(--text-secondary);
  padding: 0;
}
.btn-text:hover {
  color: var(--text-primary);
}
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* Dashboard Scroll Area */
.dashboard-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 40px;
}
.dashboard-scroll-area::-webkit-scrollbar {
  width: 8px;
}
.dashboard-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}
.dashboard-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* Section Common */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.section-desc {
  color: var(--text-secondary);
  margin-top: -16px;
  margin-bottom: 24px;
  font-size: 1rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.section-header .section-title {
  margin-bottom: 8px;
}
.section-header .section-desc {
  margin-bottom: 0;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--text-secondary);
}
.badge-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-title span {
  background: linear-gradient(90deg, #fff, #9ca3af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 90%;
}
.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Visual Mockup */
.mockup-window {
  background: rgba(10, 12, 16, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
}
.mockup-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
}
.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-header .red { background: #ef4444; }
.mockup-header .yellow { background: #f59e0b; }
.mockup-header .green { background: #10b981; }
.mockup-title {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}
.mockup-body {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 280px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.02) 0%, transparent 100%);
}
.node-abstract {
  padding: 12px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 2;
  position: relative;
  color: #fff;
}
.node-abstract.highlight {
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
}
.node-line {
  height: 2px;
  background: var(--glass-border);
  width: 30px;
  position: relative;
}
.node-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: data-flow 2s infinite linear;
}
@keyframes data-flow {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(200%); opacity: 0; }
}

/* Intent Section */
.intent-section {
  margin-bottom: 60px;
}
.intent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.intent-card {
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.intent-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  background: rgba(255, 255, 255, 0.02);
}
.intent-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  border: 1px solid var(--glass-border);
}
.intent-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
.intent-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Workflows Block */
.workflows-block {
  margin-bottom: 60px;
}
.workflows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.workflow-card {
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.workflow-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.wf-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.wf-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(255,255,255,0.03) 8px,
    rgba(255,255,255,0.03) 16px
  );
}
.wf-visual::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 200px; height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
}
.wf-visual i {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.4));
}
.gradient-1 { background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); }
.gradient-2 { background: linear-gradient(135deg, #0d1b2a, #1b2838, #06b6d4); }
.gradient-3 { background: linear-gradient(135deg, #1a1a2e, #16213e, #e94560); }

.wf-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wf-path {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.workflow-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.workflow-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
  flex: 1;
}
.wf-meta {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.wf-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wf-meta span::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* Capabilities */
.capabilities-block {
  margin-bottom: 60px;
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.cap-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
}
.cap-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--glass-border-hover);
}
.cap-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}
.cap-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cap-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Stats Area */
.stats-section {
  margin-bottom: 60px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 16px;
}
.stat-trend {
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-trend.positive { color: #10b981; }
.stat-trend.neutral { color: var(--text-muted); }
.progress-mini {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.progress-mini-bar {
  height: 100%;
  background: #fff;
  border-radius: 3px;
}

/* Resources */
.resources-block {
  margin-bottom: 40px;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
}
.resource-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}
.res-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Interactive Workflow Cards Animation */
.interactive-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.interactive-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.2);
  z-index: 5;
}
.interactive-card .card-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: 1;
  transition: all 0.6s ease;
}
.interactive-card:hover .card-glow {
  left: 200%;
  transition: all 0.8s ease-in-out;
}
.interactive-card .wf-visual {
  transition: transform 0.5s ease;
}
.interactive-card:hover .wf-visual {
  transform: scale(1.05);
}
.interactive-card h3 {
  transition: color 0.3s ease;
}
.interactive-card:hover h3 {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

/* Tech Card UI elements */
.tech-border {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid rgba(6, 182, 212, 0.1);
  pointer-events: none;
  z-index: 3;
}
.interactive-card:hover .tech-border {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: inset 0 0 15px rgba(6, 182, 212, 0.1);
}
.scanline {
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
  z-index: 1;
}
.interactive-card:hover .scanline {
  animation: scan 1.5s linear infinite;
}
@keyframes scan {
  0% { top: -20%; }
  100% { top: 100%; }
}
.tech-badge {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  position: absolute;
  top: 15px;
  left: 15px;
  letter-spacing: 1px;
}
.cta-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 10px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  opacity: 0.8;
  letter-spacing: 1px;
}
.interactive-card:hover .cta-pulse {
  background: var(--accent-cyan);
  color: #000;
  opacity: 1;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
  animation: pulse-cta 1.5s infinite;
}
@keyframes pulse-cta {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(6, 182, 212, 0.5); }
  50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(6, 182, 212, 0.8); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(6, 182, 212, 0.5); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .hero-visual {
    display: none;
  }
}
@media (max-width: 768px) {
  .top-navbar {
    padding: 0 16px;
    height: 60px;
  }
  .main-content {
    padding-top: 60px;
  }
  .nav-brand { gap: 8px; }
  .nav-title { font-size: 1rem; }
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px;
    margin: 0;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links li a {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  .menu-toggle { display: block; }
  .search-input { width: 160px; }
  .dashboard-scroll-area { padding: 16px; }

  .hero-section { padding: 30px 20px; }
  .hero-title { font-size: 2rem; line-height: 1.2; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .intent-grid { grid-template-columns: 1fr; }
  .workflows-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }

  .section-title { font-size: 1.3rem; margin-bottom: 16px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  .guide-banner {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .guide-banner h3 {
    font-size: 1.1rem !important;
  }
  .guide-banner p {
    font-size: 0.85rem !important;
  }
}

/* Guide Banner */
.guide-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(0,240,255,0.06), rgba(176,38,255,0.06));
  border: 1px solid rgba(0,240,255,0.25);
  border-radius: 20px;
  padding: 40px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,240,255,0.08);
}

/* Backward compatibility for landing/workflows pages */
.btn-accent {
  background: rgba(139, 92, 246, 0.1);
  color: var(--neon-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.btn-accent:hover {
  background: var(--neon-purple);
  color: #fff;
  box-shadow: 0 0 25px var(--neon-purple);
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge.pending {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}
.badge.watched {
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge.downloaded {
  background: rgba(6, 182, 212, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.view-landing, .view-tools, .view-ideas, .view-workflows {
  width: 100%;
  justify-content: center;
}

@keyframes glowPulse {
  0% { filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.4)); }
  50% { filter: drop-shadow(0 0 15px rgba(6, 182, 212, 1)); }
  100% { filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.4)); }
}
