


:root {
  
  --bg-base:         #07070f;
  --bg-elevated:     #0d0d1a;
  --bg-card:         rgba(255, 255, 255, 0.04);
  --bg-card-hover:   rgba(255, 255, 255, 0.07);
  --bg-card-border:  rgba(255, 255, 255, 0.08);
  --bg-input:        rgba(255, 255, 255, 0.05);

  
  --text-primary:    #f0f4ff;
  --text-secondary:  #94a3b8;
  --text-muted:      #4a5568;

  
  --grad-primary:    linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --grad-warm:       linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  --grad-cool:       linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
  --grad-green:      linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

  
  --clr-purple:      #7c3aed;
  --clr-blue:        #3b82f6;
  --clr-orange:      #f97316;
  --clr-pink:        #ec4899;
  --clr-teal:        #14b8a6;
  --clr-amber:       #f59e0b;
  --clr-green:       #10b981;
  --clr-red:         #ef4444;
  --clr-cyan:        #06b6d4;

  
  --risk-low:        #10b981;
  --risk-medium:     #f59e0b;
  --risk-high:       #ef4444;

  
  --glow-purple:     0 0 30px rgba(124, 58, 237, 0.3);
  --glow-blue:       0 0 30px rgba(59, 130, 246, 0.3);
  --glow-orange:     0 0 30px rgba(249, 115, 22, 0.25);

  
  --sp-xs:  0.375rem;
  --sp-sm:  0.625rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4.5rem;

  
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:  'Syne', 'Inter', sans-serif;

  
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:      150ms;
  --dur-normal:    300ms;
  --dur-slow:      500ms;

  
  --navbar-h: 64px;
}


[data-theme="light"] {
  --bg-base:         #f0f4ff;
  --bg-elevated:     #e8edf8;
  --bg-card:         rgba(255, 255, 255, 0.75);
  --bg-card-hover:   rgba(255, 255, 255, 0.9);
  --bg-card-border:  rgba(0, 0, 0, 0.08);
  --bg-input:        rgba(255, 255, 255, 0.8);
  --text-primary:    #0f172a;
  --text-secondary:  #475569;
  --text-muted:      #94a3b8;
  --glow-purple:     0 0 30px rgba(124, 58, 237, 0.15);
  --glow-blue:       0 0 30px rgba(59, 130, 246, 0.15);
}


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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background var(--dur-slow) var(--ease-smooth),
              color var(--dur-slow) var(--ease-smooth);
  line-height: 1.6;
}

button { cursor: pointer; border: none; background: none; font-family: inherit; }
textarea, input { font-family: inherit; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }


.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: orbFloat 20s ease-in-out infinite;
}
[data-theme="light"] .aurora-orb { opacity: 0.10; }

.orb-1 { width: 700px; height: 700px; top: -200px; left: -150px; background: radial-gradient(circle, #7c3aed, transparent 70%); animation-duration: 22s; }
.orb-2 { width: 600px; height: 600px; top: 30%; right: -150px; background: radial-gradient(circle, #3b82f6, transparent 70%); animation-duration: 18s; animation-delay: -8s; }
.orb-3 { width: 500px; height: 500px; bottom: -100px; left: 20%; background: radial-gradient(circle, #ec4899, transparent 70%); animation-duration: 25s; animation-delay: -15s; }
.orb-4 { width: 400px; height: 400px; bottom: 20%; right: 10%; background: radial-gradient(circle, #10b981, transparent 70%); animation-duration: 30s; animation-delay: -5s; }

.aurora-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
[data-theme="light"] .aurora-grid {
  background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(40px, -30px) scale(1.05); }
  50%       { transform: translate(-20px, 50px) scale(0.97); }
  75%       { transform: translate(30px, 20px) scale(1.03); }
}


.app-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-lg) var(--sp-3xl);
}


.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: 0 var(--sp-lg);
  height: var(--navbar-h);
  margin: 0 calc(-1 * var(--sp-lg));
  background: rgba(7, 7, 15, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--bg-card-border);
  transition: background var(--dur-slow) var(--ease-smooth);
}
[data-theme="light"] .navbar {
  background: rgba(240, 244, 255, 0.8);
}


.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

.brand-logo {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary);
  border-radius: var(--r-md);
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--glow-purple);
}

.logo-pulse {
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--r-md) + 4px);
  border: 2px solid rgba(124,58,237,0.4);
  animation: logoPulse 2.5s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(1.12); }
}

.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
  background: var(--grad-primary); background-clip: text; color: transparent;
  background-clip: text;
  padding: 2px 6px; border: 1px solid rgba(124,58,237,0.4); border-radius: var(--r-full);
  margin-top: 2px;
}


.nav-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--r-full);
  padding: 4px;
}
[data-theme="light"] .nav-tabs { background: rgba(0,0,0,0.04); }

.nav-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 18px;
  border-radius: var(--r-full);
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--dur-normal) var(--ease-smooth);
  position: relative;
  white-space: nowrap;
}
.nav-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav-tab.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--glow-purple);
}
.nav-tab i { font-size: 0.8rem; }

.history-count-badge {
  min-width: 18px; height: 18px;
  background: var(--clr-orange);
  border-radius: var(--r-full);
  font-size: 0.65rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
  color: #fff;
}


.theme-toggle {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--bg-card-border);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--dur-normal) var(--ease-smooth);
}
.theme-toggle:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); transform: rotate(20deg); }
[data-theme="light"] .theme-toggle { background: rgba(0,0,0,0.05); }


.hero-section {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  gap: var(--sp-2xl);
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--clr-purple);
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--r-full); padding: 7px 16px;
  animation: fadeSlideDown 0.7s var(--ease-spring) both;
}

.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--clr-purple);
  animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.3)} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  animation: fadeSlideDown 0.8s 0.1s var(--ease-spring) both;
}

.gradient-text {
  background: var(--grad-primary);
  background-clip: text; color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 580px; line-height: 1.7;
  animation: fadeSlideDown 0.8s 0.2s var(--ease-spring) both;
}

.hero-actions {
  display: flex; gap: var(--sp-md); flex-wrap: wrap; justify-content: center;
  animation: fadeSlideDown 0.8s 0.3s var(--ease-spring) both;
}


.hero-stats {
  display: flex; gap: var(--sp-md); flex-wrap: wrap; justify-content: center;
  animation: fadeSlideDown 0.8s 0.4s var(--ease-spring) both;
}
.hero-stat-card {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: var(--r-lg); padding: var(--sp-lg) var(--sp-xl);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 120px;
  backdrop-filter: blur(12px);
  transition: transform var(--dur-normal) var(--ease-smooth), box-shadow var(--dur-normal);
}
.hero-stat-card:hover { transform: translateY(-4px); box-shadow: var(--glow-purple); }

.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; background: var(--grad-primary); background-clip: text; color: transparent; }
.stat-unit { font-size: 1.2rem; font-weight: 700; color: var(--clr-purple); margin-left: -8px; }
.stat-desc { font-size: 0.75rem; color: var(--text-secondary); font-weight: 500; white-space: nowrap; }


.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.95rem; font-weight: 600;
  border-radius: var(--r-full);
  padding: 13px 28px;
  box-shadow: var(--glow-purple);
  transition: all var(--dur-normal) var(--ease-smooth);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 50px rgba(124,58,237,0.45); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--bg-card-border);
  color: var(--text-primary); font-size: 0.95rem; font-weight: 600;
  border-radius: var(--r-full); padding: 13px 28px;
  transition: all var(--dur-normal) var(--ease-smooth);
}
.btn-ghost-hero:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--bg-card-border);
  color: var(--text-primary); font-size: 0.875rem; font-weight: 500;
  border-radius: var(--r-md); padding: 10px 20px;
  transition: all var(--dur-normal) var(--ease-smooth);
}
.btn-secondary:hover { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-secondary); font-size: 0.875rem; font-weight: 500;
  border-radius: var(--r-md); padding: 10px 20px;
  transition: all var(--dur-normal) var(--ease-smooth);
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.btn-danger-sm {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--clr-red); font-size: 0.8rem; font-weight: 500;
  border: 1px solid rgba(239,68,68,0.25); border-radius: var(--r-md); padding: 7px 14px;
  background: rgba(239,68,68,0.06);
  transition: all var(--dur-normal) var(--ease-smooth);
}
.btn-danger-sm:hover { background: rgba(239,68,68,0.15); }


.btn-ripple-layer {
  position: absolute; inset: 0; border-radius: inherit;
  overflow: hidden; pointer-events: none;
}
.btn-ripple-layer::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
  transform: scale(0); opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
}
.btn-primary:active .btn-ripple-layer::after,
.compare-main-btn:active .btn-ripple-layer::after { transform: scale(2); opacity: 1; transition: none; }


.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth),
              border-color var(--dur-normal);
}
.glass-card:hover { transform: translateY(-2px); border-color: rgba(124,58,237,0.2); }
[data-theme="light"] .glass-card { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }


.main-content { display: flex; flex-direction: column; gap: 0; }


.tab-panel { display: flex; flex-direction: column; gap: var(--sp-lg); }
.tab-panel[hidden] { display: none; }
.tab-panel.animate-in .glass-card,
.tab-panel.animate-in .winner-banner,
.tab-panel.animate-in .context-banner {
  animation: cardReveal 0.5s var(--ease-spring) both;
}
.tab-panel.animate-in .glass-card:nth-child(1) { animation-delay: 0.0s; }
.tab-panel.animate-in .glass-card:nth-child(2) { animation-delay: 0.06s; }
.tab-panel.animate-in .glass-card:nth-child(3) { animation-delay: 0.12s; }
.tab-panel.animate-in .glass-card:nth-child(4) { animation-delay: 0.18s; }
.tab-panel.animate-in .glass-card:nth-child(5) { animation-delay: 0.24s; }
.tab-panel.animate-in .glass-card:nth-child(6) { animation-delay: 0.30s; }

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


.card-header-row { display: flex; align-items: flex-start; gap: var(--sp-md); margin-bottom: var(--sp-lg); }
.card-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.card-subtitle { font-size: 0.875rem; color: var(--text-secondary); margin-top: 3px; line-height: 1.5; }


.card-icon-wrap {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); font-size: 1.2rem; color: #fff;
}
.icon-purple { background: linear-gradient(135deg,#7c3aed,#a855f7); box-shadow: 0 0 20px rgba(124,58,237,0.35); }
.icon-blue   { background: linear-gradient(135deg,#2563eb,#3b82f6); box-shadow: 0 0 20px rgba(59,130,246,0.35); }
.icon-orange { background: linear-gradient(135deg,#ea580c,#f97316); box-shadow: 0 0 20px rgba(249,115,22,0.35); }
.icon-pink   { background: linear-gradient(135deg,#db2777,#ec4899); box-shadow: 0 0 20px rgba(236,72,153,0.35); }
.icon-teal   { background: linear-gradient(135deg,#0d9488,#14b8a6); box-shadow: 0 0 20px rgba(20,184,166,0.35); }
.icon-amber  { background: linear-gradient(135deg,#d97706,#f59e0b); box-shadow: 0 0 20px rgba(245,158,11,0.35); }
.icon-green  { background: linear-gradient(135deg,#059669,#10b981); box-shadow: 0 0 20px rgba(16,185,129,0.35); }


.impact-icon-wrap {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); font-size: 1rem; color: #fff;
}



.input-wrapper {
  position: relative;
  margin-bottom: var(--sp-md);
}
.decision-textarea {
  width: 100%; min-height: 140px;
  background: var(--bg-input); border: 1px solid var(--bg-card-border);
  border-radius: var(--r-lg); padding: var(--sp-md) var(--sp-lg);
  color: var(--text-primary); font-size: 1rem; line-height: 1.6;
  resize: vertical; outline: none;
  transition: border-color var(--dur-normal), box-shadow var(--dur-normal), background var(--dur-slow);
}
.decision-textarea::placeholder { color: var(--text-muted); }
.decision-textarea:focus {
  border-color: var(--clr-purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15), var(--glow-purple);
}
[data-theme="light"] .decision-textarea { background: rgba(255,255,255,0.9); }

.input-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.live-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.live-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: var(--r-full);
  animation: tagPop 0.3s var(--ease-spring) both;
}
@keyframes tagPop { from{opacity:0;transform:scale(0.7)} to{opacity:1;transform:scale(1)} }
.char-counter { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }


.quick-chips {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: var(--sp-lg);
}
.chips-label { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.example-chip {
  font-size: 0.78rem; font-weight: 500;
  padding: 5px 14px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.05); border: 1px solid var(--bg-card-border);
  color: var(--text-secondary);
  transition: all var(--dur-normal) var(--ease-smooth);
}
.example-chip:hover {
  background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.3);
  color: var(--text-primary); transform: translateY(-1px);
}

.analyze-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; border-radius: var(--r-lg); }


.ai-loading {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-xl); padding: var(--sp-3xl) 0;
  animation: fadeIn 0.3s ease;
}

.ai-brain-animation {
  position: relative; width: 100px; height: 100px;
  display: flex; align-items: center; justify-content: center;
}

.brain-ring {
  position: absolute; border-radius: 50%;
  border: 2px solid transparent;
  animation: ringRotate 2s linear infinite;
}
.ring-outer { inset: 0; border-top-color: var(--clr-purple); border-right-color: rgba(124,58,237,0.3); animation-duration: 2s; }
.ring-mid   { inset: 14px; border-top-color: var(--clr-blue); border-right-color: rgba(59,130,246,0.3); animation-duration: 1.5s; animation-direction: reverse; }
.ring-inner { inset: 28px; border-top-color: var(--clr-pink); border-right-color: rgba(236,72,153,0.3); animation-duration: 1s; }
@keyframes ringRotate { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

.brain-core-icon {
  font-size: 1.6rem;
  background: var(--grad-primary); background-clip: text; color: transparent;
  animation: brainPulse 1s ease-in-out infinite;
}
@keyframes brainPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }

.loading-steps-list { display: flex; flex-direction: column; gap: 10px; }
.load-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-muted);
  opacity: 0; transform: translateX(-10px);
  transition: all 0.4s var(--ease-smooth);
}
.load-step.active { opacity: 1; color: var(--text-primary); transform: translateX(0); }
.load-step.done { opacity: 0.5; color: var(--clr-green); }
.load-step.done i::before { content: "\f00c"; animation: none; }


.context-banner {
  display: flex; flex-wrap: wrap; gap: 8px;
  animation: fadeSlideDown 0.5s var(--ease-spring) both;
}
.ctx-pill {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 500;
  padding: 7px 14px; border-radius: var(--r-full);
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2);
  color: var(--text-primary);
  animation: tagPop 0.4s var(--ease-spring) both;
}
.ctx-time { background: rgba(255,255,255,0.04); border-color: var(--bg-card-border); color: var(--text-secondary); }


.score-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-lg);
}
.score-card-header h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }

.score-badge {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-full);
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  color: var(--clr-purple);
}
.score-badge.excellent { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.3); color: var(--clr-green); }
.score-badge.good      { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.3); color: var(--clr-blue); }
.score-badge.risky     { background: rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.3); color: var(--clr-amber); }
.score-badge.critical  { background: rgba(239,68,68,0.15);  border-color: rgba(239,68,68,0.3);  color: var(--clr-red); }

.score-body { display: flex; gap: var(--sp-2xl); align-items: center; flex-wrap: wrap; }


.score-ring-wrap { position: relative; width: 130px; height: 130px; flex-shrink: 0; }
.score-svg { width: 130px; height: 130px; transform: rotate(-90deg); }

.svg-ring-bg {
  fill: none; stroke: rgba(255,255,255,0.06);
  
  stroke-width: 10; stroke-linecap: round;
}
.svg-ring-progress {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 10; stroke-linecap: round;
  
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px rgba(124,58,237,0.6));
}

.score-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0;
}
.score-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.score-denom { font-size: 0.75rem; color: var(--text-secondary); }


.score-breakdown-bars { flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 200px; }
.breakdown-row { display: flex; align-items: center; gap: 10px; }
.brk-label { font-size: 0.8rem; color: var(--text-secondary); width: 140px; flex-shrink: 0; }
.brk-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: var(--r-full); overflow: hidden; }
.brk-fill { height: 100%; background: var(--grad-primary); border-radius: var(--r-full); width: 0; transition: width 1s cubic-bezier(0.4,0,0.2,1); }
.brk-pct { font-size: 0.78rem; font-weight: 600; color: var(--clr-purple); width: 36px; text-align: right; }


.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.impact-card { display: flex; flex-direction: column; gap: 12px; }
.impact-label { font-size: 1rem; font-weight: 600; }
.impact-body { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }


.risk-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-lg); gap: var(--sp-md); }
.risk-title-wrap { display: flex; align-items: center; gap: 12px; }
.risk-title-wrap h4 { font-size: 1rem; font-weight: 600; }

.risk-pill {
  font-size: 0.78rem; font-weight: 700;
  padding: 5px 14px; border-radius: var(--r-full);
  background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); color: var(--clr-amber);
  white-space: nowrap;
}
.risk-pill.low    { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.3); color: var(--clr-green); }
.risk-pill.medium { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); color: var(--clr-amber); }
.risk-pill.high   { background: rgba(239,68,68,0.12);  border-color: rgba(239,68,68,0.3);  color: var(--clr-red); }

.risk-meter-wrap { margin-bottom: var(--sp-md); }
.risk-track {
  position: relative; height: 12px;
  background: linear-gradient(90deg, var(--risk-low) 0%, var(--risk-medium) 50%, var(--risk-high) 100%);
  border-radius: var(--r-full);
}
.risk-zones { display: flex; justify-content: space-between; margin-top: 6px; }
.rz { font-size: 0.7rem; color: var(--text-muted); }
.risk-thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--clr-amber);
  box-shadow: 0 0 12px rgba(245,158,11,0.5);
  transition: left 0.8s cubic-bezier(0.4,0,0.2,1), border-color 0.5s;
  left: 50%;
}
.risk-desc-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }


.advice-header-row { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-md); }
.advice-header-row h4 { font-size: 1rem; font-weight: 600; flex: 1; }
.advice-emotion-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: var(--r-full);
  background: rgba(236,72,153,0.12); border: 1px solid rgba(236,72,153,0.25); color: var(--clr-pink);
}
.advice-body { font-size: 0.915rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: var(--sp-md); }
.advice-action-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.action-tag {
  font-size: 0.75rem; font-weight: 500;
  padding: 5px 12px; border-radius: var(--r-full);
  background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.2); color: var(--clr-purple);
}


.explain-card { padding: 0; overflow: hidden; }
.explain-header-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-xl); gap: var(--sp-md);
  cursor: pointer;
  transition: background var(--dur-normal);
}
.explain-header-btn:hover { background: rgba(255,255,255,0.03); }
.explain-header-left { display: flex; align-items: center; gap: 12px; }
.explain-header-left h4 { font-size: 1rem; font-weight: 600; }
.explain-chevron {
  color: var(--text-muted); font-size: 0.85rem;
  transition: transform var(--dur-normal) var(--ease-smooth);
}
.explain-card.open .explain-chevron { transform: rotate(180deg); }

.explain-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-smooth), padding 0.3s;
  padding: 0 var(--sp-xl);
}
.explain-card.open .explain-body { max-height: 600px; padding-bottom: var(--sp-xl); }

.reasoning-chain { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--sp-md); }
.reasoning-step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--bg-card-border); border-radius: var(--r-md);
  animation: fadeSlideUp 0.4s var(--ease-spring) both;
}
.step-num {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--grad-primary);
  font-size: 0.72rem; font-weight: 700; color: #fff;
}
.step-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.step-text strong { color: var(--text-primary); }

.explain-paragraph { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
.explain-paragraph strong { color: var(--text-primary); }


.timeline-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-lg); }
.timeline-card-header h4 { font-size: 1rem; font-weight: 600; }

.timeline-period-tabs {
  display: flex; gap: 6px;
  margin-bottom: var(--sp-lg);
  background: rgba(255,255,255,0.04); border: 1px solid var(--bg-card-border);
  border-radius: var(--r-full); padding: 4px;
  width: fit-content;
}
.period-tab {
  padding: 7px 20px; border-radius: var(--r-full);
  font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
  transition: all var(--dur-normal) var(--ease-smooth);
}
.period-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.period-tab.active { background: var(--grad-primary); color: #fff; box-shadow: var(--glow-purple); }

.timeline-content { animation: fadeSlideUp 0.4s var(--ease-spring) both; }
.timeline-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--bg-card-border);
}
.timeline-item:last-child { border-bottom: none; padding-bottom: 0; }
.timeline-dot-col { display: flex; flex-direction: column; align-items: center; gap: 0; }
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 8px currentColor;
}
.timeline-line { flex: 1; width: 1px; background: var(--bg-card-border); margin-top: 4px; }
.timeline-text-col { flex: 1; }
.timeline-milestone { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 4px; }
.timeline-outcome { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }


.results-section { display: flex; flex-direction: column; gap: var(--sp-lg); }
.result-actions-row { display: flex; gap: 10px; flex-wrap: wrap; }


.compare-inputs-row {
  display: flex; gap: var(--sp-md); align-items: stretch;
}
.compare-input-card { flex: 1; display: flex; flex-direction: column; gap: var(--sp-md); }
.option-label-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-full); width: fit-content;
}
.badge-a { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25); color: var(--clr-blue); }
.badge-b { background: rgba(236,72,153,0.1); border: 1px solid rgba(236,72,153,0.25); color: var(--clr-pink); }

.compare-textarea {
  width: 100%; flex: 1; min-height: 160px;
  background: var(--bg-input); border: 1px solid var(--bg-card-border);
  border-radius: var(--r-md); padding: var(--sp-md);
  color: var(--text-primary); font-size: 0.9rem; line-height: 1.6;
  resize: vertical; outline: none;
  transition: border-color var(--dur-normal), box-shadow var(--dur-normal);
}
.compare-textarea:focus { border-color: var(--clr-purple); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
[data-theme="light"] .compare-textarea { background: rgba(255,255,255,0.9); }


.vs-column { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: var(--sp-xl) 0; flex-shrink: 0; }
.vs-line { flex: 1; width: 1px; background: var(--bg-card-border); }
.vs-badge {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--bg-card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.compare-main-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; border-radius: var(--r-lg); margin-top: var(--sp-md); }


.compare-loading { display: flex; flex-direction: column; align-items: center; gap: var(--sp-md); padding: var(--sp-2xl); animation: fadeIn 0.3s; }
.compare-loading p { font-size: 0.9rem; color: var(--text-secondary); }
.compare-loading-bar { width: 280px; max-width: 100%; height: 4px; background: rgba(255,255,255,0.08); border-radius: var(--r-full); overflow: hidden; }
.clb-fill { height: 100%; background: var(--grad-primary); border-radius: var(--r-full); animation: clbAnim 1.8s ease-in-out infinite; }
@keyframes clbAnim { 0%{width:0%;margin-left:0} 50%{width:70%;margin-left:0} 100%{width:10%;margin-left:90%} }


.winner-banner {
  display: flex; align-items: center; gap: var(--sp-lg);
  padding: var(--sp-lg) var(--sp-xl);
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.1));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--r-xl);
  animation: cardReveal 0.6s var(--ease-spring) both;
}
.winner-trophy { font-size: 2.4rem; animation: trophyWiggle 0.6s 0.3s var(--ease-spring) both; }
@keyframes trophyWiggle { 0%{transform:scale(0) rotate(-20deg)} 80%{transform:scale(1.2) rotate(5deg)} 100%{transform:scale(1) rotate(0)} }
.winner-info { flex: 1; }
.winner-label-text { font-size: 0.78rem; color: var(--text-secondary); font-weight: 500; display: block; }
.winner-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; display: block; background: var(--grad-primary); background-clip: text; color: transparent; }
.winner-score-display { text-align: center; }
.winner-score-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; background: var(--grad-primary); background-clip: text; color: transparent; display: block; line-height: 1; }
.winner-score-of { font-size: 0.8rem; color: var(--text-secondary); }


.compare-table-card { padding: 0; overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead th {
  padding: 16px 20px; text-align: left;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-secondary); border-bottom: 1px solid var(--bg-card-border);
  background: rgba(255,255,255,0.02);
}
.th-criteria { width: 30%; }
.th-option { width: 35%; }
.compare-table tbody tr { border-bottom: 1px solid var(--bg-card-border); transition: background var(--dur-fast); }
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.compare-table tbody tr.winner-row { background: rgba(124,58,237,0.05); }
.compare-table td { padding: 14px 20px; font-size: 0.875rem; vertical-align: top; }
.td-criteria { font-weight: 600; color: var(--text-secondary); font-size: 0.82rem; }
.td-value { color: var(--text-primary); line-height: 1.5; }
.td-value.winner-val { font-weight: 600; color: var(--clr-purple); }
.cell-score {
  display: inline-block; font-weight: 700;
  padding: 2px 10px; border-radius: var(--r-full);
  font-size: 0.82rem;
}
.cell-score.high { background: rgba(16,185,129,0.12); color: var(--clr-green); }
.cell-score.mid  { background: rgba(59,130,246,0.12);  color: var(--clr-blue); }
.cell-score.low  { background: rgba(239,68,68,0.12);   color: var(--clr-red); }


.side-by-side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.sbs-card { transition: transform var(--dur-normal), box-shadow var(--dur-normal); }
.sbs-card.winner { border-color: rgba(124,58,237,0.4); box-shadow: var(--glow-purple); }
.sbs-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-md); }
.sbs-score {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  background: var(--grad-primary); background-clip: text; color: transparent;
}
.sbs-details { display: flex; flex-direction: column; gap: 12px; }
.sbs-row { display: flex; flex-direction: column; gap: 3px; }
.sbs-row-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.sbs-row-value { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }

.compare-results { display: flex; flex-direction: column; gap: var(--sp-lg); }


.history-layout { display: grid; grid-template-columns: 320px 1fr; gap: var(--sp-lg); align-items: start; }


.history-sidebar { display: flex; flex-direction: column; gap: var(--sp-lg); position: sticky; top: calc(var(--navbar-h) + 16px); }

.history-main-panel { min-width: 0; display: flex; flex-direction: column; }

.insights-body { display: flex; flex-direction: column; gap: 10px; margin-top: var(--sp-md); }
.insight-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--bg-card-border);
  border-radius: var(--r-md);
  animation: fadeSlideUp 0.4s var(--ease-spring) both;
}
.insight-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.insight-text { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.55; }
.insight-text strong { color: var(--text-primary); }

.empty-state-sm {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: var(--sp-lg); text-align: center; color: var(--text-muted); font-size: 0.875rem;
}
.empty-state-sm i { font-size: 1.5rem; opacity: 0.4; }


.stats-summary-card h4 { font-size: 0.95rem; margin-bottom: var(--sp-md); font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-box {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 8px; background: rgba(255,255,255,0.03); border: 1px solid var(--bg-card-border);
  border-radius: var(--r-md); text-align: center;
}
.stat-box-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; background: var(--grad-primary); background-clip: text; color: transparent; }
.stat-box-lbl { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }


.history-list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-md); }
.history-list-header h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.history-list { display: flex; flex-direction: column; gap: var(--sp-md); }

.history-card {
  display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
  padding: var(--sp-lg); background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  transition: transform var(--dur-normal), box-shadow var(--dur-normal), border-color var(--dur-normal);
  animation: cardReveal 0.4s var(--ease-spring) both;
}
.history-card:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, 0.25); box-shadow: var(--glow-purple); }
.hc-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.hc-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding-right: 10px; }
.hc-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);

  line-height: 1.4em;
  max-height: 2.8em;

  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  word-break: break-word;
}
.hc-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hc-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: var(--r-full);
}
.hc-score-badge {
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: var(--r-full);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--clr-purple);
}
.hc-date { font-size: 0.7rem; color: var(--text-muted); margin-left: auto; }
.hc-delete { color: var(--text-muted); font-size: 0.8rem; flex-shrink: 0; width: 28px; height: 28px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; transition: all var(--dur-fast); margin-top: 2px; }
.hc-delete:hover { background: rgba(239, 68, 68, 0.15); color: var(--clr-red); }


.empty-state {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-md);
  padding: var(--sp-3xl) var(--sp-lg); text-align: center;
}
.empty-icon-wrap { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid var(--bg-card-border); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--text-muted); }
.empty-state h4 { font-size: 1.05rem; font-weight: 600; }
.empty-state p { font-size: 0.875rem; color: var(--text-secondary); max-width: 280px; }


.toast-notification {
  position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  background: #1a1a2e; border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--r-full); padding: 12px 24px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), var(--glow-purple);
  z-index: 9999;
  transition: bottom 0.4s var(--ease-spring);
}
[data-theme="light"] .toast-notification { background: #fff; }
.toast-notification.show { bottom: 32px; }
.toast-icon { color: var(--clr-green); }


.typing-cursor {
  display: inline-block; width: 2px; height: 1em;
  background: var(--clr-purple); margin-left: 2px;
  vertical-align: middle; animation: cursorBlink 0.7s steps(1) infinite;
}
@keyframes cursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }





.dashboard-card { padding: var(--sp-xl); border: 1px solid rgba(124,58,237,0.25); box-shadow: var(--glow-purple); animation: fadeSlideUp 0.6s var(--ease-spring) both; }
.mb-xl { margin-bottom: var(--sp-xl); }
.dashboard-graphs-stacked { display: flex; flex-direction: column; gap: var(--sp-2xl); }
.graph-container { display: flex; flex-direction: column; align-items: center; gap: var(--sp-md); background: rgba(255,255,255,0.02); border-radius: var(--r-md); padding: var(--sp-lg); border: 1px solid var(--bg-card-border); transition: transform var(--dur-normal); width: 100%; }
.graph-container:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -10px rgba(124,58,237,0.3); border-color: rgba(124,58,237,0.5); }
[data-theme="light"] .graph-container { background: rgba(255,255,255,0.4); }
.graph-title { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); width: 100%; text-align: left; }
canvas { max-width: 100%; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); cursor: crosshair; }




@media (max-width: 900px) {
  .history-layout { grid-template-columns: 1fr; }
  .history-sidebar { position: static; }
  .side-by-side-grid { grid-template-columns: 1fr; }
}


@media (max-width: 700px) {
  .app-wrapper { padding: 0 var(--sp-md) var(--sp-2xl); }
  .navbar { margin: 0 calc(-1 * var(--sp-md)); padding: 0 var(--sp-md); }
  .nav-tab span { display: none; }
  .nav-tab { padding: 8px 14px; }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 10px; }
  .hero-stat-card { padding: var(--sp-md) var(--sp-lg); min-width: 90px; }
  .stat-num { font-size: 1.6rem; }
  .compare-inputs-row { flex-direction: column; }
  .vs-column { flex-direction: row; padding: 0; }
  .vs-line { flex: 1; height: 1px; width: auto; }
  .score-body { flex-direction: column; align-items: flex-start; }
  .score-breakdown-bars { width: 100%; min-width: unset; }
  .brand-name { font-size: 1.1rem; }
  .impact-grid { grid-template-columns: 1fr; }
  .result-actions-row { flex-direction: column; }
  .result-actions-row button { width: 100%; justify-content: center; }
  .glass-card { padding: var(--sp-lg); }
  .quick-chips { gap: 6px; }
  .winner-banner { flex-wrap: wrap; }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}


@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; display: grid; }
}
