html { scroll-behavior: smooth; }

body { font-family: 'Inter', system-ui, sans-serif; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

.gradient-text {
  background: linear-gradient(135deg, #67e8f9 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow {
  box-shadow: 0 0 80px -20px rgba(6, 182, 212, 0.6), 0 0 40px -10px rgba(59, 130, 246, 0.4);
}

.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

@keyframes drift1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, 40px); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-50px, -30px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); } 80%, 100% { box-shadow: 0 0 0 32px rgba(34, 211, 238, 0); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.drift1 { animation: drift1 14s ease-in-out infinite; }
.drift2 { animation: drift2 16s ease-in-out infinite; }
.float { animation: float 4s ease-in-out infinite; }
.pulse-ring { animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite; }
.scroll-x { animation: scroll-x 30s linear infinite; }
.slide-up { animation: slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.fade-in { animation: fade-in 1s ease-out both; }

.shimmer-border {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}

.grid-pattern {
  background-image:
    linear-gradient(to right, rgba(148,163,184,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148,163,184,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.dot-pattern {
  background-image: radial-gradient(circle, rgba(148,163,184,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(15,23,42,0.6), rgba(15,23,42,0.3));
  border: 1px solid rgba(148,163,184,0.1);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease-out;
}
.feature-card:hover {
  border-color: rgba(34,211,238,0.4);
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(8,47,73,0.5), rgba(15,23,42,0.4));
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 10px 30px -10px rgba(6,182,212,0.5);
  transition: all 0.2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -8px rgba(6,182,212,0.6); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

.fade-bottom {
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.2s; }

.dashboard-mock {
  background: linear-gradient(180deg, rgba(15,23,42,0.95), rgba(2,6,23,0.95));
  border: 1px solid rgba(148,163,184,0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(6,182,212,0.4), 0 30px 60px -20px rgba(59,130,246,0.3);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
