/* ==========================================================================
   Car-Direct.kr - Premium Design System & Stylesheet
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  
  /* Color Palette */
  --primary: #0F172A;
  --primary-light: #1E293B;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-light: #EFF6FF;
  --secondary: #06B6D4;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;

  --bg-main: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-alt: #F8FAFC;

  --border-color: #E2E8F0;
  --border-focus: #3B82F6;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 30px -10px rgba(37, 99, 235, 0.15);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
  font-weight: 800;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  width: 100%;
  padding: 12px;
  text-align: left;
}

/* ==========================================================================
   Hero Banner Section (Background Image Preserved)
   ========================================================================== */
.hero-banner-wrap {
  width: 100%;
  background-color: #0F172A;
  text-align: center;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  max-width: 1600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Section Below Hero Banner */
.below-hero-section {
  padding: 40px 0 50px;
  text-align: center;
  background-color: #FFFFFF;
}

.red-ad-notice {
  font-size: 15.5px;
  font-weight: 700;
  color: #EF4444;
  margin-bottom: 28px;
}

.counsel-attached-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.arrow-icon-img {
  width: 36px;
  height: auto;
  margin-bottom: 16px;
}

.attached-desc-1 {
  font-size: 24px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 4px;
}

.attached-desc-2 {
  font-size: 22px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 4px;
}

.attached-desc-3 {
  font-size: 22px;
  font-weight: 800;
  color: #2563EB;
  margin-bottom: 28px;
}

.click-banner-wrap {
  display: inline-block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.click-banner-wrap:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4);
}

.click-banner-img {
  display: block;
  max-width: 520px;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners-section {
  padding: 40px 0;
  background: #F8FAFC;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
}

.partner-logo-item {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.partner-logo-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.partner-logo-item img {
  max-height: 30px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   Notice Banner
   ========================================================================== */
.notice-box {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 1px solid #F59E0B;
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin: 32px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.notice-icon {
  width: 40px;
  height: 40px;
  background: #F59E0B;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notice-content h4 {
  font-size: 17px;
  font-weight: 800;
  color: #78350F;
  margin-bottom: 6px;
}

.notice-content p {
  font-size: 14.5px;
  color: #92400E;
  line-height: 1.6;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

/* ==========================================================================
   10 Discount Special Terms Section
   ========================================================================== */
.discount-section {
  padding: 60px 0 80px;
}

.discount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.discount-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.discount-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.discount-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

.discount-card:hover::before {
  opacity: 1;
}

.discount-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.discount-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.discount-rate {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.discount-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.discount-card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.discount-card-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-size: 12px;
  color: var(--text-light);
}

/* ==========================================================================
   5 Hidden Special Terms Section
   ========================================================================== */
.hidden-terms-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.hidden-terms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .hidden-terms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hidden-terms-grid {
    grid-template-columns: 1fr;
  }
}

.hidden-term-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.hidden-term-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.hidden-term-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.hidden-term-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.hidden-term-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
}

/* ==========================================================================
   Penalty Fines Table Section
   ========================================================================== */
.penalty-section {
  padding: 60px 0 80px;
  background: #fff;
}

.table-responsive-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.penalty-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #fff;
  font-size: 14.5px;
}

.penalty-table th {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid var(--primary-light);
}

.penalty-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.penalty-table tr:nth-child(even) {
  background-color: #F8FAFC;
}

.penalty-table tr:hover {
  background-color: var(--accent-light);
}

.badge-coverage {
  font-weight: 800;
  color: var(--accent);
}

.badge-limit {
  display: inline-block;
  background: #FEE2E2;
  color: #DC2626;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 60px 0 80px;
  background: #F8FAFC;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover {
  border-color: var(--accent);
}

.faq-question {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
}

.faq-question .q-icon {
  color: var(--accent);
  margin-right: 12px;
  font-size: 20px;
}

.faq-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px 56px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
}

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

/* ==========================================================================
   Subpages Layout
   ========================================================================== */
.content-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.content-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent-light);
}

.content-block-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.content-text-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.coverage-grid-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.coverage-detail-card {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-color);
  position: relative;
}

.coverage-badge-req {
  background: #EF4444;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  display: inline-block;
}

.coverage-badge-opt {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  display: inline-block;
}

/* ==========================================================================
   Compliance Notice & Footer
   ========================================================================== */
.compliance-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 40px;
  font-size: 13.5px;
  line-height: 1.7;
}

.compliance-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 40px;
}

.compliance-box p {
  margin-bottom: 10px;
}

.compliance-box p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info h5 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.company-info p {
  font-size: 13px;
  color: #64748B;
}

.copyright-text {
  font-size: 13px;
  color: #64748B;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .attached-desc-1 {
    font-size: 20px;
  }

  .attached-desc-2, .attached-desc-3 {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .click-banner-img {
    max-width: 100%;
  }
}

/* ==========================================================================
   Modernized Counsel & Coverage Pages Design System
   ========================================================================== */

/* Modern Hero Header Banner */
.page-hero-banner {
  background: linear-gradient(135deg, #0f2c59 0%, #1e429f 100%);
  color: #ffffff;
  padding: 56px 20px 48px;
  text-align: center;
}

.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.page-hero-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #ffffff;
}

.page-hero-desc {
  font-size: 16px;
  color: #bfdbfe;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Main Section Wrapper */
.section-wrapper {
  padding: 50px 0 70px;
  background-color: #f8fafc;
}

/* Consultation Form Card */
.counsel-main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.counsel-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.form-header-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.form-header-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

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

.form-label-title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.form-input-styled, .form-select-styled {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input-styled:focus, .form-select-styled:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Option Chips */
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-select-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.chip-select-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chip-select-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

/* Privacy Agree Checkbox */
.privacy-agree-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 24px 0 20px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  margin-top: 8px;
}

/* Counsel Submit Button */
.btn-counsel-submit {
  width: 100%;
  background: linear-gradient(135deg, #1a56db 0%, #1e429f 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-counsel-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.45);
}

/* Right Side Benefits & Process */
.counsel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-num {
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
}

.step-text p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* Benefits Grid */
.benefits-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 36px 0;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}

.benefit-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.benefit-card h4 {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =======================================
   Coverage Page Visual Components
   ======================================= */
.vs-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.vs-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.vs-box.mandatory {
  border-top: 4px solid #ea580c;
}

.vs-box.comprehensive {
  border-top: 4px solid #2563eb;
  background: linear-gradient(to bottom, #ffffff, #f0f7ff);
}

.vs-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.vs-badge.red {
  background: #fee2e2;
  color: #dc2626;
}

.vs-badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.vs-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.vs-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.vs-list {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.8;
}

.vs-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.vs-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #2563eb;
  font-weight: bold;
}

/* Coverage Detail Cards Modern */
.coverage-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.coverage-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.coverage-card-modern:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-top-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-title-lg {
  font-size: 20px;
  font-weight: 800;
  color: #0f2c59;
  margin-bottom: 10px;
}

.card-desc-body {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  flex-grow: 1;
}

.card-recommend-badge {
  background: #eff6ff;
  border: 1px dashed #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 16px;
  font-size: 13px;
  color: #1e40af;
  line-height: 1.6;
}

.card-recommend-badge strong {
  color: #1d4ed8;
}

/* Modern Comparison Matrix Table */
.modern-table-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.modern-table-header {
  padding: 20px 24px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
}

.modern-table-header h4 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.matrix-table th {
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  line-height: 1.6;
}

.matrix-table tr:hover td {
  background: #f8fafc;
}

.badge-winner {
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* Success Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modal-pop 0.25s ease-out;
}

@keyframes modal-pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-icon-circle {
  width: 60px;
  height: 60px;
  background: #ecfdf5;
  color: #10b981;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.modal-title-text {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.modal-desc-text {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-modal-action {
  display: inline-block;
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
}

@media (max-width: 992px) {
  .counsel-main-grid {
    grid-template-columns: 1fr;
  }
  .vs-summary-grid {
    grid-template-columns: 1fr;
  }
}

