/* CareQuotesAI - Premium Voice AI Healthcare Platform
   Designed for clarity, trust, and conversion */

:root {
  /* Primary palette - Professional healthcare blue */
  --navy-900: #0B3954;
  --navy-800: #145374;
  --navy-700: #1B6B93;
  --teal-500: #2E8BC0;
  --teal-400: #4DA8DA;
  --teal-300: #7EC8E3;

  /* Accent - Sophisticated blue for CTAs */
  --accent-600: #1565C0;
  --accent-500: #1976D2;
  --accent-400: #2196F3;

  /* Neutrals - Warmer, softer tones */
  --slate-900: #1a2332;
  --slate-700: #3d4f5f;
  --slate-600: #546e7a;
  --slate-500: #78909c;
  --slate-300: #cfd8dc;
  --slate-200: #e8eef1;
  --slate-100: #f4f7f9;
  --slate-50: #f9fbfc;
  --white: #ffffff;

  /* Success/Status */
  --emerald-500: #00897b;
  --emerald-400: #26a69a;
  --amber-500: #ffa000;
  --red-500: #e53935;

  /* Shadows - Softer, more refined */
  --shadow-sm: 0 1px 3px rgba(11, 57, 84, 0.04), 0 1px 2px rgba(11, 57, 84, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 57, 84, 0.06), 0 2px 6px rgba(11, 57, 84, 0.04);
  --shadow-lg: 0 10px 40px rgba(11, 57, 84, 0.08), 0 4px 12px rgba(11, 57, 84, 0.04);
  --shadow-glow: 0 0 32px rgba(46, 139, 192, 0.12);

  /* Typography */
  --font-display: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=JetBrains+Mono:wght@400;500&display=swap');

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

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 600;
}

a {
  color: var(--teal-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-400);
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.primary-nav a:hover {
  color: var(--navy-900);
}

.nav-link-button {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white) !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(11, 57, 84, 0.15);
  transition: all 0.2s ease;
}

.nav-link-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 57, 84, 0.2);
  background: var(--navy-800);
  color: var(--white);
}

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(46, 139, 192, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(11, 57, 84, 0.03) 0%, transparent 40%),
    linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 139, 192, 0.2), transparent);
}

.hero-content {
  display: grid;
  gap: 4rem;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(46, 139, 192, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(46, 139, 192, 0.12);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy>p {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hero-stats div {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-stats div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hero-stats dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 0.25rem;
}

.hero-stats dd {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* Hero Card - Live Transcript Demo */
.hero-card {
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-1deg);
  transition: transform 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-card .card-header {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card .card-header p {
  color: var(--slate-300);
  font-weight: 500;
  font-size: 0.9rem;
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--emerald-400);
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-card .card-body {
  padding: 1.5rem;
  background: var(--navy-900);
}

.transcript {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.transcript li {
  display: grid;
  gap: 0.35rem;
}

.transcript .speaker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-300);
}

.transcript .speaker.provider {
  color: var(--accent-400);
}

.transcript .message {
  color: var(--slate-300);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-card .card-footer {
  padding: 1rem 1.5rem;
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-card .card-footer p {
  color: var(--slate-500);
  font-size: 0.8rem;
  margin: 0;
}

/* Sections */
.section {
  padding: 6rem 0;
}

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

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 600px;
}

.section-header>p {
  max-width: 400px;
  color: var(--slate-600);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Info Cards */
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card p {
  color: var(--slate-600);
  line-height: 1.6;
}

/* Security Section */
.security {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.security h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.security>div>p {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.7;
}

.checklist {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-700);
}

.checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-500);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.75rem;
}

.security-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.security-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

.security-card ul {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.security-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-100);
}

.security-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.security-card span {
  color: var(--slate-600);
}

.security-card strong {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-900);
}

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

.testimonials figure {
  margin: 0;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.testimonials blockquote {
  font-size: 1.1rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonials blockquote::before {
  content: '"';
  display: block;
  font-size: 3rem;
  color: var(--teal-500);
  line-height: 0.8;
  margin-bottom: 0.5rem;
}

.testimonials figcaption {
  font-weight: 600;
  color: var(--navy-900);
}

/* Form Section */
.form-section {
  background:
    radial-gradient(ellipse at 80% 80%, rgba(46, 139, 192, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
}

.form-header {
  max-width: 560px;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.form-alt-options {
  margin-bottom: 2rem;
  color: var(--slate-600);
}

form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-200);
  padding: 0.875rem 1rem;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--white);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-field input::placeholder {
  color: var(--slate-400);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

/* Autocomplete Suggestions */
.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.suggestions.open {
  display: block;
}

.suggestion {
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.95rem;
}

.suggestion:last-child {
  border-bottom: none;
}

.suggestion:hover,
.suggestion:focus,
.suggestion.active {
  background-color: rgba(46, 139, 192, 0.06);
}

.suggestion strong {
  color: var(--navy-900);
}

.honeypot {
  display: none;
}

.form-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.5;
}

.form-success {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 2rem;
  border: 2px solid var(--emerald-400);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.form-success h3 {
  color: var(--emerald-500);
  margin-bottom: 1rem;
}

.form-success .token {
  display: inline-block;
  font-family: var(--font-mono);
  background: var(--navy-900);
  color: var(--teal-300);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 0.5rem 0 1.5rem;
}

.form-error {
  background: rgba(239, 68, 68, 0.08);
  color: var(--red-500);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Buttons */
button,
.cta,
.secondary {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.875rem 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.25);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.35);
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  color: var(--white);
}

.secondary {
  background: var(--white);
  color: var(--navy-900);
  border: 1.5px solid var(--slate-300);
  font-weight: 600;
}

.secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
  transform: translateY(-1px);
}

.full-width {
  width: 100%;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-300);
  padding: 4rem 0 2rem;
}

.site-footer .container {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer .brand {
  color: var(--white);
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: var(--slate-400);
}

.site-footer a:hover {
  color: var(--teal-300);
}

.footer-note {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--slate-500);
  font-size: 0.85rem;
}

/* Simple Pages (Login) */
.simple-page {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(46, 139, 192, 0.04) 0%, transparent 50%),
    var(--slate-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.simple-header,
.simple-footer {
  padding: 2rem 1rem;
  text-align: center;
}

.simple-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
  border: 1px solid var(--slate-200);
}

.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.auth-card>p {
  color: var(--slate-600);
  margin-bottom: 2rem;
}

/* Report/Dashboard Page */
.report-page {
  background: var(--slate-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.report-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.report-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.report-main {
  flex: 1;
  padding: 2.5rem 0 4rem;
  display: grid;
  gap: 2.5rem;
}

.report-summary {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.report-summary h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.summary-grid div {
  text-align: center;
  padding: 1.25rem;
  background: var(--slate-50);
  border-radius: var(--radius-md);
}

.summary-grid dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
}

.summary-grid dd {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-900);
}

.summary-grid dd.savings {
  color: var(--emerald-500);
}

/* Quote Cards */
.quote-list {
  display: grid;
  gap: 2rem;
}

.quote-list h2 {
  font-size: 1.25rem;
}

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

.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.quote-card-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--slate-100);
}

.quote-card-header h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.quote-card-header .specialty {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.quote-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-800);
}

.quote-card-body {
  padding: 1.5rem;
}

.quote-details {
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.quote-details div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-600);
}

.quote-details strong {
  color: var(--slate-700);
}

/* Transcript Details */
.transcript-details {
  margin-top: 1rem;
  background: var(--slate-50);
  border-radius: var(--radius-sm);
}

.transcript-details summary {
  cursor: pointer;
  padding: 0.875rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
  user-select: none;
}

.transcript-details summary:hover {
  color: var(--navy-900);
}

.transcript-list {
  list-style: none;
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.875rem;
}

.transcript-list li {
  padding-left: 1rem;
  border-left: 2px solid var(--slate-200);
}

.transcript-list .speaker-label {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-800);
  margin-bottom: 0.25rem;
}

.transcript-list .text {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Timeline */
.timeline {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.timeline h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.timeline ol {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-500);
  margin-top: 0.5rem;
  position: relative;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 1.5rem);
  background: var(--slate-200);
}

.timeline li:last-child .timeline-dot::after {
  display: none;
}

.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.timeline-meta {
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-card {
    transform: none;
  }

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

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .primary-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  form {
    padding: 1.5rem;
  }

  .report-summary,
  .timeline {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--slate-300);
  margin-top: 1rem;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  background: rgba(46, 139, 192, 0.08);
  color: var(--teal-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  position: relative;
}

.empty-state-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-500);
  animation: ripple 2s infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--navy-900);
}

.empty-state p {
  color: var(--slate-600);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.empty-state-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  background: var(--slate-50);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Enhanced Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  /* Takes up significant screen space */
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--slate-300);
  margin-top: 1rem;
  text-align: center;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.empty-state h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--navy-900);
}

.empty-state p {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.empty-state-status {
  margin-top: 2.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}