/* 
 * VerdantPulse - Design System & Modern Aesthetics
 * Theme: "Touch Grass" Hacktoberfest 2026
 * Style: Deep Forest Glassmorphism & Autumn Foliage Accents
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-deep: #0a110d;
  --bg-surface: rgba(16, 27, 21, 0.75);
  --bg-surface-elevated: rgba(23, 38, 30, 0.85);
  --bg-card: rgba(28, 46, 36, 0.6);
  --bg-card-hover: rgba(38, 62, 49, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(243, 156, 18, 0.35);
  --border-glow: rgba(46, 204, 113, 0.3);

  --accent-gold: #f39c12;
  --accent-amber: #e67e22;
  --accent-crimson: #c0392b;
  --accent-scarlet: #e74c3c;
  --accent-emerald: #2ecc71;
  --accent-forest: #27ae60;
  --accent-lichen: #1abc9c;
  
  --text-primary: #f5f9f6;
  --text-secondary: #9cb5a5;
  --text-muted: #627c6d;
  --text-highlight: #f8c291;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 35px rgba(243, 156, 18, 0.2);
  --shadow-emerald-glow: 0 0 30px rgba(46, 204, 113, 0.25);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(243, 156, 18, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(192, 57, 43, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(46, 204, 113, 0.07) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Background Atmospheric Canvas */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  background: 
    radial-gradient(1px 1px at 20px 30px, #ffffff15, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 70px, #ffffff10, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 90px 40px, #ffffff12, rgba(0,0,0,0));
  background-size: 180px 180px;
}

/* App Container */
.app-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 80px 20px;
  position: relative;
  z-index: 1;
}

/* Top Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  box-shadow: var(--shadow-subtle);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f39c12, #c0392b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.35);
  animation: pulse-gentle 4s ease-in-out infinite;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff, #f8c291);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 9px;
  border-radius: 20px;
  background: rgba(46, 204, 113, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Status Indicators */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.status-dot.offline {
  background: #3498db;
  box-shadow: 0 0 10px #3498db;
}

/* Offline Toggle Switch */
.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-elevated);
  padding: 4px 6px 4px 12px;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.toggle-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background: linear-gradient(135deg, #3498db, #2ecc71);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Hero Section */
.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  box-shadow: var(--shadow-subtle);
  background: #0d1711;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  filter: saturate(1.2) contrast(1.05);
  transition: transform 12s ease;
}

.hero-card:hover .hero-image-bg {
  transform: scale(1.03);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 17, 13, 0.2) 0%,
    rgba(10, 17, 13, 0.75) 60%,
    rgba(10, 17, 13, 0.98) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 36px 36px 40px 36px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 156, 18, 0.18);
  border: 1px solid rgba(243, 156, 18, 0.4);
  color: #f8c291;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
  max-width: 820px;
}

.hero-title span {
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(15px, 1.8vw, 17px);
  max-width: 720px;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Quick Action Control Bar */
.trail-selector-bar {
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1.6fr 1.2fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 32px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.select-custom {
  background: rgba(10, 17, 13, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.select-custom:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(243, 156, 18, 0.25);
}

.select-custom option {
  background: #111a14;
  color: white;
  padding: 10px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #f39c12, #c0392b);
  color: white;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.35);
  height: 50px;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(243, 156, 18, 0.45);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-pocket-mode {
  background: linear-gradient(135deg, #16a085, #2ecc71);
  color: white;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-emerald-glow);
  transition: var(--transition-fast);
}

.btn-pocket-mode:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Main Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (max-width: 960px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .trail-selector-bar {
    grid-template-columns: 1fr;
  }
}

/* Glass Card */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
}

.card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 20px;
}

.tag-tabpfn {
  background: rgba(243, 156, 18, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(243, 156, 18, 0.3);
}

.tag-gemma {
  background: rgba(66, 133, 244, 0.15);
  color: #64b5f6;
  border: 1px solid rgba(66, 133, 244, 0.3);
}

/* TabPFN Foliage Gauge & Metrics */
.foliage-meter-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-surface-elevated);
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.gauge-circle-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.gauge-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 9;
}

.gauge-fill {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 80;
  transition: stroke-dashoffset 1s ease, stroke 0.5s ease;
}

.gauge-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-score {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.gauge-unit {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.foliage-summary {
  flex-grow: 1;
}

.foliage-stage-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.foliage-color-palette {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.color-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px currentColor;
}

.foliage-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Tabular Metrics Grid */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.metric-pill {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

/* 7-Day TabPFN Forecast Curve */
.forecast-curve-section {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

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

.forecast-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
}

.forecast-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 80px;
  padding-top: 10px;
  gap: 8px;
}

.forecast-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.forecast-bar {
  width: 100%;
  max-width: 28px;
  background: linear-gradient(180deg, #f39c12, #c0392b);
  border-radius: 6px 6px 2px 2px;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 8px;
}

.forecast-day-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
}

.forecast-val-label {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 4px;
}

/* Gemma Pocket Field Card */
.field-card-container {
  background: rgba(13, 23, 17, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}

.field-card-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: #e2ece5;
  white-space: pre-line;
  flex-grow: 1;
  margin-bottom: 20px;
}

.field-card-text strong {
  color: #fff;
  font-weight: 700;
}

.field-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.model-telemetry {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.model-pill {
  background: rgba(66, 133, 244, 0.12);
  color: #90caf9;
  border: 1px solid rgba(66, 133, 244, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 600;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.btn-icon.active {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-color: #2ecc71;
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
}

/* Audio Player Bar */
.audio-bar-wrapper {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  box-shadow: var(--shadow-subtle);
}

.audio-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sound-wave-anim {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.sound-wave-bar {
  width: 3px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 2px;
  animation: wave-bar 1.2s ease-in-out infinite;
}

.sound-wave-bar:nth-child(2) { animation-delay: 0.2s; }
.sound-wave-bar:nth-child(3) { animation-delay: 0.4s; }
.sound-wave-bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes wave-bar {
  0%, 100% { height: 6px; }
  50% { height: 22px; }
}

.sound-wave-anim.paused .sound-wave-bar {
  animation: none;
  height: 6px;
  opacity: 0.4;
}

/* Pocket Mode Fullscreen Overlay */
.pocket-mode-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #030604;
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 30px;
  text-align: center;
  animation: fade-in 0.4s ease;
}

.pocket-mode-overlay.active {
  display: flex;
}

.pocket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.pocket-center-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.breathing-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(46, 204, 113, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: breathe-scale 8s infinite ease-in-out;
}

.breathing-ring:before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px dashed rgba(243, 156, 18, 0.25);
}

.pocket-timer {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.pocket-mode-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #a3c4b1;
}

.pocket-mode-instruction {
  font-size: 16px;
  color: #6a8c77;
  max-width: 480px;
  line-height: 1.6;
}

.btn-exit-pocket {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-exit-pocket:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Why Open Innovation Matters Section */
.open-source-showcase {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-top: 36px;
}

.showcase-header {
  margin-bottom: 24px;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.showcase-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comparison-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition-fast);
}

.comparison-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.comparison-card.highlight {
  border-color: var(--border-accent);
  box-shadow: 0 0 25px rgba(243, 156, 18, 0.15);
}

.comp-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.comp-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.comp-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Nature Journal Log Section */
.nature-journal-section {
  margin-top: 36px;
}

.journal-entry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Animations */
@keyframes pulse-gentle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes breathe-scale {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; border-color: rgba(243, 156, 18, 0.7); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Modal styling */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #111e17;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.btn-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}
