/* ==========================================================================
   Pantone to CMYK & CMYK to Pantone Converter - Enhanced Page Styles
   Compatible with Bootstrap 3 layout
   ========================================================================== */

/* Typography & Root Variables */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-color: #f43f5e;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --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.08), 0 2px 4px -2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: #f8fafc;
}

/* Header & Intro */
.top-headline {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 25px auto;
  padding: 10px 15px;
}

.top-headline h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.top-headline p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto;
}

.top-headline a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

/* Main Converter Wrapper */
.converter {
  margin: 0 auto 30px auto;
  max-width: 1140px;
}

.converter-shell {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  padding: 0;
  margin-bottom: 30px;
}

/* Mode Switcher Tabs */
.mode-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.mode-tab-btn {
  flex: 1 1 auto;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.mode-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.6);
}

.mode-tab-btn.active {
  background: #ffffff;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.mode-tab-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Converter Panel Body */
.converter-panel {
  padding: 24px;
  background: #ffffff;
}

/* Search Bar & Filters */
.search-control-wrap {
  max-width: 820px;
  margin: 0 auto 20px auto;
  position: relative;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100% !important;
  padding: 14px 44px 14px 46px !important;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #f8fafc;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 50%;
  display: none;
}

.search-clear-btn:hover {
  color: var(--text-main);
}

/* Filter Chips */
.filter-chips-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 14px;
}

.chip-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

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

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

/* Results Status Bar */
.results-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

.status-count strong {
  color: var(--text-main);
}

.quick-tip {
  font-size: 12px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Color Cards Grid */
.colorCardsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 16px;
}

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

.colorCard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.colorPreview {
  width: 100%;
  height: 90px;
  position: relative;
  transition: opacity 0.2s;
}

.colorCard .info {
  padding: 10px 12px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pantone-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pantone-name-badge {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.rgb-breakdown {
  font-size: 11px;
  color: #1e293b;
  margin: 0 0 4px 0;
  line-height: 1.4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rgb-channel {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.rgb-channel span { font-weight: 700; }
.rgb-channel.r span { color: #dc2626; }
.rgb-channel.g span { color: #16a34a; }
.rgb-channel.b span { color: #2563eb; }

.rgb-hex-badge {
  font-size: 11px;
  color: #0f172a;
  font-weight: 700;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  display: inline-block;
  margin-bottom: 6px;
  border: 1px solid #e2e8f0;
}

.cmyk-subbreakdown {
  font-size: 10px;
  color: #64748b;
  margin: 0 0 8px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.cmyk-breakdown {
  font-size: 11px;
  color: #475569;
  margin: 0 0 10px 0;
  line-height: 1.4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.cmyk-channel {
  display: inline-block;
  margin-right: 4px;
}

.cmyk-channel span {
  font-weight: 700;
}

.cmyk-channel.c span { color: #0284c7; }
.cmyk-channel.m span { color: #db2777; }
.cmyk-channel.y span { color: #ca8a04; }
.cmyk-channel.k span { color: #1e293b; }

.card-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.copy-btn {
  flex: 1;
  padding: 5px 6px;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text-main);
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 38px;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.copy-btn.copied {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* RGB & CMYK Mode Sections */
.rgb-mode-container,
.cmyk-mode-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rgb-sliders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .rgb-sliders-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.cmyk-sliders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.rgb-channel-ctrl,
.cmyk-channel-ctrl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.channel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
.dot-green { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.4); }
.dot-blue { background: #3b82f6; box-shadow: 0 0 6px rgba(59, 130, 246, 0.4); }
.dot-cyan { background: #00a3e0; }
.dot-magenta { background: #e4007f; }
.dot-yellow { background: #ffd100; }
.dot-black { background: #1a1a1a; }

.channel-slider.slider-red { accent-color: #ef4444; }
.channel-slider.slider-green { accent-color: #10b981; }
.channel-slider.slider-blue { accent-color: #3b82f6; }

.channel-num-input {
  width: 62px;
  padding: 5px 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.channel-slider {
  width: 100%;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.rgb-actions-row,
.cmyk-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.reset-rgb-btn,
.reset-cmyk-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.reset-rgb-btn:hover,
.reset-cmyk-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.quick-presets-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}

.preset-chip {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-chip:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.reset-cmyk-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  color: #ef4444;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.reset-cmyk-btn:hover {
  background: #fef2f2;
}

/* Best Match Showcase Box */
.best-match-card {
  background: #ffffff;
  border: 2px solid #2563eb;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
  margin-top: 10px;
}

.match-swatches {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.match-swatch-box {
  text-align: center;
}

.match-swatch-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15), var(--shadow-md);
  margin: 0 auto 6px auto;
}

.match-swatch-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.match-arrow-icon {
  font-size: 20px;
  color: var(--text-muted);
}

.best-match-details {
  flex: 1;
}

.match-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 6px;
}

.best-match-name {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.best-match-values {
  font-size: 13px;
  color: #475569;
  margin-bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.best-match-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  padding: 8px 18px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
}

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

.btn-outline-custom {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-outline-custom:hover {
  background: #f1f5f9;
}

/* Empty State */
.empty-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.empty-results h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.empty-results p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 16px auto;
}

/* Load More Button */
.loadMoreBtn {
  grid-column: 1 / -1;
  cursor: pointer;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  width: 100%;
  display: block;
  padding: 14px 20px;
  margin: 20px 0 10px 0;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

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

/* Floating Go-To-Top Button */
.go-to-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

.go-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-to-top-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.go-to-top-btn svg {
  width: 20px;
  height: 20px;
}

/* Copy Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.toast-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Content Sections, Cards, Tables, and FAQ Accordion
   ========================================================================== */

/* Structured How-to Step Cards */
.how-to-section {
  padding: 40px 0 20px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px auto;
  line-height: 1.6;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: calc(100% - 24px);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.step-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-number-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Feature Content Blocks */
.content-card-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.content-card-box h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.content-card-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 16px;
}

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

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14px;
}

.table-custom th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border-color);
  text-align: left;
}

.table-custom td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: #334155;
  vertical-align: middle;
}

.table-custom tr:last-child td {
  border-bottom: none;
}

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

.table-color-pill {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.1);
  vertical-align: middle;
  margin-right: 8px;
}

/* Callout Alert Boxes */
.callout-box {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
}

.callout-box.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.callout-box.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.callout-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* FAQ Accordion */
.faq-section {
  padding: 40px 0 30px 0;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.active {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  transition: color 0.15s ease;
}

.faq-header:hover {
  color: var(--primary-color);
}

.faq-header .chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-header .chevron {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-body {
  padding: 0 22px 20px 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
  display: none;
}

.faq-item.active .faq-body {
  display: block;
}

/* Download PDF Banner */
.download-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px 0;
  box-shadow: var(--shadow-lg);
}

.download-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.download-text p {
  color: #94a3b8;
  font-size: 14px;
  margin: 0;
  max-width: 600px;
}

.download-btn {
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.download-btn:hover {
  background: #f1f5f9;
  color: var(--primary-color);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Social media sharing bar */
.social-media-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  color: #ffffff !important;
}

.social-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-facebook { background: #1877f2; }
.btn-twitter { background: #0f172a; }
.btn-pinterest { background: #e60023; }

/* Responsive adjustments */
@media (max-width: 991px) {
  .cmyk-sliders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .best-match-card {
    flex-direction: column;
    text-align: center;
  }
  .best-match-actions {
    justify-content: center;
  }
  .download-card {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .top-headline h1 {
    font-size: 24px;
  }
  .cmyk-sliders-grid {
    grid-template-columns: 1fr;
  }
  .colorCardsContainer {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .mode-tab-btn {
    min-width: 100%;
  }
  .converter-panel {
    padding: 16px 12px;
  }
}