/* TapTile AAC - Modern Clinical & Interactive Stylesheet */
:root {
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.35);
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --bg-dark: #04070e;
  --card-bg: rgba(9, 13, 24, 0.82);
  --card-border: rgba(51, 65, 85, 0.6);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: #f1f5f9;
  overflow-x: hidden;
}

.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Glassmorphic cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
  transform: translateY(-3px);
}

/* Hero Slider Animations */
.hero-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.12) 0%, rgba(4, 7, 14, 0.95) 75%);
}

.hero-slide {
  display: none;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.glow-orb {
  animation: pulseGlow 6s ease-in-out infinite;
}

/* Interactive AAC Tile */
.aac-demo-tile {
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid #334155;
  border-radius: 1rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.aac-demo-tile:hover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  transform: scale(1.04);
}

.aac-demo-tile:active {
  transform: scale(0.94);
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.25);
}
