/* FetchMe Insurance Platform Stylesheet */
:root {
  --primary-navy: #0a2540;
  --navy-dark: #06182a;
  --navy-light: #163659;
  --teal-accent: #0d9488;
  --teal-light: #14b8a6;
  --teal-bg: #f0fdfa;
  --amber-accent: #d97706;
  --charcoal-text: #1e293b;
  --slate-body: #475569;
  --slate-light: #64748b;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --bg-white: #ffffff;
  --bg-slate: #f8fafc;
  --bg-subtle: #f1f5f9;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  font-family: var(--font-sans);
  color: var(--charcoal-text);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: var(--teal-accent);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  color: var(--slate-body);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.lead {
  font-size: 1.25rem;
  color: var(--slate-body);
  line-height: 1.6;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.top-bar {
  background: var(--primary-navy);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #cbd5e1;
}
.top-bar a:hover {
  color: #ffffff;
}

.header-main {
  padding: 14px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--charcoal-text);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--teal-accent);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 260px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
  list-style: none;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--charcoal-text);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-dropdown li a:hover {
  background: var(--teal-bg);
  color: var(--teal-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--teal-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: #0f766e;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

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

.btn-navy:hover {
  background: var(--navy-light);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: var(--border-color);
  color: var(--charcoal-text);
  background: #ffffff;
}

.btn-outline:hover {
  border-color: var(--teal-accent);
  color: var(--teal-accent);
  background: var(--teal-bg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--primary-navy);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background: var(--bg-slate);
  padding: 12px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-bar ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumbs-bar li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--slate-light);
}

.breadcrumbs-bar li.active {
  color: var(--slate-light);
}

/* HERO SLIDER (Homepage) */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: var(--navy-dark);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10,37,64,0.92) 0%, rgba(10,37,64,0.78) 50%, rgba(10,37,64,0.3) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 680px;
}

.slide-badge {
  display: inline-block;
  background: var(--teal-accent);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.slide-content h1 {
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.slide-content p {
  color: #e2e8f0;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.slide-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.slider-prev:hover, .slider-next:hover {
  background: rgba(255,255,255,0.4);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--teal-accent);
  width: 36px;
  border-radius: 20px;
}

/* Page Hero (Internal Pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
  color: #ffffff;
  padding: 64px 0 54px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.18) 0%, rgba(13,148,136,0) 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: #ffffff;
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.page-hero p.lead {
  color: #cbd5e1;
  max-width: 780px;
  font-size: 1.25rem;
}

/* Sections */
.section {
  padding: 80px 0;
}

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

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  color: var(--teal-accent);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.35rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--slate-body);
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-accent);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--slate-body);
  font-size: 1rem;
  margin-bottom: 20px;
  flex: 1;
}

.card-features {
  list-style: none;
  margin-bottom: 24px;
}

.card-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: var(--charcoal-text);
}

.card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-accent);
  font-weight: 800;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin: 32px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-slate);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 1rem;
}

.comparison-table tr:hover td {
  background: #fdfefe;
}

.badge-included {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-optional {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: #fef3c7;
  color: #b45309;
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-not-standard {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Interactive Filter / Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--charcoal-text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

/* How It Works Steps */
.step-card {
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  position: relative;
}

.step-num {
  width: 54px;
  height: 54px;
  line-height: 54px;
  border-radius: 50%;
  background: var(--teal-bg);
  color: var(--teal-accent);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
  border: 2px solid var(--teal-accent);
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s ease;
}

.faq-question:hover {
  background: var(--bg-slate);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--teal-accent);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  display: none;
  font-size: 1.02rem;
  color: var(--slate-body);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Form Styles */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

label .required {
  color: #dc2626;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 1rem;
  font-family: inherit;
  color: var(--charcoal-text);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal-accent);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-help {
  font-size: 0.84rem;
  color: var(--slate-light);
  margin-top: 6px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 4px;
}

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: none;
}

.form-status.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block;
}

.form-status.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* Callout / Disclaimer Box */
.notice-box {
  background: var(--bg-slate);
  border-left: 4px solid var(--teal-accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-size: 0.96rem;
  color: var(--slate-body);
}

.notice-box.warning {
  border-left-color: var(--amber-accent);
  background: #fffbeb;
  color: #92400e;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #94a3b8;
  padding: 70px 0 30px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 16px;
  font-size: 0.92rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  line-height: 1.7;
  color: #64748b;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide-content h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }
  .header-actions .btn {
    display: none;
  }
  .hero-slider-section {
    height: 480px;
  }
  .slide-content h1 {
    font-size: 2rem;
  }
  .slide-content p {
    font-size: 1.05rem;
  }
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
