/* ============================================================
   Floraputation — Plant Variety Reputation Intelligence
   Design: Professional Data-Centric SaaS Dashboard
   ============================================================ */

:root {
  --primary: #1a5c3a;
  --primary-light: #2d7a52;
  --primary-dark: #0f3d26;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --bg: #f8faf9;
  --bg-card: #ffffff;
  --bg-dark: #0d1f17;
  --border: #e2e8e4;
  --border-light: #f0f4f2;
  --text-primary: #0f2318;
  --text-secondary: #4a6358;
  --text-muted: #8aa49a;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --orange: #ea580c;
  --orange-light: #fff7ed;
  --yellow: #ca8a04;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --transition: all 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

/* ============================================================ NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  white-space: nowrap;
}
.logo-leaf { font-size: 1.4rem; }
.logo-accent { color: var(--primary); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex: 1;
}
.nav-link {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--primary);
  background: var(--green-light);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}
.live-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem;
  border-top: 1px solid var(--border);
  background: white;
}
.mobile-menu a {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu.open { display: flex; }

/* ============================================================ BUTTONS */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--bg);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover { background: var(--green-light); }
.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 0.95rem; border-radius: var(--radius); }
.btn-sm { padding: 0.35rem 0.875rem; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; padding: 0.875rem; }

/* ============================================================ HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1f17 0%, #1a3d28 40%, #0f2f1e 100%);
  display: flex;
  align-items: center;
  padding: 100px 2rem 4rem;
  position: relative;
  overflow: hidden;
  gap: 4rem;
  justify-content: center;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,122,82,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-cta .btn-primary { background: #22c55e; color: #0d1f17; }
.hero-cta .btn-primary:hover { background: #16a34a; }
.hero-cta .btn-secondary { background: transparent; color: white; border-color: rgba(255,255,255,0.3); }
.hero-cta .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.hero-cta .btn-outline { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.hero-cta .btn-outline:hover { color: white; border-color: rgba(255,255,255,0.4); }
.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem;
}
.stat-item:first-child { padding-left: 0; }
.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.1rem;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0.25rem 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.dashboard-preview {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 360px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.dp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.dp-title { color: rgba(255,255,255,0.9); font-weight: 600; font-size: 0.9rem; }
.dp-badge {
  background: rgba(74,222,128,0.2);
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(74,222,128,0.3);
}
.dp-chart-area {
  height: 140px;
  margin-bottom: 1rem;
  position: relative;
}
.dp-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}
.dp-metric {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
}
.dp-m-label { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.04em; }
.dp-m-value { display: block; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.dp-m-value.green { color: #4ade80; }
.dp-m-value.orange { color: #fb923c; }

/* ============================================================ SECTIONS */
.section {
  padding: 6rem 2rem;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================ SEARCH */
.search-section { background: white; }
.search-box {
  position: relative;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  gap: 0.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.search-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,92,58,0.08);
}
.search-icon { color: var(--text-muted); flex-shrink: 0; }
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: transparent;
  font-family: inherit;
}
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.search-btn:hover { background: var(--primary-light); }
.search-autocomplete {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  overflow: hidden;
  display: none;
}
.autocomplete-item {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-size: 0.875rem;
}
.autocomplete-item:hover { background: var(--green-light); }
.autocomplete-score { font-weight: 700; color: var(--primary); font-size: 0.8rem; }
.search-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.filter-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.filter-select {
  padding: 0.5rem 2rem 0.5rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-primary);
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a6358' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: var(--transition);
  font-family: inherit;
}
.filter-select:focus { outline: none; border-color: var(--primary); }
.quick-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.tag-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.quick-tag {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.quick-tag:hover { border-color: var(--primary); color: var(--primary); background: var(--green-light); }

/* Search Results */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.variety-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.variety-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.variety-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.variety-card:hover::before { opacity: 1; }
.vc-category { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.vc-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
.vc-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.vc-score {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.vc-score-num { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }
.vc-score-max { font-size: 0.75rem; color: var(--text-muted); }
.vc-trend-up { color: var(--green); font-size: 0.8rem; font-weight: 700; }
.vc-trend-down { color: var(--red); font-size: 0.8rem; font-weight: 700; }
.vc-sentiment-bar {
  height: 5px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  display: flex;
  margin-bottom: 0.75rem;
}
.vc-sent-pos { background: var(--green); }
.vc-sent-neu { background: #94a3b8; }
.vc-sent-neg { background: var(--red); }
.vc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.vc-mentions { font-weight: 600; color: var(--text-secondary); }

/* ============================================================ VARIETY DETAIL */
.variety-detail { background: var(--bg); }
.variety-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.variety-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.variety-name {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.variety-name em { color: var(--primary); font-style: italic; }
.variety-aka { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.variety-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.meta-tag {
  background: white;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}
.variety-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Score Panel */
.score-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.score-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.score-ring-wrap {
  position: relative;
  width: 160px; height: 160px;
  flex-shrink: 0;
}
.score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.score-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.score-meta { display: flex; flex-direction: column; gap: 0.75rem; }
.score-tier {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tier-excellent { background: var(--green-light); color: var(--green); }
.tier-good { background: #dbeafe; color: #2563eb; }
.tier-average { background: #fef9c3; color: var(--yellow); }
.tier-poor { background: var(--red-light); color: var(--red); }
.score-trend { display: flex; align-items: center; gap: 0.35rem; }
.trend-up { color: var(--green); font-size: 0.85rem; font-weight: 600; }
.trend-down { color: var(--red); font-size: 0.85rem; font-weight: 600; }
.confidence-bar-wrap { display: flex; align-items: center; gap: 0.5rem; }
.conf-label { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.confidence-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  min-width: 80px;
}
.conf-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 100px; }
.conf-val { font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); white-space: nowrap; }

.score-breakdown { display: flex; flex-direction: column; gap: 0.875rem; justify-content: center; }
.breakdown-item { display: flex; flex-direction: column; gap: 0.35rem; }
.bd-header { display: flex; justify-content: space-between; align-items: center; }
.bd-label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; }
.bd-val { font-size: 0.85rem; font-weight: 700; }
.bd-val.green { color: var(--green); }
.bd-val.gray { color: var(--text-muted); }
.bd-val.red { color: var(--red); }
.bd-bar { height: 6px; background: var(--border); border-radius: 100px; overflow: hidden; }
.bd-fill { height: 100%; border-radius: 100px; transition: width 1s ease; }
.green-fill { background: var(--green); }
.gray-fill { background: #94a3b8; }
.red-fill { background: var(--red); }
.mention-stat { margin-top: 0.5rem; padding-top: 0.875rem; border-top: 1px solid var(--border); }
.mention-num { font-size: 1.75rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.03em; }
.mention-label { font-size: 0.75rem; color: var(--text-muted); }

.score-sources { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; min-width: 180px; }
.source-title { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.source-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; }
.source-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.source-dot.social { background: #3b82f6; }
.source-dot.ecom { background: #f59e0b; }
.source-dot.forum { background: var(--primary); }
.source-dot.media { background: #8b5cf6; }
.source-name { flex: 1; color: var(--text-secondary); }
.source-pct { font-weight: 700; color: var(--text-primary); }

/* Analytics Grid */
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.chart-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.chart-card:hover { box-shadow: var(--shadow-md); }
.chart-card.wide { grid-column: 1 / -1; }
.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.chart-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.2rem; }
.chart-sub { font-size: 0.75rem; color: var(--text-muted); }
.chart-tabs { display: flex; gap: 0.25rem; }
.chart-tab {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: inherit;
}
.chart-tab.active, .chart-tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Keyword Cloud */
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0;
  min-height: 160px;
  align-content: flex-start;
}
.keyword-tag {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-weight: 600;
  cursor: default;
  transition: var(--transition);
}
.keyword-tag:hover { transform: scale(1.05); }

/* AI Insights */
.ai-insights {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.ai-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.ai-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.ai-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.ai-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }
.ai-model-badge {
  margin-left: auto;
  background: linear-gradient(135deg, #f0fdf4, #dbeafe);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.ai-card {
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid transparent;
}
.ai-card.strengths { background: #f0fdf4; border-color: #bbf7d0; }
.ai-card.issues { background: #fff7ed; border-color: #fed7aa; }
.ai-card.regional { background: #eff6ff; border-color: #bfdbfe; }
.ai-card.grower-consumer { background: #faf5ff; border-color: #e9d5ff; }
.ai-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
}
.ai-card.strengths .ai-card-title { color: var(--green); }
.ai-card.issues .ai-card-title { color: var(--orange); }
.ai-card.regional .ai-card-title { color: #2563eb; }
.ai-card.grower-consumer .ai-card-title { color: #7c3aed; }
.ai-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ai-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.ai-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: 700;
}

/* ============================================================ COMPARE */
.compare-section { background: white; }
.compare-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.compare-slot { flex: 1; min-width: 200px; }
.slot-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.slot-content {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.slot-content.active { border-color: var(--primary); background: var(--green-light); }
.slot-content.empty {
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 72px;
  justify-content: center;
}
.slot-content.empty:hover { border-color: var(--primary); color: var(--primary); }
.slot-name { font-weight: 700; color: var(--text-primary); font-size: 0.9rem; }
.slot-score {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.slot-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 50%;
  transition: var(--transition);
}
.slot-remove:hover { background: var(--red-light); color: var(--red); }
.compare-vs {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.compare-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.compare-table th {
  background: var(--bg);
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border);
}
.compare-table th.col-v1 { color: var(--primary); }
.compare-table th.col-v2 { color: var(--accent); }
.compare-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.compare-table tr:hover td { background: var(--bg); }
.metric-name { font-weight: 600; color: var(--text-primary); }
.col-v1 { font-weight: 600; }
.col-v2 { font-weight: 600; }
td.green { color: var(--green); }
td.red { color: var(--red); }
.score-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.9rem;
}
.score-badge.high { background: var(--green-light); color: var(--green); }
.score-badge.mid { background: #dbeafe; color: #2563eb; }
.trend-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}
.trend-badge.up { background: var(--green-light); color: var(--green); }
.trend-badge.down { background: var(--red-light); color: var(--red); }

/* ============================================================ INSIGHTS */
.insights-section { background: var(--bg); }
.insights-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.ins-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-secondary);
  transition: var(--transition);
  font-family: inherit;
}
.ins-tab.active, .ins-tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.insights-content { margin-bottom: 2rem; }
.insights-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.insight-row {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}
.insight-row:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.insight-rank {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 2rem;
  text-align: center;
}
.insight-rank.gold { color: #ca8a04; }
.insight-rank.silver { color: #94a3b8; }
.insight-rank.bronze { color: #c2410c; }
.insight-info { flex: 1; }
.insight-name { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; }
.insight-category { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }
.insight-score {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.insight-trend { font-size: 0.8rem; font-weight: 700; }
.insight-trend.up { color: var(--green); }
.insight-trend.down { color: var(--red); }
.insight-mentions { font-size: 0.75rem; color: var(--text-muted); text-align: right; }
.market-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ============================================================ METHODOLOGY */
.methodology { background: white; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.method-step {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: var(--transition);
}
.method-step:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--border);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}
.step-icon {
  width: 48px; height: 48px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}
.step-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

.ethics-panel {
  background: linear-gradient(135deg, #f0fdf4, #eff6ff);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.ethics-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.ethics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.ethics-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ethics-check {
  width: 28px; height: 28px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ethics-item-title { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.ethics-item-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

/* ============================================================ ROLES */
.roles-section { background: var(--bg); }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.role-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.role-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.role-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.role-icon.breeder { background: #f0fdf4; color: var(--primary); }
.role-icon.grower { background: #fef9c3; color: var(--yellow); }
.role-icon.retailer { background: #eff6ff; color: var(--accent); }
.role-icon.enthusiast { background: #fdf2f8; color: #db2777; }
.role-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.role-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.25rem; }
.role-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  margin-bottom: 1.5rem;
}
.role-features li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}
.role-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
}
.role-cta {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--primary);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  text-align: center;
}
.role-cta:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ============================================================ FOOTER */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}
.footer-tagline { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================================ MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.2s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--bg);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--red-light); color: var(--red); }
.modal-logo { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); margin-bottom: 1.5rem; }
.modal-tabs { display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border); }
.modal-tab {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  font-family: inherit;
}
.modal-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.4rem; }
.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-primary);
  background: white;
  transition: var(--transition);
  font-family: inherit;
  resize: vertical;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,92,58,0.08); }
.modal-divider { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin: 1rem 0; position: relative; }
.modal-divider::before, .modal-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: calc(50% - 2.5rem);
  height: 1px; background: var(--border);
}
.modal-divider::before { left: 0; }
.modal-divider::after { right: 0; }
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.social-btn {
  padding: 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-secondary);
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); }
.compare-search-results { display: flex; flex-direction: column; gap: 0.5rem; max-height: 300px; overflow-y: auto; }
.compare-result-item {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-size: 0.875rem;
}
.compare-result-item:hover { border-color: var(--primary); background: var(--green-light); }

/* ============================================================ SCROLL TOP */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 500;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.anim-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.anim-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1100px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .score-panel { grid-template-columns: 1fr; }
  .score-main { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 90px; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { width: 100%; }
  .dashboard-preview { width: 100%; max-width: 400px; margin: 0 auto; }
  .analytics-grid { grid-template-columns: 1fr; }
  .chart-card.wide { grid-column: 1; }
  .ai-grid { grid-template-columns: 1fr; }
  .compare-charts { grid-template-columns: 1fr; }
  .market-charts { grid-template-columns: 1fr; }
  .ethics-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .section { padding: 4rem 1.25rem; }
  .hero { padding: 80px 1.25rem 3rem; }
  .method-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .compare-selector { flex-direction: column; }
  .compare-vs { display: none; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta button { width: 100%; justify-content: center; }
  .search-input-wrap { flex-wrap: wrap; }
  .search-btn { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================ ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; }
.fade-in { animation: fadeIn 0.4s ease forwards; }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--border-light) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* VMODAL */

.vmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.vmodal-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  animation: vmSlideUp 0.28s cubic-bezier(.22,.68,0,1.2);
}
@keyframes vmSlideUp {
  from { transform: translateY(40px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.vmodal-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.vmodal-header-left { flex: 1; min-width: 0; }
.vmodal-category { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--primary); margin-bottom: 0.4rem; }
.vmodal-name { font-size: 1.55rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.4rem; line-height: 1.3; }
.vmodal-meta { font-size: 0.85rem; color: var(--text-muted); }
.vmodal-header-right { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.vmodal-score-ring { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.vmodal-score-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.vmodal-score-num { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.vmodal-score-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.vmodal-score-stats { display: flex; flex-direction: column; gap: 0.6rem; }
.vmodal-stat { display: flex; flex-direction: column; }
.vstat-val { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.vstat-lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.vmodal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: 50%;
  width: 36px; height: 36px; font-size: 1rem; cursor: pointer;
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  transition: var(--transition); line-height: 1;
}
.vmodal-close:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.vmodal-charts { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.vmodal-chart-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; min-height: 200px; display: flex; flex-direction: column; }
.vchart-title { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.vmodal-sentiment-bars { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.vsent-row { display: flex; align-items: center; gap: 0.75rem; }
.vsent-label { font-size: 0.8rem; color: var(--text-secondary); width: 60px; flex-shrink: 0; }
.vsent-track { flex: 1; height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; }
.vsent-fill { height: 100%; border-radius: 99px; width: 0%; transition: width 0.8s cubic-bezier(.22,.68,0,1.1); }
.vsent-pos { background: #16a34a; }
.vsent-neu { background: #2DD4BF; }
.vsent-neg { background: #ef4444; }
.vsent-pct { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); width: 36px; text-align: right; flex-shrink: 0; }
.vmodal-bottom { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.vmodal-tags-col { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.vmodal-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.vm-tag { display: inline-block; padding: 0.25rem 0.65rem; border-radius: 99px; font-size: 0.75rem; font-weight: 500; background: var(--green-light); color: var(--primary); border: 1px solid rgba(22,163,74,0.2); }
.vmodal-insight-col { flex: 2; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; }
.vmodal-insight-box { font-size: 0.9rem; line-height: 1.7; color: var(--text-secondary); }
.vmodal-insight-box p { margin: 0 0 0.6rem; }
.vmodal-insight-box strong { color: var(--text-primary); }
.vmodal-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1.25rem; border-top: 1px solid var(--border); gap: 1rem; flex-wrap: wrap; }
.vmodal-footer-note { font-size: 0.75rem; color: var(--text-muted); }
.variety-card { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important; }
.variety-card:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 32px rgba(22,163,74,0.15) !important; border-color: var(--primary) !important; }
@media (max-width: 640px) {
  .vmodal-container { padding: 1.25rem; }
  .vmodal-header { flex-direction: column; }
  .vmodal-charts { flex-direction: column; }
  .vmodal-bottom { flex-direction: column; }
}
