/*
 * BluMind Wellness Platform - Style Sheet
 * ----------------------------------------------------
 * Theme: Inspired by the 5 BluMind Mascot Characters
 * Palette: Calming Blue/Teal base, Indigo accents, Soft Dark/Light themes.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Brand Colors (Mascots) */
:root {
  --badge-free:   #2ecc71;
  --badge-paid:   #e74c3c;
  --badge-online: #3498db;
  --badge-offline:#e67e22;

  --color-yellow: #fcd34d;
  --color-yellow-hover: #f59e0b;
  --color-yellow-shadow: rgba(245, 158, 11, 0.25);

  --color-orange: #fb923c;
  --color-orange-hover: #ea580c;
  --color-orange-shadow: rgba(234, 88, 12, 0.25);

  --color-green: #4ade80;
  --color-green-hover: #16a34a;
  --color-green-shadow: rgba(22, 163, 74, 0.25);

  --color-blue: #60a5fa;
  --color-blue-hover: #2563eb;
  --color-blue-shadow: rgba(37, 99, 235, 0.25);

  --color-purple: #c084fc;
  --color-purple-hover: #9333ea;
  --color-purple-shadow: rgba(147, 51, 234, 0.25);

  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Common UI Properties */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Default Theme: Calm Night (Dark) */
  --bg-primary: #0b0f19;
  --bg-secondary: #131c2e;
  --bg-tertiary: #1b263b;
  --bg-glass: rgba(19, 28, 46, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-color: var(--color-blue);
  --accent-hover: var(--color-blue-hover);
  --accent-shadow: var(--color-blue-shadow);
  --shadow-main: rgba(0, 0, 0, 0.3);
  --glow-intensity: 1;
}

/* Light Theme: Serene Day */
[data-theme="light"] {
  --bg-primary: #f5f8fc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #edf2f9;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border-glass: rgba(0, 0, 0, 0.06);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-color: #3b82f6;
  --accent-hover: #1d4ed8;
  --accent-shadow: rgba(59, 130, 246, 0.15);
  --shadow-main: rgba(99, 102, 241, 0.05);
  --glow-intensity: 0.5;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--color-blue), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Base Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Common Interactive Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glass);
}
.btn-secondary:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  background: var(--bg-glass);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-headings);
  margin-bottom: 16px;
}

/* Glassmorphism Containers */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 8px 32px var(--shadow-main);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Mascots Styling & Animations */
.mascot-container {
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.mascot-svg {
  width: 100px;
  height: 110px;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
}

.mascot-svg:hover {
  transform: scale(1.15) translateY(-5px);
  cursor: pointer;
}

/* Mascot Animation Rules */
.mascot-head {
  transform-origin: 50px 45px;
}
.mascot-body {
  transform-origin: 50px 72px;
}
.mascot-arm-left {
  transform-origin: 34px 70px;
}
.mascot-arm-right {
  transform-origin: 66px 70px;
}
.mascot-shadow {
  transform-origin: 50px 92px;
  animation: shadowBob 3s ease-in-out infinite;
}

/* Idle Bobbing Animation */
.bobbing .mascot-head {
  animation: headBob 3s ease-in-out infinite;
}
.bobbing .mascot-body {
  animation: bodyBob 3s ease-in-out infinite;
}
.bobbing .mascot-arm-left {
  animation: armLeftBob 3s ease-in-out infinite;
}
.bobbing .mascot-arm-right {
  animation: armRightBob 3s ease-in-out infinite;
}

/* Blinking Animation */
.eye-left, .eye-right {
  animation: blink 4s ease-in-out infinite;
}

/* Mouth Smile stretch animation on hover */
.mascot-svg:hover .mascot-mouth {
  animation: smileWider var(--transition-fast) forwards;
}
.mascot-svg:hover .mascot-arm-right {
  animation: armWave 1s ease-in-out infinite alternate;
}

/* Keyframes */
@keyframes headBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(1deg); }
}
@keyframes bodyBob {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-2px) scaleY(0.98); }
}
@keyframes armLeftBob {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(5deg) translateY(-1px); }
}
@keyframes armRightBob {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-5deg) translateY(-1px); }
}
@keyframes shadowBob {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.9); opacity: 0.7; }
}
@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}
@keyframes smileWider {
  0% { d: path("M40,49 Q50,60 60,49 Z"); }
  100% { d: path("M36,49 Q50,66 64,49 Z"); }
}
@keyframes armWave {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-45deg); }
}

/* Floating Particles (Hero background) */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: padding var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
  padding: 24px 0;
}

header.scrolled {
  padding: 14px 0;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  border-radius: 0 !important;
  border: none !important;
  transition: height var(--transition-normal), filter var(--transition-normal);
}

header.scrolled .logo-img {
  height: 72px;
}

/* Dark mode: bright sky-blue (#60a5fa) */
[data-theme="dark"] .logo-img {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(195deg) brightness(1.1) !important;
}

/* Light mode: dark navy-blue (#1e3a8a) */
[data-theme="light"] .logo-img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(96%) saturate(800%) hue-rotate(210deg) brightness(75%) !important;
}

/* No extra filter overrides needed — same blue works on both themes */

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border-glass);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.theme-toggle-btn:hover {
  background-color: var(--bg-glass);
  border-color: var(--accent-color);
}
.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-slow);
}
[data-theme="light"] .theme-toggle-btn svg {
  transform: rotate(180deg);
}

/* Desktop: Hide Mobile Nav Close */
.mobile-only-nav-item {
  display: none;
}

/* Burger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 24px;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-tagline {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mascot group in Hero */
.hero-visuals {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.hero-mascot-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero-mascot-wrapper {
  position: relative;
}

.hero-mascot-wrapper:nth-child(1) { transform: translateY(15px); }
.hero-mascot-wrapper:nth-child(2) { transform: translateY(-10px); }
.hero-mascot-wrapper:nth-child(3) { transform: scale(1.15) translateY(-25px); z-index: 5; }
.hero-mascot-wrapper:nth-child(4) { transform: translateY(-10px); }
.hero-mascot-wrapper:nth-child(5) { transform: translateY(15px); }

/* Impact Section */
.impact-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 60px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.impact-card {
  text-align: center;
  padding: 24px;
}

.impact-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.impact-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.section-subtitle {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Cute illustration layout with Mascots */
.about-bubble-cloud {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 100%;
  padding: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
}

.about-bubble-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: transform var(--transition-normal);
}

.about-bubble-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.about-bubble-card .mascot-svg {
  width: 60px;
  height: 70px;
  margin-bottom: 12px;
}

.about-bubble-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.about-bubble-card p {
  font-size: 0.85rem;
}

/* Our Story Section */
.story-section {
  background-color: var(--bg-secondary);
}

.story-container {
  max-width: 900px;
  margin: 0 auto;
}

.story-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.story-intro h3 {
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.story-timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--border-glass);
}

.story-node {
  position: relative;
  margin-bottom: 48px;
}
.story-node:last-child {
  margin-bottom: 0;
}

.story-node::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-color);
  transition: background var(--transition-fast);
}

.story-node:hover::before {
  background: var(--accent-color);
}

.story-node-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.story-node-text {
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Ecosystem Section */
.ecosystem-section {
  border-bottom: 1px solid var(--border-glass);
}

.ecosystem-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.ecosystem-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.ecosystem-tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-headings);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.ecosystem-tab-btn:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
}

.ecosystem-tab-btn .tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-color);
}

/* Active tab buttons */
.ecosystem-tab-btn[data-tab="community"].active {
  border-color: var(--color-yellow);
  color: var(--text-primary);
  box-shadow: 0 4px 12px var(--color-yellow-shadow);
  background: rgba(252, 211, 77, 0.05);
}
.ecosystem-tab-btn[data-tab="unwind"].active {
  border-color: var(--color-green);
  color: var(--text-primary);
  box-shadow: 0 4px 12px var(--color-green-shadow);
  background: rgba(74, 222, 128, 0.05);
}
.ecosystem-tab-btn[data-tab="counseling"].active {
  border-color: var(--color-blue);
  color: var(--text-primary);
  box-shadow: 0 4px 12px var(--color-blue-shadow);
  background: rgba(96, 165, 250, 0.05);
}
.ecosystem-tab-btn[data-tab="sheblooms"].active {
  border-color: var(--color-purple);
  color: var(--text-primary);
  box-shadow: 0 4px 12px var(--color-purple-shadow);
  background: rgba(192, 132, 252, 0.05);
}
.ecosystem-tab-btn[data-tab="beyond"].active {
  border-color: var(--color-orange);
  color: var(--text-primary);
  box-shadow: 0 4px 12px var(--color-orange-shadow);
  background: rgba(251, 146, 60, 0.05);
}

.ecosystem-tab-content {
  display: none;
}
.ecosystem-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.ecosystem-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.ecosystem-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ecosystem-visual .mascot-svg {
  width: 220px;
  height: 240px;
}

.ecosystem-details h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.ecosystem-features-list {
  list-style: none;
  margin: 24px 0 32px 0;
}

.ecosystem-features-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.ecosystem-features-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Unwind Section & Habit Widget */
.unwind-section {
  background-color: var(--bg-secondary);
}

.unwind-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* Habit Tracker Widget */
.habit-widget {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 8px 32px var(--shadow-main);
  position: relative;
  overflow: hidden;
}

.habit-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-green);
}

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

.habit-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.habit-title-icon {
  color: var(--color-green);
  font-size: 1.4rem;
}

.habit-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.habit-streak {
  font-size: 0.9rem;
  background: rgba(74, 222, 128, 0.1);
  color: var(--color-green);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.habit-progress-circle {
  position: relative;
  width: 44px;
  height: 44px;
}

.habit-progress-circle svg {
  transform: rotate(-90deg);
}

.habit-progress-bg {
  fill: none;
  stroke: var(--bg-tertiary);
  stroke-width: 4;
}

.habit-progress-fill {
  fill: none;
  stroke: var(--color-green);
  stroke-width: 4;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.4s ease;
}

.habit-progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-green);
}

.habit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.habit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.habit-item.completed {
  border-color: rgba(74, 222, 128, 0.3);
}

.habit-item:hover {
  transform: translateX(4px);
}

.habit-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.habit-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.habit-checkbox::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  display: none;
}

.habit-item.completed .habit-checkbox {
  background: var(--color-green);
  border-color: var(--color-green);
}

.habit-item.completed .habit-checkbox::after {
  display: block;
}

.habit-name {
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast), text-decoration var(--transition-fast);
}

.habit-item.completed .habit-name {
  color: var(--text-muted);
  text-decoration: line-through;
}

.habit-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: color var(--transition-fast);
}
.habit-remove:hover {
  color: #ef4444;
}

.habit-input-form {
  display: flex;
  gap: 12px;
}

.habit-input {
  flex-grow: 1;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-glass);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}
.habit-input:focus {
  border-color: var(--color-green);
}

.btn-habit {
  background: var(--color-green);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.btn-habit:hover {
  background: var(--color-green-hover);
}

/* Counseling Section */
.counseling-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.counseling-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.counseling-item-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}
.counseling-item-card:hover {
  border-color: var(--color-blue);
}

.counseling-item-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.counseling-item-card p {
  font-size: 0.9rem;
}

.counseling-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.counseling-character-frame {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 32px var(--shadow-main);
  max-width: 320px;
  width: 100%;
}
.counseling-character-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-blue);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.counseling-character-frame .mascot-svg {
  width: 140px;
  height: 150px;
  margin-bottom: 20px;
}

/* Resources Section */
.resources-section {
  background-color: var(--bg-secondary);
}

.resources-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.resource-tag {
  background: rgba(96, 165, 250, 0.1);
  color: var(--color-blue);
}

.resource-tag.productivity {
  background: rgba(74, 222, 128, 0.1);
  color: var(--color-green);
}

.resource-tag.community-insight {
  background: rgba(252, 211, 77, 0.1);
  color: var(--color-yellow-hover);
}

.resource-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.resource-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-headings);
  transition: color var(--transition-fast);
}

.resource-link:hover {
  color: var(--accent-hover);
}

/* Events Section */
.events-header {
  text-align: center;
  margin-bottom: 50px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 992px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.event-card {
  background: var(--bg-secondary);
  border-top: 4px solid var(--accent-color);
  padding: 24px;
  border-radius: 16px;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.event-image {
  margin: -24px -24px 16px -24px;
  height: 180px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-badges {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.badge-free   { background: var(--badge-free);   color: #fff; }
.badge-paid   { background: var(--badge-paid);   color: #fff; }
.badge-online { background: var(--badge-online); color: #fff; }
.badge-offline{ background: var(--badge-offline);color: #fff; }

.event-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.event-desc {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
  flex-grow: 1;
}

.event-details {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-details li i {
  color: var(--accent-color);
  width: 16px;
  text-align: center;
  margin-right: 6px;
}

.event-footer {
  margin-top: auto;
}

/* Team Section */
.team-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.team-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.team-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  width: 340px;
  box-shadow: 0 8px 32px var(--shadow-main);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.team-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 24px auto;
  background: linear-gradient(135deg, var(--color-blue), var(--color-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  border: 3px solid var(--border-glass);
}

.team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 24px auto;
  object-fit: cover;
  display: block;
  border: 3px solid var(--border-glass);
}

.team-card:nth-child(2) .team-avatar-placeholder {
  background: linear-gradient(135deg, var(--color-green), var(--color-blue));
}

.team-name {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.95rem;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.team-bio {
  font-size: 0.9rem;
}

.team-footer-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Call To Action Section */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
}

.cta-glass-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Footer styling */
footer {
  background-color: #05080e;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px 0;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
  color: white;
}

.footer-social-links {
  display: flex;
  gap: 16px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.footer-title {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: white;
  text-decoration: none;
  transition: color var(--transition-fast);
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Modals (Counseling Booking Flow) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 550px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  z-index: 10;
}
.modal-close-btn:hover {
  color: var(--text-primary);
}

/* Modal Content & Wizard steps */
.modal-progress-bar {
  height: 4px;
  background: var(--bg-tertiary);
  width: 100%;
  position: relative;
}

.modal-progress-fill {
  height: 100%;
  background: var(--color-blue);
  width: 25%;
  transition: width 0.3s ease;
}

.modal-content {
  padding: 40px;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.modal-step h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-step p.step-desc {
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-blue);
}

.booking-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.booking-option-card {
  border: 2.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.booking-option-card:hover {
  border-color: var(--accent-color);
}

.booking-option-card.selected {
  border-color: var(--color-blue);
  background: rgba(96, 165, 250, 0.08);
}

.booking-option-card h4 {
  font-size: 1rem;
  margin-top: 8px;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1200;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: wa-pulse 2.5s infinite;
  pointer-events: all;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
  color: white;
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1100;
}

.toast {
  background: #10b981;
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-headings);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animations Helper */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   RESPONSIVE — TABLET  (≤1024px)
   ============================================== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  .hero-title { font-size: 3rem; }

  .about-grid,
  .unwind-grid,
  .counseling-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual { order: 2; }

  /* Old tab-based ecosystem compat */
  .ecosystem-card-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .ecosystem-visual { order: 2; }
  .ecosystem-features-list li {
    display: inline-block;
    margin-right: 20px;
  }

  /* New card grid: 3 columns on tablet */
  .eco-cards-grid { grid-template-columns: repeat(3, 1fr); }

  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ==============================================
   RESPONSIVE — MOBILE  (≤768px)
   ============================================== */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .container { padding: 0 16px; }

  /* --- NAV --- */
  .nav-container { height: 64px; }

  /* Hide Book Session button on mobile to reduce clutter */
  #nav-booking-btn { display: none; }

  .logo-img { height: 65px !important; }
  header.scrolled .logo-img { height: 55px !important; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 40px;
    gap: 8px;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    border-left: 1px solid var(--border-glass);
    z-index: 99;
    overflow-y: auto;
  }
  .nav-menu.active { right: 0; }

  /* Mobile Close Button inside Nav Menu */
  .mobile-only-nav-item {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-glass);
  }
  
  .mobile-close-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-family: inherit;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-glass);
  }

  /* --- HERO --- */
  .hero-section {
    padding-top: 90px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .hero-title { font-size: 2.2rem; line-height: 1.25; }
  .hero-description { font-size: 1rem; }

  /* Mascots — shrink and center, prevent overflow */
  .hero-visuals {
    height: auto;
    width: 100%;
    overflow: hidden;
  }

  .hero-mascot-group {
    gap: 4px;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    overflow: hidden;
  }

  .hero-mascot-wrapper { transform: none !important; }

  .mascot-svg {
    width: 55px !important;
    height: 64px !important;
  }

  /* --- IMPACT --- */
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .impact-number { font-size: 2rem; }

  /* --- ABOUT --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-bubble-cloud {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 12px;
  }
  .section-title { font-size: 1.8rem; }

  /* --- STORY --- */
  .story-timeline {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .story-node { padding: 20px; }

  /* --- ECOSYSTEM CARDS --- */
  .eco-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .eco-card { padding: 18px 12px 16px; }
  .eco-card-mascot { width: 60px; height: 60px; }
  .eco-card-title { font-size: 0.9rem; }
  .eco-card-desc  { font-size: 0.78rem; }

  /* --- UNWIND --- */
  .unwind-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .habit-tracker { width: 100%; }
  .habit-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
  }
  .habit-day { height: 32px; font-size: 0.6rem; }

  /* Unwind detail cards: stack to 1 col */
  .unwind-details-cards { grid-template-columns: 1fr !important; }

  /* --- COUNSELING --- */
  .counseling-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .booking-option-grid { grid-template-columns: 1fr; }
  .counseling-cards-stack { gap: 12px; }

  /* --- EVENTS --- */
  .events-grid { grid-template-columns: 1fr; }
  .events-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* --- TEAM --- */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card  { padding: 24px 16px; }

  /* --- FOOTER --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* --- MODAL --- */
  .modal-content  { padding: 20px; }
  .modal-panel    { padding: 24px 16px 36px; border-radius: 20px 20px 0 0; }
}

/* ==============================================
   RESPONSIVE — SMALL MOBILE  (≤480px)
   ============================================== */
@media (max-width: 480px) {
  section { padding: 48px 0; }

  .hero-title  { font-size: 2rem; }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-buttons .btn { width: 100%; }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .impact-number { font-size: 2rem; }

  .about-bubble-cloud {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  /* Ecosystem: 1 column on very small screens */
  .eco-cards-grid { grid-template-columns: 1fr; }
  .eco-card { flex-direction: row; text-align: left; gap: 14px; padding: 16px; }
  .eco-card-mascot { width: 56px; height: 56px; flex-shrink: 0; margin-bottom: 0; }
  .eco-card-accent { width: 4px; height: auto; top: 0; bottom: 0; left: 0; right: auto; border-radius: 20px 0 0 20px; }
  .eco-card-title  { font-size: 0.95rem; margin-bottom: 6px; justify-content: flex-start; }
  .eco-card-desc   { font-size: 0.78rem; margin-bottom: 10px; }

  .section-title { font-size: 1.6rem; }
  .cta-title     { font-size: 1.6rem; }

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

  .btn { width: 100%; }
}


/* ============================================================
   ECOSYSTEM CARDS + MODAL
   ============================================================ */

.eco-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}

.eco-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}

.eco-card-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 0 0 20px 20px;
  transition: height 0.3s ease;
}

.eco-card:hover .eco-card-accent {
  height: 6px;
}

.eco-card-mascot {
  width: 90px;
  height: 90px;
  margin-bottom: 16px;
}

.eco-card-mascot .mascot-svg {
  width: 100%;
  height: 100%;
}

.eco-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.eco-soon {
  font-size: 0.6rem;
  font-weight: 600;
  background: linear-gradient(135deg,#c084fc,#7e22ce);
  color: #fff;
  padding: 2px 7px;
  border-radius: 20px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.eco-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.eco-card-cta {
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: gap 0.2s ease, border-color 0.2s ease;
}

a.eco-card-cta:hover {
  gap: 10px;
  border-bottom-color: currentColor;
}

/* Modal overlay */
.eco-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.eco-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.eco-modal-panel {
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 28px 28px 0 0;
  padding: 40px 40px 48px;
  position: relative;
  transform: translateY(60px);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  scrollbar-width: thin;
}

.eco-modal-overlay.open .eco-modal-panel {
  transform: translateY(0);
}

.eco-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(var(--color-accent-rgb, 99,102,241),0.1);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.eco-modal-close:hover {
  background: rgba(var(--color-accent-rgb, 99,102,241),0.2);
  transform: rotate(90deg);
}

.eco-modal-body {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.eco-modal-mascot {
  flex-shrink: 0;
  width: 120px;
}

.eco-modal-mascot .mascot-svg {
  width: 120px;
  height: 130px;
}

.eco-modal-content {
  flex: 1;
}

.eco-modal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.eco-modal-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.eco-modal-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.eco-modal-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eco-modal-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.eco-modal-features li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--eco-accent-color, var(--color-accent));
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .eco-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .eco-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-modal-body {
    flex-direction: column;
    align-items: center;
  }
  .eco-modal-panel {
    padding: 28px 20px 40px;
  }
}

@media (max-width: 400px) {
  .eco-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) { .unwind-responsive-grid { grid-template-columns: 1fr !important; } }
