/*
 * Design Tokens - fun-www
 * 
 * Core design system variables for the entrepreneur marketplace platform.
 * These tokens define the visual foundation used across all pages.
 * 
 * BRAND PHILOSOPHY:
 * Our platform green (#4A9F6A) signals growth, trust, and financial prosperity.
 * Unlike aggressive red or cold blue, green feels welcoming yet professional.
 * It's money-adjacent without being transactional - perfect for an entrepreneur marketplace.
 * 
 * USAGE:
 * - Background colors: var(--bg-primary), var(--bg-secondary), var(--bg-tertiary)
 * - Text colors: var(--text-primary), var(--text-secondary), var(--text-muted)
 * - Borders: var(--border), var(--border-light)
 * - Semantic: var(--success), var(--error), var(--warning), var(--info)
 * - Brand: var(--brand-primary), var(--brand-light), var(--brand-dark)
 * - Trust: var(--trust-gold)
 * 
 * For profile theming, see theme.css which defines accent colors.
 * 
 * ENTREPRENEUR THEME ARCHETYPES:
 * Each theme represents a professional identity with an emotional territory:
 * 
 * | Theme    | Color   | Emotional Territory      | Best For                         |
 * |----------|---------|--------------------------|----------------------------------|
 * | forest   | #5a9f5a | Organic, grounded        | Coaches, wellness, sustainability|
 * | ocean    | #3b82f6 | Strategic, trustworthy   | Consultants, B2B, analysts       |
 * | ember    | #f97316 | Bold, energetic          | Startups, marketers, growth      |
 * | lavender | #8b5cf6 | Creative, refined        | Designers, writers, artists      |
 * | slate    | #64748b | Technical, precise       | Developers, engineers, data pros |
 */

:root {
  --bg-primary: #1a1a1a;
  --bg-secondary: #242424;
  --bg-tertiary: #2a2a2a;
  --text-primary: #e0e0e0;
  --text-secondary: #888;
  --text-muted: #666;
  --border: #333;
  --border-light: #444;
  --success: #5a9f5a;
  --error: #ff4444;
  --warning: #f97316;
  --info: #3b82f6;
  --brand-primary: #4A9F6A;
  --brand-light: #6BC48B;
  --brand-dark: #357A52;
  --trust-gold: #fbbf24;
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-sm: rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
  
  --rising-star-badge: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  --availability-online: #22c55e;
  --availability-busy: #f97316;
  --availability-away: #6b7280;
  
  --tier-glow-intensity: 0.15;
  --tier-shimmer-strength: 0.08;
  --tier-border-style: solid;
  --tier-badge-opacity: 1;
  
  --profile-bg: var(--bg-primary);
  --profile-card-bg: var(--bg-secondary);
  --profile-card-border: var(--border);
  --profile-card-border-accent: var(--accent);
  --profile-hero-gradient: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 60%);
  --profile-name-size: 36px;
  --profile-name-size-mobile: 28px;
  --profile-tagline-size: 18px;
  --profile-bio-max-width: 480px;
  --profile-section-gap: 32px;
  --profile-card-padding: 20px;
  --profile-card-radius: 8px;
  --chain-trust-bar-bg: var(--bg-secondary);
  --chain-trust-bar-border: var(--border);
  --chain-connection-glow: 0 0 12px color-mix(in srgb, var(--accent) 20%, transparent);
  --service-card-accent-width: 3px;
  --testimonial-verified-glow: 0 0 8px color-mix(in srgb, var(--trust-gold) 25%, transparent);
}

:root.light-mode {
  --bg-primary: #fafafa;
  --bg-secondary: #fff;
  --bg-tertiary: #f5f5f5;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --text-muted: #999;
  --border: #ddd;
  --border-light: #eee;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-sm: rgba(0, 0, 0, 0.05);
  --brand-primary: #357A52;
  --brand-light: #4A9F6A;
  --brand-dark: #2d6b45;
  --profile-bg: #fafafa;
  --profile-card-bg: #fff;
  --profile-card-border: #eee;
  --profile-hero-gradient: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 60%);
  --chain-trust-bar-bg: #fff;
  --chain-trust-bar-border: #e5e5e5;
}

.quick-stats-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.quick-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.quick-stat-icon {
  font-size: 18px;
}

.quick-stat-value {
  font-weight: 600;
  color: var(--accent);
}

.quick-stat-label {
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .quick-stats-bar {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

.milestones-section {
  margin-bottom: 24px;
}

.milestones-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.milestones-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.milestones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.milestone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  transition: transform 0.2s, box-shadow 0.2s;
}

.milestone-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 20%, transparent);
}

.milestone-icon {
  font-size: 14px;
}

:root.light-mode .milestone-badge {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-color: color-mix(in srgb, var(--accent) 15%, transparent);
}

:root {
  --credential-bg: color-mix(in srgb, var(--accent) 10%, transparent);
  --credential-border: color-mix(in srgb, var(--accent) 25%, transparent);
  --credential-text: var(--accent);
  --service-accent-width: 4px;
  --service-padding: 20px;
  --service-gap: 16px;
  --profile-avatar-size: 80px;
  --profile-avatar-mobile: 64px;
  
  --avatar-glow-ring-width: 3px;
  --avatar-glow-shadow: 0 0 12px color-mix(in srgb, var(--accent) 40%, transparent);
  --avatar-glow-shadow-hover: 0 0 20px color-mix(in srgb, var(--accent) 55%, transparent);
  
  --hero-padding: 24px;
  --hero-radius: 16px;
  --hero-radius-mobile: 12px;
  --credibility-glow: 0 0 20px color-mix(in srgb, var(--accent) 15%, transparent);
  
  --signature-strip-height: 120px;
  --signature-strip-height-mobile: 100px;
  --name-underline-width: 60px;
  --name-underline-height: 3px;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--credential-bg);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  color: var(--credential-text);
  border: 1px solid var(--credential-border);
  margin-top: 8px;
  cursor: default;
  transition: background 0.2s, border-color 0.2s;
}

.credential-badge:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.credential-icon {
  font-weight: 600;
  font-size: 13px;
}

.credential-count {
  font-weight: 600;
}

.credential-label {
  color: var(--text-secondary);
}

.credential-articles {
  margin-top: 8px;
  padding-left: 16px;
}

.credential-article-link {
  display: block;
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  padding: 2px 0;
  transition: color 0.2s;
}

.credential-article-link:hover {
  text-decoration: underline;
  color: var(--text-primary);
}

.article-backs-service {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 3px 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
}

.article-backs-service-icon {
  font-size: 10px;
}

.expertise-backing {
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  transition: all 0.2s ease;
}

.expertise-backing:hover {
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 12%, transparent);
}

.expertise-backing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.expertise-backing-header:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.expertise-backing-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.expertise-backing-icon {
  font-size: 14px;
}

.expertise-backing-toggle {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.expertise-backing.expanded .expertise-backing-toggle {
  transform: rotate(180deg);
}

.expertise-backing-content {
  display: none;
  padding: 0 14px 12px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 10%, transparent);
}

.expertise-backing.expanded .expertise-backing-content {
  display: block;
}

.expertise-article {
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 8%, transparent);
}

.expertise-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.expertise-article-link {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  transition: color 0.15s ease;
}

.expertise-article-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.expertise-article-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.expertise-article-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.expertise-article-stat-icon {
  font-size: 10px;
}

.expertise-article-stat-value {
  color: var(--text-secondary);
  font-weight: 500;
}

.expertise-article.dimmed .expertise-article-link {
  opacity: 0.7;
}

.expertise-article.dimmed .expertise-article-stats {
  opacity: 0.6;
}

@media (max-width: 480px) {
  .expertise-backing-header {
    padding: 12px;
  }
  
  .expertise-backing-content {
    padding: 0 12px 10px;
  }
  
  .expertise-article-link {
    font-size: 14px;
  }
  
  .expertise-article-stats {
    flex-wrap: wrap;
    gap: 8px;
  }
}

:root.light-mode .expertise-backing {
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}

:root.light-mode .expertise-backing-header:hover {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

:root {
  --testimonial-verified-bg: color-mix(in srgb, var(--trust-gold) 12%, transparent);
  --testimonial-verified-border: color-mix(in srgb, var(--trust-gold) 25%, transparent);
  --testimonial-chain-bg: color-mix(in srgb, var(--accent) 12%, transparent);
  --testimonial-chain-border: color-mix(in srgb, var(--accent) 25%, transparent);
  --testimonial-unverified-opacity: 0.65;
  
  --trust-tier-1: var(--trust-gold);
  --trust-tier-2: var(--accent);
  --trust-tier-3: var(--text-muted);
}

.testimonial-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.testimonial-card.verified {
  border-left-color: var(--trust-gold);
}

.testimonial-card.has-chain-connection {
  border-left-width: 4px;
}

.testimonial-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.testimonial-badge-verified {
  background: var(--testimonial-verified-bg);
  color: var(--trust-gold);
  border: 1px solid var(--testimonial-verified-border);
}

.testimonial-badge-chain {
  background: var(--testimonial-chain-bg);
  color: var(--accent);
  border: 1px solid var(--testimonial-chain-border);
}

.testimonial-service-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.testimonial-service-link:hover {
  text-decoration: underline;
}

.testimonial-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
}

.testimonial-card.unverified {
  opacity: var(--testimonial-unverified-opacity);
}

.testimonial-card.unverified .testimonial-text {
  font-style: italic;
}

:root.light-mode .testimonial-badge-verified {
  background: color-mix(in srgb, var(--trust-gold) 10%, transparent);
}

:root.light-mode .testimonial-badge-chain {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.early-believers-section {
  margin-bottom: 24px;
}

.early-believers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.early-believers-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.early-believers-icon {
  font-size: 16px;
}

.early-believers-count {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 4px 10px;
  border-radius: 12px;
}

.early-believers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.early-believer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--trust-gold) 20%, transparent);
  border: 2px solid var(--trust-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--trust-gold);
  box-shadow: 0 0 12px color-mix(in srgb, var(--trust-gold) 25%, transparent);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.early-believer-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px color-mix(in srgb, var(--trust-gold) 40%, transparent);
}

.early-believer-empty {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
}

.early-believer-empty-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
}

.early-believers-cta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.early-believers-cta-strong {
  color: var(--trust-gold);
  font-weight: 600;
}

.early-believers-new-provider {
  padding: 16px;
  background: color-mix(in srgb, var(--trust-gold) 8%, transparent);
  border: 1px dashed color-mix(in srgb, var(--trust-gold) 30%, transparent);
  border-radius: 12px;
  text-align: center;
}

.early-believers-new-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.early-believers-new-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--trust-gold);
  margin-bottom: 4px;
}

.early-believers-new-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.early-believers-new-spots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.early-believers-new-spot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.early-believers-new-spot.claimed {
  background: color-mix(in srgb, var(--trust-gold) 20%, transparent);
  border-color: var(--trust-gold);
  border-style: solid;
  color: var(--trust-gold);
}

:root.light-mode .early-believers-new-provider {
  background: color-mix(in srgb, var(--trust-gold) 6%, transparent);
}

:root.light-mode .early-believer-avatar {
  background: color-mix(in srgb, var(--trust-gold) 15%, transparent);
}

.service-locked-overlay {
  position: relative;
  padding: 32px 24px;
  background: var(--bg-secondary);
  border: 2px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  margin-bottom: 20px;
}

.service-locked-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
  animation: lock-pulse 2s ease-in-out infinite;
}

@keyframes lock-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.service-locked-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-locked-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.service-locked-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s, transform 0.2s;
}

.service-locked-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.service-locked-cta-icon {
  font-size: 16px;
}

.article-progress-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.article-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.article-progress-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.article-progress-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.article-progress-bar {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.article-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--trust-gold)));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.article-progress-label {
  font-size: 12px;
  color: var(--text-muted);
}

.article-progress-goal {
  color: var(--accent);
  font-weight: 500;
}

.unlock-requirement-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  border-radius: 8px;
  margin-bottom: 12px;
}

.unlock-requirement-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.unlock-requirement-content {
  flex: 1;
}

.unlock-requirement-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.unlock-requirement-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.btn-locked {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
  position: relative;
}

.btn-locked:hover {
  opacity: 0.6;
  transform: none;
}

.btn-locked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}

.locked-services-section {
  position: relative;
}

.locked-services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    color-mix(in srgb, var(--text-muted) 3%, transparent) 10px,
    color-mix(in srgb, var(--text-muted) 3%, transparent) 20px
  );
  opacity: 0.5;
  pointer-events: none;
  border-radius: inherit;
}

.tier-progress-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.tier-progress-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tier-progress-badge {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.tier-progress-badge.current {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.tier-progress-badge.next {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px dashed var(--border);
}

.tier-progress-arrow {
  color: var(--text-muted);
  font-size: 16px;
}

.tier-progress-requirements {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-requirement-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.tier-requirement-item.met {
  color: var(--success);
}

.tier-requirement-item.unmet {
  color: var(--text-secondary);
}

.tier-requirement-icon {
  font-size: 14px;
}

.tier-requirement-progress {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

.tier-requirement-progress.met {
  color: var(--success);
}

:root.light-mode .service-locked-overlay {
  background: var(--bg-secondary);
  border-color: var(--border);
}

:root.light-mode .unlock-requirement-card {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.tier-badge-prominent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tier-badge-prominent:hover {
  transform: translateY(-1px);
}

.tier-badge-prominent-icon {
  font-size: 24px;
}

.tier-badge-prominent-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.tier-badge-prominent-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tier-badge-prominent-label {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
}

.tier-badge-prominent-seed {
  background: color-mix(in srgb, var(--text-muted) 12%, transparent);
  color: var(--text-secondary);
  border: 1px dashed var(--text-muted);
}

.tier-badge-prominent-sprout {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.tier-badge-prominent-bloom {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent) 12%, transparent));
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 15%, transparent);
}

.tier-badge-prominent-thrive {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--trust-gold) 12%, transparent));
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 25%, transparent);
}

.tier-badge-prominent-thrive .tier-badge-prominent-icon {
  animation: thrive-icon-glow 2s ease-in-out infinite;
}

@keyframes thrive-icon-glow {
  0%, 100% { filter: drop-shadow(0 0 2px var(--accent)); }
  50% { filter: drop-shadow(0 0 8px var(--accent)); }
}

:root.light-mode .tier-badge-prominent-seed {
  background: color-mix(in srgb, var(--text-muted) 8%, transparent);
}

:root.light-mode .tier-badge-prominent-sprout {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

:root.light-mode .tier-badge-prominent-bloom {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), color-mix(in srgb, var(--accent) 8%, transparent));
}

:root.light-mode .tier-badge-prominent-thrive {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 15%, transparent), color-mix(in srgb, var(--trust-gold) 8%, transparent));
}

:root {
  --chain-node-size: 10px;
  --chain-node-size-active: 14px;
  --chain-line-color: var(--accent);
  --chain-line-opacity: 0.4;
  --chain-glow: 0 0 8px color-mix(in srgb, var(--accent) 40%, transparent);
  --chain-glow-intense: 0 0 16px color-mix(in srgb, var(--accent) 60%, transparent);
  --chain-flow-duration: 2s;
  --chain-pulse-duration: 1.5s;
  --chain-hero-bg: color-mix(in srgb, var(--accent) 6%, transparent);
  --chain-hero-border: color-mix(in srgb, var(--accent) 15%, transparent);
  --chain-placeholder-border: color-mix(in srgb, var(--accent) 25%, transparent);
}

:root.light-mode {
  --chain-hero-bg: color-mix(in srgb, var(--accent) 4%, transparent);
  --chain-hero-border: color-mix(in srgb, var(--accent) 12%, transparent);
  --chain-placeholder-border: color-mix(in srgb, var(--accent) 20%, transparent);
}

:root {
  --verified-work-bg: color-mix(in srgb, var(--trust-gold) 12%, transparent);
  --verified-work-border: color-mix(in srgb, var(--trust-gold) 25%, transparent);
  --verified-work-text: var(--trust-gold);
  --verified-work-glow: 0 0 12px color-mix(in srgb, var(--trust-gold) 30%, transparent);
}

.verified-work-section {
  margin-bottom: 24px;
}

.verified-work-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.verified-work-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.verified-work-icon {
  font-size: 16px;
  color: var(--trust-gold);
}

.verified-work-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--trust-gold);
}

.verified-work-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.verified-work-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.verified-work-stat-value {
  font-weight: 600;
  color: var(--trust-gold);
}

.verified-work-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.verified-work-card {
  background: var(--verified-work-bg);
  border: 1px solid var(--verified-work-border);
  border-radius: 10px;
  padding: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.verified-work-card:hover {
  box-shadow: var(--verified-work-glow);
  transform: translateY(-1px);
}

.verified-work-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.verified-work-service-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.verified-work-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--verified-work-bg);
  color: var(--trust-gold);
  border: 1px solid var(--verified-work-border);
  flex-shrink: 0;
}

.verified-work-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.verified-work-client {
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-work-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-work-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--trust-gold);
}

.verified-work-rating-star {
  font-size: 12px;
}

.verified-work-summary {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--trust-gold) 15%, transparent);
}

.verified-work-empty {
  text-align: center;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: 10px;
}

.verified-work-empty-icon {
  font-size: 32px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.verified-work-empty-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.verified-work-empty-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.verified-work-stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.verified-work-stat-card-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--trust-gold);
  margin-bottom: 4px;
}

.verified-work-stat-card-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.verified-work-hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--trust-gold) 12%, transparent), color-mix(in srgb, var(--trust-gold) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--trust-gold) 20%, transparent);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.verified-work-hero-stats {
  display: flex;
  justify-content: space-around;
  gap: 16px;
}

.verified-work-hero-stat {
  text-align: center;
}

.verified-work-hero-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--trust-gold);
}

.verified-work-hero-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.verified-work-avg-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.verified-work-avg-rating-star {
  color: var(--trust-gold);
  font-size: 16px;
}

:root.light-mode .verified-work-bg {
  background: color-mix(in srgb, var(--trust-gold) 8%, transparent);
}

:root.light-mode .verified-work-card {
  border-color: color-mix(in srgb, var(--trust-gold) 20%, transparent);
}

:root.light-mode .verified-work-hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--trust-gold) 8%, transparent), color-mix(in srgb, var(--trust-gold) 4%, transparent));
}

@media (max-width: 480px) {
  .verified-work-hero-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  .verified-work-stats {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  
  .verified-work-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.profile-avatar-glow {
  width: var(--profile-avatar-size);
  height: var(--profile-avatar-size);
  border-radius: 50%;
  border: var(--avatar-glow-ring-width) solid var(--accent);
  box-shadow: var(--avatar-glow-shadow);
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-avatar-glow:hover {
  transform: scale(1.05);
  box-shadow: var(--avatar-glow-shadow-hover);
}

.profile-avatar-glow-placeholder {
  width: var(--profile-avatar-size);
  height: var(--profile-avatar-size);
  border-radius: 50%;
  border: var(--avatar-glow-ring-width) solid var(--accent);
  box-shadow: var(--avatar-glow-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--profile-avatar-size) * 0.35);
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-avatar-glow-placeholder:hover {
  transform: scale(1.05);
  box-shadow: var(--avatar-glow-shadow-hover);
}

.signature-strip {
  text-align: center;
  padding: var(--signature-strip-height) 24px 32px;
  position: relative;
  background: var(--profile-hero-gradient);
  border-radius: 0 0 24px 24px;
  margin-bottom: 24px;
}

.signature-strip-avatar {
  margin: 0 auto 16px;
}

.signature-strip-name {
  font-size: var(--profile-name-size);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.signature-strip-tagline {
  font-size: var(--profile-tagline-size);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.signature-strip-underline {
  width: var(--name-underline-width);
  height: var(--name-underline-height);
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 12px;
}

.signature-strip-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .profile-avatar-glow,
  .profile-avatar-glow-placeholder {
    width: var(--profile-avatar-mobile);
    height: var(--profile-avatar-mobile);
    font-size: calc(var(--profile-avatar-mobile) * 0.35);
  }
  
  .signature-strip {
    padding: var(--signature-strip-height-mobile) 16px 24px;
  }
  
  .signature-strip-name {
    font-size: var(--profile-name-size-mobile);
  }
  
  .signature-strip-tagline {
    font-size: 16px;
  }
}

@keyframes avatar-glow-pulse {
  0%, 100% {
    box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 40%, transparent);
  }
  50% {
    box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 60%, transparent);
  }
}

.profile-avatar-glow.animate-pulse {
  animation: avatar-glow-pulse 2s ease-in-out infinite;
}

.profile-avatar-glow-placeholder.animate-pulse {
  animation: avatar-glow-pulse 2s ease-in-out infinite;
}

:root.light-mode .profile-avatar-glow,
:root.light-mode .profile-avatar-glow-placeholder {
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 25%, transparent);
}

:root.light-mode .profile-avatar-glow:hover,
:root.light-mode .profile-avatar-glow-placeholder:hover {
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 40%, transparent);
}
