/* AllServiceMiami - Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #0a0f1e;
  --bg-secondary: #0f1629;
  --bg-card: #111827;
  --bg-card-hover: #1a2235;
  --border-color: #1f2937;
  --border-light: #2d3748;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #9ca3af;
  --accent-orange: #f97316;
  --accent-orange-hover: #ea6c07;
  --accent-orange-light: rgba(249,115,22,0.15);
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-blue-light: rgba(59,130,246,0.15);
  --success: #10b981;
  --success-light: rgba(16,185,129,0.15);
  --error: #ef4444;
  --error-light: rgba(239,68,68,0.15);
  --warning: #f59e0b;
  --warning-light: rgba(245,158,11,0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.6);
  --shadow-orange: 0 0 20px rgba(249,115,22,0.3);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.2s ease;
  --transition-slow: all 0.35s ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent-orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-orange-hover); }
strong { font-weight: 600; color: var(--text-primary); }
small { font-size: 0.875rem; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* Section spacing */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.1rem; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-label { display: inline-block; background: var(--accent-orange-light); color: var(--accent-orange); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-md); font-family: var(--font-family); font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); text-decoration: none; white-space: nowrap; line-height: 1; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent-orange); color: #fff; box-shadow: 0 4px 15px rgba(249,115,22,0.35); }
.btn-primary:hover:not(:disabled) { background: var(--accent-orange-hover); box-shadow: 0 6px 20px rgba(249,115,22,0.5); transform: translateY(-1px); color: #fff; }
.btn-secondary { background: var(--accent-blue); color: #fff; box-shadow: 0 4px 15px rgba(59,130,246,0.3); }
.btn-secondary:hover:not(:disabled) { background: var(--accent-blue-hover); box-shadow: 0 6px 20px rgba(59,130,246,0.45); transform: translateY(-1px); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-primary); border: 1.5px solid var(--border-color); }
.btn-ghost:hover:not(:disabled) { border-color: var(--accent-orange); color: var(--accent-orange); }
.btn-outline-orange { background: transparent; color: var(--accent-orange); border: 1.5px solid var(--accent-orange); }
.btn-outline-orange:hover:not(:disabled) { background: var(--accent-orange); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 32px; font-size: 1.125rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 20px 40px; font-size: 1.2rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }
.btn-icon { padding: 10px; min-width: 40px; }

/* Form Elements */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.form-label .required { color: var(--error); margin-left: 3px; }
.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--bg-primary); border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-family: var(--font-family); font-size: 1rem;
  transition: var(--transition); appearance: none;
}
.form-control:focus { outline: none; border-color: var(--accent-orange); box-shadow: 0 0 0 3px var(--accent-orange-light); }
.form-control::placeholder { color: var(--text-muted); }
.form-control.error { border-color: var(--error); }
.form-control.success { border-color: var(--success); }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ca3af'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error { font-size: 0.8rem; color: var(--error); margin-top: 5px; display: none; }
.form-error.visible { display: block; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; }
.char-count { font-size: 0.8rem; color: var(--text-muted); text-align: right; margin-top: 4px; }

/* Radio & Checkbox */
.radio-group, .checkbox-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-option, .checkbox-option { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 10px 16px; border: 1.5px solid var(--border-color); border-radius: var(--radius-md); transition: var(--transition); }
.radio-option:hover, .checkbox-option:hover { border-color: var(--accent-orange); }
.radio-option input, .checkbox-option input { accent-color: var(--accent-orange); }
.radio-option.selected, .checkbox-option.selected { border-color: var(--accent-orange); background: var(--accent-orange-light); }

/* Status Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-pending { background: var(--warning-light); color: var(--warning); }
.badge-active, .badge-distributed, .badge-completed, .badge-verified { background: var(--success-light); color: var(--success); }
.badge-spam, .badge-rejected, .badge-suspended { background: var(--error-light); color: var(--error); }
.badge-blue, .badge-investigating { background: var(--accent-blue-light); color: var(--accent-blue); }
.badge-gray { background: rgba(156,163,175,0.15); color: var(--text-muted); }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius-md); border-left: 4px solid; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: var(--success-light); border-color: var(--success); color: var(--success); }
.alert-error { background: var(--error-light); border-color: var(--error); color: var(--error); }
.alert-warning { background: var(--warning-light); border-color: var(--warning); color: var(--warning); }
.alert-info { background: var(--accent-blue-light); border-color: var(--accent-blue); color: var(--accent-blue); }

/* Loading Spinner */
.spinner { width: 24px; height: 24px; border: 3px solid var(--border-color); border-top-color: var(--accent-orange); border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
.spinner-lg { width: 40px; height: 40px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay { position: fixed; inset: 0; background: rgba(10,15,30,0.85); display: flex; align-items: center; justify-content: center; z-index: 9999; backdrop-filter: blur(4px); }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 32px; max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.5rem; padding: 4px; transition: var(--transition); }
.modal-close:hover { color: var(--text-primary); }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-color); }

/* Toast */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9998; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 400px; box-shadow: var(--shadow-lg); animation: slideIn 0.3s ease; }
.toast.toast-success { border-left: 4px solid var(--success); }
.toast.toast-error { border-left: 4px solid var(--error); }
.toast.toast-warning { border-left: 4px solid var(--warning); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Dividers */
.divider { height: 1px; background: var(--border-color); margin: 24px 0; }
.divider-text { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--text-muted); font-size: 0.875rem; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }

/* Grid & Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Spacing utilities */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.p-16 { padding: 16px; }
.p-24 { padding: 24px; }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-orange { color: var(--accent-orange); }
.text-blue { color: var(--accent-blue); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* Cards */
.card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; transition: var(--transition); }
.card:hover { border-color: var(--border-light); }
.card-clickable:hover { cursor: pointer; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Orange gradient text */
.gradient-text { background: linear-gradient(135deg, var(--accent-orange), #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Honeypot (must be visually hidden but not display:none for bots) */
.honeypot-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; tab-index: -1; }

/* Animated gradient background */
.gradient-bg { background: linear-gradient(135deg, #0a0f1e 0%, #0d1526 40%, #0f1a2e 70%, #0a0f1e 100%); }
.animated-bg { position: relative; overflow: hidden; }
.animated-bg::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 30% 50%, rgba(249,115,22,0.08) 0%, transparent 50%), radial-gradient(ellipse at 70% 30%, rgba(59,130,246,0.06) 0%, transparent 50%); animation: bgPulse 8s ease-in-out infinite alternate; pointer-events: none; }
@keyframes bgPulse { from { transform: scale(1); } to { transform: scale(1.05); } }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* Selection */
::selection { background: var(--accent-orange-light); color: var(--accent-orange); }
