/* 
 * WTP Analysis Project Website Styles
 * Professional, clean, and responsive design
 */

/* ===== CSS Variables ===== */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --accent-color: #10b981;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #e2e8f0;
  --border-color: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  min-height: 100vh;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.25rem;
  margin-top: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== Layout ===== */
.header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 2rem 0;
  box-shadow: var(--shadow-md);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  color: white;
}

.header p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

/* ===== Navigation ===== */
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  row-gap: 0.5rem;
  margin-top: 1rem;
}

.nav-link {
  height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-link.active {
  background: white;
  color: var(--primary-color);
}


/* ===== Navigation Responsive Breakpoints ===== */

/* Large screens (> 1200px) - Full nav with optimal spacing */
@media (min-width: 1201px) {
  .nav {
    gap: 0.75rem;
    row-gap: 0.5rem;
  }

  .nav-link,
  .menu-item-has-children>a {
    font-size: 0.9rem;
  }
}

/* Medium screens (769px - 1200px) - Slightly reduced spacing */
@media (min-width: 769px) and (max-width: 1200px) {
  .header-content {
    padding: 0 1.5rem;
  }

  .nav {
    gap: 0.5rem;
    row-gap: 0.5rem;
  }

  .nav-link,
  .menu-item-has-children>a {
    font-size: 0.875rem;
    padding: 0 0.875rem;
  }
}

/* Tablet (481px - 768px) - Reduced padding and smaller fonts */
@media (min-width: 481px) and (max-width: 768px) {
  .header-content {
    padding: 0 1.25rem;
  }

  .nav {
    gap: 0.4rem;
    row-gap: 0.4rem;
    padding-bottom: 0.5rem;
  }

  .nav-link,
  .menu-item-has-children>a {
    height: 40px;
    font-size: 0.8125rem;
    padding: 0 0.75rem;
  }
}

/* Mobile (< 480px) - Minimal padding, compact design */
@media (max-width: 480px) {
  .header-content {
    padding: 0 1rem;
  }

  .nav {
    gap: 0.375rem;
    row-gap: 0.375rem;
    padding-bottom: 0.5rem;
  }

  .nav-link,
  .menu-item-has-children>a {
    height: 38px;
    font-size: 0.8rem;
    padding: 0 0.625rem;
  }
}

/* Mobile dropdown styles (all mobile/tablet sizes) */
@media (max-width: 768px) {
  .sub-menu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
  }

  .sub-menu a {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: white;
  }

  .sub-menu li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
  }

  .sub-menu a.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
  }
}

/* ===== Main Content ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.content {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

/* ===== Cards & Boxes ===== */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

.highlight-box {
  background: var(--bg-secondary);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
}

.info-box {
  background: #eff6ff;
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: var(--radius-sm);
}

.warning-box {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: var(--radius-sm);
}

.success-box {
  background: #d1fae5;
  border-left: 4px solid var(--accent-color);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: var(--radius-sm);
}

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

thead {
  background: var(--primary-color);
  color: white;
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

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

tbody tr:hover {
  background: var(--bg-secondary);
}

/* ===== Lists ===== */
ul,
ol {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin-left: 0;
}

.feature-list li {
  padding-left: 1.75rem;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background: #475569;
  text-decoration: none;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

/* ===== Images & Visualizations ===== */
.visualization {
  margin: 2rem 0;
  text-align: center;
}

.visualization img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.2s;
}

.visualization img:hover {
  transform: scale(1.02);
}

.visualization-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ===== Code Blocks ===== */
pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
}

code {
  background: var(--bg-secondary);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--primary-color);
}

pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* ===== Badges & Labels ===== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-primary {
  background: var(--primary-color);
  color: white;
}

.badge-success {
  background: var(--accent-color);
  color: white;
}

.badge-warning {
  background: #f59e0b;
  color: white;
}

.badge-info {
  background: #06b6d4;
  color: white;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.breadcrumbs a {
  color: var(--primary-color);
}

.breadcrumbs span {
  color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer a {
  color: white;
  text-decoration: underline;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-color);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== Table of Contents ===== */
.toc {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.toc h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.toc ul {
  list-style: none;
  margin-left: 0;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: var(--text-primary);
  display: block;
  padding: 0.25rem 0;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .header-content,
  .footer-content {
    padding: 0 1rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  .content {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 0.85rem;
  }

  th,
  td {
    padding: 0.5rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ===== Print Styles ===== */
@media print {

  .header,
  .nav,
  .back-to-top,
  .footer {
    display: none;
  }

  .content {
    box-shadow: none;
    padding: 0;
  }

  body {
    background: white;
  }

  a {
    text-decoration: underline;
    color: black;
  }
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Dataset Differentiation Styles
   ======================================== */

/* Analysis Type Badges */
.analysis-type-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.analysis-type-badge .analysis-description {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  margin-top: 0.25rem;
  opacity: 0.9;
}

.badge-persona {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
}

.badge-segment {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

/* Dataset Toggle */
.dataset-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 0.5rem;
}

.toggle-label {
  font-weight: 600;
  color: var(--text-primary);
}

.toggle-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.toggle-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
  font-weight: 500;
}

.toggle-btn.active-persona {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.toggle-btn.active-segment {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dataset Comparison Table */
.comparison-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  background: var(--bg-secondary);
  border-radius: 0.5rem;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-tertiary);
  font-weight: 600;
}

.comparison-table .persona-col {
  background: rgba(37, 99, 235, 0.05);
}

.comparison-table .segment-col {
  background: rgba(16, 185, 129, 0.05);
}

/* Info Banner */
.info-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-left: 4px solid #2563eb;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

.info-banner h3 {
  margin-top: 0;
  color: var(--text-primary);
}

.info-banner ul {
  margin: 1rem 0;
}

.info-banner strong {
  color: var(--text-primary);
}

/* ========================================
   Strategic Segments Styles
   ======================================== */

/* Strategic Analysis Badge */
.badge-strategic {
  background: linear-gradient(135deg, #f97316 0%, #9333ea 100%);
  color: white;
}

.analysis-type-badge.badge-strategic {
  background: linear-gradient(135deg, #f97316 0%, #9333ea 100%);
  color: white;
}

/* Active Strategic Toggle Button */
.toggle-btn.active-strategic {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

/* Segment-Specific Badge Colors */
.badge-segment-a {
  background: #3b82f6;
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
}

.badge-segment-b {
  background: #ef4444;
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
}

.badge-segment-c {
  background: #8b5cf6;
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
}

.badge-segment-d {
  background: #10b981;
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
}

.badge-segment-e {
  background: #06b6d4;
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
}

/* Segment Section Layout */
.segment-section {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}

.segment-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.segment-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.segment-nickname {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-style: italic;
}

.segment-badge {
  flex-shrink: 0;
}

.segment-content {
  display: grid;
  gap: 1.5rem;
}

.segment-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.wtp-range {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
}

.internal-code {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  background: var(--bg-tertiary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Content Sections */
.core-identity {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

.core-identity h4 {
  margin-top: 0;
  color: var(--text-primary);
}

.jobs-to-be-done h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.jobs-to-be-done blockquote {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 1rem 1.5rem;
  margin: 0.75rem 0;
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.value-drivers h4,
.pain-points h4,
.marketing-triggers h4,
.dreamhost-fit h4 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.pain-list {
  list-style: none;
  margin-left: 0;
}

.pain-list li {
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
}

.pain-list li::before {
  content: "⚠️";
  margin-right: 0.5rem;
}

.trigger-box {
  background: #d1fae5;
  border-left: 4px solid var(--accent-color);
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.trigger-box::before {
  content: "💡 ";
  margin-right: 0.5rem;
}

.product-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.product-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.product-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Persona Mapping Table */
.persona-mapping-table {
  width: 100%;
  margin: 2rem 0;
}

.persona-mapping-table th {
  background: linear-gradient(135deg, #f97316 0%, #9333ea 100%);
  color: white;
}

.persona-mapping-table td {
  vertical-align: top;
}

/* Segment-Specific Value List Colors */
.segment-a-values li::before {
  color: #3b82f6;
}

.segment-b-values li::before {
  color: #ef4444;
}

.segment-c-values li::before {
  color: #8b5cf6;
}

.segment-d-values li::before {
  color: #10b981;
}

.segment-e-values li::before {
  color: #06b6d4;
}

/* Segment-specific card styling with subtle color accents */
.segment-card.segment-a-card {
  background: linear-gradient(to right, rgba(59, 130, 246, 0.03) 0%, rgba(255, 255, 255, 1) 5%);
  border-left: 4px solid rgba(59, 130, 246, 0.3);
}

.segment-card.segment-b-card {
  background: linear-gradient(to right, rgba(239, 68, 68, 0.03) 0%, rgba(255, 255, 255, 1) 5%);
  border-left: 4px solid rgba(239, 68, 68, 0.3);
}

.segment-card.segment-c-card {
  background: linear-gradient(to right, rgba(139, 92, 246, 0.03) 0%, rgba(255, 255, 255, 1) 5%);
  border-left: 4px solid rgba(139, 92, 246, 0.3);
}

.segment-card.segment-d-card {
  background: linear-gradient(to right, rgba(16, 185, 129, 0.03) 0%, rgba(255, 255, 255, 1) 5%);
  border-left: 4px solid rgba(16, 185, 129, 0.3);
}

.segment-card.segment-e-card {
  background: linear-gradient(to right, rgba(6, 182, 212, 0.03) 0%, rgba(255, 255, 255, 1) 5%);
  border-left: 4px solid rgba(6, 182, 212, 0.3);
}

/* Segment Profile Grid Layout */
.segment-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.segment-full-width {
  grid-column: 1 / -1;
}

.segment-column-left,
.segment-column-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Responsive Adjustments for Segments */
@media (max-width: 768px) {
  .segment-section {
    padding: 1.5rem;
  }

  .segment-title {
    font-size: 1.25rem;
  }

  .segment-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .product-pills {
    gap: 0.5rem;
  }

  .product-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .segment-profile-grid {
    grid-template-columns: 1fr;
  }
}