:root {
  --rv-primary: #0d9488;
  --rv-primary-dark: #0f766e;
  --rv-accent: #6366f1;
  --rv-accent-2: #8b5cf6;
  --rv-success: #16a34a;
  --rv-warning: #d97706;
  --rv-danger: #dc2626;
  --rv-info: #0891b2;
  --rv-text-muted: #6b7280;
  --rv-body-bg: #f7f9fb;
  --rv-radius: 18px;
}

body {
  background: var(--rv-body-bg);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1f2937;
}

a {
  color: var(--rv-primary);
}

/* ---------- Navbar ---------- */
.rv-navbar {
  background: #fff;
  padding: .9rem 0;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.rv-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: #111827;
}

.company-logo {
  height: 60px;
  width: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.rv-navbar .nav-link {
  font-weight: 500;
  font-size: .92rem;
  color: #374151;
}

/* ---------- Hero / search section ---------- */
.rv-hero {
  background: linear-gradient(135deg, var(--rv-primary) 0%, var(--rv-accent) 100%);
  padding: 4rem 0 6rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.rv-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.rv-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.rv-hero h1 {
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: .75rem;
}

.rv-hero p.lead {
  font-size: 1.02rem;
  opacity: .92;
  max-width: 560px;
}

/* ---------- Search card (overlaps hero bottom) ---------- */
.rv-search-card {
  background: #fff;
  border-radius: var(--rv-radius);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  padding: 1.75rem;
  margin-top: -4.5rem;
  position: relative;
  z-index: 5;
}

.rv-search-card .form-control {
  border-radius: 12px;
  padding: .85rem 1.1rem;
  font-size: 1rem;
  border-color: #e5e7eb;
}

.rv-search-card .form-control:focus {
  border-color: var(--rv-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.btn-rv-primary {
  background: linear-gradient(135deg, var(--rv-primary), var(--rv-primary-dark));
  border: none;
  color: #fff;
  font-weight: 600;
  padding: .85rem 1.6rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
  transition: filter .15s ease;
}

.btn-rv-primary:hover {
  filter: brightness(1.08);
  color: #fff;
}

.btn-rv-outline {
  border: 2px solid var(--rv-primary);
  color: var(--rv-primary);
  font-weight: 600;
  padding: .8rem 1.6rem;
  border-radius: 12px;
  background: #fff;
}

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

.btn-rv-soft {
  background: #eef2ff;
  color: var(--rv-accent);
  font-weight: 600;
  border-radius: 12px;
  border: none;
}

.btn-rv-soft:hover {
  background: #e0e7ff;
  color: var(--rv-accent);
}

/* ---------- How it works / trust strip ---------- */
.rv-trust-strip {
  padding: 3rem 0 1rem;
}

.rv-trust-item {
  text-align: center;
  padding: 1rem;
}

.rv-trust-item .rv-trust-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #f0fdfa;
  color: var(--rv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto .75rem;
}

/* ---------- Cards (detail page) ---------- */
.rv-card {
  background: #fff;
  border: none;
  border-radius: var(--rv-radius);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
}

.rv-card .card-header {
  background: transparent;
  border-bottom: 1px solid #f1f3f9;
  font-weight: 700;
  padding: 1.1rem 1.4rem;
  font-size: .96rem;
}

.rv-card .card-body {
  padding: 1.4rem;
}

/* ---------- Assured value highlight ---------- */
.rv-value-highlight {
  background: linear-gradient(135deg, var(--rv-primary), var(--rv-accent));
  border-radius: var(--rv-radius);
  padding: 1.75rem;
  color: #fff;
  text-align: center;
}

.rv-value-highlight .rv-value-amount {
  font-size: 2.2rem;
  font-weight: 800;
}

.rv-value-highlight .rv-value-label {
  font-size: .85rem;
  opacity: .9;
}

/* ---------- Badges (status pills) ---------- */
.rv-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
}

.rv-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.rv-badge-success {
  background: #ecfdf3;
  color: var(--rv-success);
}

.rv-badge-warning {
  background: #fffbeb;
  color: var(--rv-warning);
}

.rv-badge-danger {
  background: #fef2f2;
  color: var(--rv-danger);
}

.rv-badge-info {
  background: #ecfeff;
  color: var(--rv-info);
}

.rv-badge-muted {
  background: #f3f4f6;
  color: #6b7280;
}

.rv-badge-primary {
  background: #eef2ff;
  color: var(--rv-accent);
}

/* ---------- Claim status tracker ---------- */
.rv-tracker {
  display: flex;
  align-items: flex-start;
}

.rv-tracker-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.rv-tracker-step .rv-tracker-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  margin: 0 auto .5rem;
  position: relative;
  z-index: 2;
}

.rv-tracker-step.rv-done .rv-tracker-dot {
  background: var(--rv-primary);
  color: #fff;
}

.rv-tracker-step.rv-current .rv-tracker-dot {
  background: #fff;
  color: var(--rv-primary);
  border: 3px solid var(--rv-primary);
}

.rv-tracker-step::after {
  content: '';
  position: absolute;
  top: 17px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: #e5e7eb;
  z-index: 1;
}

.rv-tracker-step:last-child::after {
  display: none;
}

.rv-tracker-step.rv-done::after {
  background: var(--rv-primary);
}

.rv-tracker-label {
  font-size: .72rem;
  color: var(--rv-text-muted);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.rv-footer {
  background: #101a2e;
  color: #b6c0da;
  padding: 2.5rem 0;
  margin-top: 4rem;
  font-size: .88rem;
}

.rv-footer a {
  color: #fff;
  text-decoration: none;
}

/* ---------- Misc ---------- */
.rv-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--rv-text-muted);
}

.rv-empty-state i {
  font-size: 2.5rem;
  opacity: .35;
  margin-bottom: .75rem;
  display: block;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767.98px) {
  .rv-hero {
    padding: 2.75rem 0 5rem;
    text-align: center;
  }

  .rv-hero p.lead {
    margin: 0 auto;
  }

  .rv-search-card {
    margin-top: -3.5rem;
    padding: 1.25rem;
  }

  .rv-tracker-label {
    font-size: .64rem;
  }

  .rv-value-highlight .rv-value-amount {
    font-size: 1.7rem;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .rv-hero {
    padding: 3.5rem 0 5.5rem;
  }
}