/* ==========================================================================
   GratiGarden Official Website Design System & Stylesheet
   ========================================================================== */

:root {
  /* Primary HSL Tokens (Light Theme: Nature & Botanical Calm) */
  --hue-primary: 82;      /* Olive / Sage Green */
  --hue-accent: 145;      /* Mint / Emerald */
  --hue-warm: 38;         /* Amber Sunlight */

  --bg-main: #F8FAF6;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-solid: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-section-alt: #EBF2E4;

  --text-primary: #223023;
  --text-secondary: #586B5A;
  --text-muted: #849686;
  --text-inverse: #FFFFFF;

  --primary: #557A2B;
  --primary-light: #7BA83E;
  --primary-soft: #E8F0DC;
  --accent-gold: #E5A33C;
  --accent-blue: #4A90E2;

  --border-subtle: rgba(85, 122, 43, 0.12);
  --border-strong: rgba(85, 122, 43, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 4px 12px rgba(34, 48, 35, 0.05);
  --shadow-md: 0 10px 30px rgba(34, 48, 35, 0.08);
  --shadow-lg: 0 20px 50px rgba(34, 48, 35, 0.12);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Tokens (Deep Forest & Midnight Tranquility) */
body.dark-mode {
  --bg-main: #0E1410;
  --bg-card: rgba(26, 36, 29, 0.9);
  --bg-card-solid: #131A15;
  --bg-elevated: #1D2820;
  --bg-section-alt: #19231B;

  --text-primary: #F0F4EF;
  --text-secondary: #B1C4B4;
  --text-muted: #7E9482;
  --text-inverse: #111713;

  --primary: #8CC64A;
  --primary-light: #A5DE64;
  --primary-soft: #233321;
  --accent-gold: #F5B955;
  --accent-blue: #6DB3F2;

  --border-subtle: rgba(140, 198, 74, 0.15);
  --border-strong: rgba(140, 198, 74, 0.3);
  --glass-bg: rgba(22, 32, 25, 0.82);
  --glass-border: rgba(140, 198, 74, 0.2);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
}

html, body {
  -webkit-tap-highlight-color: transparent !important;
  overflow-x: hidden;
  max-width: 100vw;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Header & Navbar (Glassmorphism)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

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

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

.brand-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
  border: none;
  background: transparent;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

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

/* ==========================================================================
   Custom Language Dropdown with Flags for Every Option
   ========================================================================== */
.lang-custom-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 12px 4px 10px;
  height: 38px;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
}

.lang-dropdown-btn:hover,
.lang-custom-dropdown.open .lang-dropdown-btn {
  border-color: var(--primary);
  background: var(--bg-elevated);
  box-shadow: 0 2px 10px rgba(53, 139, 85, 0.15);
}

.lang-flag-icon {
  width: 20px !important;
  height: 14px !important;
  min-width: 20px !important;
  min-height: 14px !important;
  max-width: 20px !important;
  max-height: 14px !important;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: inline-block !important;
  vertical-align: middle;
  margin: 0;
}

.lang-current-label {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
}

.lang-arrow-svg {
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.lang-custom-dropdown.open .lang-arrow-svg {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Dropdown Menu Container */
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  min-width: 205px;
  max-width: calc(100vw - 24px);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 6px;
  list-style: none;
  margin: 0;
  z-index: 1050;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
  pointer-events: none;
  max-height: min(85vh, 480px);
  overflow-y: auto;
  scrollbar-width: none;
}

.lang-dropdown-menu::-webkit-scrollbar {
  display: none;
}

.lang-custom-dropdown.open .lang-dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
  z-index: 99999 !important;
}

/* Dropdown List Items with Flags */
.lang-option-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 500;
  user-select: none;
}

.lang-option-item:hover {
  background: rgba(53, 139, 85, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.lang-option-item.active {
  background: rgba(53, 139, 85, 0.12);
  color: var(--primary);
  font-weight: 700;
}

.lang-item-flag {
  width: 20px !important;
  height: 14px !important;
  min-width: 20px !important;
  min-height: 14px !important;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: inline-block !important;
}

.lang-item-name {
  flex: 1;
  text-align: left;
  line-height: 1.2;
  white-space: nowrap;
}

.lang-check-icon {
  color: var(--primary);
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.lang-option-item.active .lang-check-icon {
  opacity: 1;
  transform: scale(1);
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

#themeToggleBtn:hover {
  background: var(--primary-soft);
  color: var(--primary);
  transform: rotate(15deg);
}

.balloon-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.balloon-toggle-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 125, 94, 0.15);
}

.balloon-toggle-btn.active {
  color: #e06d53;
  border-color: rgba(224, 109, 83, 0.35);
  background: rgba(224, 109, 83, 0.08);
}

.balloon-toggle-btn.active:hover {
  background: rgba(224, 109, 83, 0.16);
  color: #d1563a;
}

.balloon-toggle-btn.off {
  color: var(--text-tertiary);
  opacity: 0.65;
  border-color: var(--border-subtle);
  background: var(--bg-card);
}

/* ==========================================================================
   Mobile Hamburger Menu Button & Navigation Drawer
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  outline: none;
  box-shadow: var(--shadow-sm);
}

.mobile-menu-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
}

.hamburger-icon {
  width: 17px;
  height: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.mobile-menu-btn.active .hamburger-icon span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile Navigation Drawer & Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card-solid);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -10px 0 32px rgba(0, 0, 0, 0.25);
  z-index: 1999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-main);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
}

.drawer-brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
  border: none;
  background: transparent;
}

.mobile-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: var(--primary-soft);
  color: var(--primary);
  transform: rotate(90deg);
}

.mobile-drawer-body {
  padding: 18px 18px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.drawer-section-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  transition: all 0.18s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateX(4px);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
  list-style: none;
}

.mobile-nav-link.drawer-download-link {
  color: var(--primary);
  font-weight: 700;
}

.mobile-drawer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 2px 0;
}

/* Theme Toggle Switch Row in Drawer */
.drawer-theme-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
  transform: none !important;
}

.drawer-theme-toggle-row:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: none !important;
}

.drawer-theme-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.drawer-theme-icon {
  font-size: 1.12rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Sleek iOS/Material Pill Toggle Switch */
.drawer-toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
}

.drawer-toggle-switch .switch-track {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 13px;
  position: relative;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .drawer-toggle-switch .switch-track,
[data-theme="dark"] .drawer-toggle-switch .switch-track {
  background: rgba(255, 255, 255, 0.22);
}

.drawer-toggle-switch .switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-toggle-switch.checked .switch-track,
body.dark-mode .drawer-toggle-switch .switch-track {
  background: var(--primary);
}

.drawer-toggle-switch.checked .switch-thumb,
body.dark-mode .drawer-toggle-switch .switch-thumb {
  transform: translateX(22px);
  background: #FFFFFF;
}

/* 10 Languages Dropdown in Drawer */
.drawer-lang-dropdown {
  position: relative;
  width: 100%;
}

.drawer-lang-dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.drawer-lang-dropdown-btn:hover {
  border-color: var(--primary);
}

.drawer-lang-dropdown.open .drawer-lang-dropdown-btn {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(72, 153, 91, 0.18);
}

.drawer-lang-dropdown.open .lang-arrow-svg {
  transform: rotate(180deg);
}

.drawer-lang-current {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-lang-dropdown-menu {
  display: none;
  position: static;
  width: 100%;
  margin-top: 8px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.drawer-lang-dropdown.open .drawer-lang-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: drawerMenuFade 0.2s ease-out;
}

@keyframes drawerMenuFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.drawer-lang-dropdown-menu .lang-option-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.drawer-lang-dropdown-menu .lang-option-item:hover {
  background: var(--bg-elevated);
}

.drawer-lang-dropdown-menu .lang-option-item.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.drawer-lang-dropdown-menu .lang-check-icon {
  margin-left: auto;
  stroke: var(--primary);
  display: none;
}

.drawer-lang-dropdown-menu .lang-option-item.active .lang-check-icon {
  display: block;
}

.drawer-lang-btn.active span {
  color: #FFFFFF !important;
}

/* Drawer Download Section & Google Play Badge */
.drawer-download-section {
  padding: 12px 0 10px;
}

.drawer-store-badges {
  display: flex;
  align-items: center;
  padding: 2px 0 0;
}

.drawer-store-badge-link {
  display: block;
  width: 66.7%;
  max-width: 195px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.drawer-store-badge-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  opacity: 0.94;
}

.drawer-store-badge-link:active {
  transform: translateY(0);
}

.drawer-store-badge-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 9px;
}

/* Legacy Drawer Bottom Google Play Badge Button (Fallback) */
.drawer-cta-wrap {
  margin-top: auto;
  padding-top: 14px;
}

.drawer-google-play-btn {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px 18px;
  font-size: 0.92rem;
  border-radius: 14px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--text-inverse);
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px -6px var(--primary);
  transition: all var(--transition-fast);
}

.cta-button:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(123, 168, 62, 0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-subtle);
}



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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-lead {
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-lead strong {
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

body.dark-mode .hero-lead strong,
[data-theme="dark"] .hero-lead strong {
  color: var(--primary-light);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Inline Category Pills in Hero Subtitle */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 0.88em;
  font-weight: 700;
  vertical-align: middle;
  line-height: 1.35;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 2px;
  cursor: default;
}

.cat-pill::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
}

/* Category Specific Masks for .cat-pill::before (Exact Material Icons) */
.cat-pill-health::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.cat-pill-people::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V18c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-1.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V18c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-1.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V18c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-1.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V18c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-1.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}

.cat-pill-progress::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.85 6.85l1.44 1.44-4.59 4.59-4-4a.996.996 0 0 0-1.41 0L2.7 19.47a.996.996 0 1 0 1.41 1.41L9.7 15.3l4 4a.996.996 0 0 0 1.41 0l5.3-5.29 1.44 1.44c.45.45 1.22.13 1.22-.51V6.5c0-.55-.45-1-1-1h-8.35c-.64 0-.96.77-.51 1.22l1.68 1.63z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.85 6.85l1.44 1.44-4.59 4.59-4-4a.996.996 0 0 0-1.41 0L2.7 19.47a.996.996 0 1 0 1.41 1.41L9.7 15.3l4 4a.996.996 0 0 0 1.41 0l5.3-5.29 1.44 1.44c.45.45 1.22.13 1.22-.51V6.5c0-.55-.45-1-1-1h-8.35c-.64 0-.96.77-.51 1.22l1.68 1.63z'/%3E%3C/svg%3E");
}

.cat-pill-experience::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.88 12.12L7 17l2.88-6.88L17 7l-3.12 7.12z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.88 12.12L7 17l2.88-6.88L17 7l-3.12 7.12z'/%3E%3C/svg%3E");
}

.cat-pill-nature::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.17 11h1.56c.46 0 .72-.51.45-.88L12.7 1.34a.83.83 0 0 0-1.4 0L4.82 10.12c-.27.37-.01.88.45.88h1.56l-3.4 5.23c-.31.48.03 1.11.61 1.11H8v4c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-4h3.96c.58 0 .92-.63.61-1.11L17.17 11z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.17 11h1.56c.46 0 .72-.51.45-.88L12.7 1.34a.83.83 0 0 0-1.4 0L4.82 10.12c-.27.37-.01.88.45.88h1.56l-3.4 5.23c-.31.48.03 1.11.61 1.11H8v4c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-4h3.96c.58 0 .92-.63.61-1.11L17.17 11z'/%3E%3C/svg%3E");
}

.cat-pill-mind::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.94 9.06A6 6 0 0 0 8.68 5.3L6.64 7.34a.996.996 0 0 0 0 1.41c.39.39 1.02.39 1.41 0l1.45-1.45c.42-.42 1-.66 1.6-.66 1.1 0 2 .9 2 2 0 .6-.24 1.18-.66 1.6l-2.07 2.07c-.4.4-.67.9-.77 1.45L9.08 17H8c-.55 0-1 .45-1 1s.45 1 1 1h2.5c.38 0 .74-.22.9-.56l.54-1.12.87-.29c.6-.2 1.09-.64 1.36-1.22l.27-.58.62-.12c.79-.16 1.46-.68 1.77-1.42l.28-.66 1.89-1.89c.63-.63 1.55-.89 2.41-.69l.52.12c-.27-.72-.9-1.27-1.67-1.48l-.94-.25zM12 3a9 9 0 0 1 9 9c0 2.12-.74 4.07-1.97 5.61L20.9 19.5c.39.39.39 1.02 0 1.41-.39.39-1.02.39-1.41 0l-1.63-1.63C16.32 20.31 14.26 21 12 21c-.55 0-1-.45-1-1v-2h-1c-.55 0-1-.45-1-1v-1.13c-.33-.2-.61-.47-.82-.8l-.82-1.31c-.36-.57-.56-1.24-.56-1.92V9.66c0-.53.21-1.04.59-1.41l2.45-2.45C9.43 4.21 10.68 3.5 12 3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.94 9.06A6 6 0 0 0 8.68 5.3L6.64 7.34a.996.996 0 0 0 0 1.41c.39.39 1.02.39 1.41 0l1.45-1.45c.42-.42 1-.66 1.6-.66 1.1 0 2 .9 2 2 0 .6-.24 1.18-.66 1.6l-2.07 2.07c-.4.4-.67.9-.77 1.45L9.08 17H8c-.55 0-1 .45-1 1s.45 1 1 1h2.5c.38 0 .74-.22.9-.56l.54-1.12.87-.29c.6-.2 1.09-.64 1.36-1.22l.27-.58.62-.12c.79-.16 1.46-.68 1.77-1.42l.28-.66 1.89-1.89c.63-.63 1.55-.89 2.41-.69l.52.12c-.27-.72-.9-1.27-1.67-1.48l-.94-.25zM12 3a9 9 0 0 1 9 9c0 2.12-.74 4.07-1.97 5.61L20.9 19.5c.39.39.39 1.02 0 1.41-.39.39-1.02.39-1.41 0l-1.63-1.63C16.32 20.31 14.26 21 12 21c-.55 0-1-.45-1-1v-2h-1c-.55 0-1-.45-1-1v-1.13c-.33-.2-.61-.47-.82-.8l-.82-1.31c-.36-.57-.56-1.24-.56-1.92V9.66c0-.53.21-1.04.59-1.41l2.45-2.45C9.43 4.21 10.68 3.5 12 3z'/%3E%3C/svg%3E");
}

.cat-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Light Mode Pills */
.cat-pill-health {
  background: #E8F6ED;
  color: #1E6B37;
  border-color: rgba(30, 107, 55, 0.22);
}

.cat-pill-people {
  background: #FDF0EE;
  color: #C0392B;
  border-color: rgba(192, 57, 43, 0.22);
}

.cat-pill-progress {
  background: #EBF4FC;
  color: #186899;
  border-color: rgba(24, 104, 153, 0.22);
}

.cat-pill-experience {
  background: #FEF4E4;
  color: #A35800;
  border-color: rgba(163, 88, 0, 0.22);
}

.cat-pill-nature {
  background: #F1F6D8;
  color: #4C6813;
  border-color: rgba(76, 104, 19, 0.25);
}

.cat-pill-mind {
  background: #F2EEF8;
  color: #5E438A;
  border-color: rgba(94, 67, 138, 0.22);
}

/* Dark Mode Pills */
body.dark-mode .cat-pill-health {
  background: rgba(114, 199, 154, 0.16);
  color: #85DEAA;
  border-color: rgba(133, 222, 170, 0.3);
}

body.dark-mode .cat-pill-people {
  background: rgba(242, 140, 130, 0.16);
  color: #FFAAA2;
  border-color: rgba(255, 170, 162, 0.3);
}

body.dark-mode .cat-pill-progress {
  background: rgba(105, 184, 233, 0.16);
  color: #8FD4FF;
  border-color: rgba(143, 212, 255, 0.3);
}

body.dark-mode .cat-pill-experience {
  background: rgba(250, 184, 94, 0.16);
  color: #FFCD85;
  border-color: rgba(255, 205, 133, 0.3);
}

body.dark-mode .cat-pill-nature {
  background: rgba(196, 214, 51, 0.16);
  color: #D9EB54;
  border-color: rgba(217, 235, 84, 0.3);
}

body.dark-mode .cat-pill-mind {
  background: rgba(174, 156, 210, 0.16);
  color: #CAB8EE;
  border-color: rgba(202, 184, 238, 0.3);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-google-play-badge {
  display: inline-block;
  width: 205px;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, opacity 0.2s ease;
}

.hero-google-play-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  opacity: 0.96;
}

.hero-google-play-badge:active {
  transform: translateY(0);
}

.hero-play-badge-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 11px;
}

.btn-google-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #1F2326;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.btn-google-play:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(34, 48, 35, 0.05);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  user-select: none;
}

.highlight-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 4px 14px rgba(34, 48, 35, 0.09);
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.highlight-item svg {
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  padding: 3px;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Visual / 6-Category Dynamic Auto-Scroll Showcase (KEY REQUIREMENT)
   ========================================================================== */
.showcase-container {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.showcase-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.showcase-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/home-garden-bg.png');
  background-size: 100% 100%;
  background-position: center;
  filter: brightness(1.02);
}

/* Category Scenes overlay */
.category-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.category-scene.active {
  opacity: 1;
  visibility: visible;
}

/* 10 Elements in each scene positioned identically to app home screen (no animation) */
.scene-element {
  position: absolute;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.16));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.scene-element:hover {
  transform: translate(-50%, -50%) scale(1.15) !important;
  z-index: 100 !important;
}

.showcase-info-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  min-height: 114px;
  padding: 16px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  overflow: hidden;
}

.scene-badge-group {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.scene-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 5px;
}

.scene-cat-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.scene-cat-icon svg,
.scene-cat-icon .cat-svg-icon {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  display: block;
}

.scene-title-text {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scene-title-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  text-align: center;
  display: inline-flex;
  align-items: center;
}

.scene-title-text p {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-secondary);
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

/* Category SVG icons & switcher buttons */
.cat-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cat-svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}

.scene-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scene-cat-icon .cat-svg-icon {
  width: 20px;
  height: 20px;
}



/* ==========================================================================
   Section 2: 8-Screen Mobile Carousel (Google Store Screens)
   ========================================================================== */
.carousel-section {
  padding: 110px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  scroll-margin-top: 80px;
}

.phone-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-stage {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0;
}

.carousel-3d-track {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Individual Phone Card with 2px Bezel */
.phone-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease, filter 0.45s ease, visibility 0.45s;
  cursor: pointer;
  user-select: none;
}

/* Slim 2px Phone Bezel Frame (요한님 요청: px=2) */
.phone-bezel {
  position: relative;
  width: 290px;
  height: 580px;
  background: #1A1F1C;
  border: 2px solid rgba(25, 30, 27, 0.95);
  border-radius: 36px;
  padding: 2px; /* 폰 외곽틀 2px */
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #000000;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Active Center Card */
.phone-card.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
  z-index: 10;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.25));
  cursor: default;
}

/* Left Peeking Card (이전 페이지 부분 화면 노출) */
.phone-card.prev {
  transform: translate(calc(-50% - 240px), -50%) scale(0.86);
  opacity: 0.58;
  visibility: visible;
  z-index: 5;
  filter: brightness(0.92);
}

.phone-card.prev:hover {
  opacity: 0.85;
  transform: translate(calc(-50% - 232px), -50%) scale(0.88);
}

/* Right Peeking Card (다음 페이지 부분 화면 노출) */
.phone-card.next {
  transform: translate(calc(-50% + 240px), -50%) scale(0.86);
  opacity: 0.58;
  visibility: visible;
  z-index: 5;
  filter: brightness(0.92);
}

.phone-card.next:hover {
  opacity: 0.85;
  transform: translate(calc(-50% + 232px), -50%) scale(0.88);
}

/* Carousel Nav Buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card-solid);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 25;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.carousel-arrow:hover {
  background: var(--primary);
  color: var(--text-inverse);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

/* Carousel Indicators & Screen Title */
.carousel-caption {
  text-align: center;
  margin-top: 24px;
}

.carousel-title-display {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.carousel-desc-display {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 450px;
  margin: 0 auto 16px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--primary);
}

/* ==========================================================================
   Section 3: 60 Elements Flora & Fauna Encyclopedia
   ========================================================================== */
.elements-section {
  padding: 110px 0;
  background: var(--bg-card-solid);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  scroll-margin-top: 80px;
}

.category-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 26px;
  transition: transform 0.3s ease;
}

@keyframes tabsHighlightPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.04); filter: drop-shadow(0 4px 16px rgba(53, 139, 85, 0.3)); }
  100% { transform: scale(1); filter: none; }
}

.category-tabs-wrapper.tabs-highlight-pulse {
  animation: tabsHighlightPulse 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-pill:hover {
  transform: translateY(-2px);
}

/* Category Specific Colors for Encyclopedia Tab Pills */
/* 0. All (전체 보기) */
.tab-pill[data-filter="all"] {
  background: #F3F4F6;
  color: #374151;
  border-color: #E5E7EB;
}
.tab-pill[data-filter="all"] .cat-svg-icon {
  fill: #4B5563;
}
.tab-pill[data-filter="all"]:hover {
  background: #E5E7EB;
  border-color: #9CA3AF;
}
.tab-pill[data-filter="all"].active {
  background: #374151 !important;
  color: #FFFFFF !important;
  border-color: #374151 !important;
  box-shadow: 0 6px 18px -4px rgba(55, 65, 81, 0.45) !important;
}
.tab-pill[data-filter="all"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 1. Health (건강) - Emerald Green */
.tab-pill[data-filter="health"] {
  background: #EAF5EE;
  color: #245A38;
  border-color: #CCE8D6;
}
.tab-pill[data-filter="health"] .cat-svg-icon {
  fill: #358B55;
}
.tab-pill[data-filter="health"]:hover {
  background: #DCF0E2;
  border-color: #358B55;
}
.tab-pill[data-filter="health"].active {
  background: #358B55 !important;
  color: #FFFFFF !important;
  border-color: #358B55 !important;
  box-shadow: 0 6px 18px -4px rgba(53, 139, 85, 0.45) !important;
}
.tab-pill[data-filter="health"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 2. People (사람) - Coral Red */
.tab-pill[data-filter="people"] {
  background: #FDF1F0;
  color: #8C2220;
  border-color: #F8CBC9;
}
.tab-pill[data-filter="people"] .cat-svg-icon {
  fill: #D9534F;
}
.tab-pill[data-filter="people"]:hover {
  background: #FCE6E5;
  border-color: #D9534F;
}
.tab-pill[data-filter="people"].active {
  background: #D9534F !important;
  color: #FFFFFF !important;
  border-color: #D9534F !important;
  box-shadow: 0 6px 18px -4px rgba(217, 83, 79, 0.45) !important;
}
.tab-pill[data-filter="people"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 3. Progress (성장) - Ocean Sky Blue */
.tab-pill[data-filter="progress"] {
  background: #EEF6FC;
  color: #16537D;
  border-color: #C6E2F5;
}
.tab-pill[data-filter="progress"] .cat-svg-icon {
  fill: #2B82BA;
}
.tab-pill[data-filter="progress"]:hover {
  background: #E0EFF9;
  border-color: #2B82BA;
}
.tab-pill[data-filter="progress"].active {
  background: #2B82BA !important;
  color: #FFFFFF !important;
  border-color: #2B82BA !important;
  box-shadow: 0 6px 18px -4px rgba(43, 130, 186, 0.45) !important;
}
.tab-pill[data-filter="progress"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 4. Experience (경험) - Warm Amber Gold */
.tab-pill[data-filter="experience"] {
  background: #FDF6EC;
  color: #7A4205;
  border-color: #FCE1BE;
}
.tab-pill[data-filter="experience"] .cat-svg-icon {
  fill: #C97A1E;
}
.tab-pill[data-filter="experience"]:hover {
  background: #FBEDDB;
  border-color: #C97A1E;
}
.tab-pill[data-filter="experience"].active {
  background: #C97A1E !important;
  color: #FFFFFF !important;
  border-color: #C97A1E !important;
  box-shadow: 0 6px 18px -4px rgba(201, 122, 30, 0.45) !important;
}
.tab-pill[data-filter="experience"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 5. Nature (자연) - Moss Olive Green */
.tab-pill[data-filter="nature"] {
  background: #F3F7EB;
  color: #3B5318;
  border-color: #DDE8C9;
}
.tab-pill[data-filter="nature"] .cat-svg-icon {
  fill: #5C7A2E;
}
.tab-pill[data-filter="nature"]:hover {
  background: #EAF2DC;
  border-color: #5C7A2E;
}
.tab-pill[data-filter="nature"].active {
  background: #5C7A2E !important;
  color: #FFFFFF !important;
  border-color: #5C7A2E !important;
  box-shadow: 0 6px 18px -4px rgba(92, 122, 46, 0.45) !important;
}
.tab-pill[data-filter="nature"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 6. Mind (마음) - Lavender Violet */
.tab-pill[data-filter="mind"] {
  background: #F5F2F9;
  color: #4B386C;
  border-color: #DDD4EB;
}
.tab-pill[data-filter="mind"] .cat-svg-icon {
  fill: #7C67A3;
}
.tab-pill[data-filter="mind"]:hover {
  background: #ECE5F3;
  border-color: #7C67A3;
}
.tab-pill[data-filter="mind"].active {
  background: #7C67A3 !important;
  color: #FFFFFF !important;
  border-color: #7C67A3 !important;
  box-shadow: 0 6px 18px -4px rgba(124, 103, 163, 0.45) !important;
}
.tab-pill[data-filter="mind"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

.elements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.element-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: default;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.element-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-solid);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* Category-Specific Soft Pastel Backgrounds for Element Cards */
.element-card.cat-health {
  background: #EAF5EE;
  border-color: #CCE8D6;
}
.element-card.cat-health:hover {
  background: #E1F2E7;
  border-color: #358B55;
  box-shadow: 0 10px 24px -4px rgba(53, 139, 85, 0.18);
}
.element-card.cat-health .element-thumb-wrap {
  background: radial-gradient(circle, rgba(53, 139, 85, 0.22) 0%, transparent 70%);
}

.element-card.cat-people {
  background: #FDF1F0;
  border-color: #F8CBC9;
}
.element-card.cat-people:hover {
  background: #FCE6E5;
  border-color: #D9534F;
  box-shadow: 0 10px 24px -4px rgba(217, 83, 79, 0.18);
}
.element-card.cat-people .element-thumb-wrap {
  background: radial-gradient(circle, rgba(217, 83, 79, 0.22) 0%, transparent 70%);
}

.element-card.cat-progress {
  background: #EEF6FC;
  border-color: #C6E2F5;
}
.element-card.cat-progress:hover {
  background: #E0EFF9;
  border-color: #2B82BA;
  box-shadow: 0 10px 24px -4px rgba(43, 130, 186, 0.18);
}
.element-card.cat-progress .element-thumb-wrap {
  background: radial-gradient(circle, rgba(43, 130, 186, 0.22) 0%, transparent 70%);
}

.element-card.cat-experience {
  background: #FDF6EC;
  border-color: #FCE1BE;
}
.element-card.cat-experience:hover {
  background: #FBEDDB;
  border-color: #C97A1E;
  box-shadow: 0 10px 24px -4px rgba(201, 122, 30, 0.18);
}
.element-card.cat-experience .element-thumb-wrap {
  background: radial-gradient(circle, rgba(201, 122, 30, 0.22) 0%, transparent 70%);
}

.element-card.cat-nature {
  background: #F3F7EB;
  border-color: #DDE8C9;
}
.element-card.cat-nature:hover {
  background: #EAF2DC;
  border-color: #5C7A2E;
  box-shadow: 0 10px 24px -4px rgba(92, 122, 46, 0.18);
}
.element-card.cat-nature .element-thumb-wrap {
  background: radial-gradient(circle, rgba(92, 122, 46, 0.22) 0%, transparent 70%);
}

.element-card.cat-mind {
  background: #F5F2F9;
  border-color: #DDD4EB;
}
.element-card.cat-mind:hover {
  background: #ECE5F3;
  border-color: #7C67A3;
  box-shadow: 0 10px 24px -4px rgba(124, 103, 163, 0.18);
}
.element-card.cat-mind .element-thumb-wrap {
  background: radial-gradient(circle, rgba(124, 103, 163, 0.22) 0%, transparent 70%);
}

/* Dark Mode Category Tinted Element Cards */
body.dark-mode .element-card.cat-health,
[data-theme="dark"] .element-card.cat-health {
  background: rgba(53, 139, 85, 0.14);
  border-color: rgba(53, 139, 85, 0.35);
}
body.dark-mode .element-card.cat-health:hover,
[data-theme="dark"] .element-card.cat-health:hover {
  background: rgba(53, 139, 85, 0.22);
  border-color: rgba(53, 139, 85, 0.55);
}

body.dark-mode .element-card.cat-people,
[data-theme="dark"] .element-card.cat-people {
  background: rgba(217, 83, 79, 0.14);
  border-color: rgba(217, 83, 79, 0.35);
}
body.dark-mode .element-card.cat-people:hover,
[data-theme="dark"] .element-card.cat-people:hover {
  background: rgba(217, 83, 79, 0.22);
  border-color: rgba(217, 83, 79, 0.55);
}

body.dark-mode .element-card.cat-progress,
[data-theme="dark"] .element-card.cat-progress {
  background: rgba(43, 130, 186, 0.14);
  border-color: rgba(43, 130, 186, 0.35);
}
body.dark-mode .element-card.cat-progress:hover,
[data-theme="dark"] .element-card.cat-progress:hover {
  background: rgba(43, 130, 186, 0.22);
  border-color: rgba(43, 130, 186, 0.55);
}

body.dark-mode .element-card.cat-experience,
[data-theme="dark"] .element-card.cat-experience {
  background: rgba(201, 122, 30, 0.14);
  border-color: rgba(201, 122, 30, 0.35);
}
body.dark-mode .element-card.cat-experience:hover,
[data-theme="dark"] .element-card.cat-experience:hover {
  background: rgba(201, 122, 30, 0.22);
  border-color: rgba(201, 122, 30, 0.55);
}

body.dark-mode .element-card.cat-nature,
[data-theme="dark"] .element-card.cat-nature {
  background: rgba(92, 122, 46, 0.14);
  border-color: rgba(92, 122, 46, 0.35);
}
body.dark-mode .element-card.cat-nature:hover,
[data-theme="dark"] .element-card.cat-nature:hover {
  background: rgba(92, 122, 46, 0.22);
  border-color: rgba(92, 122, 46, 0.55);
}

body.dark-mode .element-card.cat-mind,
[data-theme="dark"] .element-card.cat-mind {
  background: rgba(124, 103, 163, 0.14);
  border-color: rgba(124, 103, 163, 0.35);
}
body.dark-mode .element-card.cat-mind:hover,
[data-theme="dark"] .element-card.cat-mind:hover {
  background: rgba(124, 103, 163, 0.22);
  border-color: rgba(124, 103, 163, 0.55);
}

.element-thumb-wrap {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.element-card:hover .element-thumb-wrap {
  transform: scale(1.1);
}

.element-thumb-wrap img {
  max-width: 80px;
  max-height: 80px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}

.element-info-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.element-header-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.element-name-kr {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.element-cat-badge {
  display: none !important;
}

.element-name-en,
.element-desc {
  display: none !important;
}

/* Card Individual Stage Switcher - Real Tactile Button Group with Color */
.card-stage-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 4px;
  gap: 5px;
  margin-top: 4px;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  -webkit-tap-highlight-color: transparent !important;
  user-select: none;
  -webkit-user-select: none;
}

.card-stage-btn {
  flex: 1;
  border: 1px solid rgba(85, 122, 43, 0.18);
  background: #FFFFFF;
  padding: 6px 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #38523D;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.2px;
  box-shadow: 0 1px 3px rgba(34, 48, 35, 0.08), 0 1px 1px rgba(0, 0, 0, 0.03);
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
}

.card-stage-btn:focus,
.card-stage-btn:focus-visible,
.card-stage-btn:active {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Stage 1 button responsive label display (Short on desktop, Full on mobile) */
.stage-label-full {
  display: none !important;
}
.stage-label-short {
  display: inline !important;
}

.card-stage-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(34, 48, 35, 0.12);
}

/* Stage 1: Silhouette Button (회색 - Refined Gray) */
.card-stage-btn[data-stage="1"]:hover {
  color: #334155;
  border-color: #94A3B8;
  background: #F1F5F9;
}
.card-stage-btn[data-stage="1"].active {
  background: linear-gradient(135deg, #94A3B8 0%, #64748B 100%);
  color: #FFFFFF !important;
  border-color: #475569;
  box-shadow: 0 3px 8px rgba(100, 116, 139, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Stage 2: Sketch Button (하늘색 - Fresh Sky Blue) */
.card-stage-btn[data-stage="2"]:hover {
  color: #0284C7;
  border-color: #38BDF8;
  background: #F0F9FF;
}
.card-stage-btn[data-stage="2"].active {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF !important;
  border-color: #0369A1;
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Stage 3: Motion Button (오렌지 색 - Vibrant Orange) */
.card-stage-btn[data-stage="3"]:hover {
  color: #EA580C;
  border-color: #FB923C;
  background: #FFF7ED;
}
.card-stage-btn[data-stage="3"].active {
  background: linear-gradient(135deg, #FB923C 0%, #EA580C 100%);
  color: #FFFFFF !important;
  border-color: #C2410C;
  box-shadow: 0 3px 9px rgba(234, 88, 12, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Dark Mode Adaptations */
body.dark-mode .card-stage-switcher {
  background: #152018;
  border-color: rgba(140, 198, 74, 0.25);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .card-stage-btn {
  background: #1C2920;
  border-color: rgba(140, 198, 74, 0.22);
  color: #B5CEBA;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .card-stage-btn:hover {
  background: #25382B;
  color: #FFFFFF;
}

body.dark-mode .card-stage-btn[data-stage="1"].active {
  background: linear-gradient(135deg, #94A3B8 0%, #64748B 100%);
  color: #FFFFFF !important;
  border-color: #CBD5E1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

body.dark-mode .card-stage-btn[data-stage="2"].active {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF !important;
  border-color: #7DD3FC;
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.45);
}

body.dark-mode .card-stage-btn[data-stage="3"].active {
  background: linear-gradient(135deg, #FB923C 0%, #EA580C 100%);
  color: #FFFFFF !important;
  border-color: #FDBA74;
  box-shadow: 0 3px 9px rgba(234, 88, 12, 0.45);
}

.card-element-img {
  transition: filter 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-element-img.stage-1 {
  filter: brightness(0) opacity(0.82) !important;
  transform: scale(0.92);
}

.card-element-img.stage-2 {
  filter: grayscale(100%) contrast(1.3) brightness(0.95) !important;
  transform: scale(0.96);
}

.card-element-img.stage-3 {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12)) !important;
  transform: scale(1);
}

/* Card to Categories button (Mobile-only quick jump button) */
.card-to-categories-btn {
  display: none !important;
}

/* ==========================================================================
   Section 4: Key Feature Highlights (Alternating Cards)
   ========================================================================== */
.features-section {
  padding: 110px 0;
  background: var(--bg-card-solid);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  scroll-margin-top: 80px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

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

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-content {
  direction: ltr;
}

.feature-preview {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: center;
}

.feature-preview img {
  max-height: 480px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Sub-feature Badge (Clear child hierarchy under section-tag) */
.feature-subtag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(46, 75, 29, 0.05);
  transition: all 0.25s ease;
}

.feature-subtag .subtag-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-family: var(--font-heading);
  box-shadow: 0 1px 4px rgba(46, 75, 29, 0.25);
}

.feature-subtag .subtag-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-content h3 {
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  line-height: 1.3;
}

.feature-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-checklist li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ==========================================================================
   Section 5: FAQ Section
   ========================================================================== */
.faq-section {
  padding: 110px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  scroll-margin-top: 80px;
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 28px;
  color: var(--text-secondary);
  line-height: 1.75;
  text-align: left;
}

.faq-item.active .faq-answer {
  max-height: 1200px;
  padding-bottom: 24px;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul, .faq-answer ol {
  margin-bottom: 14px;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-card-solid);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px;
}

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

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

.footer-brand p {
  color: var(--text-secondary);
  max-width: 360px;
  margin-bottom: 20px;
}

.footer-nav-col h5 {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  color: var(--text-secondary);
  font-weight: 500;
}

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

.footer-badge-item {
  margin-top: 4px;
}

.footer-google-play-badge {
  display: inline-block;
  width: 140px;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, opacity 0.2s ease;
}

.footer-google-play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  opacity: 0.95;
}

.footer-play-badge-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-bottom-links {
    display: none !important;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-cta-group, .hero-highlights {
    justify-content: center;
  }
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  .carousel-arrow.prev { left: 20px; }
  .carousel-arrow.next { right: 20px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Navigation Bar: Hide Desktop Menu and Compact Controls */
  .nav-menu {
    display: none !important;
  }

  .site-header {
    padding: 10px 0;
  }

  .navbar {
    gap: 8px;
  }

  .brand-link {
    gap: 8px;
    font-size: 1.18rem;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 0;
    box-shadow: none;
  }

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

  /* Hide Desktop Theme Toggle from Header */
  .desktop-only-action {
    display: none !important;
  }

  /* Mobile Language Dropdown (Positioned left of Balloon Toggle) */
  .lang-custom-dropdown {
    display: inline-block !important;
  }

  .lang-dropdown-btn {
    height: 36px;
    padding: 3px 10px 3px 8px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .lang-flag-icon {
    width: 18px !important;
    height: 12px !important;
    min-width: 18px !important;
    min-height: 12px !important;
  }

  .lang-current-label {
    font-size: 0.82rem;
  }

  .lang-dropdown-menu {
    right: 0;
    width: max-content;
    min-width: 205px;
    max-width: calc(100vw - 20px);
    max-height: min(85vh, 480px);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .lang-dropdown-menu::-webkit-scrollbar {
    display: none;
  }

  /* Keep Balloon Toggle Button visible on the outside on mobile */
  .balloon-toggle-btn {
    display: inline-flex !important;
    width: 36px;
    height: 36px;
  }

  /* Show Mobile Hamburger Menu Button */
  .mobile-menu-btn {
    display: inline-flex !important;
    width: 36px;
    height: 36px;
  }

  /* Container & Margins */
  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Hero Section */
  .hero-section {
    padding: 105px 0 45px;
    overflow: hidden;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-bottom: 14px;
    word-break: keep-all;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 16px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-lead {
    font-size: 1.1rem;
    line-height: 1.55;
    margin-bottom: 14px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-cta-group {
    margin-bottom: 24px;
    gap: 12px;
  }

  .btn-google-play {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .hero-google-play-badge {
    width: 185px;
  }

  /* General Headings */
  .section-title {
    font-size: clamp(1.65rem, 6vw, 2.15rem);
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .section-desc {
    font-size: 0.98rem;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* Elements Section & Category Selection on Mobile */
  .elements-section {
    padding: 65px 0;
  }

  .elements-step-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 14px;
    padding: 0 4px;
    word-break: keep-all;
  }

  .elements-step-desc.step-1 {
    margin-bottom: 12px;
  }

  .elements-step-desc.step-2 {
    margin-top: 14px;
    margin-bottom: 24px;
  }

  .category-tabs-wrapper {
    gap: 8px;
    margin: 12px 0 16px;
    padding: 0 4px;
    justify-content: center;
  }

  .tab-pill {
    padding: 8px 15px;
    font-size: 0.84rem;
    gap: 6px;
  }

  .tab-pill .cat-pill-icon svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .brand-link span {
    font-size: 1.05rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 1.95rem);
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .category-tabs-wrapper {
    gap: 6px;
    margin: 10px 0 14px;
  }

  .tab-pill {
    padding: 7px 11px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .elements-step-desc {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .elements-step-desc.step-1 {
    margin-bottom: 10px;
  }

  .elements-step-desc.step-2 {
    margin-top: 12px;
    margin-bottom: 20px;
  }
}


/* ==========================================================================
   Interactive Planter (30-Step Single-Element Growth Showcase)
   ========================================================================== */
.planter-section {
  padding: 110px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  scroll-margin-top: 80px;
}

.elements-section-desc {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .elements-section-desc {
    font-size: 0.92rem;
    margin-bottom: 14px;
    padding: 0 10px;
    line-height: 1.6;
  }
}

.planter-step-desc,
.elements-step-desc {
  max-width: 660px;
  margin: 0 auto 16px;
  line-height: 2.1;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.elements-step-desc.step-1 {
  margin-bottom: 16px;
}

.elements-step-desc.step-2 {
  margin-top: 16px;
  margin-bottom: 36px;
}

.planter-step-desc .step-num,
.elements-step-desc .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: 1px;
  box-shadow: 0 2px 8px rgba(46, 75, 29, 0.25);
}

.planter-card {
  max-width: 720px;
  margin: 32px auto 0;
  background: var(--bg-card-solid);
  border: 1.5px solid var(--border-subtle);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 16px 40px -12px rgba(46, 75, 29, 0.08);
}

/* Planter Step Layout */
.planter-step-block {
  margin-bottom: 24px;
}

.planter-step-header {
  margin-bottom: 14px;
  text-align: center;
}

.planter-step-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
  text-align: center;
}

.planter-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(46, 75, 29, 0.25);
}

.planter-step-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.planter-step-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0 auto;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .planter-card {
    padding: 18px 12px 22px;
    margin: 18px auto 0;
    border-radius: 20px;
  }
  .planter-step-block {
    margin-bottom: 14px !important;
  }
  .planter-step-header {
    margin-bottom: 6px;
  }
  .planter-step-heading {
    gap: 7px;
    margin-bottom: 2px;
  }
  .planter-step-title {
    font-size: 0.94rem;
  }
  .planter-step-sub {
    font-size: 0.82rem;
  }
}

.planter-categories {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 14px 0;
  padding: 16px 14px;
  background: #EFF4EB;
  border: 1px dashed rgba(85, 122, 43, 0.22);
  border-radius: 20px;
  box-sizing: border-box;
  width: 100%;
  transition: all 0.3s ease;
}

@media (max-width: 640px) {
  .planter-categories {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 10px 12px;
    gap: 8px;
    scrollbar-width: none;
  }
  .planter-categories::-webkit-scrollbar {
    display: none;
  }
  .planter-cat-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 0.84rem;
  }
}

.planter-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.planter-cat-pill:hover {
  transform: translateY(-2px);
}

.planter-cat-pill:active {
  transform: scale(0.96);
}

.planter-cat-pill .cat-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.planter-cat-pill .cat-svg-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  display: block;
}

/* Category Specific Distinct Colors for Planter Pills */
/* 1. Health (건강) - Emerald Green */
.planter-cat-pill[data-cat="health"] {
  background: #EAF5EE;
  color: #245A38;
  border-color: #CCE8D6;
}
.planter-cat-pill[data-cat="health"] .cat-svg-icon {
  fill: #358B55;
}
.planter-cat-pill[data-cat="health"]:hover {
  background: #DCF0E2;
  border-color: #358B55;
}
.planter-cat-pill[data-cat="health"].active {
  background: #358B55 !important;
  color: #FFFFFF !important;
  border-color: #358B55 !important;
  box-shadow: 0 6px 18px -4px rgba(53, 139, 85, 0.45) !important;
}
.planter-cat-pill[data-cat="health"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 2. People (사람) - Coral Red */
.planter-cat-pill[data-cat="people"] {
  background: #FDF1F0;
  color: #8C2220;
  border-color: #F8CBC9;
}
.planter-cat-pill[data-cat="people"] .cat-svg-icon {
  fill: #D9534F;
}
.planter-cat-pill[data-cat="people"]:hover {
  background: #FCE6E5;
  border-color: #D9534F;
}
.planter-cat-pill[data-cat="people"].active {
  background: #D9534F !important;
  color: #FFFFFF !important;
  border-color: #D9534F !important;
  box-shadow: 0 6px 18px -4px rgba(217, 83, 79, 0.45) !important;
}
.planter-cat-pill[data-cat="people"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 3. Progress (성장) - Ocean Sky Blue */
.planter-cat-pill[data-cat="progress"] {
  background: #EEF6FC;
  color: #16537D;
  border-color: #C6E2F5;
}
.planter-cat-pill[data-cat="progress"] .cat-svg-icon {
  fill: #2B82BA;
}
.planter-cat-pill[data-cat="progress"]:hover {
  background: #E0EFF9;
  border-color: #2B82BA;
}
.planter-cat-pill[data-cat="progress"].active {
  background: #2B82BA !important;
  color: #FFFFFF !important;
  border-color: #2B82BA !important;
  box-shadow: 0 6px 18px -4px rgba(43, 130, 186, 0.45) !important;
}
.planter-cat-pill[data-cat="progress"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 4. Experience (경험) - Warm Amber Gold */
.planter-cat-pill[data-cat="experience"] {
  background: #FDF6EC;
  color: #7A4205;
  border-color: #FCE1BE;
}
.planter-cat-pill[data-cat="experience"] .cat-svg-icon {
  fill: #C97A1E;
}
.planter-cat-pill[data-cat="experience"]:hover {
  background: #FBEDDB;
  border-color: #C97A1E;
}
.planter-cat-pill[data-cat="experience"].active {
  background: #C97A1E !important;
  color: #FFFFFF !important;
  border-color: #C97A1E !important;
  box-shadow: 0 6px 18px -4px rgba(201, 122, 30, 0.45) !important;
}
.planter-cat-pill[data-cat="experience"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 5. Nature (자연) - Olive / Pine Green */
.planter-cat-pill[data-cat="nature"] {
  background: #F7F9E7;
  color: #4C5708;
  border-color: #E6ECAE;
}
.planter-cat-pill[data-cat="nature"] .cat-svg-icon {
  fill: #7D8E18;
}
.planter-cat-pill[data-cat="nature"]:hover {
  background: #EFF3D3;
  border-color: #7D8E18;
}
.planter-cat-pill[data-cat="nature"].active {
  background: #7D8E18 !important;
  color: #FFFFFF !important;
  border-color: #7D8E18 !important;
  box-shadow: 0 6px 18px -4px rgba(125, 142, 24, 0.45) !important;
}
.planter-cat-pill[data-cat="nature"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 6. Mind (마음) - Lavender Violet */
.planter-cat-pill[data-cat="mind"] {
  background: #F4F0F8;
  color: #4C386A;
  border-color: #DDD4EB;
}
.planter-cat-pill[data-cat="mind"] .cat-svg-icon {
  fill: #7C67A3;
}
.planter-cat-pill[data-cat="mind"]:hover {
  background: #ECE5F3;
  border-color: #7C67A3;
}
.planter-cat-pill[data-cat="mind"].active {
  background: #7C67A3 !important;
  color: #FFFFFF !important;
  border-color: #7C67A3 !important;
  box-shadow: 0 6px 18px -4px rgba(124, 103, 163, 0.45) !important;
}
.planter-cat-pill[data-cat="mind"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* Dark Mode Support for Inactive Planter Category Pills */
[data-theme="dark"] .planter-cat-pill[data-cat="health"]:not(.active),
body.dark-mode .planter-cat-pill[data-cat="health"]:not(.active) {
  background: rgba(53, 139, 85, 0.16);
  color: #7ADAA0;
  border-color: rgba(53, 139, 85, 0.35);
}
[data-theme="dark"] .planter-cat-pill[data-cat="health"]:not(.active) .cat-svg-icon,
body.dark-mode .planter-cat-pill[data-cat="health"]:not(.active) .cat-svg-icon {
  fill: #5CD688;
}

[data-theme="dark"] .planter-cat-pill[data-cat="people"]:not(.active),
body.dark-mode .planter-cat-pill[data-cat="people"]:not(.active) {
  background: rgba(217, 83, 79, 0.16);
  color: #FF9E9B;
  border-color: rgba(217, 83, 79, 0.35);
}
[data-theme="dark"] .planter-cat-pill[data-cat="people"]:not(.active) .cat-svg-icon,
body.dark-mode .planter-cat-pill[data-cat="people"]:not(.active) .cat-svg-icon {
  fill: #FF8784;
}

[data-theme="dark"] .planter-cat-pill[data-cat="progress"]:not(.active),
body.dark-mode .planter-cat-pill[data-cat="progress"]:not(.active) {
  background: rgba(43, 130, 186, 0.16);
  color: #79C2F2;
  border-color: rgba(43, 130, 186, 0.35);
}
[data-theme="dark"] .planter-cat-pill[data-cat="progress"]:not(.active) .cat-svg-icon,
body.dark-mode .planter-cat-pill[data-cat="progress"]:not(.active) .cat-svg-icon {
  fill: #5EB3E8;
}

[data-theme="dark"] .planter-cat-pill[data-cat="experience"]:not(.active),
body.dark-mode .planter-cat-pill[data-cat="experience"]:not(.active) {
  background: rgba(201, 122, 30, 0.16);
  color: #FFBA66;
  border-color: rgba(201, 122, 30, 0.35);
}
[data-theme="dark"] .planter-cat-pill[data-cat="experience"]:not(.active) .cat-svg-icon,
body.dark-mode .planter-cat-pill[data-cat="experience"]:not(.active) .cat-svg-icon {
  fill: #FFAF4D;
}

[data-theme="dark"] .planter-cat-pill[data-cat="nature"]:not(.active),
body.dark-mode .planter-cat-pill[data-cat="nature"]:not(.active) {
  background: rgba(125, 142, 24, 0.16);
  color: #CDE248;
  border-color: rgba(125, 142, 24, 0.35);
}
[data-theme="dark"] .planter-cat-pill[data-cat="nature"]:not(.active) .cat-svg-icon,
body.dark-mode .planter-cat-pill[data-cat="nature"]:not(.active) .cat-svg-icon {
  fill: #C2DA33;
}

[data-theme="dark"] .planter-cat-pill[data-cat="mind"]:not(.active),
body.dark-mode .planter-cat-pill[data-cat="mind"]:not(.active) {
  background: rgba(124, 103, 163, 0.16);
  color: #C7B5E2;
  border-color: rgba(124, 103, 163, 0.35);
}
[data-theme="dark"] .planter-cat-pill[data-cat="mind"]:not(.active) .cat-svg-icon,
body.dark-mode .planter-cat-pill[data-cat="mind"]:not(.active) .cat-svg-icon {
  fill: #BFA5E5;
}


/* ==========================================================================
   Planter Topics & Note Input (Matching Flutter App Experience)
   ========================================================================== */
.planter-topics-section {
  margin: 0 0 14px 0;
  padding: 16px 14px 12px;
  background: #EAF5EE;
  border: 1.5px solid #CCE8D6;
  border-radius: 20px;
  text-align: center;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Category Specific Dynamic Soft Background Colors (Matching unselected category pill tone) */
.planter-topics-section[data-cat="health"] {
  background: #EAF5EE;
  border-color: #CCE8D6;
}

.planter-topics-section[data-cat="people"] {
  background: #FDF1F0;
  border-color: #F8CBC9;
}

.planter-topics-section[data-cat="progress"] {
  background: #EEF6FC;
  border-color: #C6E2F5;
}

.planter-topics-section[data-cat="experience"] {
  background: #FDF6EC;
  border-color: #FCE1BE;
}

.planter-topics-section[data-cat="nature"] {
  background: #F7F9E7;
  border-color: #E6ECAE;
}

.planter-topics-section[data-cat="mind"] {
  background: #F4F0F8;
  border-color: #DDD4EB;
}

/* Dark Mode Dynamic Category Backgrounds */
body.dark-mode .planter-topics-section[data-cat="health"],
[data-theme="dark"] .planter-topics-section[data-cat="health"] {
  background: rgba(53, 139, 85, 0.16);
  border-color: rgba(53, 139, 85, 0.35);
}

body.dark-mode .planter-topics-section[data-cat="people"],
[data-theme="dark"] .planter-topics-section[data-cat="people"] {
  background: rgba(217, 83, 79, 0.16);
  border-color: rgba(217, 83, 79, 0.35);
}

body.dark-mode .planter-topics-section[data-cat="progress"],
[data-theme="dark"] .planter-topics-section[data-cat="progress"] {
  background: rgba(43, 130, 186, 0.16);
  border-color: rgba(43, 130, 186, 0.35);
}

body.dark-mode .planter-topics-section[data-cat="experience"],
[data-theme="dark"] .planter-topics-section[data-cat="experience"] {
  background: rgba(201, 122, 30, 0.16);
  border-color: rgba(201, 122, 30, 0.35);
}

body.dark-mode .planter-topics-section[data-cat="nature"],
[data-theme="dark"] .planter-topics-section[data-cat="nature"] {
  background: rgba(125, 142, 24, 0.16);
  border-color: rgba(125, 142, 24, 0.35);
}

body.dark-mode .planter-topics-section[data-cat="mind"],
[data-theme="dark"] .planter-topics-section[data-cat="mind"] {
  background: rgba(124, 103, 163, 0.16);
  border-color: rgba(124, 103, 163, 0.35);
}

.planter-topics-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.planter-topics-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.planter-selected-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 800;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(46, 75, 29, 0.25);
  animation: badgePop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.planter-topics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px 6px;
  justify-items: center;
  align-items: start;
}

@media (max-width: 640px) {
  .planter-topics-section {
    padding: 6px 8px 6px;
  }
  .planter-topics-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 2px 4px 4px;
    gap: 12px;
    scrollbar-width: none;
  }
  .planter-topics-grid::-webkit-scrollbar {
    display: none;
  }
  .planter-topic-btn {
    flex: 0 0 68px;
    max-width: 68px;
    flex-shrink: 0;
    padding: 2px 2px;
  }
  .planter-topic-btn .topic-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 66px;
    font-size: 0.76rem;
  }
}

/* Individual Circular Topic Button */
@keyframes topicFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.planter-topic-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 4px 2px;
  cursor: pointer;
  width: 100%;
  max-width: 82px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
  animation: topicFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.planter-topic-btn:hover {
  transform: translateY(-2px);
}

.planter-topic-btn:active {
  transform: scale(0.94);
}

.topic-circle-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.topic-circle-wrap svg {
  width: 22px;
  height: 22px;
  transition: all 0.2s ease;
  fill: currentColor;
}

.topic-check-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #358B55;
  color: #FFFFFF;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card-solid);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.topic-check-badge svg {
  width: 10px;
  height: 10px;
  stroke: #FFFFFF;
  stroke-width: 2.8;
  fill: none;
}

.topic-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.2s ease;
}

/* Topic Selected State by Category */
.planter-topic-btn.selected .topic-check-badge {
  display: flex;
}

.planter-topic-btn.selected {
  transform: translateY(-2px) scale(1.04);
}

.planter-topic-btn.selected .topic-label {
  font-weight: 800;
}

/* Category Specific Topic Selected Accents */
.planter-topics-grid[data-cat="health"] .planter-topic-btn.selected .topic-circle-wrap {
  background: #EAF5EE;
  border-color: #358B55;
  color: #358B55;
  box-shadow: 0 4px 12px rgba(53, 139, 85, 0.3);
}
.planter-topics-grid[data-cat="health"] .planter-topic-btn.selected .topic-check-badge {
  background: #358B55;
}
.planter-topics-grid[data-cat="health"] .planter-topic-btn.selected .topic-label {
  color: #245A38;
}

.planter-topics-grid[data-cat="people"] .planter-topic-btn.selected .topic-circle-wrap {
  background: #FDF1F0;
  border-color: #D9534F;
  color: #D9534F;
  box-shadow: 0 4px 12px rgba(217, 83, 79, 0.3);
}
.planter-topics-grid[data-cat="people"] .planter-topic-btn.selected .topic-check-badge {
  background: #D9534F;
}
.planter-topics-grid[data-cat="people"] .planter-topic-btn.selected .topic-label {
  color: #8C2220;
}

.planter-topics-grid[data-cat="progress"] .planter-topic-btn.selected .topic-circle-wrap {
  background: #EEF6FC;
  border-color: #2B82BA;
  color: #2B82BA;
  box-shadow: 0 4px 12px rgba(43, 130, 186, 0.3);
}
.planter-topics-grid[data-cat="progress"] .planter-topic-btn.selected .topic-check-badge {
  background: #2B82BA;
}
.planter-topics-grid[data-cat="progress"] .planter-topic-btn.selected .topic-label {
  color: #16537D;
}

.planter-topics-grid[data-cat="experience"] .planter-topic-btn.selected .topic-circle-wrap {
  background: #FDF6EC;
  border-color: #C97A1E;
  color: #C97A1E;
  box-shadow: 0 4px 12px rgba(201, 122, 30, 0.3);
}
.planter-topics-grid[data-cat="experience"] .planter-topic-btn.selected .topic-check-badge {
  background: #C97A1E;
}
.planter-topics-grid[data-cat="experience"] .planter-topic-btn.selected .topic-label {
  color: #7A4205;
}

.planter-topics-grid[data-cat="nature"] .planter-topic-btn.selected .topic-circle-wrap {
  background: #F7F9E7;
  border-color: #7D8E18;
  color: #7D8E18;
  box-shadow: 0 4px 12px rgba(125, 142, 24, 0.3);
}
.planter-topics-grid[data-cat="nature"] .planter-topic-btn.selected .topic-check-badge {
  background: #7D8E18;
}
.planter-topics-grid[data-cat="nature"] .planter-topic-btn.selected .topic-label {
  color: #4C5708;
}

.planter-topics-grid[data-cat="mind"] .planter-topic-btn.selected .topic-circle-wrap {
  background: #F4F0F8;
  border-color: #7C67A3;
  color: #7C67A3;
  box-shadow: 0 4px 12px rgba(124, 103, 163, 0.3);
}
.planter-topics-grid[data-cat="mind"] .planter-topic-btn.selected .topic-check-badge {
  background: #7C67A3;
}
.planter-topics-grid[data-cat="mind"] .planter-topic-btn.selected .topic-label {
  color: #4C386A;
}

/* Reflection / Note Input Box */
.planter-input-wrap {
  margin: 12px 0 18px 0;
  width: 100%;
}

.planter-input-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.planter-input-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(46, 75, 29, 0.15);
  background: var(--bg-card-solid);
}

.planter-input-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.planter-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.planter-input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

/* Grow Button Disabled State */
.planter-grow-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  background: #889480 !important;
  filter: grayscale(0.5);
}

.planter-grow-btn:disabled .planter-grow-icon {
  animation: none;
}

/* ==========================================================================
   2-Column Compact Interactive Planter Board
   ========================================================================== */
.planter-element-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 28px;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  padding: 28px 28px;
  box-shadow: 0 16px 36px -10px rgba(46, 75, 29, 0.08);
  transition: all 0.3s ease;
  text-align: left;
}

/* Left Column: Stage Badge, Title, Progress Bar */
.planter-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.planter-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.3s ease;
  line-height: 1;
}

.planter-stage-badge.stage-1 {
  background: #E5E7EB;
  color: #4B5563;
  border: 1px solid #D1D5DB;
}

.planter-stage-badge.stage-2 {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.planter-stage-badge.stage-3 {
  background: linear-gradient(135deg, #FEF3C7 0%, #FEE2E2 100%);
  color: #B45309;
  border: 1px solid #FCD34D;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.planter-info-wrap {
  width: 100%;
}

.planter-element-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

/* Progress Track */
.planter-progress-wrap {
  width: 100%;
  margin: 4px 0 0 0;
  padding: 0;
}

.planter-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.planter-progress-counter {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
}

.planter-progress-track {
  width: 100%;
  height: 9px;
  background: var(--bg-elevated);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.planter-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #72C79A 0%, #3B5C28 100%);
  border-radius: 6px;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.planter-action-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 14px 0;
  padding: 18px 16px 16px;
  background: #EFF4EB;
  border: 1px dashed rgba(85, 122, 43, 0.22);
  border-radius: 20px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s ease;
}

@media (max-width: 640px) {
  .planter-action-bar {
    padding: 14px 12px 10px;
    gap: 5px;
  }
}

.planter-grow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #4A7A32 0%, #2E4B1D 100%);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  box-shadow: 0 10px 24px -4px rgba(46, 75, 29, 0.38), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.planter-grow-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px -4px rgba(46, 75, 29, 0.48), 0 4px 10px rgba(0, 0, 0, 0.1);
}

.planter-grow-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.planter-grow-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: grayscale(0.5);
}

.planter-disabled-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 7px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(85, 122, 43, 0.22);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2E4B1D;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(46, 75, 29, 0.08);
  animation: fadeInHint 0.25s ease forwards;
}

.planter-disabled-hint .hint-icon {
  font-size: 1.05rem;
  display: inline-block;
  animation: hintIconPulse 2s ease-in-out infinite;
}

.planter-disabled-hint .hint-text {
  display: inline-block;
}

@keyframes hintIconPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes fadeInHint {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark Mode Support for Inset Step Boxes & Hint */
[data-theme="dark"] .planter-categories,
[data-theme="dark"] .planter-topics-section,
[data-theme="dark"] .planter-action-bar,
body.dark-mode .planter-categories,
body.dark-mode .planter-topics-section,
body.dark-mode .planter-action-bar {
  background: rgba(0, 0, 0, 0.24);
  border-color: rgba(163, 230, 53, 0.25);
}

[data-theme="dark"] .planter-disabled-hint,
body.dark-mode .planter-disabled-hint {
  background: rgba(163, 230, 53, 0.14);
  border-color: rgba(163, 230, 53, 0.32);
  color: #BEF264;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
  .planter-disabled-hint {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    font-size: clamp(0.74rem, 3.4vw, 0.82rem);
    font-weight: 600;
    color: #D34B4B !important;
    gap: 5px;
    white-space: nowrap;
    max-width: 100%;
  }
  .planter-disabled-hint .hint-icon {
    font-size: 0.92rem;
  }
  body.dark-mode .planter-disabled-hint,
  [data-theme="dark"] .planter-disabled-hint {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #F87171 !important;
  }
}

.planter-grow-icon {
  font-size: 1.15rem;
  animation: sproutSway 2s ease-in-out infinite;
}

@keyframes sproutSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}


/* Right Column: Compact, Nature Terrarium Artwork Frame */
.planter-artwork-col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.planter-art-frame {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 24px;
  background: radial-gradient(circle, var(--bg-elevated) 0%, var(--bg-section-alt) 100%);
  border: 1.5px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04), 0 8px 24px -6px rgba(46, 75, 29, 0.1);
  transition: all 0.3s ease;
}

.planter-art-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 199, 154, 0.25) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.planter-art-glow.active {
  opacity: 1;
}

.planter-art-img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.planter-art-img.stage-1 {
  filter: brightness(0) opacity(0.82) !important;
  transform: scale(0.92);
}

.planter-art-img.stage-2 {
  filter: grayscale(100%) contrast(1.3) brightness(0.95) !important;
  transform: scale(0.96);
}

.planter-art-img.stage-3 {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15)) !important;
  transform: scale(1.04);
  animation: planterBloomFloat 3s ease-in-out infinite alternate;
}

@keyframes planterBloomFloat {
  0% { transform: scale(1.04) translateY(0px); }
  100% { transform: scale(1.04) translateY(-6px); }
}

.planter-art-img.pop-animate {
  animation: planterPopPulse 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes planterPopPulse {
  0% { transform: scale(0.82); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* Artwork Frame Sparkle Pop Animation */
.planter-art-frame.frame-sparkle {
  animation: frameGlowPulse 0.75s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

@keyframes frameGlowPulse {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(74, 122, 50, 0);
  }
  35% {
    transform: scale(1.06);
    box-shadow: 0 0 28px 6px rgba(114, 199, 154, 0.7), 0 0 50px rgba(254, 240, 138, 0.5);
    border-color: #55A868;
  }
  70% {
    transform: scale(0.99);
  }
  100% {
    transform: scale(1);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04), 0 8px 24px -6px rgba(46, 75, 29, 0.1);
  }
}

/* Shimmer light sweep across the frame */
.planter-art-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transform: translateX(-120%) rotate(25deg);
  pointer-events: none;
}

.planter-art-frame.frame-sparkle::after {
  animation: frameShimmerSweep 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes frameShimmerSweep {
  0% {
    opacity: 0;
    transform: translateX(-120%) rotate(25deg);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(140%) rotate(25deg);
  }
}

/* Floating Sparkle Particles */
.planter-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.sparkle-star {
  position: absolute;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0;
  transform: translate(0, 0) scale(0.2);
  animation: starBurst 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(234, 179, 8, 0.5));
}

@keyframes starBurst {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.2);
  }
  30% {
    opacity: 1;
    transform: translate(calc(var(--tx) * 0.65), calc(var(--ty) * 0.65)) scale(1.25);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.5);
  }
}

/* Dark Mode Frame Sparkle */
body.dark-mode .planter-art-frame.frame-sparkle,
[data-theme="dark"] .planter-art-frame.frame-sparkle {
  box-shadow: 0 0 32px 6px rgba(163, 230, 53, 0.6), 0 0 55px rgba(250, 204, 21, 0.4);
  border-color: #BEF264;
}

/* Responsive for Mobile Devices */
@media (max-width: 640px) {
  .planter-element-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding: 22px 18px;
  }
  .planter-content-col {
    align-items: center;
    text-align: center;
  }
  .planter-action-bar {
    justify-content: center;
  }
  .planter-artwork-col {
    order: -1;
    margin-bottom: 4px;
  }
  .planter-art-frame {
    width: 140px;
    height: 140px;
  }
  .planter-art-img {
    width: 110px;
    height: 110px;
  }
  .hero-highlights {
    gap: 8px;
    padding-top: 18px;
  }
  .highlight-item {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }

  /* 60 Elements Catalog Mobile Card: Image Left (Balanced), Title & Buttons Right (Vertical Stack) */
  .elements-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .element-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 12px 14px;
    gap: 12px;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    cursor: default;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none;
    -webkit-user-select: none;
  }

  .element-thumb-wrap {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    margin-bottom: 0;
    flex-shrink: 0;
    border-radius: 16px;
    background: radial-gradient(circle, var(--primary-soft) 0%, rgba(232, 240, 220, 0.35) 70%, transparent 100%);
    box-shadow: inset 0 0 10px rgba(85, 122, 43, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .element-thumb-wrap img {
    max-width: 76px;
    max-height: 76px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .element-info-col {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
  }

  .element-header-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 0;
    box-sizing: border-box;
  }

  .element-name-kr {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    text-align: left;
    word-break: keep-all;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-stage-switcher {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 4px;
    gap: 4px;
    border-radius: 12px;
    box-sizing: border-box;
    display: flex;
  }

  .card-stage-btn {
    flex: 1;
    min-width: 0;
    padding: 8px 3px;
    min-height: 38px;
    font-size: 0.74rem;
    letter-spacing: -0.3px;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .stage-label-full {
    display: inline !important;
  }
  .stage-label-short {
    display: none !important;
  }

  .card-to-categories-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent !important;
    outline: none;
    user-select: none;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(34, 48, 35, 0.05);
    margin: 0;
    white-space: nowrap;
  }

  .card-to-categories-btn:hover,
  .card-to-categories-btn:active {
    background: var(--primary);
    color: #FFFFFF !important;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(46, 75, 29, 0.25);
  }

  body.dark-mode .card-to-categories-btn {
    background: rgba(140, 198, 74, 0.12);
    border-color: rgba(140, 198, 74, 0.25);
    color: #8CC64A;
  }

  body.dark-mode .card-to-categories-btn:hover,
  body.dark-mode .card-to-categories-btn:active {
    background: #8CC64A;
    color: #0E1410 !important;
  }
}

/* Sprout bloom modal */
.bloom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.bloom-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bloom-modal-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.bloom-modal-overlay.active .bloom-modal-card {
  transform: scale(1);
}

.bloom-flower-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bloomPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bloomPop {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  70% { transform: scale(1.15) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.bloom-flower-avatar img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.bloom-modal-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.bloom-modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.bloom-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-section-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ==========================================================================
   Interactive Feature 3: 3-Stage Flora & Fauna Evolution Filters
   ========================================================================== */
.stage-control-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -25px 0 40px;
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.stage-label-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 6px;
}

.stage-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition-fast);
}

.stage-btn:hover, .stage-btn.active {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 10px var(--border-strong);
}

/* Stage CSS Filters on 60 Element Thumbnails */
/* Stage 1: Silhouette */
.elements-grid.stage-1 .element-thumb-wrap img {
  filter: brightness(0) opacity(0.3) contrast(1.2);
}

.elements-grid.stage-1 .element-card:hover .element-thumb-wrap img {
  filter: none; /* Hover magically reveals full color! */
  transition: filter 0.4s ease;
}

/* Stage 2: Sketch / Monochrome */
.elements-grid.stage-2 .element-thumb-wrap img {
  filter: grayscale(100%) opacity(0.75) contrast(1.1);
}

.elements-grid.stage-2 .element-card:hover .element-thumb-wrap img {
  filter: none; /* Hover reveals full color */
  transition: filter 0.4s ease;
}

/* Stage 3: Full Color & Alive */
.elements-grid.stage-3 .element-thumb-wrap img {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}

/* ==========================================================================
   Responsive Utilities & Layout Adjustments
   ========================================================================== */

@media (max-width: 768px) {
  .planter-section,
  .carousel-section,
  .elements-section,
  .features-section,
  .faq-section {
    padding: 70px 0;
  }

  .planter-input-group {
    flex-direction: column;
  }
  .stage-control-wrapper {
    flex-wrap: wrap;
  }

  /* Carousel responsive for tablet */
  .carousel-stage {
    min-height: 540px;
  }
  .carousel-3d-track {
    height: 520px;
  }
  .phone-bezel {
    width: 250px;
    height: 490px;
    border-radius: 32px;
    padding: 2px; /* 2px bezel maintained */
    border: 2px solid rgba(25, 30, 27, 0.95);
  }
  .phone-screen {
    border-radius: 28px;
  }
  .phone-card.prev {
    transform: translate(calc(-50% - 190px), -50%) scale(0.82);
  }
  .phone-card.next {
    transform: translate(calc(-50% + 190px), -50%) scale(0.82);
  }
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }
}

@media (max-width: 480px) {
  /* Carousel responsive for mobile phone */
  .carousel-stage {
    min-height: 450px;
  }
  .carousel-3d-track {
    height: 430px;
  }
  .phone-bezel {
    width: 210px;
    height: 410px;
    border-radius: 26px;
    padding: 2px; /* 2px bezel maintained */
    border: 2px solid rgba(25, 30, 27, 0.95);
  }
  .phone-screen {
    border-radius: 22px;
  }
  .phone-card.prev {
    transform: translate(calc(-50% - 140px), -50%) scale(0.78);
    opacity: 0.45;
  }
  .phone-card.next {
    transform: translate(calc(-50% + 140px), -50%) scale(0.78);
    opacity: 0.45;
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .carousel-arrow.prev { left: 4px; }
  .carousel-arrow.next { right: 4px; }

  /* 480px mobile screen element-card tuning */
  .element-card {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 16px;
  }
  .element-thumb-wrap {
    width: 82px;
    height: 82px;
    min-width: 82px;
    min-height: 82px;
    border-radius: 14px;
  }
  .element-thumb-wrap img {
    max-width: 68px;
    max-height: 68px;
  }
  .element-name-kr {
    font-size: 0.96rem;
  }
  .card-stage-btn {
    padding: 7px 2px;
    min-height: 36px;
    font-size: 0.72rem;
    letter-spacing: -0.3px;
  }
  .card-to-categories-btn {
    padding: 3px 6px;
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   App-Identical Category Icons & Color Accents (from Flutter Material Icons)
   ========================================================================== */
.cat-svg-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  vertical-align: middle;
  display: inline-block;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.cat-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  line-height: 1;
  flex-shrink: 0;
}

.cat-btn .cat-pill-icon svg,
.planter-cat-pill .cat-pill-icon svg,
.tab-pill .cat-pill-icon svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
}

.faq-cat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  margin-right: 8px;
  vertical-align: -6px;
  flex-shrink: 0;
}
.faq-cat-badge svg {
  width: 16px;
  height: 16px;
}

/* Category Accent Colors directly from Flutter AppColors */
.cat-color-health { color: #358B55; }
.cat-bg-health { background-color: #EAF5EE; }

.cat-color-people { color: #D9534F; }
.cat-bg-people { background-color: #FDF1F0; }

.cat-color-progress { color: #2B82BA; }
.cat-bg-progress { background-color: #EEF6FC; }

.cat-color-experience { color: #C97A1E; }
.cat-bg-experience { background-color: #FDF6EC; }

.cat-color-nature { color: #7D8E18; }
.cat-bg-nature { background-color: #F7F9E7; }

.cat-color-mind { color: #7C67A3; }
.cat-bg-mind { background-color: #F4F0F8; }

/* ==========================================================================
   Hero 6-Category Showcase Card
   ========================================================================== */
.showcase-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(46, 75, 29, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
  background: #C7E6C8;
}

.showcase-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/home-garden-bg.png') center / 100% 100% no-repeat;
  z-index: 1;
}

#showcaseScenes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.category-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.category-scene.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scene-element {
  position: absolute;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.16));
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.scene-element:hover {
  transform: translate(-50%, -50%) scale(1.15);
  z-index: 100 !important;
}

/* Floating Info Card at Bottom of Viewport (2x Vertical Height for Full Text) */
.showcase-info-card {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  min-height: 114px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.14);
  z-index: 5;
  box-sizing: border-box;
}

.scene-badge-group {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.scene-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 5px;
}

.scene-cat-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.scene-cat-icon svg,
.scene-cat-icon .cat-svg-icon {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  display: block;
}

.scene-title-text {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scene-title-text h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
  text-align: center;
  display: inline-flex;
  align-items: center;
}

.scene-title-text p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

/* Dark Mode Support for Floating Info Card in Viewport */
[data-theme="dark"] .showcase-info-card,
body.dark-mode .showcase-info-card {
  background: rgba(18, 26, 20, 0.92) !important;
  border: 1px solid rgba(163, 230, 53, 0.25) !important;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .scene-title-text h4,
body.dark-mode .scene-title-text h4 {
  color: #F0F4EF !important;
}

[data-theme="dark"] .scene-title-text p,
body.dark-mode .scene-title-text p {
  color: #C2D1C4 !important;
}

/* Dark Mode Category Icon Badges in Showcase Info Card */
[data-theme="dark"] .scene-cat-icon.cat-bg-health,
body.dark-mode .scene-cat-icon.cat-bg-health { background-color: rgba(53, 139, 85, 0.28) !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-health,
body.dark-mode .scene-cat-icon.cat-color-health { color: #5CD688 !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-health svg,
body.dark-mode .scene-cat-icon.cat-color-health svg { fill: #5CD688 !important; }

[data-theme="dark"] .scene-cat-icon.cat-bg-people,
body.dark-mode .scene-cat-icon.cat-bg-people { background-color: rgba(217, 83, 79, 0.28) !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-people,
body.dark-mode .scene-cat-icon.cat-color-people { color: #FF8784 !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-people svg,
body.dark-mode .scene-cat-icon.cat-color-people svg { fill: #FF8784 !important; }

[data-theme="dark"] .scene-cat-icon.cat-bg-progress,
body.dark-mode .scene-cat-icon.cat-bg-progress { background-color: rgba(43, 130, 186, 0.28) !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-progress,
body.dark-mode .scene-cat-icon.cat-color-progress { color: #5EB3E8 !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-progress svg,
body.dark-mode .scene-cat-icon.cat-color-progress svg { fill: #5EB3E8 !important; }

[data-theme="dark"] .scene-cat-icon.cat-bg-experience,
body.dark-mode .scene-cat-icon.cat-bg-experience { background-color: rgba(201, 122, 30, 0.28) !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-experience,
body.dark-mode .scene-cat-icon.cat-color-experience { color: #FFAF4D !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-experience svg,
body.dark-mode .scene-cat-icon.cat-color-experience svg { fill: #FFAF4D !important; }

[data-theme="dark"] .scene-cat-icon.cat-bg-nature,
body.dark-mode .scene-cat-icon.cat-bg-nature { background-color: rgba(125, 142, 24, 0.28) !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-nature,
body.dark-mode .scene-cat-icon.cat-color-nature { color: #C2DA33 !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-nature svg,
body.dark-mode .scene-cat-icon.cat-color-nature svg { fill: #C2DA33 !important; }

[data-theme="dark"] .scene-cat-icon.cat-bg-mind,
body.dark-mode .scene-cat-icon.cat-bg-mind { background-color: rgba(124, 103, 163, 0.28) !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-mind,
body.dark-mode .scene-cat-icon.cat-color-mind { color: #BFA5E5 !important; }
[data-theme="dark"] .scene-cat-icon.cat-color-mind svg,
body.dark-mode .scene-cat-icon.cat-color-mind svg { fill: #BFA5E5 !important; }


/* ==========================================================================
   Category Nav Bar: Balanced 3x2 Grid (Prevents Overlap in All Languages)
   ========================================================================== */
.category-nav-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  margin-top: 14px;
  padding: 8px 8px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: 0 4px 16px -2px rgba(46, 75, 29, 0.06);
  box-sizing: border-box;
}

.category-nav-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2px 6px 6px;
}

.category-nav-line {
  display: none;
}

.category-nav-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.category-nav-title::before {
  content: "🌱";
  font-size: 0.88em;
  line-height: 1;
}

.cat-btn {
  appearance: none;
  border: 1.5px solid transparent;
  outline: none;
  background: var(--bg-elevated);
  border-radius: 9999px;
  padding: 8px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 0;
  user-select: none;
  box-sizing: border-box;
}

.cat-btn span:not(.cat-pill-icon) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cat-btn:hover {
  transform: translateY(-2px);
}

.cat-btn:active {
  transform: scale(0.96);
}

.cat-btn .cat-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.cat-btn .cat-svg-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  display: block;
}

/* Category Specific Vibrant Colors & Active States */
/* 1. Health (건강) - Emerald Green */
.cat-btn[data-category="health"] {
  background: #EAF5EE;
  color: #245A38;
  border-color: #CCE8D6;
}
.cat-btn[data-category="health"] .cat-svg-icon {
  fill: #358B55;
}
.cat-btn[data-category="health"]:hover {
  background: #DCF0E2;
  border-color: #358B55;
}
.cat-btn[data-category="health"].active {
  background: #358B55;
  color: #FFFFFF;
  border-color: #358B55;
  box-shadow: 0 4px 12px rgba(53, 139, 85, 0.38);
}
.cat-btn[data-category="health"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 2. People (사람) - Coral Red */
.cat-btn[data-category="people"] {
  background: #FDF1F0;
  color: #8C2220;
  border-color: #F8CBC9;
}
.cat-btn[data-category="people"] .cat-svg-icon {
  fill: #D9534F;
}
.cat-btn[data-category="people"]:hover {
  background: #FCE6E5;
  border-color: #D9534F;
}
.cat-btn[data-category="people"].active {
  background: #D9534F;
  color: #FFFFFF;
  border-color: #D9534F;
  box-shadow: 0 4px 12px rgba(217, 83, 79, 0.38);
}
.cat-btn[data-category="people"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 3. Progress (성장) - Ocean Sky Blue */
.cat-btn[data-category="progress"] {
  background: #EEF6FC;
  color: #16537D;
  border-color: #C6E2F5;
}
.cat-btn[data-category="progress"] .cat-svg-icon {
  fill: #2B82BA;
}
.cat-btn[data-category="progress"]:hover {
  background: #E0EFF9;
  border-color: #2B82BA;
}
.cat-btn[data-category="progress"].active {
  background: #2B82BA;
  color: #FFFFFF;
  border-color: #2B82BA;
  box-shadow: 0 4px 12px rgba(43, 130, 186, 0.38);
}
.cat-btn[data-category="progress"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 4. Experience (경험) - Warm Amber Gold */
.cat-btn[data-category="experience"] {
  background: #FDF6EC;
  color: #7A4205;
  border-color: #FCE1BE;
}
.cat-btn[data-category="experience"] .cat-svg-icon {
  fill: #C97A1E;
}
.cat-btn[data-category="experience"]:hover {
  background: #FBEDDB;
  border-color: #C97A1E;
}
.cat-btn[data-category="experience"].active {
  background: #C97A1E;
  color: #FFFFFF;
  border-color: #C97A1E;
  box-shadow: 0 4px 12px rgba(201, 122, 30, 0.38);
}
.cat-btn[data-category="experience"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 5. Nature (자연) - Olive / Pine Green */
.cat-btn[data-category="nature"] {
  background: #F7F9E7;
  color: #4C5708;
  border-color: #E6ECAE;
}
.cat-btn[data-category="nature"] .cat-svg-icon {
  fill: #7D8E18;
}
.cat-btn[data-category="nature"]:hover {
  background: #EFF3D3;
  border-color: #7D8E18;
}
.cat-btn[data-category="nature"].active {
  background: #7D8E18;
  color: #FFFFFF;
  border-color: #7D8E18;
  box-shadow: 0 4px 12px rgba(125, 142, 24, 0.38);
}
.cat-btn[data-category="nature"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* 6. Mind (마음) - Lavender Violet */
.cat-btn[data-category="mind"] {
  background: #F4F0F8;
  color: #4C386A;
  border-color: #DDD4EB;
}
.cat-btn[data-category="mind"] .cat-svg-icon {
  fill: #7C67A3;
}
.cat-btn[data-category="mind"]:hover {
  background: #ECE5F3;
  border-color: #7C67A3;
}
.cat-btn[data-category="mind"].active {
  background: #7C67A3;
  color: #FFFFFF;
  border-color: #7C67A3;
  box-shadow: 0 4px 12px rgba(124, 103, 163, 0.38);
}
.cat-btn[data-category="mind"].active .cat-svg-icon {
  fill: #FFFFFF !important;
}

/* Dark Mode Support for Inactive Showcase Category Buttons */
[data-theme="dark"] .cat-btn[data-category="health"]:not(.active),
body.dark-mode .cat-btn[data-category="health"]:not(.active) {
  background: rgba(53, 139, 85, 0.16);
  color: #7ADAA0;
  border-color: rgba(53, 139, 85, 0.35);
}
[data-theme="dark"] .cat-btn[data-category="health"]:not(.active) .cat-svg-icon,
body.dark-mode .cat-btn[data-category="health"]:not(.active) .cat-svg-icon {
  fill: #5CD688;
}

[data-theme="dark"] .cat-btn[data-category="people"]:not(.active),
body.dark-mode .cat-btn[data-category="people"]:not(.active) {
  background: rgba(217, 83, 79, 0.16);
  color: #FF9E9B;
  border-color: rgba(217, 83, 79, 0.35);
}
[data-theme="dark"] .cat-btn[data-category="people"]:not(.active) .cat-svg-icon,
body.dark-mode .cat-btn[data-category="people"]:not(.active) .cat-svg-icon {
  fill: #FF8784;
}

[data-theme="dark"] .cat-btn[data-category="progress"]:not(.active),
body.dark-mode .cat-btn[data-category="progress"]:not(.active) {
  background: rgba(43, 130, 186, 0.16);
  color: #79C2F2;
  border-color: rgba(43, 130, 186, 0.35);
}
[data-theme="dark"] .cat-btn[data-category="progress"]:not(.active) .cat-svg-icon,
body.dark-mode .cat-btn[data-category="progress"]:not(.active) .cat-svg-icon {
  fill: #5EB3E8;
}

[data-theme="dark"] .cat-btn[data-category="experience"]:not(.active),
body.dark-mode .cat-btn[data-category="experience"]:not(.active) {
  background: rgba(201, 122, 30, 0.16);
  color: #FFBA66;
  border-color: rgba(201, 122, 30, 0.35);
}
[data-theme="dark"] .cat-btn[data-category="experience"]:not(.active) .cat-svg-icon,
body.dark-mode .cat-btn[data-category="experience"]:not(.active) .cat-svg-icon {
  fill: #FFAF4D;
}

[data-theme="dark"] .cat-btn[data-category="nature"]:not(.active),
body.dark-mode .cat-btn[data-category="nature"]:not(.active) {
  background: rgba(125, 142, 24, 0.16);
  color: #CDE248;
  border-color: rgba(125, 142, 24, 0.35);
}
[data-theme="dark"] .cat-btn[data-category="nature"]:not(.active) .cat-svg-icon,
body.dark-mode .cat-btn[data-category="nature"]:not(.active) .cat-svg-icon {
  fill: #C2DA33;
}

[data-theme="dark"] .cat-btn[data-category="mind"]:not(.active),
body.dark-mode .cat-btn[data-category="mind"]:not(.active) {
  background: rgba(124, 103, 163, 0.16);
  color: #C7B5E2;
  border-color: rgba(124, 103, 163, 0.35);
}
[data-theme="dark"] .cat-btn[data-category="mind"]:not(.active) .cat-svg-icon,
body.dark-mode .cat-btn[data-category="mind"]:not(.active) .cat-svg-icon {
  fill: #BFA5E5;
}




/* Responsive adjustment for Mobile screens (below 640px) */
@media (max-width: 640px) {
  .cat-btn {
    padding: 7px 4px;
    font-size: 0.74rem;
    gap: 4px;
  }
}

/* ==========================================================================
   Global Sky Floating Hot Air Balloons (Persistent Viewport Parallax)
   ========================================================================== */
.global-sky-balloons {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 40;
  overflow: hidden;
  transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.45s ease;
}

.global-sky-balloons.balloons-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.sky-balloon {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  will-change: transform;
  user-select: none;
  transition: filter 0.3s ease;
}

.sky-balloon img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.16));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
}

.sky-balloon:hover img {
  transform: scale(1.14);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.26));
}

/* Base Viewport Positioning for 3 Balloons (Scaled down to 1/3, anchored in lower sky) */
.sky-balloon.balloon-blue {
  top: 56vh;
  left: 2.2vw;
  width: 86px;
}

.sky-balloon.balloon-pink {
  top: 48vh;
  right: 2.5vw;
  width: 102px;
}

.sky-balloon.balloon-gold {
  top: 68vh;
  left: 9vw;
  width: 76px;
}

/* Heart burst particle on click */
.balloon-heart {
  position: fixed;
  font-size: 34px;
  pointer-events: none;
  z-index: 9999;
  animation: balloonHeartBurst 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes balloonHeartBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.6);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -90px) scale(1.4);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -170px) scale(1.6);
  }
}

/* 6 Surrounding Mini Hearts Bursting Radially */
.balloon-mini-heart {
  position: fixed;
  font-size: 18px;
  pointer-events: none;
  z-index: 9998;
  filter: drop-shadow(0 2px 6px rgba(224, 109, 83, 0.35));
  animation: balloonMiniBurst 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes balloonMiniBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x, 0px)), calc(-50% + var(--burst-y, 0px))) scale(1.15) rotate(var(--burst-rot, 0deg));
  }
}

/* Responsive adjustments for Balloons */
@media (max-width: 1200px) {
  .sky-balloon.balloon-blue {
    top: 58vh;
    left: 1.5vw;
    width: 72px;
  }
  .sky-balloon.balloon-pink {
    top: 52vh;
    right: 1.8vw;
    width: 85px;
  }
  .sky-balloon.balloon-gold {
    top: 72vh;
    left: 5vw;
    width: 64px;
  }
}

@media (max-width: 768px) {
  .global-sky-balloons {
    opacity: 0.88;
  }
  .global-sky-balloons.balloons-hidden {
    opacity: 0 !important;
  }
  .sky-balloon.balloon-blue {
    top: 64vh;
    left: 8px;
    width: 58px;
  }
  .sky-balloon.balloon-pink {
    top: 56vh;
    right: 8px;
    width: 68px;
  }
  .sky-balloon.balloon-gold {
    top: 76vh;
    left: 12vw;
    width: 50px;
  }
}

/* ==========================================================================
   FAQ Hot Air Balloon Interactive Control Card
   ========================================================================== */
.faq-balloon-action-card {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
}

.faq-balloon-action-card:hover {
  border-color: rgba(224, 109, 83, 0.3);
  box-shadow: 0 6px 18px rgba(224, 109, 83, 0.08);
}

.faq-balloon-info {
  flex: 1;
}

.faq-balloon-title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.faq-balloon-desc {
  font-size: 13px !important;
  color: var(--text-secondary);
  line-height: 1.55 !important;
  margin: 0 !important;
}

.faq-balloon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-balloon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-balloon-btn.active {
  background: linear-gradient(135deg, rgba(224, 109, 83, 0.12), rgba(242, 182, 213, 0.2));
  border-color: rgba(224, 109, 83, 0.4);
  color: #c94f36;
}

.faq-balloon-btn.active:hover {
  background: linear-gradient(135deg, rgba(224, 109, 83, 0.2), rgba(242, 182, 213, 0.3));
}

.faq-balloon-btn.off {
  background: var(--bg-secondary);
  border-color: var(--border-subtle);
  color: var(--text-tertiary);
  opacity: 0.85;
}

.faq-balloon-btn.off:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  opacity: 1;
}

@media (max-width: 640px) {
  .faq-balloon-action-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .faq-balloon-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Special Cheer FAQ Highlight Effect (Triggered on Balloon Click)
   ========================================================================== */
.faq-item.faq-cheer-highlight {
  border-color: #e06d53 !important;
  box-shadow: 0 0 0 4px rgba(224, 109, 83, 0.4), 0 16px 40px rgba(224, 109, 83, 0.28) !important;
  animation: faqCheerPulse 1.1s ease-in-out 3;
  position: relative;
  z-index: 10;
}

[data-theme="dark"] .faq-item.faq-cheer-highlight {
  border-color: #f2b6d5 !important;
  box-shadow: 0 0 0 4px rgba(242, 182, 213, 0.45), 0 16px 40px rgba(242, 182, 213, 0.25) !important;
}

@keyframes faqCheerPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(224, 109, 83, 0.4), 0 16px 40px rgba(224, 109, 83, 0.28);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 0 0 9px rgba(242, 182, 213, 0.65), 0 22px 50px rgba(224, 109, 83, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(224, 109, 83, 0.4), 0 16px 40px rgba(224, 109, 83, 0.28);
  }
}

.faq-item.faq-cheer-highlight .faq-question {
  color: #c94f36;
  font-weight: 700;
}

[data-theme="dark"] .faq-item.faq-cheer-highlight .faq-question {
  color: #f2b6d5;
}

.faq-item.faq-cheer-highlight .faq-balloon-action-card {
  border-color: #e06d53;
  background: linear-gradient(135deg, rgba(224, 109, 83, 0.12), rgba(242, 182, 213, 0.18));
  box-shadow: 0 6px 20px rgba(224, 109, 83, 0.18);
}

/* ==========================================================================
   Return to Previous Scroll Position Buttons (After Balloon Jump)
   ========================================================================== */
.balloon-return-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #e06d53, #e5826b);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 28px rgba(224, 109, 83, 0.42), 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.92);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.balloon-return-floating-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.balloon-return-floating-btn:hover {
  background: linear-gradient(135deg, #d35a3f, #dc735a);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 34px rgba(224, 109, 83, 0.55), 0 4px 12px rgba(0, 0, 0, 0.16);
}

.balloon-return-floating-btn:active {
  transform: translateY(0) scale(0.98);
}

.balloon-return-floating-btn .return-icon {
  font-size: 16px;
  display: inline-flex;
  transition: transform 0.25s ease;
}

.balloon-return-floating-btn:hover .return-icon {
  transform: rotate(-30deg);
}

/* In-card Return button inside FAQ Support Card */
.faq-balloon-return-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #c94f36;
  background: rgba(224, 109, 83, 0.1);
  border: 1px solid rgba(224, 109, 83, 0.28);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-balloon-return-btn:hover {
  background: rgba(224, 109, 83, 0.18);
  border-color: rgba(224, 109, 83, 0.45);
  transform: translateX(-2px);
}

[data-theme="dark"] .balloon-return-floating-btn {
  background: linear-gradient(135deg, #f2b6d5, #e06d53);
  color: #1a1a1a;
  box-shadow: 0 10px 28px rgba(242, 182, 213, 0.35);
}

[data-theme="dark"] .faq-balloon-return-btn {
  color: #f2b6d5;
  background: rgba(242, 182, 213, 0.12);
  border-color: rgba(242, 182, 213, 0.3);
}

@media (max-width: 640px) {
  .balloon-return-floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Planter Demo Disclaimer Micro-Badge
   ========================================================================== */
.planter-demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px auto 24px auto;
  padding: 6px 18px;
  background: rgba(85, 122, 43, 0.08);
  border: 1px solid rgba(85, 122, 43, 0.22);
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.planter-demo-badge .demo-badge-sprout {
  font-size: 0.95rem;
  line-height: 1;
}

body.dark-mode .planter-demo-badge,
[data-theme="dark"] .planter-demo-badge {
  background: rgba(163, 230, 53, 0.1);
  border-color: rgba(163, 230, 53, 0.26);
  color: #A7D898;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
  .planter-demo-badge {
    font-size: 0.76rem;
    padding: 4px 14px;
    gap: 5px;
    margin: 14px auto 18px auto;
  }
}

/* ==========================================================================
   Contact Us & User Feedback Styles (App Parity & Glassmorphism)
   ========================================================================== */
.contact-page-section {
  padding: 130px 0 90px;
  min-height: calc(100vh - 200px);
}

.contact-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-hero {
  text-align: center;
  margin-bottom: 36px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.contact-hero-title span {
  color: var(--primary);
}

.contact-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Feedback Main Form Card */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-header h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 4px 0;
}

.contact-card-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Form Controls */
.contact-field-group {
  margin-bottom: 22px;
}

.contact-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.contact-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}

.contact-char-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-char-count.limit-warning {
  color: #E53935;
  font-weight: 700;
}

/* Monochromatic Category Chips */
.contact-chips-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.contact-cat-chip:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  background: var(--primary-soft);
}

.contact-cat-chip.active {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 14px rgba(85, 122, 43, 0.25);
}

body.dark-mode .contact-cat-chip.active {
  background: var(--primary) !important;
  color: #121A08 !important;
  box-shadow: 0 4px 14px rgba(163, 230, 53, 0.3);
}

.contact-cat-chip svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

/* Inputs & Textareas */
.contact-textarea,
.contact-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.contact-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.contact-textarea:focus,
.contact-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.contact-input.input-error {
  border-color: #E53935;
}

.contact-error-text {
  color: #E53935;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}

/* Submit Button */
.contact-submit-btn {
  width: 100%;
  padding: 15px 24px;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(85, 122, 43, 0.2);
  margin-top: 10px;
}

body.dark-mode .contact-submit-btn {
  color: #121A08;
  box-shadow: 0 4px 14px rgba(163, 230, 53, 0.25);
}

.contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(85, 122, 43, 0.32);
  filter: brightness(1.04);
}

.contact-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

body.dark-mode .btn-spinner {
  border-color: rgba(18, 26, 8, 0.4);
  border-top-color: #121A08;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Official Support Card (AboutDialogView Style) */
.contact-support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  box-shadow: var(--shadow-sm);
}

.contact-support-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-support-card h3 svg {
  color: var(--primary);
}

.contact-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.contact-support-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.contact-support-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-support-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-support-icon svg {
  width: 20px;
  height: 20px;
}

.contact-support-info {
  flex: 1;
}

.contact-support-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.contact-support-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-support-val a {
  color: var(--primary);
  text-decoration: none;
}

.contact-copy-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.contact-copy-btn:hover {
  background: var(--primary-soft);
}

/* Appreciation Modal Dialog (1:1 with _showAppreciationDialog) */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.contact-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 36px 32px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transform: scale(0.92) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal-overlay.active .contact-modal-card {
  transform: scale(1) translateY(0);
}

.contact-modal-heart {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(85, 122, 43, 0.2);
}

.contact-modal-heart svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.contact-modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}

.contact-modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 26px 0;
  word-break: keep-all;
}

.contact-modal-close-btn {
  width: 100%;
  padding: 14px 20px;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.dark-mode .contact-modal-close-btn {
  color: #121A08;
}

.contact-modal-close-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

/* Copy Toast */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #233B18;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100000;
}

body.dark-mode .copy-toast {
  background: #A3E635;
  color: #121A08;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .contact-page-section {
    padding: 110px 0 60px;
  }
  .contact-card {
    padding: 24px 20px;
  }
  .contact-chips-row {
    gap: 8px;
  }
  .contact-cat-chip {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .contact-support-card {
    padding: 24px 20px;
  }
  .contact-modal-card {
    padding: 28px 20px 24px;
  }
}

