/* SuperDogCoach — Shared Styles (dark glassmorphism theme) */

html, body { height: 100%; margin: 0; }
* { -webkit-font-smoothing: antialiased; }

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.anim-fade-up { animation: fadeUp 0.9s ease-out both; }
.anim-fade-up-d1 { animation: fadeUp 0.9s ease-out 0.15s both; }
.anim-fade-up-d2 { animation: fadeUp 0.9s ease-out 0.3s both; }
.anim-fade-up-d3 { animation: fadeUp 0.9s ease-out 0.45s both; }
.anim-fade-up-d4 { animation: fadeUp 0.9s ease-out 0.6s both; }
.anim-scale-in { animation: scaleIn 1s ease-out 0.5s both; }

.shimmer-text {
  background: linear-gradient(90deg, #a78bfa, #60a5fa, #34d399, #a78bfa);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

.card-hover {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5);
}

.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

.nav-glass {
  background: rgba(10,10,14,0.75);
  backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8b5cf6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
}

.feature-icon-wrap {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(59,130,246,0.2));
  border: 1px solid rgba(124,58,237,0.3);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble { animation: fadeUp 0.5s ease-out both; }

.typing-dot {
  width: 6px; height: 6px;
  background: #7c3aed;
  border-radius: 50%;
  display: inline-block;
  animation: float 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

.stat-number { font-variant-numeric: tabular-nums; }

/* Form inputs */
.input-field {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  width: 100%;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}
.input-field:focus {
  outline: none;
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.input-field::placeholder { color: rgba(255,255,255,0.3); }

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  z-index: 100;
  animation: fadeUp 0.3s ease-out;
}
.toast-success { background: rgba(16,185,129,0.2); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.toast-error { background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
