/* ==========================================================================
   BookMyDay - Main Stylesheet
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --text: #334155;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: var(--secondary);
}

.btn-accent:hover {
  background: #d97706;
  color: #fff;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: 300;
}

.logo:hover {
  color: var(--secondary);
}

.logo-icon {
  font-size: 1.75rem;
}

.logo-text strong {
  font-weight: 700;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-radius: var(--radius);
}

/* ---------- Nav Dropdowns ---------- */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem 0;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

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

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--secondary);
  transition: all var(--transition);
}

/* ---------- Loading Spinner ---------- */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Hero ---------- */
.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 50%, #fef3c7 100%);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-light);
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
}

.stat-item p {
  color: var(--text-light);
  font-weight: 500;
}

/* ---------- How It Works ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.125rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-light);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: var(--radius);
  margin: 3rem auto;
  max-width: var(--max-width);
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-banner .btn-accent {
  font-size: 1.125rem;
  padding: 0.875rem 2.25rem;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.375rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-features {
  text-align: left;
  margin: 1.5rem 0 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.pricing-features li::before {
  content: '✓ ';
  color: var(--primary);
  font-weight: 700;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-thumb {
  width: 100%;
  height: 200px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.blog-body {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.blog-card h3 a {
  color: var(--secondary);
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog-read-more {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Blog Post (single) ---------- */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.blog-post h1 {
  font-size: 2.25rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.blog-post .blog-post-meta {
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.blog-post h2 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin: 2rem 0 1rem;
}

.blog-post p {
  margin-bottom: 1rem;
}

.blog-post ul,
.blog-post ol {
  margin: 1rem 0 1rem 2rem;
  list-style: disc;
}

.blog-post ul li,
.blog-post ol li {
  margin-bottom: 0.5rem;
}

.blog-post .back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  font-size: 1.5rem;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius);
}

.contact-info-card h4 {
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 500;
  color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  background: var(--primary-light);
  border-radius: var(--radius);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-light);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.team-card h3 {
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.team-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ---------- Services Page ---------- */
.services-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-detail-card {
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.service-detail-card h3 {
  color: var(--secondary);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-detail-card p {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.service-detail-card ul {
  margin-left: 1.25rem;
  list-style: disc;
}

.service-detail-card li {
  color: var(--text-light);
  margin-bottom: 0.375rem;
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.legal-content h1 {
  font-size: 2.25rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.legal-content .last-updated {
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.375rem;
  color: var(--secondary);
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0.75rem 0 1rem 2rem;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 0.375rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--secondary);
  color: #cbd5e1;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-heading {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-address p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.footer-address a {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid #1e293b;
  font-size: 0.9rem;
}

/* ---------- Auth Forms (Signup/Login) ---------- */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 3rem 1.5rem;
}

.auth-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
}

.auth-card h1 {
  font-size: 1.75rem;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.auth-card .auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.auth-trust {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
}

/* ---------- Help Center ---------- */
.help-search {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.help-search input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 1.1rem;
  transition: border-color var(--transition);
}

.help-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.help-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.help-category-card {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.help-category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.help-category-card .help-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.help-category-card h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.help-category-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 0.5rem;
}

/* ---------- Help Article ---------- */
.help-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.help-article h1 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.help-article h2 {
  font-size: 1.375rem;
  color: var(--secondary);
  margin: 2rem 0 0.75rem;
}

.help-article p {
  margin-bottom: 1rem;
}

.help-article ul,
.help-article ol {
  margin: 0.75rem 0 1rem 2rem;
  list-style: disc;
}

.help-article ol {
  list-style: decimal;
}

.help-article li {
  margin-bottom: 0.375rem;
}

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.checklist li {
  padding: 1rem 1rem 1rem 3rem;
  margin-bottom: 0.75rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.checklist li::before {
  content: attr(data-step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.checklist li strong {
  color: var(--secondary);
}

/* ---------- Status Page ---------- */
.status-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.status-item .status-name {
  font-weight: 600;
  color: var(--secondary);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-badge.operational {
  background: #dcfce7;
  color: #166534;
}

.status-badge.degraded {
  background: #fef9c3;
  color: #854d0e;
}

.status-badge.outage {
  background: #fecaca;
  color: #991b1b;
}

/* ---------- Changelog ---------- */
.changelog-entry {
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.changelog-entry .changelog-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.changelog-entry h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.changelog-entry ul {
  margin-left: 1.25rem;
  list-style: disc;
}

.changelog-entry li {
  margin-bottom: 0.375rem;
  color: var(--text);
}

.changelog-tag {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

.changelog-tag.new {
  background: #dcfce7;
  color: #166534;
}

.changelog-tag.improvement {
  background: #dbeafe;
  color: #1e40af;
}

.changelog-tag.fix {
  background: #fef9c3;
  color: #854d0e;
}

/* ---------- Support Panel ---------- */
.support-panel {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.support-panel h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.support-panel p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ---------- Incident Card ---------- */
.incident-card {
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.incident-card h4 {
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.incident-card .incident-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.incident-card .incident-status {
  font-weight: 600;
}

.incident-card .incident-status.resolved {
  color: #166534;
}

/* ---------- 404 Page ---------- */
.page-404 {
  text-align: center;
  padding: 5rem 1.5rem;
}

.page-404 h1 {
  font-size: 6rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.page-404 p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  /* Mobile dropdowns */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin-top: 0.25rem;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: block;
  }

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

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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