@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500;600;700&display=swap');

[x-cloak] {
  display: none !important;
}

:root {
  /* Stripe / Vercel Ultra-Clean Light Palette */
  --bg-app: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;

  /* Typography Colors */
  --ink-primary: #0F172A;
  --ink-secondary: #475569;
  --ink-muted: #94A3B8;

  /* Refined Accent Colors */
  --accent-primary: #4F46E5;
  --accent-emerald: #059669;
  --accent-cyan: #0284C7;
  --accent-crimson: #DC2626;
  --accent-amber: #D97706;
  --accent-violet: #7C3AED;

  /* Borders & Shadows */
  --border-glass: #E2E8F0;
  --border-glass-hover: #CBD5E1;
  --border-glass-focus: #6366F1;
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}

::selection {
  background: #E0E7FF;
  color: #3730A3;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-app);
  color: var(--ink-primary);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Geist', -apple-system, sans-serif;
  letter-spacing: -0.025em;
  font-weight: 700;
}

code, pre, .font-mono, .mono {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

/* Crisp Clean Light Cards & Panels */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  border-radius: 16px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--border-glass-hover);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.glass-card {
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.2s ease;
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

/* Subtle Glowing Border */
.glow-border {
  position: relative;
}

/* Refined Light Status Badges */
.badge-emerald {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.badge-cyan {
  background: #F0F9FF;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.badge-indigo {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.badge-amber {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.badge-crimson {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Clean Subtle Grid Pattern */
.laser-grid {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.shimmer-text {
  background: linear-gradient(90deg, #0F172A 0%, #4F46E5 35%, #0284C7 70%, #0F172A 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 10s linear infinite;
}

/* Tactile Toggle Switch */
.switch-track {
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.switch-track.active {
  background: #059669;
  border-color: #047857;
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.25);
}

.switch-thumb {
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clean Modern Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}
