/* ==========================================================================
   Medkas Insurance - Minimalist & Modern Stylesheet
   Domain: Medkasinsurance.com
   Products: Health, Life, and Motor Insurance
   ========================================================================== */

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-blue-soft: #eff6ff;

  --health: #10b981;
  --health-soft: #ecfdf5;
  --health-text: #047857;

  --life: #6366f1;
  --life-soft: #eef2ff;
  --life-text: #4338ca;

  --motor: #f59e0b;
  --motor-soft: #fffbeb;
  --motor-text: #b45309;

  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --border: #e2e8f0;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  z-index: 9999;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s ease;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 0;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  text-decoration: none;
}

.brand-logo:hover {
  opacity: 0.92;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #090e1a 0%, #0f172a 60%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.15);
  transition: var(--transition);
  flex-shrink: 0;
}

.brand-logo:hover .logo-badge {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28), 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.brand-accent {
  color: var(--accent-blue);
  font-weight: 800;
}

.brand-tagline {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-top: 1px;
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

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

/* Sub-Header Moving Attribution Ticker */
.sub-header-ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  height: 32px;
  display: flex;
  align-items: center;
  user-select: none;
  z-index: 40;
}

.sub-header-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerSlide 35s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.ticker-item:hover {
  color: var(--primary);
}

.ticker-label {
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.01em;
}

.ticker-logo-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 13.5px;
  vertical-align: middle;
}

.ticker-brand {
  font-size: 0.775rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
}

.ticker-brand .nd-name {
  color: #0f172a;
}

.ticker-brand .nd-dekho {
  color: #f6760f;
}

.ticker-brand .nd-tld {
  font-weight: 600;
  color: #64748b;
  font-size: 0.7rem;
}

.ticker-tagline {
  font-size: 0.7rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.ticker-divider {
  color: #f6760f;
  font-size: 0.65rem;
  opacity: 0.8;
}

@keyframes tickerSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

/* Hero */
.hero-section {
  padding: 4.5rem 0 3.5rem 0;
  text-align: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--health-soft);
  color: var(--health-text);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 1.25rem auto;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

/* 3-in-1 Interactive Product Card */
.quote-card-container {
  max-width: 720px;
  margin: 0 auto 4rem auto;
}

/* Product Tabs Switcher */
.product-switcher {
  display: flex;
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  gap: 6px;
}

.switcher-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.switcher-tab:hover {
  color: var(--primary);
}

.switcher-tab.active[data-product="health"] {
  background: var(--health-soft);
  color: var(--health-text);
}

.switcher-tab.active[data-product="life"] {
  background: var(--life-soft);
  color: var(--life-text);
}

.switcher-tab.active[data-product="motor"] {
  background: var(--motor-soft);
  color: var(--motor-text);
}

/* Dynamic Content Card */
.quote-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
}

.quote-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.quote-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Choice Selector Pills (e.g. Individual vs Family) */
.choice-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.choice-pill {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.choice-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.choice-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Slider Section */
.slider-group {
  margin-bottom: 2rem;
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.slider-label-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
}

.slider-val-badge {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  background: #ffffff;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.custom-range {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.custom-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Price Box */
.price-showcase {
  text-align: center;
  margin-bottom: 2rem;
}

.price-small-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  margin-bottom: 0.25rem;
}

.price-figure {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.4rem;
}

/* Bullet Highlights (Clean 3 points) */
.highlights-list {
  list-style: none;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.highlight-item svg {
  color: var(--health);
  flex-shrink: 0;
}

/* Card CTA button */
.btn-block {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.0625rem;
}

/* 3 Pillars Section (Why Us) */
.pillars-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Quick FAQ Section */
.faq-section {
  padding: 4.5rem 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.faq-container {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-btn {
  width: 100%;
  padding: 1.2rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
}

.faq-icon {
  transition: transform 0.2s ease;
  color: var(--text-subtle);
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  padding: 0 1.4rem;
}

.faq-card.open .faq-body {
  max-height: 200px;
  padding: 0 1.4rem 1.25rem 1.4rem;
}

.faq-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Lightweight Clean Footer (Desktop & Mobile) */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.footer-brand-logo .logo-badge {
  background: var(--primary);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 380px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
}

.social-icon-link:hover {
  color: var(--primary);
  border-color: var(--text-subtle);
  background: #ffffff;
  transform: translateY(-1px);
}

.social-icon-link.instagram:hover {
  color: #e1306c;
  border-color: #fbcfe8;
  background: #fdf2f8;
}

.social-icon-link.linkedin:hover {
  color: #0284c7;
  border-color: #bae6fd;
  background: #f0f9ff;
}

.social-icon-link.facebook:hover {
  color: #1877f2;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.footer-nav-col a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition);
  width: fit-content;
}

.footer-nav-col a:hover {
  color: var(--primary);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-contact-link.phone {
  font-weight: 700;
  color: var(--primary);
}

.footer-contact-link.phone:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.footer-credits-bottom {
  width: 100%;
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.footer-credits-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  line-height: 1.4;
}

.footer-credits-label {
  color: var(--text-subtle);
  font-weight: 500;
}

.namedekho-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #f8fafc;
  border: 1px solid var(--border);
  transition: var(--transition);
  vertical-align: middle;
}

.namedekho-badge:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.namedekho-logo-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 16.5px;
}

.namedekho-text {
  font-size: 0.8125rem;
  font-family: inherit;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
}

.namedekho-text .nd-name {
  font-weight: 800;
  color: #0f172a;
}

.namedekho-text .nd-dekho {
  font-weight: 800;
  color: #f6760f;
}

.namedekho-text .nd-tld {
  font-weight: 600;
  color: #64748b;
  font-size: 0.75rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: var(--text-subtle);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Clean 1-Step Quote Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--primary);
}

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--primary);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

/* Toast */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  pointer-events: none;
}

.toast-msg {
  pointer-events: auto;
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Dedicated Product Details Section */
.products-detail-section {
  padding: 5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-intro .trust-pill {
  margin-bottom: 1rem;
}

.section-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-intro p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-details-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.product-detail-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-detail-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.product-detail-card.health-border {
  border-left: 6px solid var(--health);
}

.product-detail-card.life-border {
  border-left: 6px solid var(--life);
}

.product-detail-card.motor-border {
  border-left: 6px solid var(--motor);
}

.product-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.product-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.product-icon-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-title-group h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.product-title-group p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.product-price-tag {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: right;
  box-shadow: var(--shadow-sm);
}

.product-price-tag .from-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.product-price-tag .amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

/* 2-Column Product Content: What's Covered & Highlights */
.product-content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.coverage-column h4, .features-column h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.coverage-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.coverage-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.45;
}

.coverage-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.coverage-item strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
}

.coverage-item span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Feature Sidebar in Card */
.features-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-point-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.feature-point-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.feature-point-text p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.15rem;
}

.product-card-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.who-its-for {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.who-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.who-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ==========================================================================
   Mobile & Responsive Excellence (Zero Horiz Scroll, Touch-Optimized)
   ========================================================================== */

/* Mobile Bottom Bar (Hidden on desktop, sticky on <= 768px) */
.mobile-bottom-bar {
  display: none;
}

.nav-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.nav-phone-link:hover {
  color: var(--accent-blue);
}

@media (max-width: 1024px) {
  .product-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Prevent content hiding behind mobile bottom bar */
  body {
    padding-bottom: 74px;
    -webkit-tap-highlight-color: transparent;
  }

  .container {
    padding: 0 1.15rem;
  }

  /* Header & Navigation */
  .site-header {
    height: 3.75rem;
  }

  .nav-bar {
    height: 3.75rem;
  }

  .brand-logo {
    gap: 0.55rem;
  }

  .logo-badge {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .logo-badge svg {
    width: 20px;
    height: 20px;
  }

  .brand-title {
    font-size: 1.125rem;
  }

  .brand-tagline {
    font-size: 0.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-phone-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    border: 1px solid var(--border);
    justify-content: center;
  }

  .phone-number-text {
    display: none;
  }

  .nav-actions .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
  }

  /* Sub-Header Ticker Mobile */
  .sub-header-ticker {
    height: 28px;
  }

  .ticker-item {
    font-size: 0.7rem;
    gap: 0.35rem;
  }

  .ticker-logo-icon {
    width: 16px;
    height: 12px;
  }

  .ticker-group {
    gap: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.25rem 0 2.75rem 0;
  }

  .trust-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.18;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
  }

  /* 3-in-1 Switcher Tabs */
  .quote-card-container {
    margin: 0 auto 2.5rem auto;
  }

  .product-switcher {
    padding: 4px;
    gap: 4px;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
  }

  .switcher-tab {
    padding: 0.65rem 0.4rem;
    font-size: 0.8125rem;
    gap: 0.35rem;
    border-radius: var(--radius-md);
  }

  .switcher-tab svg {
    width: 16px;
    height: 16px;
  }

  /* Dynamic Quote Card */
  .quote-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  /* Choice Pills (Symmetrical 2-Column Touch Grid) */
  .choice-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .choice-pill {
    padding: 0.65rem 0.5rem;
    font-size: 0.8125rem;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    touch-action: manipulation;
  }

  .choice-pill:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  /* Touch-Friendly Range Sliders */
  .slider-group {
    padding: 1.15rem;
    margin-bottom: 1.5rem;
  }

  .slider-label-title {
    font-size: 0.875rem;
  }

  .slider-val-badge {
    font-size: 1rem;
    padding: 0.2rem 0.65rem;
  }

  .custom-range {
    height: 10px;
    touch-action: pan-y;
  }

  .custom-range::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .custom-range::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }

  /* Price Showcase */
  .price-showcase {
    margin-bottom: 1.5rem;
  }

  .price-figure {
    font-size: 2.6rem;
  }

  .price-sub {
    font-size: 0.8125rem;
  }

  /* Highlights */
  .highlights-list {
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .highlight-item {
    font-size: 0.8125rem;
  }

  /* Product Details Section */
  .products-detail-section {
    padding: 3.5rem 0;
  }

  .section-intro {
    margin-bottom: 2.5rem;
  }

  .section-intro h2 {
    font-size: 2rem;
  }

  .section-intro p {
    font-size: 0.9375rem;
  }

  .product-details-grid {
    gap: 2rem;
  }

  .product-detail-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .product-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .product-header-left {
    gap: 0.85rem;
  }

  .product-icon-avatar {
    width: 46px;
    height: 46px;
  }

  .product-title-group h3 {
    font-size: 1.35rem;
  }

  .product-price-tag {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
  }

  .coverage-list {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .coverage-item {
    font-size: 0.875rem;
  }

  .features-box {
    padding: 1.15rem;
  }

  .product-card-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .product-card-footer .btn {
    width: 100%;
  }

  /* Trust Pillars */
  .pillars-section {
    padding: 3.5rem 0;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pillar-card {
    padding: 1.5rem;
  }

  /* FAQ Accordion */
  .faq-section {
    padding: 3.5rem 0;
  }

  .faq-header h2 {
    font-size: 2rem;
  }

  .faq-btn {
    padding: 1.15rem 1rem;
    font-size: 0.9375rem;
  }

  .faq-body {
    padding: 0 1rem 1.15rem 1rem;
    font-size: 0.875rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 2.5rem 0 1.75rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }

  .footer-credits-bottom {
    margin-top: 1.25rem;
    padding-top: 1rem;
    font-size: 0.75rem;
    text-align: center;
  }

  /* 1-Step Quote Modal - Touch Optimized Bottom Sheet */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-card {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.75rem 1.25rem 2.25rem 1.25rem;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.2);
    animation: slideModalUp 0.25s ease-out;
  }

  @keyframes slideModalUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  /* 16px font on inputs prevents iOS Safari auto-zooming on focus */
  .form-input {
    font-size: 16px !important;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
  }

  /* Toast Notification */
  .toast-wrap {
    left: 1rem;
    right: 1rem;
    bottom: 80px;
  }

  .toast-msg {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.8125rem;
    padding: 0.75rem 1rem;
  }

  /* Sticky Mobile Bottom Action Bar */
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    z-index: 90;
    padding: 0.5rem 1rem;
    gap: 0.75rem;
    align-items: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }

  .mobile-call-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #f1f5f9;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    height: 46px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    touch-action: manipulation;
  }

  .mobile-call-btn:active {
    background: #e2e8f0;
  }

  .mobile-cta-btn {
    flex: 1.35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    height: 46px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
    touch-action: manipulation;
  }

  .mobile-cta-btn:active {
    filter: brightness(0.92);
  }
}

/* Extra Compact Phones (iPhone SE, Galaxy S, screens <= 440px) */
@media (max-width: 440px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .switcher-tab {
    font-size: 0.75rem;
    padding: 0.6rem 0.25rem;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .choice-pill {
    font-size: 0.75rem;
    padding: 0.55rem 0.35rem;
  }

  .price-figure {
    font-size: 2.3rem;
  }

  .product-title-group h3 {
    font-size: 1.2rem;
  }

  .section-intro h2 {
    font-size: 1.75rem;
  }
}

/* Narrowest Phones (<= 360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .choice-pill:last-child:nth-child(odd) {
    grid-column: span 1;
  }

  .price-figure {
    font-size: 2.05rem;
  }
}
