/* ============================================
   ULIGMAT.PH — Calamity Reporting Platform
   Light Theme — Easy on the eyes
   ============================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #f5f7fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfd;
  --bg-hero: linear-gradient(160deg, #e8f0fe 0%, #fef5e7 40%, #fde8e8 100%);
  --bg-section-alt: #f0f4f8;

  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;

  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;

  --accent-blue: #2563eb;
  --accent-blue-soft: rgba(37, 99, 235, 0.08);
  --accent-blue-hover: #1d4ed8;
  --accent-orange: #ea580c;
  --accent-orange-soft: rgba(234, 88, 12, 0.08);

  --urgency-low: #0d9488;
  --urgency-low-bg: rgba(13, 148, 136, 0.08);
  --urgency-low-border: rgba(13, 148, 136, 0.2);
  --urgency-medium: #ca8a04;
  --urgency-medium-bg: rgba(202, 138, 4, 0.08);
  --urgency-medium-border: rgba(202, 138, 4, 0.2);
  --urgency-high: #ea580c;
  --urgency-high-bg: rgba(234, 88, 12, 0.08);
  --urgency-high-border: rgba(234, 88, 12, 0.2);
  --urgency-critical: #dc2626;
  --urgency-critical-bg: rgba(220, 38, 38, 0.06);
  --urgency-critical-border: rgba(220, 38, 38, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
  --shadow-card-hover: 0 4px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

img {
  max-width: 100%;
  display: block;
}

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

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}

.nav-brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent-orange);
  line-height: 1.1;
}

.nav-brand-text span {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 22px;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.84rem;
  color: #fff !important;
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.35);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 2rem 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(220, 38, 38, 0.07);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--urgency-critical);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--urgency-critical);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.6); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-xl);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  color: #fff;
  box-shadow: 0 3px 14px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.35);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---------- Floating Orbs (soft light version) ---------- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: #fbbf24;
  top: -10%;
  left: -10%;
  opacity: 0.15;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #f87171;
  bottom: -5%;
  right: -10%;
  opacity: 0.12;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: #60a5fa;
  top: 50%;
  left: 40%;
  opacity: 0.1;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, -20px); }
}

/* ---------- Section Styles ---------- */
.section {
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--accent-orange);
  opacity: 0.3;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-light), var(--border-light), transparent);
}

.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

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

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.2);
  color: #fff;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Report Form ---------- */
.report-section {
  padding: 100px 2rem;
  position: relative;
  background: var(--bg-section-alt);
}

.report-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.report-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.report-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #dc2626, #ea580c);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-group label .optional {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.form-input,
.form-select,
.form-textarea {
  padding: 11px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  background-color: var(--bg-primary);
}

.form-select option {
  background: #fff;
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Location group with GPS button */
.location-input-group {
  display: flex;
  gap: 8px;
}

.location-input-group .form-input {
  flex: 1;
}

.btn-gps {
  padding: 11px 14px;
  background: var(--urgency-low-bg);
  border: 1px solid var(--urgency-low-border);
  border-radius: var(--radius-sm);
  color: var(--urgency-low);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.btn-gps:hover {
  background: rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.35);
}

.btn-gps.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Checkboxes for help needed */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 8px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.checkbox-item:hover {
  border-color: var(--border-hover);
  background: #fff;
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkbox-item .checkmark {
  width: 19px;
  height: 19px;
  border: 2px solid var(--border-hover);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.checkbox-item input:checked + .checkmark {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  border-color: transparent;
}

.checkbox-item input:checked + .checkmark::after {
  content: '✓';
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}

.checkbox-item input:checked ~ .checkbox-label {
  color: var(--text-primary);
  font-weight: 500;
}

/* Urgency selector */
.urgency-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.urgency-option {
  flex: 1;
  min-width: 100px;
}

.urgency-option input {
  display: none;
}

.urgency-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 13px 10px;
  background: var(--bg-primary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.urgency-option label .urgency-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.urgency-option label .urgency-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.urgency-option.low label .urgency-dot { background: var(--urgency-low); }
.urgency-option.medium label .urgency-dot { background: var(--urgency-medium); }
.urgency-option.high label .urgency-dot { background: var(--urgency-high); }
.urgency-option.critical label .urgency-dot { background: var(--urgency-critical); }

.urgency-option.low input:checked + label { border-color: var(--urgency-low); background: var(--urgency-low-bg); }
.urgency-option.medium input:checked + label { border-color: var(--urgency-medium); background: var(--urgency-medium-bg); }
.urgency-option.high input:checked + label { border-color: var(--urgency-high); background: var(--urgency-high-bg); }
.urgency-option.critical input:checked + label { border-color: var(--urgency-critical); background: var(--urgency-critical-bg); }

.urgency-option input:checked + label .urgency-label {
  color: var(--text-primary);
}

/* Photo upload */
.photo-upload-zone {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--bg-primary);
}

.photo-upload-zone:hover {
  border-color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.03);
}

.photo-upload-zone input {
  display: none;
}

.photo-upload-zone .upload-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.photo-upload-zone p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.photo-upload-zone .upload-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.photo-preview {
  margin-top: 12px;
  display: none;
  position: relative;
}

.photo-preview img {
  max-height: 200px;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.photo-preview .remove-photo {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(220, 38, 38, 0.9);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Submit button */
.form-submit {
  margin-top: 1.75rem;
  text-align: center;
}

.btn-submit {
  padding: 15px 44px;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  border: none;
  border-radius: var(--radius-xl);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 3px 16px rgba(234, 88, 12, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 28px rgba(234, 88, 12, 0.35);
}

.btn-submit:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-submit:disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- Success Toast ---------- */
.toast {
  position: fixed;
  top: 86px;
  right: 2rem;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--urgency-low-border);
  border-radius: var(--radius-md);
  color: var(--urgency-low);
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  transform: translateX(120%);
  transition: var(--transition-spring);
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateX(0);
}

.toast.error {
  border-color: var(--urgency-critical-border);
  color: var(--urgency-critical);
}

/* ---------- Reports Feed ---------- */
.reports-section {
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.reports-toolbar {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  padding: 7px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.filter-btn.active {
  background: var(--accent-orange-soft);
  border-color: rgba(234, 88, 12, 0.25);
  color: var(--accent-orange);
  font-weight: 600;
}

.reports-count {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out;
  box-shadow: var(--shadow-card);
}

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

.report-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.report-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--radius-xl);
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  border: 1px solid rgba(234, 88, 12, 0.15);
}

.urgency-badge {
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.urgency-badge.low {
  background: var(--urgency-low-bg);
  color: var(--urgency-low);
  border: 1px solid var(--urgency-low-border);
}

.urgency-badge.medium {
  background: var(--urgency-medium-bg);
  color: var(--urgency-medium);
  border: 1px solid var(--urgency-medium-border);
}

.urgency-badge.high {
  background: var(--urgency-high-bg);
  color: var(--urgency-high);
  border: 1px solid var(--urgency-high-border);
}

.urgency-badge.critical {
  background: var(--urgency-critical-bg);
  color: var(--urgency-critical);
  border: 1px solid var(--urgency-critical-border);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.2); }
  50% { box-shadow: 0 0 0 5px rgba(220, 38, 38, 0); }
}

.report-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.report-card-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.report-card-help {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0.85rem;
}

.help-tag {
  padding: 3px 9px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.report-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.report-card-people {
  display: flex;
  align-items: center;
  gap: 4px;
}

.report-card-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

/* Empty state */
.reports-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
}

.reports-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.reports-empty h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.reports-empty p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ---------- Emergency Hotlines ---------- */
.hotlines-section {
  padding: 80px 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-section-alt);
  border-radius: 0;
}

.hotlines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.hotline-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.hotline-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.hotline-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-orange-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hotline-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1px;
}

.hotline-info p {
  font-size: 0.95rem;
  color: var(--accent-orange);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  background: var(--bg-secondary);
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

.footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-orange);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .navbar {
    padding: 0 1.25rem;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-120%);
    transition: var(--transition-smooth);
    opacity: 0;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 1.5rem 60px;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .report-form-card {
    padding: 1.5rem;
  }

  .reports-grid {
    grid-template-columns: 1fr;
  }

  .urgency-group {
    flex-wrap: wrap;
  }

  .urgency-option {
    min-width: calc(50% - 4px);
  }

  .hotlines-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }

  .toast {
    right: 1rem;
    left: 1rem;
    transform: translateY(-120%);
  }

  .toast.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 1.25rem;
  }

  .report-section {
    padding: 60px 1.25rem;
  }

  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }
}
