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

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

:root {
  --bg-base: #080808;
  --bg-surface: #101010;
  --bg-elevated: #161616;
  --bg-overlay: #1C1C1C;
  --border-subtle: #1F1F1F;
  --border-default: #2A2A2A;
  --border-strong: #383838;
  --text-primary: #F2F2F2;
  --text-secondary: #888888;
  --text-tertiary: #555555;
  --text-disabled: #333333;
  --accent: #00E676;
  --accent-dim: #00E67615;
  --accent-glow: 0 0 24px #00E67630;
  --destructive: #FF4444;
  --warning: #F5A623;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Numeric elements */
.mono, time, [data-mono], .stat-number,
.timestamp, .phone-number, .badge-count,
.char-counter, .price-main {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 { line-height: 1.1; }
h1 { font-size: 68px; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 48px; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }

p { line-height: 1.5; }

a { text-decoration: none; color: inherit; }

button {
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 150ms ease;
}

input, textarea, select {
  font-family: 'Inter', sans-serif;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border-color 150ms ease;
  width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--text-tertiary); }

/* Entrance animation */
.animate-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  box-shadow: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}
.btn-primary:hover { filter: brightness(1.1); }

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover { border-color: var(--text-secondary); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-default);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-strong); }

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
}
.badge-ai {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 230, 118, 0.3);
}
.badge-needs {
  background: rgba(255, 68, 68, 0.1);
  color: var(--destructive);
  border: 1px solid rgba(255, 68, 68, 0.3);
}
.badge-needs::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--destructive);
  animation: pulse 2s ease infinite;
}
.badge-resolved {
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  border: 1px solid var(--border-subtle);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }
